RE: form submit() method is not recognized.

2002-08-17 Thread Andrew Hill
Oops. Seems Olga already pointed this one out! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 15:08 To: Struts Users Mailing List Subject: RE: form submit() method is not recognized. I had this the other day. I tracked it down to having a f

RE: form submit() method is not recognized.

2002-08-17 Thread Andrew Hill
I had this the other day. I tracked it down to having a field (button actually) on the form whose name was submit. This seems to override the submit method in the form object with a field object. So instead of submit being a property of form object with datatype of function it has been changed to

RE: A question on ActionForm property nomenclature as regards multiple contiguous capitalised characters

2002-08-17 Thread Andrew Hill
Of course its my fault entirely for not having done the proper reasearch ahead of time and letting my colleagues know the exact rules for naming the properties. If I ask them to change it the nuisance is not for me but for them (all I have to do is wait) so of course I prefer not to have to get th

RE: A question on ActionForm property nomenclature as regards multiple contiguous capitalised characters

2002-08-17 Thread Andrew Hill
Well Im thouroughly addicted to JBuilder so probably wont change IDE (pity Im using an older version though. Later versions I think have better support for this sort of thing)) but I reckon this time I might make a bit of an effort and write a quick and dirty class to generate the code for me and

RE: XP (and not the Microsoft kind)

2002-08-17 Thread Andrew Hill
1. Our company is not so big that anyone could get away with not pulling their weight (as they would stand out like a sore thumb), - having said that everyone here shares our culture of making the effort to get the job done so weve not had a problem with that kind of issue. Have to admit that pair

Re: form submit() method is not recognized.

2002-08-17 Thread Olga Agady
Hi, Ganesh I have good news: I found a solution to this problem in struts-user archive. The following is a snippet from an old message: __ I spent a good hour hunting down the source of my problem with trying to programmatically submit a form and thought I'd share the sol

Re: form submit() method is not recognized.

2002-08-17 Thread Ganesh Puri
Hi Olga, Try in netscape ... and on getting the error type javascript: in the location window I get something like this ... - Original Message - From: "Olga Agady" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 10:03 PM Subject: R

RE: form submit() method is not recognized.

2002-08-17 Thread Olga Agady
Hi, Oz I am actually not sure that this is not a struts problem. Looks like it is. I replaced my jsp page with the HTML page which has exactly the same fields and scripts, but doesn't use struts, just HTML tags , and . On this HTMl page this script works. It doesn't find the the action, because

RE: form submit() method is not recognized.

2002-08-17 Thread Olga Agady
Hi, Jacob I can get all the values from the form. I have a script that validates the values and it works fine. Also, the "submit" button works fine. It populates the form bean with the values and forwards to the another page. No errors. Only the scrip with document.forms[0].submit() doesn't work.

Re: XP (and not the Microsoft kind)

2002-08-17 Thread Ted Husted
Kent Beck's book, Extreme Programming Explained, covers all these issues in-depth. Anyone who's the least bit interested in XP should read this book first. It's less than 200 pages and covers all the bases. -Ted. Stan Baranek wrote: > ok - devil's advocate: > > Open Workspace - done it. grea

jsp security

2002-08-17 Thread Andrew Chen
Hi, I have a question when I developed a helper class for jsp which used log4j. The error message as following. Thanx. regards, AC java.security.PrivilegedActionException: javax.servlet.ServletException: org/apa che/log4j/Logger at java.security.AccessController.doPrivileged(Native M

Question:jsp security

2002-08-17 Thread Andrew Chen
Hi, I have a question when I developed a helper class for jsp which used log4j. The error message as following. Thanx. regards, AC java.security.PrivilegedActionException: javax.servlet.ServletException: org/apa che/log4j/Logger at java.security.AccessController.doPrivileged(Native Me

RE: form submit() method is not recognized.

2002-08-17 Thread Oguz Kologlu
It's not actually a problem with struts - you can't submit from a select. Oz -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Sunday, 18 August 2002 8:52 AM To: 'Struts Users Mailing List' Subject: RE: form submit() method is not recognized. Try doing something sm

RE: form submit() method is not recognized.

2002-08-17 Thread Jacob Hookom
Try doing something small first, like doing alert(document.forms[0].country.value) and see if you even get that, then you can start to determine your error. | -Original Message- | From: Olga Agady [mailto:[EMAIL PROTECTED]] | Sent: Saturday, August 17, 2002 4:57 PM | To: Struts Users Mail

Re: form submit() method is not recognized.

2002-08-17 Thread Ganesh Puri
I am exactly having the same problem ... and looking for the solution ... - Original Message - From: "Olga Agady" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 4:57 PM Subject: form submit() method is not recognized. > Hello, > >

form submit() method is not recognized.

2002-08-17 Thread Olga Agady
Hello, I am using struts 1.0.2. I experience a wierd problem: When I submit the form after a user selects an item from a drop-down select box: , I get run-time error that "Object doesn't support a property or a method". I tried to re-write the code with different variations like: , function

Problems with path attribute of element action in struts-config.xml

2002-08-17 Thread Daniel H. F. e Silva
Hi all, I am using Struts 1.0.2 at a business project. Problem is : i'd like to have path attributes of elements action like this: path="/jsp/template.jsp?pageMenu=/jsp/menu.jsp&pageContent=/jsp/content.jsp" But i'm not having success on this. Why? At DTD i saw that path attribute is a CDATA.

Re: XP (and not the Microsoft kind)

2002-08-17 Thread Tiago Nodari
I have to agree with Stan, at least that has been my experience, I once for a few months found someone to do pair programming, we werent using XP, but we endend up complementing each others weakness and so without even telling the managers and etc, we redivided the tasks to get the jo

Re: XP (and not the Microsoft kind)

2002-08-17 Thread Kenneth Stout
I have two questions for those using XP. 1) How is a programmers performance evaluated within the XP pair programming model? When dealing with humans you will occasionally end up someone that is simply not measuring up.(everyone on this list excluded of course ;-). The HR department will want som

Re: A question on ActionForm property nomenclature as regards multiplecontiguous capitalised characters

2002-08-17 Thread Craig R. McClanahan
On Sat, 17 Aug 2002, Andrew Hill wrote: > Date: Sat, 17 Aug 2002 17:41:03 +0800 > From: Andrew Hill <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: A question on ActionForm pro

RE: Multiple file upload?

2002-08-17 Thread Jacob Hookom
We setup the ability to have people upload zips and then we unpack them | -Original Message- | From: Andrew Hill [mailto:[EMAIL PROTECTED]] | Sent: Saturday, August 17, 2002 7:51 AM | To: Struts Users Mailing List | Subject: Multiple file upload? | | Haven't tried this yet so figured I b

Nested Mapped Property not working right?

2002-08-17 Thread home
I have been using struts1.1b1 and common1.3. One feature I have been using is the nested map property. ie. Now I switched to 1.1b2 and common1.4, this code seems to be broken. I looked at the source(class PropertyUtil, method:setNestedProperty line 1516-1526). it looks like now it can onl

Re: REPOST: Something ate my submit request parameter

2002-08-17 Thread Kenneth Stout
Add property="submit" to your tags. Kenneth. - Original Message - From: "Jim Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 7:08 AM Subject: REPOST: Something ate my submit request parameter > Help? Please? > > - O

RESOLVED: Something ate my submit request parameter

2002-08-17 Thread Jim Crossley
In case anyone else runs into this... With 1.1b2, it seems I now must include the property attribute of in order for a name attribute to be included in the resulting element. I guess the 1.1b1 version of SubmitTag defaulted the name attribute to "submit" in the absence of a property attribute.

RE: A question on ActionForm property nomenclature as regards multiple contiguous capitalised characters

2002-08-17 Thread Bartley, Chris P
> Before I rush out and waste time coding the 60+ getters and... Tip: IntelliJ IDEA (www.intellij.com/idea) has auto-generation of getters and setters based on field names. AND, you can rename the field and IDEA will (optionally) rename your getters and setters. See this post for more info and

REPOST: Something ate my submit request parameter

2002-08-17 Thread Jim Crossley
Help? Please? - Original Message - From: "Jim Crossley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 10:39 AM Subject: Something ate my submit request parameter > I just tried to upgrade from 1.1b1 to 1.1b2. > > In my jsp page, I have a nested form that inc

RE: A question on ActionForm property nomenclature as regards multiple contiguous capitalised characters

2002-08-17 Thread Andrew Hill
Properties with names like "isSent" pass my test using getters & setters like getIsSent() setIsSent(xxx) Testing property named 'isSent' [PASS] Set isSent to 'Test Value' [PASS] isSent=Test Value :-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Saturday, Au

RE: A question on ActionForm property nomenclature as regards multiple contiguous capitalised characters

2002-08-17 Thread Andrew Hill
Ive done some testing and it seems I _CANNOT_ use names like this for properties. Given an action form for the properties: normalField rGDocId rNodeId dTImport Running a simple test using property utils gives the following: (Where normalField is a sort of control for the experiment as its the one

Re: XP (and not the Microsoft kind)

2002-08-17 Thread Stan Baranek
ok - devil's advocate: Open Workspace - done it. great idea but I want to pick the other programmers who go into the pod with me. Iterations - of course. Retrospective - put some lipstick on this pig. It all sounds great but what if you don't want to give up your cushy office to sit in a big

RE: Multiple file upload?

2002-08-17 Thread Andrew Hill
btw: What gets submitted for an empty file field? Nothing, or null or... ? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 17, 2002 20:51 To: Struts Users Mailing List Subject: Multiple file upload? Haven't tried this yet so figured I better get ad

Multiple file upload?

2002-08-17 Thread Andrew Hill
Haven't tried this yet so figured I better get advice on the best approach before spending time on it. I (will) have a form from which the user will be uploading multiple files the number of which is not fixed. Option A: Since I dont have to support Nutscraper 4.x, it is a simple matter to create

Re: XP (and not the Microsoft kind)

2002-08-17 Thread Cliff Rowley
> C liff might be thinking of this: > > http://strutstestcase.sourceforge.net/ Yep, that's it :) > -Ted. -- Regards --- Cliff Rowley| [EMAIL PROTECTED] Software Engineer | www.doctype.co.uk +44 (0) 1206 514263 | www.cliffrowley.com -

RE: XP (and not the Microsoft kind)

2002-08-17 Thread Cliff Rowley
On Sat, 2002-08-17 at 01:40, Dan Cancro wrote: > It sounds like a good school. I think the biggest barrier to XP adoption is > a mindset some folks (like me) developed in school to "do one's own work". > I'm so happy to hear that cooperation is valued at your school. It sounds > like XP might so

Re: XP (and not the Microsoft kind)

2002-08-17 Thread Ted Husted
Craig R. McClanahan wrote: >Part of my problem is that the nature of open source development has been >much more "loners communicating via CVS commits" and I grew pretty >comfortable with that :-). > Personally, I'd say you, and many others at Jakarta, practice a lot of team programming. It's as

Re: A question on ActionForm property nomenclature as regards multiple contiguous capitalised characters

2002-08-17 Thread Max Cooper
I don't know quite what will happen for you, but if you can stand adding them one at a time, or inspecting what properties get set on your form submittals (and which don't), you might have to plow through it that way. This does remind me of an idea I had while working on a couple of pages. I thin

A question on ActionForm property nomenclature as regards multiple contiguous capitalised characters

2002-08-17 Thread Andrew Hill
One of the ActionForms I have to do (by Monday AM) needs to have a bunch of fields with nasty names such as: rNodeId uDocNum isViewAckReq etc Its got 62 fields and all but a few look like this. - Kill me. Pleasee :-( (These property names are defined in various places (by other developer

Checkbox in iterate

2002-08-17 Thread Chandra Sekharan Bhaskaran
Title: Message Hi,     I am using checkboxes in iterate tag which iterates over a set of objects of a class Say ABC.     In ABC i have one boolean property need to be displayed as checkbox.       I am able to display the checkbox box with the value checked / unchecked based on the boolean v

validator plugin

2002-08-17 Thread Michael Delamere
Hi, I´m having problems using the validator plugin. When leaving fields blank, I expect struts to take me back to the registration form. I copied most of the code from an example and read the chapter concening this topic in the orreilly book. For some reason though it appears that nothing is h

RE: What is the timeframe for the Struts1.1 production release?

2002-08-17 Thread Martin Cooper
> -Original Message- > From: Eddie Bush [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 17, 2002 12:00 AM > To: Struts Users Mailing List > Subject: Re: What is the timeframe for the Struts1.1 > production release? > > > I guaran-promise-tee you it'll be done when the devs think