Without the action parameter (and as long as it is a MVC portlet type), the action will be executed during the render phase of the page. Because the page is already rendering, you cannot use the forwarding service/redirect. Also, this allows you to place items into your context for use by the build(Normal/Customize/Maximize)Content.
Jeremy Ford [EMAIL PROTECTED]
From: [EMAIL PROTECTED] Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Subject: Re: VelocityPortlet Set to MAXIMIZE mode Date: Thu, 6 May 2004 15:24:12 -0400
Now it's working perfect.. THANK YOU VERY MUCH JEREMY!!
And just to know... when do I use the action parameter??
"Jeremy Ford" <[EMAIL PROTECTED]> 06-05-2004 15:16 Por favor, responda a "Jetspeed Users List" <[EMAIL PROTECTED]>
Para [EMAIL PROTECTED] cc
Asunto Re: VelocityPortlet Set to MAXIMIZE mode
The link should look like:
http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?idArticulo=7&eventSubmit_doDetalle=
Do not pass the action parameter.
Jeremy Ford [EMAIL PROTECTED]
>From: [EMAIL PROTECTED] >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> >To: "Jetspeed Users List" <[EMAIL PROTECTED]> >Subject: Re: VelocityPortlet Set to MAXIMIZE mode >Date: Thu, 6 May 2004 14:44:19 -0400 > >What do you mean with "the link that you use to fire you action should not >include the action in the url"?. >If I not include the action, How can jetspeed know wich doXXXX method must >execute? > >This is the URL I'm invoking: >http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?action=ArticulosPortletsAction&idArticulo=7&eventSubmit_doDetalle= > >Thank you Jeremy. > > > > >"Jeremy Ford" <[EMAIL PROTECTED]> >06-05-2004 13:34 >Por favor, responda a >"Jetspeed Users List" <[EMAIL PROTECTED]> > > >Para >[EMAIL PROTECTED] >cc > >Asunto >Re: VelocityPortlet Set to MAXIMIZE mode > > > > > > >If you are using then GenericMVC action/portlets, then the link that you >use >to fire you action should not include the action in the url. Jetspeed >will >automatically run the action in your portlet. > >Jeremy Ford >[EMAIL PROTECTED] > > > >From: [EMAIL PROTECTED] > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >Subject: Re: VelocityPortlet Set to MAXIMIZE mode > >Date: Thu, 6 May 2004 13:25:31 -0400 > > > >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] > > > > > >_________________________________________________________________ >Getting married? Find tips, tools and the latest trends at MSN Life >Events. >http://lifeevents.msn.com/category.aspx?cid=married > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >
_________________________________________________________________ Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
