This question is probably more appropriate for the Struts-User list, but see
the "Javascript and Mapped Beans in Struts" thread at (sorry, i'm sure
you'll have to reconstruct the URL since my email client will likely chop it
up):

 
http://nagoya.apache.org/eyebrowse/SearchList?listId=&listName=struts-user@j
akarta.apache.org&searchText=javascript+mapped+beans&defaultField=subject

That should provide a solution to your problem.  Please redirect any
followup questions to the Struts-User list.  Thanks.

chris

> -----Original Message-----
> From: Nagendra kumar [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 11:18 AM
> To: Struts Developers List
> Subject: client side validation using javascript with 
> nestedtags in jsp
> 
> 
> Geetings,
> I am using nestedtag in my jsp page. so it is
> generating my html pages with required compoents.
> But my problem is that my html components name consist
> of '.'(dot). Due to this I am unable to refer these
> elements though my javascript for doing clientside
> validation of my form before submition.
> My javascript should work bouth for netscape6.x & IE
> 5.x
> 
> sample code is as followes:
> 
> jsp:
> <nested:form action="save.do">
> <nested:iterate property="students">
> <nested:text property="firstname:/>
> <nested:text property="lastname:/>
> </nested:iterate>
> <nested:submit ....></nested:submit>
> </nested:form>
> 
> so relative html I get for above jsp is:
> <form ....>
> <input type="text name="student.firstname" value="">
> <input type="text name="student.lastname" value="">
> <input type="submit" value="save">
> </form>
> 
> Again I am repeting my question:
> Now, how should I refere textfields on form submition
> to get there values and validate.
> 
> I will be thankful if somone can help.
> 
>    
> Nagendra
> IIC Technologies
> India
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to