[jboss-jira] [JBoss JIRA] Commented: (JBSEAM-216) Add simple URLs to s:link tag

Dig (JIRA) jira-events at jboss.com
Wed Jul 26 12:03:11 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBSEAM-216?page=comments#action_12340109 ] 
            
Dig commented on JBSEAM-216:
----------------------------


Hi. Have any Seam developers looked at this issue yet? I've very keen to see this feature included in Seam s:link. Feel free to ask any questions if you're not sure what I'm talking about.

Thanks again, Dig.

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

        



More information about the jboss-jira mailing list