tc:datepicker does not respect disabled/readonly-Flag of corresponding tc:date, 
if an Expression ist used
---------------------------------------------------------------------------------------------------------

                 Key: TOBAGO-1105
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1105
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.5.4
            Reporter: Matthias Wronka


Consider the following example:
   <tc:label for="tcdatePicker_readonly" value="DatePicker Readonly" />
                <tc:panel>
                        <f:facet name="layout">
                                <tc:gridLayout columns="*;auto" />
                        </f:facet>
                        <tc:date id="tcdatePicker_readonly" value="01.01.2009"
                                readonly="#{dateForm.readonly}">
                                <b:convertDateTime pattern="dd.MM.yyyy" 
compactFormat="true" />
                        </tc:date>
                        <tc:datePicker for="tcdatePicker_readonly" />
                </tc:panel>

The datepicker can be opened, no matter what result the readonly-Method of 
dateForm returns. Even the value of the disabled tc:date can be set.
With the disabled flag set by an expression, the datepicker can be opened, but 
the value cannot be set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to