Hi all,

I want to know if the Velocity - Context is the equivalent of HttpServlet
Session. The reason is, I have a very typical scenerio where I have three
dropdowns on a page. Once user selects first one, I submit the form with
javaScript and load the second drop down based on the selection. Once user
selects something from second dropdown, I submit the form, and in my
Velocity Action, I load the third drop down. Right now, I have code that
does that in the Velocity Action, and puts the dropdown list in context, as
well as the selection in context (because I want the selection to be
retained on all three drop downs even after form submissions). But this
works only for one submission of form. For example, when I submit first
dropdown change, the selection on first drop down is retained, but once I
submit the second dropdown, the context doesnot have the key for first
dropdown selection anymore. 

In HttpServlet I would just put the selection in the session and it would be
available for me across different form submissions and pages.

Please pardon if my question is stupid because I am pretty new to Velocity
and Turbine framework. 

Can someone help please !!!!!!

Thanks,
Amit

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to