[ 
https://jira.jboss.org/browse/RF-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Belaevski updated RF-9330:
-------------------------------

         Assignee: Ilya Shaikovsky
    Fix Version/s: Future_3.X


> Setting access key for rich:calendar is not operational.
> --------------------------------------------------------
>
>                 Key: RF-9330
>                 URL: https://jira.jboss.org/browse/RF-9330
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 3.3.3.Final
>         Environment: All
>            Reporter: Chris Hornsey
>            Assignee: Ilya Shaikovsky
>            Priority: Minor
>             Fix For: Future_3.X
>
>
> In the following example I specify the calendar control as the for atrtibute 
> of a label, and I provide an access key on the label.
>               <h:label for="onDate" accesskey="o" 
> value="#{careMsgs.complaintFilterDateOnTitle}"/>
>               <rich:calendar id="onDate" value="" popup="true"
>                         datePattern="MM/dd/yyyy" showApplyButton="false"
>                       onfocus="selected(this);" onblur="unselected(this);"
>                       enableManualInput="true">
>                       <f:convertDateTime  pattern="#{careMsgs.datePattern}" 
> timeZone="#{careMsgs.timezone}"/>
>               </rich:calendar>
> Since the renderer uses may divs, spans, inputs etc only one of the divs is 
> named onDate.  The actual input is not named named onDate.
> The label gets rendered as 
> <label for="form:onDate" class="validationMessage" 
> accesskey="o">&#160;On</label>
> But the input text for the calendar is rendered as :
> <input class="rich-calendar-input " id="form:onDateInputDate" 
> name="form:onDateInputDate" style="vertical-align: middle; " type="text" />
> The renderer generates the component so that the actual "focusable" html 
> component is not named the same as the JSF component is named.  Since the for 
> atribute is verified against the component tree, I can not simply use the 
> "onDateInputDate" as the for attribute of the label.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to