Cheers Keith
On Monday, June 30, 2003, at 09:08 AM, Fabio Daprile wrote:
Hello Keith,
here a short example:
public void doBuildTemplate( RunData data, Context context ) { ParameterParser _formParams; HttpSession _session;
if (super.isLoggedIn(data)) { _formParams = data.getParameters(); _session = data.getSession(); _session.setAttribute("myUser", _myuser);
_session.getAttribute("myUser");
you can also call this session from velocity templates.
hope this helps
greetings
Fabio Daprile
Keith Seim wrote:
My site is essentially a tree structure of pages - as the user progresses further down they access more specialized content - and most progress through the tree results in adding a variable to the already existing stack.
From my previous programming experience, I expect I should handle these variable by inserting them into page.getSession() (as well as context for the template designer to use)... I couldn't find anything descriptive on this in the howtos... any ideas before I start filling up session?
Thanks
___________________________________ Keith Seim • http://kjsdesigns.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- ************************************ Würth Phoenix S.r.l. Fabio Daprile
Via Kravogl 4 I-39100 Bolzano Phone: +39 0471 564111 (direct 564066) Fax: +39 0471 564122 mailto:[EMAIL PROTECTED] http:// www.wuerth-phoenix.com *************************************
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
