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.

Reply via email to