jsfCAL - month-view JSF Component

Discussions

News: jsfCAL - month-view JSF Component

  1. jsfCAL - month-view JSF Component (6 messages)

    Here is how it looks: http://jsfcal.googlecode.com/files/jsfcal_shot.jpg How to use it with Maven? just add repo definition to your pom.xml jsfcal-repo JSFCal Repository http://jsfcal.googlecode.com/svn/trunk/mavenrepo/ and then add the dependency. Then you're good to go. tr.richfacesext jsfcal-core 0.1 What do I need on the coding side? You have to supply a Collection as a value to the component. The tr.richfacesext.components.jsfcal.Event interface contract is given below. You can find a concrete impl. of Event here. public interface Event extends Serializable { Long getEventId(); String getTitle(); String getDescription(); Date getStartDate(); Date getEndDate(); boolean isReadOnly(); } With facelets, add namespace declaration like, xmlns:jsfcal="http://code.google.com/p/jsfcal" and use the month-view component like, What attributes does the component have? * initYear : The year that will be displayed when the calendar first loads. By default it's the current year. * initMonth : The month that will be displayed when the calendar first loads. By default it's the current month. * readOnly : When set to true, events couldn't be dragged. By default it's false. * width : Width of the calendar. By default it's 650px. * height : Height of the calendar. By default it's 550px. * abbrevDayHeadings : Whether to display 'Sun' versus 'Sunday' for days of the week. By default it's true. * title : Determines whether a title such as 'January 2009' will be displayed at the top of the calendar. By default it's true. * language : See Localization section for detailed info. Localization Component has a property named language to set the locale in a declarative way (values are given in supported locales part). If that property is not set, it uses context.getViewRoot().getLocale().getLanguage() to identify the locale. If you've provided locale settings in your faces-config properly, the FacesServlet will take care of setting it while creating the view. And JSFCal will use it. Start day of the week is being set according to the locale also. Supported locales are: tr, de, en, es, fr, it, ro, ru. Comin' up next * Weekly view * Event editing, deleting * Outlook export support(?)
  2. The fact that someone is developing a calendar control in 2009 speaks volumes about the sorry state of the Java UI world ... does it not? No offense intended to you, Mr. Caliskan, or your good work. You saw a need and addressed it. I am just saying that it's sad that the need still exists.
  3. let the community decide...[ Go to top ]

    You have a point there but keep in mind that all this is OSS. Of course there are commercial stuff addressing the very same UIs. In my opinion OSS is mostly being initiated by individuals and adoption by the community makes it stronger. I'm very glad that Java world has a solid hand there compared to its rivals. I'm hoping to get this goodie in the richfaces sandbox project that I've been working on and let the community decide that if this is a real need in Java UI world or not. Cheers...
  4. Java Web UI world[ Go to top ]

    loooooooooooooooooool :) 1. SmartGWT http://www.smartclient.com/smartgwt/showcase 2. GWT-EXT http://www.gwt-ext.com/demo 3. IceFaces http://component-showcase.icefaces.org/component-showcase/showcase.iface 4. JBoss Richfaces http://jboss.org/jbossrichfaces/ 5. Apache Myfaces http://myfaces.apache.org and so on ....
  5. I have no experience with component frameworks other than jsf & richfaces. Could anybody show examples of something like this jsfCAL in any language
  6. Re: jsfCAL - month-view JSF Component[ Go to top ]

    I have no experience with component frameworks other than jsf & richfaces. Could anybody show examples of something like this jsfCAL in any language
    here's a .net one.. http://www.daypilot.org/
  7. SmartGWT http://www.smartclient.com/smartgwt/showcase/#featured_databound_calendar_category