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]
