Re: [S2] dropdowndatetimepicker not working

2007-01-15 Thread Alexandre Mendonça Lima
Hi Musachy, I'll try to build version 2.0.3 . Thanks for you help! Alexandre - Original Message - From: Musachy Barroso [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, January 12, 2007 5:01 PM Subject: Re: [S2] dropdowndatetimepicker not working

[S2] dropdowndatetimepicker not working

2007-01-12 Thread Alexandre Mendonça Lima
Hi, Previously, when I was using version 2.0.1, my JSP was: s:datepicker name=equipamento.dataCadastro format=#dd/#MM/# value=%{dataEqp}/ The property dataCadastro in bean equipamento (property of my action) is from type java.util.Date . It's worked! Now, I'm using the actual version

Re: [S2] dropdowndatetimepicker not working

2007-01-12 Thread Musachy Barroso
Hi Alexandre, The datepicker tag has been on the move between 2.0.1 - 2.0.3. I would suggest not to use 2.0.2, and wait until the next stable build is released, must likely 2.0.3. If you can't wait, and decide to build from source, and still have the same problem, let us know. regards

[S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
Hi, I am absolutely nod in mood to be the 1st class troublemaker for S2 ajax support - which is very nice - but real life usage brings some questions. I have a form using theme ajax. And I have some: s:textfield ... label=aaa / s:select ... label=bbb / s:dropdowndatetimepicker ... label=ccc

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
Dariusz Wojtas wrote: Hi, I am absolutely nod in mood to be the 1st class troublemaker for S2 ajax support - which is very nice - but real life usage brings some questions. Don't lose your faith, must of the fixes have been recommended by you :) I have a form using theme ajax. And I have

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
I logged this ticket with a simple patch: https://issues.apache.org/struts/browse/WW-1602 (remember to remove theme=ajax for the ones that you want it to render the label) regards musachy Dariusz Wojtas wrote: Hi, I am absolutely nod in mood to be the 1st class troublemaker for S2 ajax

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
Maybe this fix helps, but for autocompleter. I asked for dropdowndatetimepicker :) Greetings Dariusz Wojtas On 1/7/07, Musachy Barroso [EMAIL PROTECTED] wrote: I logged this ticket with a simple patch: https://issues.apache.org/struts/browse/WW-1602 (remember to remove theme=ajax for the

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
I swear I haven't been drinking today :). I will do a similar fix for the dropdowndatetimepicker musachy Dariusz Wojtas wrote: Maybe this fix helps, but for autocompleter. I asked for dropdowndatetimepicker :) Greetings Dariusz Wojtas On 1/7/07, Musachy Barroso [EMAIL PROTECTED] wrote: I

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
Will it work with all modes of the parent form? (ajax, xhtml) as expected? Did anyone recognize the issue with textarea? If included inside a form with theme=ajax then it automatically is ajaxified (rich text) instead of just being rendered in a table row with two cols. btw, I am just sitting

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
ok, here is the right one: https://issues.apache.org/struts/browse/WW-1605 musachy Dariusz Wojtas wrote: Will it work with all modes of the parent form? (ajax, xhtml) as expected? Did anyone recognize the issue with textarea? If included inside a form with theme=ajax then it automatically

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
I do not know if you did see my comment to WW-1605. It somehow produces endless loop ... Dariusz Wojtas On 1/7/07, Musachy Barroso [EMAIL PROTECTED] wrote: ok, here is the right one: https://issues.apache.org/struts/browse/WW-1605 musachy

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Dariusz Wojtas
Great news! I have applied the patch for me, tested and it reads the property perfectly :) It is now correctly initialized. Good work. Thanks! But some issue is still there - format of the data submitted with the form. If I use it this way: s:dropdowndatetimepicker name=end

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Musachy Barroso
I don't think we need to submit two at all, just one on the RFC 3379 format (the one that works), the other one, which is the one on the textbox should be prefixed with dojo. so S2 ignores it (that's another issue by the way). regards musachy Dariusz Wojtas wrote: Great news! I have applied

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Dariusz Wojtas
That's even better idea :) If you know how - I am 100% with you. Darek On 12/29/06, Musachy Barroso [EMAIL PROTECTED] wrote: I don't think we need to submit two at all, just one on the RFC 3379 format (the one that works), the other one, which is the one on the textbox should be prefixed with

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Musachy Barroso
I attached a new patch to WW-1579, the name of the textfield will now be dojo.${name}. This will make the params interceptor throw an exception, WW-1551 is asking to ignore such parameters. In the meanwhile you can implement ParameterNameAware on your action and ignore anything that starts

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Dariusz Wojtas
The latest patch fixed all issues that I had before with this tag. I tested it with various displayFormat values -MM-dd MM dd-MM- and it always worked as expected. Thanks a lot. Dariusz Wojtas On 12/29/06, Musachy Barroso [EMAIL PROTECTED] wrote: I attached a new patch to

Re: [s2] dropdowndatetimepicker

2006-12-28 Thread Musachy Barroso
I logged a ticket for this issue, with a patch: https://issues.apache.org/struts/browse/WW-1579 The tag was not reading the value from properties. Now it will get the value from the property specified in name, the value needs to be of type Date, or any object whose toString method returns an

Re: [s2] dropdowndatetimepicker

2006-12-27 Thread Musachy Barroso
Hi Dariusz The thing is that the dropdowndatetimepicker is expecting the value to be an string, which is wrong, I will submit a patch to fix it so if the value is of type Date, it will format it using saveFormat, and then use it as the value. Now, I'm not sure what to do to with the submit, I

[s2] dropdowndatetimepicker

2006-12-22 Thread Dariusz Wojtas
Hi, I ma trying to use the dropdowndatetimepicker tag but with little success. My Action defines field java.util.Date registrationDate; And here is my JSP part: s:dropdowndatetimepicker name=registrationDate displayFormat=dd-MM- saveFormat=-MM-dd language=pl/