Re: YUI and S2 : problem in rendering date component

2008-02-13 Thread ravi_eze
hi, My implementation is as follows: I have a page that displays a datetimepicker provided by struts2(2.0.9). When i tried to put the same into the YUI tabbed panel the timepicker componetn is not being displayed. The following is the code in the YUI: script type=text/javascript (function()

Re: YUI and S2 : problem in rendering date component

2008-02-13 Thread Dave Newton
Why not use the YUI calendar component? I'd be wary of mixing multiple JavaScript libraries simply because they may do different DOM manipulations on load, have specific load order requirements, and who knows what else. Jeremy already explained some of the load/instantiation issues. I don't

RE: YUI and S2 : problem in rendering date component

2008-02-13 Thread Ravichandra C
and then validating it. Any ideas? Ravi -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 6:16 PM To: Struts Users Mailing List Subject: Re: YUI and S2 : problem in rendering date component Why not use the YUI calendar component? I'd be wary of mixing

RE: YUI and S2 : problem in rendering date component

2008-02-13 Thread Dave Newton
--- Ravichandra C [EMAIL PROTECTED] wrote: I think in that case, I need to put a string text box and convert the entered string value to Date by using java conversion on server submit. I'm not sure how using the YUI calendar component implies that, but okay. Is it possible for me to avoid all

Re: YUI and S2 : problem in rendering date component

2008-02-11 Thread Jeromy Evans
The issue is that *something* needs to call the code to instantiate the datetimepicker after the html is added to the DOM. What library are you using to asynchronously load the fragment that contains the datetimepicker? And where is the script that instantiates the datetimepicker widget?