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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13588096#comment-13588096 ] 

Andrey Nekhodtsev commented on WICKET-5059:
-------------------------------------------

I think problem is in UrlRenderer, not portlet
                
> 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