-
1. Re: <rich:calendar> change event richfaces 4
nbelaevski Jun 6, 2011 2:36 PM (in response to jonask)Hi Jonas,
Does the same reproduce if you remove
disabled="#{!treeBean.displaySave}"
? -
2. Re: <rich:calendar> change event richfaces 4
jonask Jun 7, 2011 2:42 AM (in response to nbelaevski)Hello Nick, yes, it doesnt matter...
I just noticed that it works every time i refresh the whole page.
So i can 1. select a date and the setter is invoked then i can select more but they arent saved. when i reload the page the last saved date is set and i can save a new one, but only one...
-
3. Re: <rich:calendar> change event richfaces 4
paddy3k Jun 7, 2011 7:23 AM (in response to jonask)I had the same problem and solved it with the following attribute :
ondateselect="submit"
example:
<h:form>
<rich:calendar value="#{dateController.selectedStartDate}" id="beginDate" locale="#{dateController.locale}"
popup="#{dateController.popup}" datePattern="#{dateController.pattern}" ondateselect="submit"
showApplyButton="#{dateController.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"/>
</h:form>
hope it will help you too
greets,
paddy
-
4. Re: <rich:calendar> change event richfaces 4
jonask Jun 8, 2011 9:33 AM (in response to paddy3k)yeah thank you thats a possibility. i used ondateselect="document.getElementById('calendarForm').submit(); return false;"
the only thing is, that my whole site refreshes now when i submit the form...