This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 ]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: RichCalendar Timer control with SEAM
     
    Similar Threads
    Anyone using Seam 2.2 (hibernate) Jboss AS 5.1 and hitting an invalid SQL problem with count(...)
    Seam in Action: is Seam stable if I want to build an application in production?
    Seam 2.1 Identity Management and SSO
    Multiple Seam wars inside the same ear
    Links in jsp getting jsessionid embedded in them causing them to break