Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Lukasz Lenart
2013/4/24 Juan Jose Fuentes Esteban juanjose.fuen...@grupoica.com: Which is the preferred way of generating a PortletURL object using Struts 2 portlet framework? I have the need to obtain a PortletURL object instead of a String because after that I'll need to add parameters to this PortletURL.

Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Juan Jose Fuentes Esteban
It's just what I was afraid of... Well, it could be an interesting feature to support in the future, if you ask me. The way it is now, we must generate the PortletURL using the portal API, and after that we have to add the parameters that'd make work with Struts2... Thank you Lukasz 2013/4/26

Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Lukasz Lenart
Feel free to request such a functionality via JIRA :-) https://issues.apache.org/jira/browse/WW Kind regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/4/26 Juan Jose Fuentes Esteban juanjose.fuen...@grupoica.com: It's just what I was afraid of... Well, it could be an

Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Nils-Helge Garli Hegvik
It's been a while since I used it last, but underneath the hood, Struts 2 uses PortletUrl to create urls with the url-tag. So you should be able to use the param tag to add parameters to the url. If that is not suitable, use the PortletRequestAware to get the current PortletRequest injected to

Generate PortletURL object with Struts framework

2013-04-24 Thread Juan Jose Fuentes Esteban
Hi everyone, Which is the preferred way of generating a PortletURL object using Struts 2 portlet framework? I have the need to obtain a PortletURL object instead of a String because after that I'll need to add parameters to this PortletURL. Thank you in advance.