Re: repost: validator retrieving data

2004-02-09 Thread Michele Callegari
If there are 2 actions, one to prepare the page and one to process the user input, we define the input attribute value of the process action mapping to be the URL of the prepare action. I think it's right, I think it's right only in simple cases If your prepare means: - Putting in the

Re: repost: validator retrieving data

2004-02-06 Thread Alvaro Martinez
Well, when I said: these values are the same that the user introduced I would want to say: the values selected by the user in the listbox .And the values introduced in fields, checkbox, ... stay too When an error occur, it doesnt return to preprare action. It just back to the page selected in the

Re: repost: validator retrieving data

2004-02-06 Thread Alvaro Martinez
Ok, I understand you... Let me I think it... - Original Message - From: Leonardo Francalanci [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 06, 2004 10:21 AM Subject: R: repost: validator retrieving data When an error occur, it doesnt return

Re: repost: validator retrieving data

2004-02-06 Thread Alvaro Martinez
You could use the mapping class and then compare what is the action tag execute. Some like this: if (mapping.getPath().compareTo(/prepare)==0) form.fillfromDB(); else do nothing; // leave form as is, with data entered by the user Dou you like this...? - Original Message - From:

RE: repost: validator retrieving data

2004-02-06 Thread anant.parnami
You don't need 2 actions only 3 mappings yes But action would only be 1 Single Class -Original Message- From: Leonardo Francalanci [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 3:15 PM To: Struts Users Mailing List Subject: R: repost: validator retrieving data Ok, I

RE: repost: validator retrieving data

2004-02-05 Thread anant.parnami
Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. action name=formbean path=abcdisplay type=AbcAction.java forward name=success path=jsp name / /action action name=formbean path=abcProcess type=AbcAction.java validate=true

RE: repost: validator retrieving data

2004-02-05 Thread anant.parnami
Sorry there was a typo in last one Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. action name=formbean path=abcdisplay type=AbcAction.java forward name=success path=jsp name / /action action name=formbean path=abcProcess

Re: repost: validator retrieving data

2004-02-05 Thread Alvaro Martinez
: validator retrieving data Sorry there was a typo in last one Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. action name=formbean path=abcdisplay type=AbcAction.java forward name=success path=jsp name / /action action name=formbean

RE: repost: validator retrieving data

2004-02-05 Thread Marco Mistroni
wrong? Please reply... (and thank you!) -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Inviato: giovedi 5 febbraio 2004 15.53 A: [EMAIL PROTECTED] Oggetto: RE: repost: validator retrieving data Sorry there was a typo in last one Hi, You don't need

RE: repost: validator retrieving data

2004-02-05 Thread anant.parnami
PROTECTED] Oggetto: RE: repost: validator retrieving data Sorry there was a typo in last one Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. action name=formbean path=abcdisplay type=AbcAction.java forward name=success path