The moose likes Struts and the fly likes help w.r.t to layout:collectionInput Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "help w.r.t to layout:collectionInput" Watch "help w.r.t to layout:collectionInput" New topic

help w.r.t to layout:collectionInput

rahul vasishta

Joined: Sep 22, 2009
Posts: 7
Hi all,

How to validate input values of the layout:collectionInput using javascript? Or is there some other way of doing it?

<layout:collectionInput title="Email" property="mailID" formProperty="list[${index}].mailID"/>

Now in this case how to validate the input values provided for the E-mail?

rahul vasishta

Joined: Sep 22, 2009
Posts: 7
can it be done by iterating through layout:collection ?

//something like
for (var i = 0; i <= <numberOfElements>; i++) {

If so how to iterate and acess elements of layout:collection using javascript?

Thanks in advance,

I agree. Here's the link:
subject: help w.r.t to layout:collectionInput
It's not a secret anymore!