You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Steve Swinsburg (JIRA)" <ji...@apache.org> on 2008/10/17 11:48:44 UTC
[jira] Updated: (WICKET-1878) ExternalLink should have title field
[ https://issues.apache.org/jira/browse/WICKET-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Swinsburg updated WICKET-1878:
------------------------------------
Description:
The ExternalLink component should either by default have a title field, or have another constructor that takes the title as a paremeter. Currently this is only achieved by using AttributeAppender and setting the title attribute onto the link.
eg current:
ExternalLink emailLink = new ExternalLink("mailToLink",new Model("mailto:" + emailAddress),new Model(emailAddress));
emailLink.add(new AttributeAppender("title", new Model(emailAddress), " "));
I propose the following constructor:
ExternalLink(java.lang.String id, java.lang.String href, java.lang.String label, java.lang.String title)
was:
The ExternalLink componenet should either by default have a title field, or have another constructor that takes the title as a paremeter. Currently this is only achieved by using AttributeAppender and setting the title attribute onto the link.
eg current:
ExternalLink emailLink = new ExternalLink("mailToLink",new Model("mailto:" + emailAddress),new Model(emailAddress));
emailLink.add(new AttributeAppender("title", new Model(emailAddress), " "));
I propose the following constructor:
ExternalLink(java.lang.String id, java.lang.String href, java.lang.String label, java.lang.String title)
> ExternalLink should have title field
> ------------------------------------
>
> Key: WICKET-1878
> URL: https://issues.apache.org/jira/browse/WICKET-1878
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3.4, 1.4-M3
> Reporter: Steve Swinsburg
>
> The ExternalLink component should either by default have a title field, or have another constructor that takes the title as a paremeter. Currently this is only achieved by using AttributeAppender and setting the title attribute onto the link.
> eg current:
> ExternalLink emailLink = new ExternalLink("mailToLink",new Model("mailto:" + emailAddress),new Model(emailAddress));
> emailLink.add(new AttributeAppender("title", new Model(emailAddress), " "));
> I propose the following constructor:
> ExternalLink(java.lang.String id, java.lang.String href, java.lang.String label, java.lang.String title)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.