[seam-issues] [JBoss JIRA] (JBSEAM-5085) Pages rewrite doesn't rewrite s:link params

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Apr 17 18:40:54 EDT 2013


    [ https://issues.jboss.org/browse/JBSEAM-5085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768298#comment-12768298 ] 

RH Bugzilla Integration commented on JBSEAM-5085:
-------------------------------------------------

Petr Penicka <ppenicka at redhat.com> made a comment on [bug 928002|https://bugzilla.redhat.com/show_bug.cgi?id=928002]

Edited release note and inserted it into the 2.2.0 RN book.

Docs stage URL: https://documentation-devel.engineering.redhat.com/docs/en-US/JBoss_Web_Framework_Kit/2.2/html-single/2.2.0_Release_Notes/index.html

Build: JBoss_Web_Framework_Kit-2.2.0_Release_Notes-2.2-en-US-0-23
                
> Pages rewrite doesn't rewrite s:link params
> -------------------------------------------
>
>                 Key: JBSEAM-5085
>                 URL: https://issues.jboss.org/browse/JBSEAM-5085
>             Project: Seam 2
>          Issue Type: Bug
>          Components: JSF Controls
>            Reporter: Marek Novotny
>             Fix For: 2.3.1.CR1
>
>
> Having this in the pages.xml:
> <page view-id="/entry.xhtml"> 
>         <rewrite pattern="/entry/{blogEntryId}" />
>         <rewrite pattern="/entry" />
>         
>         <param name="blogEntryId" 
>                value="#{blogEntry.id}"/>
>         
>         <action execute="#{entryAction.loadBlogEntry(blogEntry.id)}"/>
>     </page>
> and a link to entry in a page:
> <s:link id="link" view="/entry.xhtml" propagation="none" value="#{blogEntry.title}">
>    <f:param name="blogEntryId" value="#{blogEntry.id}"/>
> </s:link>
> this should render as a link to "/entry/foo", but it renders as "/entry?blogEntryId=roadmap11"

--
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


More information about the seam-issues mailing list