The first problem was the WebMacro.properties file was using
the old parameter TemplateTools - instead of ContextTools for the
new WM jars, I've updated it in the CVS.
However, line 133 in the WebMacroSitePage throws a null pointer
exception. I think this is a problem depending upon which
SessionValidatior you are using. Line 133 sets the WMContext in the
data.users.setTemp(). This is a problem if the user has not logged in
or has not be given a "guest" account. ( data.user = null)
Jon, what session validator are you using to get around this?
I also think there may be a better way to do this by using a
TemplateInfo class the John M and I have talked about before. The
TemplateInfo class would live in the RunData object and would hide all
the - data.getParameters().getString("template", null) calls, etc. It's
also the first step towards reducing a lot of the duplication in code.
Thought?
I've already started the TemplateInfo, but haven't commited yet because
I've been dorking with WM configuration for the last 2 days!
dave
[EMAIL PROTECTED]
----------------------
< your inspirational quote here >
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]