[richfaces-issues] [JBoss JIRA] Reopened: (RF-7600) calendar: doCollapse should invoke oncollapse before closure timeEditor.
Dmytro Lisnichenko (JIRA)
jira-events at lists.jboss.org
Tue Feb 9 15:32:27 EST 2010
[ https://jira.jboss.org/jira/browse/RF-7600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Lisnichenko reopened RF-7600:
------------------------------------
> calendar: doCollapse should invoke oncollapse before closure timeEditor.
> ------------------------------------------------------------------------
>
> Key: RF-7600
> URL: https://jira.jboss.org/jira/browse/RF-7600
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 3.3.1
> Reporter: Ilya Shaikovsky
> Assignee: Tsikhon Kuprevich
> Priority: Minor
> Fix For: 3.3.2.CR1
>
>
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246116#4246116
> <script type="text/javascript">
> var timeToSelect=false;
> </script>
> <h:form>
> <rich:calendar id="dummy" value="#{dummy}" popup="true" oncollapse="if (timeToSelect) return false;"
> datePattern="MMMM d, yyyy HH:mm" enableManualInput="false"
> showApplyButton="false" cellWidth="24px" cellHeight="22px"
> ondateselected="timeToSelect=true; Richfaces.getComponent('calendar',this).showTimeEditor();return true;"
> style="padding: 2px; margin-left: 10px;" disabled="#{readOnlyMode}" ontimeselected="timeToSelect=false;" ontimeselected="//close calendar here">
>
> </rich:calendar>
> </h:form>
> this code should works as he need. but it's not because oncollapse which prevents closure invokes after timeEditor already closed.
> Move invoking the collapse before the closure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list