On Wed, Oct 01, 2008 at 12:26:59AM -0400, Partha Aji wrote:
> 
> 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...
> 

Initial once over looks pretty good. I'll give it a better look later today.

-- 
jesus m. rodriguez        | [EMAIL PROTECTED]
sr. software engineer     | irc: zeus
rhn satellite & spacewalk | 919.754.4413 (w)
rhce # 805008586930012    | 919.623.0080 (c)
+-------------------------------------------+
|  "Those who cannot learn from history     |
|   are doomed to repeat it."               |
|                       -- George Santayana |
+-------------------------------------------+

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

Reply via email to