Re: Problems with Indexed Properties, Hidden Values and Logic Iterate Tag

2008-09-22 Thread cacodemon79
Anyone can help me, please? Thanks. cacodemon79 wrote: > > Hi to all. > I'm using Struts 1.3, Tomcat 6.0 and Eclipse. > > I have a problem with Indexed Properties. > I have a jsp that should save hidden values and pass it to the linked > Action. > > I show

Problems with Indexed Properties, Hidden Values and Logic Iterate Tag

2008-09-21 Thread cacodemon79
Hi to all. I'm using Struts 1.3, Tomcat 6.0 and Eclipse. I have a problem with Indexed Properties. I have a jsp that should save hidden values and pass it to the linked Action. I show you my code. JSP PAGE

logic:iterate problem: NullPointerException

2008-09-06 Thread cacodemon79
Hi to all. I have a problem with a logic:iterate tag. I'm using Struts 1.3. I have to populate a select with data read from db (by invoking the first Action). When a select option is selected in the jsp, I have to invoke a second Action (on the same jsp page) which has to perform some operations a

Re: Struts Validator Framework: problem with Custom Validator

2008-06-26 Thread cacodemon79
ields = new ' + form.name + '_twofields();'); That's all. cacodemon79 wrote: > > I'm using Struts 1.3. > I'm trying to write a custom validator to check that 2 fields are > identical. > > 1) I modified my validator-rules.xml by adding my

Re: Struts Validator Framework: problem with Custom Validator

2008-06-25 Thread cacodemon79
s") doesn't still work on client-side. Can you help me? I also tried to change the version of dtd validator...but nothing changed. I can't understand where is the problem. cacodemon79 wrote: > > I'm using Struts 1.3. > I'm trying to write a custom validator to c

Struts Validator Framework: problem with Custom Validator

2008-06-24 Thread cacodemon79
I'm using Struts 1.3. I'm trying to write a custom validator to check that 2 fields are identical. 1) I modified my validator-rules.xml by adding my own validator (called "uguale"): ** validator-rules.xml ** 2) I modified my validation.xml by

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-24 Thread cacodemon79
n doubt, check the documentation :-) > > L. > > cacodemon79 wrote: >> Bingo! >> Now it works! >> Thanks a lot. >> However i can't understand why the onsubmit handler is not triggered by >> the >> submit() function! >> >> >> Lau

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
ubmit() bypasses it, in which > case an explicit guard in your submit function might do the trick: > > function submitRegistrazioneUtenteForm(nomeForm){ >var form = ...; >if (validateRegistrazioneUtenteForm(form)) { > form.submit(); > } > return false

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
m. I hope you can help me. Thanks. cacodemon79 wrote: > > Hi, I'm using Struts Validator Framework (Struts 1.3). > Server-side validation works well. > The problem is in client-side validation. > > The form name I have to validate is: RegistrazioneUt

Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-21 Thread cacodemon79
Hi, I'm using Struts Validator Framework (Struts 1.3). Server-side validation works well. The problem is in client-side validation. The form name I have to validate is: RegistrazioneUtenteForm. In my jsp page I have 2 buttons: 1) 2) and the following form declaration: Moreover I have enabled