Over the weekend as I started working on converting a perl to java page with a 
list + set, I got tired copy pasting the same code over and over again.. What 
annoyed me with the list tag was the fact that I needed to refer to the wiki to 
remember all the steps I needed to do even after converting many of em over. I 
finally decided to bit the bullet and do the right thing.. I created 2 
interfaces Listable and ListSubmitable. Idea here is that you'd have your 
action class implement one of these interfaces and use the ListSeeionSetHelper 
or ListHelper to do all the magic for you including all the 5 or 6 steps needed 
on the struts action side. I have updated the wiki @ 
https://fedorahosted.org/spacewalk/wiki/ListTag to help out.. We should be 
using this approach in the future for any list pages...

Partha

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to