[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-4455) Seamspace -- viewIds in s:link and s:button

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Mon Nov 2 04:46:06 EST 2009

     [ https://jira.jboss.org/jira/browse/JBSEAM-4455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Bryzak closed JBSEAM-4455.

    Fix Version/s: 2.2.1.CR1
       Resolution: Done

Fixed in SVN, thanks for pointing out this inconsistency.

> Seamspace -- viewIds  in s:link and s:button
> --------------------------------------------
>                 Key: JBSEAM-4455
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4455
>             Project: Seam
>          Issue Type: Patch
>          Components: Examples
>    Affects Versions: 2.2.0.GA
>         Environment: Seam 2.2 Rev. 11569 http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2
>            Reporter: Wolfgang Schwendt
>            Assignee: Shane Bryzak
>            Priority: Trivial
>             Fix For: 2.2.1.CR1
>         Attachments: seamspaceViewIdPath.txt
> When s:link and s:button are used in the facelets view template files of  the Seamspace example,
> the JSF viewId to link to is written incorrectly.
> Right now in the Seamspace example, the viewId to link to is written as follows:
> s:link  view="/friendrequest.seam" value="Send a friend request" propagation="none"...
> Instead of using the suffix/extension ".seam", the viewId to link to must be correctly written with the suffix/extension ".xhtml":
> s:link  view="/friendrequest.seam" value="Send a friend request" propagation="none"...
> If ".seam" is used rather than ".xhtml", it leads to the missing propagation of page parameters.  When an s:link/s:button is rendered, UISeamCommandBase.getUrl() retrieves the set of page parameters from Pages.getStringValuesFromModel().    The Pages component holds metadata for pages defined in pages.xml, including page parameters.  When the wrong viewId is used, Pages.getStringValuesFromModel() does not find the page parameters for the JSF view to link to, and therefore page parameters are omitted when rendering the link.   For example, when the viewID is written with '.seam', the link for sending a friend request is rendered with the target URL, but it should be

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list