-
1. Re: Calendar Data Model
sergeysmirnov Sep 21, 2007 3:54 PM (in response to pettersonfp)The calendar-sample from http://anonsvn.jboss.org/repos/richfaces/tags/3.1.0/samples/ uses it. We are going to insert the example of using it to the main richfaces-demo, but not right now.
Note: calendar-sample is a production demo. It is used during the component development phase. The URI and the set of jar files are not the same that used in the final lib.
This is more info about the repo and how to build such samples:
http://labs.jboss.com/wiki/HowToConfigureMavenForRichFaces -
2. Re: Calendar Data Model
pettersonfp Sep 25, 2007 12:59 PM (in response to pettersonfp)Thanks,
That demo helped a lot. However I couldn't make the item.enabled = false works.
How can I do to make some cells not selectable?
Thanks in advance,
Petterson -
3. Re: Calendar Data Model
maksimkaszynski Sep 25, 2007 1:56 PM (in response to pettersonfp)Thank you for pointing
http://jira.jboss.com/jira/browse/RF-1013 -
4. Re: Calendar Data Model
ilya_shaikovsky Sep 26, 2007 6:07 AM (in response to pettersonfp)Sorry.. two points from the specification (tooltips and disablement) wasn't implemented in this version.
At present you only may perform disablement by yourself using client side API of the calendar. ondateselect handler could cancel the selection event if you return false inside -
5. Re: Calendar Data Model
pettersonfp Sep 26, 2007 9:59 AM (in response to pettersonfp)Thanks,
After reading this I noticed the tootip issue as well.
Could you please provide me a sample of how to to the disablement using client side API? I'm really bad using javascript ...
Regards,
Petterson -
6. Re: Calendar Data Model
pettersonfp Sep 28, 2007 10:01 AM (in response to pettersonfp)Hi,
Where can I find more about client side API?
Thanks -
7. Re: Calendar Data Model
ilya_shaikovsky Oct 1, 2007 6:55 AM (in response to pettersonfp)At the demo site. In calendar example there is Client Side API tab.