Problem with FormBean containing Lists of LabelValueBeans or something equivalent

2008-07-04 Thread Erik Panzer
Hi all, I have a problem mapping my form bean to a jsp that contains javascript to add html inputs dynamically. I already found out that i can use BeanUtils to add the input values to an ArrayList like this public void setProperty(int iIndex, String inputString) {

RE: problem in formbean

2006-11-30 Thread Saeed, Rada
: problem in formbean I got some problem in struts can you please help me. 1) in jsp iam displaying values from javabean in textboxes.(i can change these values) 2) when i submit with modified values , iam doing validation in formbean. 3) When validatio fails i formbean returning to same jsp

Re: problem in formbean

2006-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 prkumar, prkumar_1234 wrote: 1) in jsp iam displaying values from javabean in textboxes.(i can change these values) 2) when i submit with modified values , iam doing validation in formbean. 3) When validatio fails i formbean returning to same

Re: problem in formbean

2006-11-30 Thread thamizh arasu
Hi Prem, At the time of landing the page, you are showing some values. That values are taken from DB. Once error coming you are redirecting to the same page. but with the error value. This is your problem right? this can be easily solved. you are showing the values taken from formbean. At

problem in formbean

2006-11-29 Thread prkumar_1234
I got some problem in struts can you please help me. 1) in jsp iam displaying values from javabean in textboxes.(i can change these values) 2) when i submit with modified values , iam doing validation in formbean. 3) When validatio fails i formbean returning to same jsp but it is displaying old

Re: problem in formbean

2006-11-29 Thread James Mitchell
Hi, I help moderate messages on this list. You are not subscribed. I let this message through because it is not spam, but you need to subscribe before any more can come through. Thanks. On 11/29/06, prkumar_1234 [EMAIL PROTECTED] wrote: I got some problem in struts can you please help me.

RE: Problem with Formbean validate method forwarding to input pag e

2004-04-08 Thread Todd Bryant
] Sent: Wednesday, April 07, 2004 5:39 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Problem with Formbean validate method forwarding to input pag e Why don't you tell your action not to validate, and call validate yourself in your action. Seems like you will have all

Problem with Formbean validate method forwarding to input page

2004-04-07 Thread Todd Bryant
I have need for every page in my web app to be secure. What I originally did was extend the Action class to make a secure action class. The SecureAction's perform method validates that the user is logged in and if not, sends them to the login page. All actions in my app extend SecureAction. To

Re: Problem with Formbean validate method forwarding to input page

2004-04-07 Thread Tin Pham
If you are using struts, why go back to a .jsp page? You should be going back to a .do page. Since the .do is a struts action it will be able to get to your jsp page. Todd Bryant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have need for every page in my web app to be secure.

Re: Problem with Formbean validate method forwarding to input page

2004-04-07 Thread Paul Barry
Make your input action an error page, which just has the error and no sensitive data and make a success forward that you only send the user to if everything checks out. Todd Bryant wrote: I have need for every page in my web app to be secure. What I originally did was extend the Action class

RE: Problem with Formbean validate method forwarding to input pag e

2004-04-07 Thread Todd Bryant
suggestions I would appreciate them. -Original Message- From: Tin Pham [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 3:38 PM To: [EMAIL PROTECTED] Subject: Re: Problem with Formbean validate method forwarding to input page If you are using struts, why go back to a .jsp page? You

RE: Problem with Formbean validate method forwarding to input pag e

2004-04-07 Thread Todd Bryant
[mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 4:07 PM To: Struts Users Mailing List Subject: Re: Problem with Formbean validate method forwarding to input page Make your input action an error page, which just has the error and no sensitive data and make a success forward that you only

Re: Problem with Formbean validate method forwarding to input page

2004-04-07 Thread Paul Barry
Barry [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 4:07 PM To: Struts Users Mailing List Subject: Re: Problem with Formbean validate method forwarding to input page Make your input action an error page, which just has the error and no sensitive data and make a success forward

RE: Problem with Formbean validate method forwarding to input pag e

2004-04-07 Thread Todd Bryant
. -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 4:47 PM To: Struts Users Mailing List Subject: Re: Problem with Formbean validate method forwarding to input page Maybe you should be handling your security in the request processor. Have

RE: Problem with Formbean validate method forwarding to input pag e

2004-04-07 Thread Ray Madigan
: Problem with Formbean validate method forwarding to input pag e The form bean is populated by the RequestProcessor, but you can put your logic to validate the session where ever you want. The easiest way to understand it is to just look at the source code