You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Robert Breidecker (JIRA)" <my...@incubator.apache.org> on 2005/04/09 21:17:21 UTC

[jira] Created: (MYFACES-178) CommandLink and OutputLink need "Disabled" attribute

CommandLink and OutputLink need "Disabled" attribute
----------------------------------------------------

         Key: MYFACES-178
         URL: http://issues.apache.org/jira/browse/MYFACES-178
     Project: MyFaces
        Type: New Feature
    Versions: 1.0.9 beta    
 Environment: CommandLink and OutputLink need "Disabled" attribute
    Reporter: Robert Breidecker


The CommandLink and OutputLink need a "Disabled" attribute like some of the other components aleady have.  This attribute would prevent an anchor tag from being rendered and instead render plain text.  It would be nice to also have "DisabledStyle" and "DisabledStyleClass" properties as well.

There are workarounds for this issue using the "Rendered" property, but it is combersome if there are many links that need to be disabled.  

Adding this new property would also be more object oriented approach to this issue and would make the link compnents more consistent with other components that already have a "Disabled" property.

In addition to this issue, I have already created Issue #74 on the JSF public spec Web site. https://javaserverfaces-spec-public.dev.java.net/  I think MyFaces should consider this feature regardles of what the outcome is in the JSF specification.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira