on 5/9/2000 4:38 AM, dave bryson <[EMAIL PROTECTED]> wrote:
> The TemplateInfo class would be Template specific and would have calls
> that look like this:
> data.templateinfo.setTemplate(data.getParameteres().getString("template","inde
> x.wm"))
> data.templateinfo.setService( WM or FreeMarker)
> data.templateinfo.setLayout( "thislayout" )
> etc...
>
> It would help unclutter a lot of the data.getParameters() stuff in the
> WM Page. It could also hide some of the String manipulation stuff WM
> does such as string.replace("/",",") etc...
+1, but it would need to be:
data.getTemplateInfo()
Also, stuff the hashtable into there instead of into RunData...
you could have a data.getTemplateInfo().getObject() or something like
that...
do you want to do this class or do you want me to do it? (i'm not sure what
your time constraints are right now)
actually, this brings up another email...
-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]