You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Milo van der Zee (JIRA)" <de...@myfaces.apache.org> on 2007/05/20 20:23:16 UTC

[jira] Created: (TOMAHAWK-1001) make use of the "disabled" parameter of the component

make use of the "disabled" parameter of the component
-----------------------------------------------------

                 Key: TOMAHAWK-1001
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1001
             Project: MyFaces Tomahawk
          Issue Type: New Feature
          Components: InputSuggestAjax
    Affects Versions: 1.1.6-SNAPSHOT
            Reporter: Milo van der Zee


The "disabled" parameter of the component is not rendered. Adding the following lines to InputSuggestAjaxRenderer.java fixes that:

===============
...
        String autoComplete = inputSuggestAjax.getAutoComplete().booleanValue()?"true":"false";
        attributes.put("autoComplete", autoComplete);

        String disabled = inputSuggestAjax.isDisabled()?"true":"false";
        attributes.put("disabled", disabled);
        
        if (label != null)
        {
            mainComponentRenderedValue = label;
...
===============


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