Using objects other than strings in forms

2005-05-05 Thread jelything
This is probably a java question rather than a struts question, but I hope someone will bear with me here. I'm using DynaValidatorForms and usually stick to strings, but for argument's sake I'm passing in some other custom objects today. I can access everything great in the form itself, such as:

Re: Validating Nested DynaValidator Forms

2005-03-18 Thread jelything
Thanks for the feedback. Why wouldn't I want to nest forms? Its entirely possible I missed the point, but I thought that was what was for? Everything but the validating works just fine. I'm sure that I could write my own validation method, but I'm trying to KISS and use the nice validation.xm

Re: How to search this list?

2005-03-18 Thread jelything
Thanks! That's exactly what I was looking for! J --- In [EMAIL PROTECTED], Hubert Rabago <[EMAIL PROTECTED]> wrote: > I still use http://marc.theaimsgroup.com/?l=struts-user > Some prefer http://news.gmane.org/gmane.comp.jakarta.struts.user > Others like http://www.mail-archive.com/user%40strut

Validating Nested DynaValidator Forms

2005-03-18 Thread jelything
I have a DynaValidatorForm that holds many items, including an ArrayList of DynaValidatorForms. Calling validate() on the main form works just fine, but how do I get the nested forms to validate? If I iterate through the ArrayList, and cast them back to a DynaValidatorForm and then simply call v

How to search this list?

2005-03-18 Thread jelything
Hi there, What is the best way to access this list if you wanted to search it? My old method stopped working and the other sites I use to access it don't seem to search at or or well. Thanks, J - To unsubscribe, e-mail: [EM

Re: Using javascript to access nested form items

2005-03-15 Thread jelything
Just wanted to say that I got the syntax: window.opener.document.projectForm.elements["projectStobsForms[1].estStaffCost"].value Just in case somebody looks for this in the future. J - To unsubscribe, e-mail: [EMAIL PROTECT

Using javascript to access nested form items

2005-03-14 Thread jelything
I have a struts 1.1 form with a nested form. I need to access textareas with javascript, but am not hitting the right syntax. Can anyone help me out? The main form is 'projectForm'. The nested form is 'projectStobsForms'. The textfield I'm trying to read/write is 'estStaffCost'. I've tried:

changing session timeout?

2005-03-09 Thread jelything
I want to give my users more time to go for coffe in the middle of a form submission. Well, that's what they want, if we're being honest. At any rate, what are all the places that I have to change? I've changed: 60 but it still seems to be timing out after 30. TIA, J

[OT] Market share of development technologies?

2005-02-23 Thread jelything
Hi there, sorry if this is too OT, but I was wondering if anybody knew of a reputable source that might give me some idea of how much of current development is in java (jsp, servlets), asp, asp.net, etc, etc.Perhaps there's some good articles on developing trends somewhere? TIA, J ---

Re: wizard form and checkboxes that won't turn off

2005-02-07 Thread jelything
Thanks James, now all the other stuff that I read about reset makes sense. I had been assuming that since I don't have a reset function for my form that I didn't need it. Now I'm having issues with my nested forms. Does anyone have a recommendation on how to deal with them? This is what I've d

Re: wizard form and checkboxes that won't turn off

2005-02-03 Thread jelything
Thanks Eric, I wasn't sure exactly where you meant me to put that, so I tried it here: <..snip..> public ActionForward nextForm(ActionMapping mapping, ActionForm form, HttpServletRequest request,