You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Steven Oglesby (JIRA)" <de...@myfaces.apache.org> on 2005/12/08 10:02:08 UTC

[jira] Created: (MYFACES-915) Add identifiers to generated HTML elements

Add identifiers to generated HTML elements
------------------------------------------

         Key: MYFACES-915
         URL: http://issues.apache.org/jira/browse/MYFACES-915
     Project: MyFaces
        Type: Improvement
  Components: Tomahawk  
    Versions: 1.1.1    
 Environment: IE6, Windows XP
    Reporter: Steven Oglesby
    Priority: Trivial


I have a jsp with an inputCalendar which is rendered as a pop-up with a button to launch it. I wish to change the enabled state of the component from JavaScript, based on the selection of a select element. The input element is rendered with an id so I can access that and enable/disable it at will. The button has no such id so I can disable the text field, press the button and select a date which is then displayed as the value of the field. Since the field is disabled, this value is not passed to the server and causes no real harm but it can be confusing to users.

This request is specific to the inputCalendar but it might be nice if any similar component which renders multiple HTML elements, also rendered an id for each element.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira