Making a "dirty" play with session variables, I'm controling the flow, but my problem now is that the object that was put in context in the doXXX method, aren't there when the buildNormalContext() is called again, so the template can't render it...
What could be happening!?? Please, any help is welcomed. Thank you. "Stuart Belden" <[EMAIL PROTECTED]> 06-05-2004 08:02 Por favor, responda a "Jetspeed Users List" <[EMAIL PROTECTED]> Para [EMAIL PROTECTED] cc Asunto Re: VelocityPortlet Set to MAXIMIZE mode buildNormalContext() is always executed after any action is called. One way to avoid this is to loop through the req parameters and exit rendering in BNC if you find a param that beings with (eventSubmit_) >>> [EMAIL PROTECTED] 05/05/04 07:02PM >>> Hi people... I'm building a VelocityPortletAction with 2 methods: buildNormalContext: Which put objects in context to render in the default mode. The object is a List, which has a lot of items, each of one rendered as a link, with the intention to see it detail when clicked. To see the clicked item detail, I implement a second method: doViewDetail: which query the full information of the selected item. Until now, everything works fine. My problem is that ALWAYS the buildNormalContextmethod is executed after the doViewDetail, so my item object get lost. Is this happenning because the buildNormalContext is ALWAYS executed before a normal render?? How can I avoid this behavior??... By the way, I wish to display the item detail in the portlet maximized mode. Any assistance woud be very appreciated!!!! Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
