wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Grigorov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WICKET-5059) Liferay-Tomcat Portlet, double slash in rendered Form Action Url
Date Wed, 27 Feb 2013 08:11:14 GMT

    [ https://issues.apache.org/jira/browse/WICKET-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588105#comment-13588105
] 

Martin Grigorov commented on WICKET-5059:
-----------------------------------------

The problem is that ws-portlet uses #renderRelativeUrl() to render a context-absolute url
(e.g. "/some/portlet/url").
                
> 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

Mime
View raw message