struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Vincent Craven" <p...@cravenfamily.com>
Subject Re: Creating text fileds dynamically
Date Tue, 17 Jun 2003 18:03:08 GMT
> How can one create text fields dynamically? For ex: may be one time i
> need 20 textfields othertime i would like to show only 10 text fields in
> same jsp page. How can i do this? Will please some one let me know,

We did it the old fashioned way and generated the fields ourselves using a
custom tag. I didn't see a way to do this that was easy in struts.

We kept the ideas on how to store and pre-fill the fields. And we used the
apache commons to validate the fields via regular expressions. We also
still used the actionerror objects for reporting back to the user.

Paul Vincent Craven

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message