[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-216) Add simple URLs to s:link tag

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Oct 4 12:13:21 EDT 2008


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

Pete Muir closed JBSEAM-216.
----------------------------

    Resolution: Rejected


I don't really see the point of this.

> Add simple URLs to s:link tag
> -----------------------------
>
>                 Key: JBSEAM-216
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-216
>             Project: Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Dig
>         Attachments: faces-config.xml, HtmlLink.java
>
>
> The s:link tag does not currently support custom html links but linking to actions and to JSF views is supported. By extending the current s:link implementation Seam can support URL rewriting techniques. This will enable users to hide JSF and Seam URLs behind custom URLs. 
> For further background please refer to the forum post linked from this entry.
> I propose to add a new attribute to the s:link tag (named 'link', 'href' or similar). This attribute would contain the desired URL to link to. The s:link tag would process this URL as for other URLs by adding the conversation ID, etc. Here is an example:
> <s:link value="view" link="#{mycomponent.niceUrl}"/>	
> The users application would be responsible for creating the URL and for ensuring that a request to that URL can be processed (url rewriting).
> As a proof of concept I have already implemented this feature. Some details of my changes are in the forum post. The modified files are HtmlLink.java and faces-config.xml. I will attempt to attach these files to this entry.
> It would be great if this feature could be added to release 1.0 of Seam as I'm currently using this functionality now! Many thanks in advance.

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