You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sebastiaan van Erk (JIRA)" <ji...@apache.org> on 2007/09/13 09:09:32 UTC

[jira] Updated: (WICKET-949) ExternalLink does not support enable/disable like Link

     [ https://issues.apache.org/jira/browse/WICKET-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastiaan van Erk updated WICKET-949:
--------------------------------------

    Attachment: LinkDisableBehavior.java

This is the "link disable" feature implemented as a behavior so that it can be used with any Link class (basically any component that is based on an <a> tag.

I also looked at implementing some kind of "autoEnable" behavior, but I think that would require some kind of inteface which all links must implement with a linksTo method. Don't know if it's necessary though as this feature is already implemented on all subclasses of Link and it does not really make sense for an ExternalLink for example.

> ExternalLink does not support enable/disable like Link
> ------------------------------------------------------
>
>                 Key: WICKET-949
>                 URL: https://issues.apache.org/jira/browse/WICKET-949
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>         Environment: All
>            Reporter: Sebastiaan van Erk
>            Priority: Minor
>         Attachments: LinkDisableBehavior.java
>
>
> ExternalLink does not have the setEnabled(false) behavior that Link has, i.e., that the Link can be disabled and have specific markup put before and after it in case of being disabled. It would be nice to have this for all links... Maybe the functionality can be moved to AbstractLink?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.