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-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
:) 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

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? com.dodo.community.web

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 t

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 i

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 Juan Maya
} > > } > > public class LocalisedMonthsModel implements IPropertySelectionModel { > > private String[] months; > > public LocalisedMonthsModel(Locale locale) { > DateFormatSymbols symbols = new DateFormatSymbols(locale); > months = symbols.getMonths(); &

Re: t5: Date input component

2007-05-29 Thread Juan Maya
e PropertySelection components, three simple models for > them and a trivial wire-up. You'll see it soon. > > -Original Message- > From: Juan Maya [mailto:[EMAIL PROTECTED] > Sent: 25 May 2007 16:01 > To: Tapestry users > Subject: Re: t5: Date input component > >

RE: t5: Date input component

2007-05-29 Thread Kolesnikov, Alexander GNI
ct 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, Alexander

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-26 Thread Juan Maya
Thank u very much! This showed me the path! I will post the t5 version soon, hopefully with some JS suppor! :) On 5/25/07, Marcus <[EMAIL PROTECTED]> wrote: It's a T4 example * @author Alexander Kolesnikov * @version 1.0

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-25 Thread Marcus
Hi Juan, Take a look at http://sundraw.ws/components.jsp Marcus

Re: t5: Date input component

2007-05-25 Thread Juan Maya
7;ll see it soon. -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

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
: 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 parseClient(String clientValue, Messages messages) throws ValidationException

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 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 l

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.

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 It's right way to render 3 selectc component. If you just want to render a component ,the html should look like Supp

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: and t:date has: The component renders 3 selects with the day month and year. That's already done, what i don't know is how to create a new java.util.Date() inside my date componen

Re: t5: Date input component

2007-05-25 Thread Juan Maya
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, but I am not sure whether it wi

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
I am actually writing an issue of Tapestry 4 tutorial on creating a custom component exactly as you want. To be completed tomorrow, but I am not sure whether it will be applicable to T5. -Original Message- From: Juan Maya [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 22:59 To: Tapestry user

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 informat

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 fo

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: However i don't know how t