This content has been marked as final.
Show 8 replies
-
1. Re: The calendar control available actions.
sergeysmirnov Aug 25, 2007 6:36 PM (in response to akira_ag)http://jira.jboss.com/jira/browse/RF-725
after this bug is fixed, you will be able to have:<rich:calendar....> <a4j:support event="onchange" reRender="....."..../> </rich:calendar>
-
2. Re: The calendar control available actions.
akira_ag Aug 26, 2007 2:56 AM (in response to akira_ag)"SergeySmirnov" wrote:
http://jira.jboss.com/jira/browse/RF-725
after this bug is fixed, you will be able to have:<rich:calendar....> <a4j:support event="onchange" reRender="....."..../> </rich:calendar>
Spasibo! -
3. Re: The calendar control available actions.
akira_ag Sep 1, 2007 8:31 AM (in response to akira_ag)"SergeySmirnov" wrote:
http://jira.jboss.com/jira/browse/RF-725
after this bug is fixed, you will be able to have:<rich:calendar....> <a4j:support event="onchange" reRender="....."..../> </rich:calendar>
I see that this bug is fixed in RC4, but this is not worked:<rich:calendar id="calendarDate" value="#{MySessionBean.testDate}" popup="false" required="true"> <a4j:support ajaxSingle="true" event="ondateselect" reRender="TimelineTablePanel"/> </rich:calendar>
And also I don't found any other suitable method (onchange event and another) too. It's a bug? -
4. Re: The calendar control available actions.
sergeysmirnov Sep 1, 2007 11:54 AM (in response to akira_ag)if you say <rich:calendar onchange="alert('onchange event')" />, does it show the alert box?
-
5. Re: The calendar control available actions.
akira_ag Sep 1, 2007 1:03 PM (in response to akira_ag)"SergeySmirnov" wrote:
if you say <rich:calendar onchange="alert('onchange event')" />, does it show the alert box?
No. But I dont see onchange event in TLD declaration. But I can use the following and it's works:<rich:calendar ondatechage="alert('onchange event'); return true" />
-
6. Re: The calendar control available actions.
akira_ag Sep 1, 2007 1:04 PM (in response to akira_ag)I'm sorry. Valid code is:
<rich:calendar ondateselect="alert('onchange event'); return true;" />
-
7. Re: The calendar control available actions.
akira_ag Sep 4, 2007 2:41 AM (in response to akira_ag)Please anybody. It's a bug or unexist feature?
-
8. Re: The calendar control available actions.
ilya_shaikovsky Sep 4, 2007 5:38 AM (in response to akira_ag)For me this
<rich:calendar popup="true" id="calendar"> <a4j:support event="ondateselect" oncomplete="$('form:calendar').component.doCollapse();"></a4j:support> </rich:calendar>
works fine even on RC3 version