[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-216) Add simple URLs to s:link tag
by Pete Muir (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-216?page=all ]
Pete Muir updated JBSEAM-216:
-----------------------------
Component/s: JSF Controls
(was: JSF Integration)
> Add simple URLs to s:link tag
> -----------------------------
>
> Key: JBSEAM-216
> URL: http://jira.jboss.com/jira/browse/JBSEAM-216
> Project: JBoss 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months