Hi Matt, On 22 Oct 2007 at 23:39, Matt Raible wrote:
> I'd try the YUI Plugin: > > http://cwiki.apache.org/S2PLUGINS/yui-plugin.html > > Seems like it might be a bit more lightweight than Dojo. >From what I've read, that wouldn't be hard ;-) I looked over the yui-plugin >docco and examples but from my investigations, it doesn't seem to support time-only data entry - in fact, I couldn't even find any reference to date and time, just date. However, maybe that's a deficiency of the documentation or my ability to search it correctly so please feel free to point out any evidence to the contrary. Meanwhile, I'm leaning towards this component: http://jquery.com/plugins/project/timeEntry OTTOYH, are you aware of any issues with jQuery plugins in general or this one in particular? Its licence is a "Creative Commons Licence" which I've not come across before, but doesn't appear to be too restrictive for my needs. > On 10/22/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > 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] > > > > > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] 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]