Paul Jackson wrote:
> 
> Does anyone of the best approach for the following situation?
> 
> I wish to have a list of files for processing with a checkbox on the left
> hand side of each file to indicate if the file should be processed or not.
> I'm looking at how to do this in a single form with a <logic:iterator> tag
> to list the files.
> 
> If I use the <html:checkbox> tag the problem is that the names on the
> checkboxes are all the same and I can't distinguish between them.
> 
> Any ideas?

Paul, 
I have ideas on how to solve this and have indeed done so for the
html:text tag.
It would be very easy for me to do the same for checkboxes.
I implemented my proposal as suggested on the dev list with the subject
BaseFieldTag. It seems to work fine. I am not sure though if it is the
ideal
solution but would not mind getting some feedback on it. 
Michael Westbay seemed to like it.

All that happens is the output of the actual hmtl is delayed until
the doAfterBody method. this allows you to configure the tag at runtime
using nested elements. It blows out the taglibs in the Jsp but it still
better than having any java code there. At the moment it does not
automagically 
repopulate either, however this could be achieved.


Nick


 Informatics
> Sydney, Australia
> 
> Ph 8233 7564
> Fax 8233 7533

Reply via email to