You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2012/04/25 17:52:17 UTC

[jira] [Commented] (TOBAGO-1105) tc:datepicker does not respect disabled/readonly-Flag of corresponding tc:date, if an Expression ist used

    [ https://issues.apache.org/jira/browse/TOBAGO-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261736#comment-13261736 ] 

Udo Schnurpfeil commented on TOBAGO-1105:
-----------------------------------------

The date picker should also use the dateDisabled.gif image to show its disabled state.
                
> 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