SV: Liferay portlet parameters in 1.4.8

2010-06-20 Thread Wilhelmsen Tor Iver
 We are trying to create parametrized portlet URLs to a maximized
 stand-alone portlet, and run into an issue where the constructor to
 the Page is invoked twice. But the second time, the query parameters
 are gone. Why does it create the view page twice? Or is it Liferay
 magic going on?

Since we are the only people in the world doing Wicket portlets, I found the 
solution was to use p_p_url_type=0p_p_lifecycle=1, i.e. a render URL in the 
action phase.

- Tor Iver

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Liferay portlet parameters in 1.4.8

2010-06-17 Thread Wilhelmsen Tor Iver
We are trying to create parametrized portlet URLs to a maximized stand-alone 
portlet, and run into an issue where the constructor to the Page is invoked 
twice. But the second time, the query parameters are gone. Why does it create 
the view page twice? Or is it Liferay magic going on?

(We should probably extend WicketPortlet and pick up parameters in 
processAction() though, but need to  differentiate between this external URL 
request and internal portlet actions.)

Med vennlig hilsen

TOR IVER WILHELMSEN
Senior systemutvikler
Arrive AS
T (+47) 48 16 06 18
E-post: toriv...@arrive.no
http://www.arrive.no
http://servicedesk.arrive.no