Re: Indexed Property and Hand Cranking Lazy List

2006-11-21 Thread Hubert Rabago
Struts is getting confused by: public List getSkills() { return skills; } public void setSkills(Product skill) { this.skills.add(skill); } The getter and setter should be consistent. - Hmm... I just looked at the link you sent and it looks l

RE: indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-12 Thread Michael TALLET
will call setValue on the bean, and that's all Hope this helps -Message d'origine- De : Carl Smith [mailto:[EMAIL PROTECTED] Envoyé : mercredi 12 avril 2006 00:21 À : Struts Users Mailing List Objet : Re: indexed property validation error:java.lang.reflect.InvocationTarge

Re: indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-11 Thread Carl Smith
Interestingly if I change the config for testingForm to be of scope session, then it works. However I can't use session scope so still need the answer for my original question, can some one help? Thanks. Carl Smith <[EMAIL PROTECTED]> wrote: I have a jsp containing three text fields which

Re: indexed property validation: how to keep the value the user entered

2006-03-30 Thread Carl Smith
Your comments make great sense... I moved the initializing part from the displayAction to the reset method in the form bean as you suggested and it works as expected. Thanks. Laurie Harper <[EMAIL PROTECTED]> wrote: OK, so when validation fails Struts forwards to displayTesting w

Re: indexed property validation: how to keep the value the user entered

2006-03-29 Thread Laurie Harper
OK, so when validation fails Struts forwards to displayTesting which, in turn, forwards to /displayAction. In your DisplayAction class, you're overwriting the values of your form bean property, destroying the information Struts set there. You'll need to check if the property has already been i

Re: indexed property validation: how to keep the value the user entered

2006-03-27 Thread Carl Smith
First of all Thank you Laurie, you are the only one anwering my questions :): Here are my struts-config.xml entries for the actions and formbean ( I neglected the path and anything). Laurie Harper <[EMAIL PROTECTED]> wrote: We'll need to see

Re: indexed property validation: how to keep the value the user entered

2006-03-25 Thread Laurie Harper
We'll need to see the relevant parts of your struts-config.xml too (specifically, the form bean and action mapping definitions). L. Carl Smith wrote: I have a jsp containing an indexed test box field, and I need to validate the user enter a value into all the text boxes when clicking on the s

RE: indexed property is not updated after submit

2004-12-16 Thread Kandula, Sunita
setter and getter methods are required. Your Collection of emails should be a ordered collection like a List. -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 3:38 PM To: Struts Users Mailing List Subject: RE: indexed property is not

RE: indexed property is not updated after submit

2004-12-15 Thread Sachin Bhutada
PROTECTED] Sent: Wednesday, December 15, 2004 11:42 PM To: 'Struts Users Mailing List' Subject: RE: indexed property is not updated after submit Could be done like this: <%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> -Original Mes

Re: indexed property is not updated after submit

2004-12-15 Thread Sebastián Gorgo
CTED] Sent: Wednesday, December 15, 2004 2:40 PM To: Struts Users Mailing List Subject: RE: indexed property is not updated after submit Thanks, I think I'm getting close)) But your example gives me this exception: --- Invalid argument looking up property model.currentP

RE: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
ing getEmailAddress() { > > return emailAddress; > > } > > > > /** > > * @param string > > */ > > public void setEmailAddress(String string) { > >emailAddress = string; > > } > > > > > > >

RE: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
t; > /** > * @param string > */ > public void setEmailAddress(String string) { >emailAddress = string; > } > > > > -Original Message- > From: Evgeniy Strokin > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 2:40 PM > To: Struts Users Mailing List

RE: indexed property is not updated after submit

2004-12-15 Thread Kandula, Sunita
setEmailAddress(String string) { emailAddress = string; } -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 2:40 PM To: Struts Users Mailing List Subject: RE: indexed property is not updated after submit Thanks, I think I'm getting

RE: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
Thanks, I think I'm getting close)) But your example gives me this exception: --- Invalid argument looking up property model.currentPerson.contactInfo.emails[0].emailAddress of bean form --- Could you clue me in why is what? Thanks, Eugene --- "Kand

Re: indexed property is not updated after submit

2004-12-15 Thread Sebastián Gorgo
Evgeniy Strokin wrote: Thanks, but the server doesn't respond. Could you sent the pdf or copy and past the page from pdf. I'm really stack with this problem and appreciate any help. --- Sebastián Gorgo <[EMAIL PROTECTED]> wrote: Evgeniy Strokin wrote: Hi, I have a problem: Struts config file has:

RE: indexed property is not updated after submit

2004-12-15 Thread Kandula, Sunita
Could be done like this: <%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: indexed property is not updated after submit

Re: indexed property is not updated after submit

2004-12-15 Thread Evgeniy Strokin
Thanks, but the server doesn't respond. Could you sent the pdf or copy and past the page from pdf. I'm really stack with this problem and appreciate any help. --- Sebastián Gorgo <[EMAIL PROTECTED]> wrote: > Evgeniy Strokin wrote: > > Hi, > > I have a problem: > > Struts config file has: > > > >

Re: indexed property is not updated after submit

2004-12-15 Thread Sebastián Gorgo
Evgeniy Strokin wrote: Hi, I have a problem: Struts config file has: On JSP I have: property="model.currentPerson.contactInfo.emails" name="form" > It generates folowing HTML: But when I submit the form actual values in a bean are not updated. They are still the same. This is my Bean: p

Re: Indexed Property!!

2004-09-03 Thread Fulco
Maybe you should expose your problem with some more details ;o) RamKumar wrote: Hi, Indexed property methods are not getting called if i use expression language in html:multibox tag. Why is this?. I am using tomcat 5.0. Any clues, thanks, Ramkumar ---