Re: Custom Window State Struts2 Portlet

2010-02-24 Thread Nils-Helge Garli Hegvik
>From the source [1] (getWindowState method), it appears that only the standard window states are considered when creating the url. Please register a JIRA issue (tests and patch welcome indeed). Regards, Nils-Helge Garli Hegvik [1] - http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/po

Re: Custom Window State Struts2 Portlet

2010-02-24 Thread Ricardo Jorge
I managed to fix it. Although the hackish alternative I presented at the end of the message worked, when I was implementing friendly URLs it didn't work as expected for the id parameter because it wasn't a part of . I found a way to get the ID from the value stack this way ActionContext.getConte

Custom Window State Struts2 Portlet

2010-02-22 Thread Ricardo Jorge
Hello. I'm using Liferay portal to develop a portlet using struts 2. I need to use a custom Liferay Window State called exclusive to generate a URL. This allows me to make AJAX calls and return only the result generated by the action. I have added the tag to my portlet.xml I tried