A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Joined: Mar 26, 2010
Apr 05, 2010 04:31:18
Hi i want to display 5 fields to the users ........
a collection is dynamically generated from database .........
suppose a collection cantains 2 elements then logic:iterate displays 2 fields .......... but i want 5 fields 2 prepopulated and 3 blank fields .......
how can i do this .......... please help
Joined: Jul 26, 2007
Apr 05, 2010 06:01:25
This is the Swing forum. Your question is related to
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
Joined: Sep 29, 2008
Apr 05, 2010 06:56:29
Either add empty objects to the collection, or keep track of how many blank fields you need to add and add them separately.
And fix your period (".") key, it seems to be stuck.
subject: Struts Logic:Iterate
Collection of bean input from form-problem
nested logic:iterate tags possible?
Help for logic match
How to do Paging in struts
c:when test = .....problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015