Re: [Solved] Re: sx:datetimepicker

2010-10-16 Thread Dave Newton
The old filter was deprecated as of S2.1; it's always a good idea to check the release notes and/or javadocs of the classes you're using to make sure your code/config is up-to-date! Dave On Sat, Oct 16, 2010 at 11:37 AM, cellterry wrote: > > Finally I find out what happens by comparing showcase

[Solved] Re: sx:datetimepicker

2010-10-16 Thread cellterry
Finally I find out what happens by comparing showcase of the plugin with my codes: In web.xml, change org.apache.struts2.dispatcher.FilterDispatcher to org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter and then the datepicker work normally. Terry. -- View this message

Re: sx:datetimepicker

2010-10-10 Thread Li Ying
I read the documents of JQuery Plugin. It looks like the attribute [showButtonPanel] means if show button panel [in the calender], but not if show a button beside the textfield. I think maybe you should use the attributes [showOn]/[buttonImage]/[buttonImageOnly]/[buttonText] instead. You can tak

Re: sx:datetimepicker

2010-10-10 Thread Li Ying
Try delete the attribute [readonly="true"]. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: sx:datetimepicker

2010-10-10 Thread cellterry
Thanks for your tips again. I did not see any errors and warning in my eclipse console. And I tried it in firefox with firebug installed. There is no bugs triggered. Or I misunderstand what "JavaScript console" is? Terry. Dave Newton-6 wrote: > > And again, do you see any errors in the Jav

Re: sx:datetimepicker

2010-10-10 Thread Maurizio Cucchiara
Terry, you can use datepicker without necessarily involving the struts framework. Please, see attached file. Maurizio Cucchiara 2010/10/10 cellterry : > > Dear all, > > So unlucky I encountered another problem to use struts-jquery-plugin > (2.4.1). > > I found that the datepicker field looks the

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
And again, do you see any errors in the JavaScript console? It's important to tell the details, otherwise it's really difficult to help. Dave On Sun, Oct 10, 2010 at 1:47 PM, cellterry wrote: > > Dear all, > > So unlucky I encountered another problem to use struts-jquery-plugin > (2.4.1). > > I

Re: sx:datetimepicker

2010-10-10 Thread cellterry
Dear all, So unlucky I encountered another problem to use struts-jquery-plugin (2.4.1). I found that the datepicker field looks the same as a textfield without any button beside it. My JSP is: : : <%...@taglib prefix="s" uri="/struts-tags"%> <%...@taglib prefix="sj" uri="/struts-jquery-tags"%

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
Or raw, recent Dojo. I think the plugins are great for the *most* simple usecases. Anything remotely beyond that, even a smidge, I have to agree that it's almost always better to use the raw JavaScript framework of choice, for a variety of reasons. Dave On Sun, Oct 10, 2010 at 11:26 AM, Dale New

Re: sx:datetimepicker

2010-10-10 Thread Dale Newfield
On 10/10/10 10:52 AM, cellterry wrote: It seems that I should turn to study jquery plugin. Or, as keeps being suggested (even by the authors of those plugins), just use raw jquery. -Dale - To unsubscribe, e-mail: user-unsub

Re: sx:datetimepicker

2010-10-10 Thread cellterry
Thanks, Dave. It seems that I should turn to study jquery plugin. Terry. -- View this message in context: http://old.nabble.com/sx%3Adatetimepicker-tp29927463p29927727.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
deprecated for a reason!) > > > > Dave > > > > On Sun, Oct 10, 2010 at 9:37 AM, cellterry wrote: > > > >> > >> Dear all, > >> > >> Recently I am trying to use dojo compnent sx:datetimepicker in struts > >> 2.1.8.1 with dojo

Re: sx:datetimepicker

2010-10-10 Thread cellterry
10 at 9:37 AM, cellterry wrote: > >> >> Dear all, >> >> Recently I am trying to use dojo compnent sx:datetimepicker in struts >> 2.1.8.1 with dojo plugin. >> >> I found even the render of field box cannot be obtained but the label >> appears. >&g

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
Any errors in the JavaScript console? (Also, bear in mind that these tags are deprecated for a reason!) Dave On Sun, Oct 10, 2010 at 9:37 AM, cellterry wrote: > > Dear all, > > Recently I am trying to use dojo compnent sx:datetimepicker in struts > 2.1.8.1 with dojo plugin. &

sx:datetimepicker

2010-10-10 Thread cellterry
Dear all, Recently I am trying to use dojo compnent sx:datetimepicker in struts 2.1.8.1 with dojo plugin. I found even the render of field box cannot be obtained but the label appears. Actually I have done the following in my JSP file. 1. Include tag lib: <%...@taglib prefix="

sx:datetimepicker bug?

2010-07-20 Thread Chris Miles
I have the following in my JSP but the generated HTML is: This is obviously not picked up my action class expecting deliveryDate and not dojo.deliveryDate. Is this normal? According to the docs it is not. Chris

sx:dateTimePicker disable textfield

2010-06-22 Thread lucas owen
Hi Struts 2 users! I have a jsp in which I allow the users to enter a date: If the user enters anything with wrong format (for instance, ), the datetimepicker changes this value to 01/01/1970 (I dont know why!!) so I want to disable the textbox so that the user only can introduce a date wh

sx:datetimepicker and form theme css_xhtml

2009-02-20 Thread Andras Balogh
Hi, I'm trying to use the sx:datetimepicker with Struts 2.1.6. The datetimepicker is embedded in a form with theme="css_xhtml". I did not find a way to set for the datetimepicker the theme explicitly and right now it generates a table row (tr) for the datetimepicker whi

Re: S2.1.1 sx:datetimepicker seem to ignore displayFormat on submit

2007-11-14 Thread Giovanni Azua
hi, Ok good to know! thanks! We need a special integer-based format and not Date but this makes the conversion actually simpler. Thanks! Best regards, Giovanni Musachy Barroso wrote: Actually it was wrong in 2.0.x, on 2.1 the date will always be submitted as RFC 3339, if you define your fi

Re: S2.1.1 sx:datetimepicker seem to ignore displayFormat on submit

2007-11-14 Thread Musachy Barroso
Actually it was wrong in 2.0.x, on 2.1 the date will always be submitted as RFC 3339, if you define your field as a Date, or a Calendar object you won't have to do any conversion at all. musachy On Nov 14, 2007 5:24 AM, Giovanni Azua <[EMAIL PROTECTED]> wrote: > hi, > > In version 2.0.9 I had a d

S2.1.1 sx:datetimepicker seem to ignore displayFormat on submit

2007-11-14 Thread Giovanni Azua
hi, In version 2.0.9 I had a datetimepicker with custom user-defined conversion that worked fine. After migrating to S 2.1.1 my conversion class on submit receives the beginDate in the wrong format, instead of the expected ".MM.dd" I get something like dd-MM-T. Seems like a defect new