Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1001

make use of the "disabled" parameter of the component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.7-SNAPSHOT
    • None
    • InputSuggestAjax
    • None

    Description

      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;
      ...
      ===============

      Attachments

        Activity

          People

            Unassigned Unassigned
            milovdzee Milo van der Zee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: