Hi All,

Using AppFuse 2.0 + Hibernate + Struts2

I have a pojo that has two fields that store time only values (ie time of day). 
 In my POJO I have specified my column like this:

@Temporal(TemporalType.TIME) @Column(name="start_time", nullable=false)

etc.

appfuse:gen did its usual fine job of building all the in-between glue bits and 
my pojo's form  jsp had Struts <s:textfield ..> components 
for the time fields, which is fine for a start.

I then went looking for a gui component to help control the time data entry.  
After lots of time spent Googling, I've learned a bit about 
the various options that seem to have been explored in recent times 

I initially went for the Struts <s:datetimepicker ..> component but have 
arrived at the point where my jsp page compiles, but the only 
thing visible is the field label.  I suspect I have a CSS issue there, but 
after some initial googling for a solution, I have come away 
feeling that the Struts datetimepicker may not be worth putting the effort 
into.  It appears that people who know much more about this 
than I do are suggesting jscalendar or something in scriptaculous.  I've looked 
through the docco for jscalendar and it doesn't seem to 
support time-only data entry.

So, my question is, what's the current recommendation for the UI side of *Time 
Only* data entry.  Should I put the effort into 
<s:datetimepicker ..> or is there a better solution for this.

TIA,

Rob Hills
Waikiki, Western Australia
Mobile +61 (412) 904-357
Fax: +61 (8) 9529-2137

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to