Re: t5: Date input component

2007-05-30 Thread Juan Maya
- From: Juan Maya [mailto: [EMAIL PROTECTED] Sent: 25 May 2007 16:26 To: Tapestry users Subject: Re: t5: Date input component So i will wait patiently :) Thanks! On 5/25/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: I don't know what will be needed in T5, but in T4

Re: t5: Date input component

2007-05-30 Thread Marcus
Hi Juan, First, Good job. after, some questions: Where can i download? com.dodo.community.web.util.SelectModelUtil com.dodo.util.DateUtils What about ClientElement interface? Thanks Marcus

Re: t5: Date input component

2007-05-30 Thread Matt Kerr
Hey Juan - umm ... 2 cents.. if you have a minute, maybe let me know what i'm missing .. (thanks!) Here is the DateInput component for t5: http://juanemaya.blogspot.com/2007/05/tapestry-5-date-input-component.html I am not sure if that's the best way to do it. I think that building the date in

Re: t5: Date input component

2007-05-30 Thread Juan Maya
Hi Matt. Yes, i am already aware of this problem and reading how to do it in T5. If anybody has any suggestions i will appreciate it. On 5/30/07, Matt Kerr [EMAIL PROTECTED] wrote: Hey Juan - umm ... 2 cents.. if you have a minute, maybe let me know what i'm missing .. (thanks!) Here is the

Re: t5: Date input component

2007-05-30 Thread Juan Maya
sorry marcus. I just added the code to the blog. Anyway this is the link: http://www.geocities.com/jmayaalv/DateInput.zip ClientElement is T5 interface. On 5/30/07, Marcus [EMAIL PROTECTED] wrote: Hi Juan, First, Good job. after, some questions: Where can i download?

Re: t5: Date input component

2007-05-30 Thread Juan Maya
:) I created a Callback registered @afterRender inside DateInput.java and that did the trick! thanks a lot for your suggestions Mark! (the post and code in my blog already has all changes) On 5/30/07, Juan Maya [EMAIL PROTECTED] wrote: Hi Matt. Yes, i am already aware of this problem and

Re: t5: Date input component

2007-05-30 Thread Marcus
Juan, Don't forget to complete, in your blog: You can use the component like this: .

Re: t5: Date input component

2007-05-30 Thread Juan Maya
Done. Thanks. On 5/30/07, Marcus [EMAIL PROTECTED] wrote: Juan, Don't forget to complete, in your blog: You can use the component like this: .

RE: t5: Date input component

2007-05-29 Thread Kolesnikov, Alexander GNI
[mailto:[EMAIL PROTECTED] Sent: 25 May 2007 16:26 To: Tapestry users Subject: Re: t5: Date input component So i will wait patiently :) Thanks! On 5/25/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: I don't know what will be needed in T5, but in T4 everything is plain and easy. Three

Re: t5: Date input component

2007-05-29 Thread Juan Maya
Object translateValue(String value) { return Integer.parseInt(value); } } -Original Message- From: Juan Maya [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 16:26 To: Tapestry users Subject: Re: t5: Date input component So i will wait patiently :) Thanks! On 5/25/07, Kolesnikov

Re: t5: Date input component

2007-05-26 Thread Ted Steen
you could have a look at this for some inspiration.. I dont know how up to date it is, but as soon as I come back from my trip in thailand ill be right on it! http://code.google.com/p/tapestry5-jscalendar/ 2007/5/26, Juan Maya [EMAIL PROTECTED]: Thank u very much! This showed me the path! I

Re: t5: Date input component

2007-05-25 Thread Marcelo lotif
Juan, i have an simple component that maybe can help you. It dinamically grabs information from the database and put into a PropertySelection. It's quite simple, but you may have problems because it's not documented --and i'ts in portuguese, but still is java syntax :-). For your information, I

Re: t5: Date input component

2007-05-25 Thread 蝈蝈龙
Is the example for TP? It seem that it implemented with T4. 2007/5/25, Marcelo lotif [EMAIL PROTECTED]: oops, it goes without the attachament =D sorry! 2007/5/25, Marcelo lotif [EMAIL PROTECTED]: Juan, i have an simple component that maybe can help you. It dinamically grabs information

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
users Subject: t5: Date input component Hi all, i have been trying to create a new Date component that would help to enter dates using 3 select components. It would be something like this: select id=month/select id=day/select id=year/ However i don't know how to accomplish this. I have

Re: t5: Date input component

2007-05-25 Thread Juan Maya
it will be applicable to T5. -Original Message- From: Juan Maya [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 22:59 To: Tapestry users Subject: t5: Date input component Hi all, i have been trying to create a new Date component that would help to enter dates using 3 select components. It would

Re: t5: Date input component

2007-05-25 Thread Juan Maya
Thank for u help, marcelo, but what i need it's something different The component i want would be use like this: t:date value=date/ and t:date has: select id=month/select id=day/select id=year/ The component renders 3 selects with the day month and year. That's already done, what

Re: t5: Date input component

2007-05-25 Thread 蝈蝈龙
I want to give you a attachement size is not greater than 4k. But SMTP server always give me a error The following is the text I think if you would like to your html look like select id=month/select id=day/select id=year/ It's right way to render 3 selectc component. If you just

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
: Re: t5: Date input component Hi Kolesnikov, could u please send the link of this tutorial? thanksOn 5/25/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: I am actually writing an issue of Tapestry 4 tutorial on creating a custom component exactly as you want. To be completed tomorrow

Re: t5: Date input component

2007-05-25 Thread Juan Maya
Thanks! I think translators are way to go. I will try it and tell u how it goes. On 5/25/07, 蝈蝈龙 [EMAIL PROTECTED] wrote: I want to give you a attachement size is not greater than 4k. But SMTP server always give me a error The following is the text I think if you would like to your html

Re: t5: Date input component

2007-05-25 Thread Juan Maya
My only concern with the Translators is that they only transalate one value and to translate the date i need 3 values (month, day, year) public Double parseClient(String clientValue, Messages messages) throws ValidationException so, is it possible to obtain the 3 values within the translator?

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
users Subject: Re: t5: Date input component My only concern with the Translators is that they only transalate one value and to translate the date i need 3 values (month, day, year) public Double parseClient(String clientValue, Messages messages) throws ValidationException so, is it possible

Re: t5: Date input component

2007-05-25 Thread Juan Maya
. -Original Message- From: Juan Maya [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 16:01 To: Tapestry users Subject: Re: t5: Date input component My only concern with the Translators is that they only transalate one value and to translate the date i need 3 values (month, day, year) public Double

Re: t5: Date input component

2007-05-25 Thread Marcus
Hi Juan, Take a look at http://sundraw.ws/components.jsp Marcus

Re: t5: Date input component

2007-05-25 Thread Marcus
It's a T4 example * @author Alexander Kolesnikov * @version 1.0

Re: t5: Date input component

2007-05-24 Thread Juan Maya
Does any body know the best way to implement this type of component? On 5/23/07, Juan Maya [EMAIL PROTECTED] wrote: Hi all, i have been trying to create a new Date component that would help to enter dates using 3 select components. It would be something like this: select id=month/select

t5: Date input component

2007-05-23 Thread Juan Maya
Hi all, i have been trying to create a new Date component that would help to enter dates using 3 select components. It would be something like this: select id=month/select id=day/select id=year/ However i don't know how to accomplish this. I have seen that i can do it creating a