You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/02/27 08:39:13 UTC

[jira] [Resolved] (WICKET-5059) Liferay-Tomcat Portlet, double slash in rendered Form Action Url

     [ https://issues.apache.org/jira/browse/WICKET-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5059.
-------------------------------------

    Resolution: Not A Problem

Portlets are not supported anymore.
Please provide a quickstart that reproduces the problem without portlets and it will be debugged.

See https://github.com/wicketstuff/core/issues/172. There are few forks of wicketstuff-portlet with a fix.
                
> Liferay-Tomcat Portlet, double slash in rendered Form Action Url
> ----------------------------------------------------------------
>
>                 Key: WICKET-5059
>                 URL: https://issues.apache.org/jira/browse/WICKET-5059
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 6.6.0
>         Environment: Liferay Bundle of
> tomcat-7.0.27
> liferay-portal-6.1.1-ce-ga2
>            Reporter: Andrey Nekhodtsev
>         Attachments: template-portlet.zip
>
>
> Simple minimal Portlet render Form "action" with double slash:
> <pre>
>   public ViewPage(PageParameters pageParameters) {
>     add(new Form<String>("fff"));
>   }
> </pre>
> Results in 
> <form action=".//web/guest/home .... etc :
> <form action=".//web/guest/home?p_auth=HV0eNfup&amp;p_p_id=template_WAR_template&amp;p_p_lifecycle=1&amp;p_p_state=normal&amp;p_p_mode=view&amp;p_p_col_id=column-1&amp;p_p_col_count=2&amp;_template_WAR_template__wu=/template/%3F0-1.IFormSubmitListener-fff" method="post" id="_template_WAR_template__id1">
> </form>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira