On Tue, 09 May 2000, you wrote:
> +1. I have also thought that it might be nice to have a getTemp() method in
> RunData (that is just a wrapper around another Hashtable) that does not
> depend on having a valid User record around. That way, we could stuff
> endless amounts of stuff in there that isn't session bound, but is only
> request bound. My only fear is that it would confuse people with two
> getTemp() methods so close to each other.


The TemplateInfo class would be Template specific and would have calls
that look like this:
data.templateinfo.setTemplate(data.getParameteres().getString("template","index.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...

-- 
dave
[EMAIL PROTECTED]
----------------------
< your inspirational quote here > 


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to