myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TOBAGO-1105) tc:datepicker does not respect disabled/readonly-Flag of corresponding tc:date, if an Expression ist used
Date Tue, 24 Apr 2012 14:09:37 GMT

     [ https://issues.apache.org/jira/browse/TOBAGO-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Udo Schnurpfeil resolved TOBAGO-1105.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.5
         Assignee: Udo Schnurpfeil
    
> 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
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.5
>
>
> 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

        

Mime
View raw message