File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes RichCalendar Timer control with  SEAM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "RichCalendar Timer control with  SEAM" Watch "RichCalendar Timer control with  SEAM" New topic
Author

RichCalendar Timer control with SEAM

Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

Problem1: I am trying to use rich calendar in seam application it works fine for only dates. But when I tried to use timer control, it only works with default value(i.e 12 o'clock) if I change the value the calendar immediately disappears without updating value in input field.
Dan, I found there is a feature request assign on your name:
https://jira.jboss.org/jira/browse/JBSEAM-3171
Do you have any luck on creating demo?

Problem2: I am using requiredMessage but it doesn't reflected when I miss the start date field.
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Hmm, not yet. However, in RichFaces 3.1.2 the <rich:calendar> does have a time field.

I think that JIRA is supposed to say <rich:calendar> not <rich:component>.


Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

Dan,

I tried one more time, and I am able to change hours through up and down GUI scroll buttons but when I tried to change minutes through GUI scroll buttons rich calendar suddenly disappears. However, everything works fine if I don't use GUI scroll button and use only key board key to scroll up and down. I will keep trying and will post my experience on this thread.
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Please report this as a bug in RichFaces. If you cannot make a component work as a user, then every other poor soul that has to use a broken RichFaces component is going to encounter the same problem. There is a good chance that there is a JavaScript error occurring (even if it happens to be a silent one).

Your best voice is JIRA!
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

Dan, I have explored various other solutions and found following alternative can be considered for GUI(Client Side) Time component.
  • HowToMimicATimePick
  • NoGray Visual Time Picker
  • Google calendar renderer
  • Webgalileo

  • I appreciates others view on the usage of any of the above one. I like the google one as it is a simple solution (not in a context of implenting whole goole event source but just mimicking time control look by using JSF and Java) untill Rich Faces came out with a Ajax based time component.

    Apart from that, I will create JIRA in a short time for problem of using scroll buttons in RichCalendar for time control.
    [ August 11, 2008: Message edited by: Jignesh Patel ]
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: RichCalendar Timer control with SEAM