Ok, I love stuff like this:
<http://scarab.tigris.org/source/browse/scarab/src/java/org/tigris/scarab/mo
dules/screens/admin/security/SelectRolePermission.java?rev=1.1&content-type=
text/x-cvsweb-markup>
We have 100% abstraction of all the UI stuff from the Java code. What the
template does is it displays a list of Roles. Since the only thing that is
needed on the screen at this point is a single Vector of Roles, the above is
all the code that is needed to display the screen properly. It doesn't get
any easier and cleaner than this.
The WM template is a simple chunk of HTML and a WM #foreach loop to build a
<select> box.
Totally cool. Minimum code and maximum function. I'm stoked. :-)
-jon
--
Java Servlet Based - Open Source | Collab.Net
Bug/Issue Tracking System | now hiring smart people
<http://scarab.tigris.org/> | <http://Collab.Net/jobs/>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]