Re: [T5] Reminder: Tapestry 5 is Alpha

2007-06-05 Thread Juan Maya
Gabriel, actually now is possible to have a paypal account in colombia :) On 6/5/07, Gabriel Lozano [EMAIL PROTECTED] wrote: I would like to help support Howard. I think it is a very good idea allthough I dont have too much money ( for now, I hope ). I have a problem. I'm in Bogota, Colombia,

Re: org.apache.tapestry:tapestry-core:jar:5.0.4-SNAPSHOT

2007-06-01 Thread Juan Maya
you have to add the following maven repository: repository snapshotsenabledtrue/enabled/snapshots idtapestry-snapshots/id url http://people.apache.org/~hlship/tapestry-snapshot-repository//url /repository On 6/1/07, [EMAIL PROTECTED]

Re: Localization of validation messagges and their css

2007-05-31 Thread Juan Maya
To override you need to add the css styles u want to override in u r own style sheet. For example, if u want to override the tapestry style: div.t-error you create: newStyles.css div.t-error { border: 1px solid red; padding: 0px; margin: 4px 0px; } then u include the css in ur page and

Re: Lehky_SPAM: Re: T5 Decoupling a Template From its Component Class

2007-05-31 Thread Juan Maya
yes, that;s still supported and documented here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html On 5/31/07, Jiri Mares [EMAIL PROTECTED] wrote: Hi Howard, I would like to ask, whether there is still possibility to have localized templates? eg.

Re: t5: Date input component

2007-05-30 Thread Juan Maya
/29/07, Juan Maya [EMAIL PROTECTED] wrote: Thanks Alexander! I have used your idea and i have component already working! :) I just need to add a validator and that's it. Hopefully i will have time to finish it tomorrow so i will post the code to show the t5 way (And it's quiet easy!:) On 5/29/07

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

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 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-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
an example that Warner Onstine put on his book (Tapestry 101), maybe taking a look on it you can get more useful information. 2007/5/24, Juan Maya [EMAIL PROTECTED]: Does any body know the best way to implement this type of component? On 5/23/07, Juan Maya [EMAIL PROTECTED] wrote: Hi all

Re: t5: Date input component

2007-05-25 Thread Juan Maya
, Juan Maya [EMAIL PROTECTED] : 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

Re: t5: Date input component

2007-05-25 Thread Juan Maya
? On 5/25/07, Juan Maya [EMAIL PROTECTED] wrote: 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

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

Re: T5: Obtain Select Component.

2007-05-23 Thread Juan Maya
){ this.monthsModel = SelectModelUtil.getMonthsModel(messages.get (month-label)); } return this.monthsModel; } and the getters and setters. On 5/23/07, alvaro tovar [EMAIL PROTECTED] wrote: hi juan, i am new user in t5, if you can show your code? alvaro On 5/22/07, Juan Maya [EMAIL PROTECTED

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

T5: Obtain Select Component.

2007-05-22 Thread Juan Maya
Hi all, I am creating a new component that has 3 embedded Select components inside of him. From this component i need to have references to the select components. Any suggestions to do it? For example, in my code i have: @Component(id=???) private Select monthSelect; @Component(id=???)

Re: T5: Obtain Select Component.

2007-05-22 Thread Juan Maya
So i found out that i can change the id of the component with t:id. Pretty obvious. Sorry On 5/22/07, Juan Maya [EMAIL PROTECTED] wrote: Hi all, I am creating a new component that has 3 embedded Select components inside of him. From this component i need to have references to the select

Re: Validation display format not good in IE(Tapestry5.0.4)

2007-05-21 Thread Juan Maya
it looks fine for me. What kind of problem do u have? On 5/19/07, Allen Guo [EMAIL PROTECTED] wrote: Hi All, Has anyone tried the validation message display in IE I found the validation message display in IE is not good, but it's fine in FireFox. The test is based on Tapestry5.0.4 or

Re: T5: New Validators and server side validation

2007-05-16 Thread Juan Maya
This weird problem was being caused because my integration with ACEGI. On 5/15/07, Juan Maya [EMAIL PROTECTED] wrote: I think i am starting to be annoying but i found out that inside a component the first form will not execute server side validation. In the following code the the validators

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
Lewis Ship [EMAIL PROTECTED] wrote: On 5/14/07, Juan Maya [EMAIL PROTECTED] wrote: Hi all, I am trying to contribute a new Email Validator that would check if an email is valid or not. To do it i created a class Email that implements ValidatorVoid, Object. Then i contributed the Validator

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
But none of the basic implementors are executing server side validation. (i tried required and minLength) On 5/15/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: Yes, but the magic is built into the validator implementation. On 5/15/07, Juan Maya [EMAIL PROTECTED] wrote: I Howard, Thank u

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
It doesn't work for me. I am using tapestry 5.0.4. On 5/15/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: Really? That's a surprise and a bug if true. On 5/15/07, Juan Maya [EMAIL PROTECTED] wrote: But none of the basic implementors are executing server side validation. (i tried required

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
Hi Marcus. I am doing exactly the same but using a tapestry validator so it handles server and client validation. the code is something like: public class Email implements ValidatorVoid, Object { public void validate(Field field, Void constraintValue, MessageFormatter formatter, Object value)

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
I found out my problem. For some reason i added an id parameter to the form component and this was causing the problem. Sorry :S On 5/15/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: Really? That's a surprise and a bug if true. On 5/15/07, Juan Maya [EMAIL PROTECTED] wrote: But none

T5: New Validators and server side validation

2007-05-14 Thread Juan Maya
Hi all, I am trying to contribute a new Email Validator that would check if an email is valid or not. To do it i created a class Email that implements ValidatorVoid, Object. Then i contributed the Validator in My AppModule: public static void

Tapestry 5: Default Locale

2007-05-13 Thread Juan Maya
Hi all, Do u know how could i change the default locale for a tapestry 5 app. I already tried: configuration.add(tapestry.supported-locales, es) in my AppModule but it doesn't seem to help. Thanks for u help

Re: T5 - Authentication filter

2007-05-11 Thread Juan Maya
Hi Eric, i think the best way to do it is to contrib to the Request handler pipilene (http://tapestry.apache.org/tapestry5/tapestry-core/guide/request.html) To contrib to a pipeline do it your AppModule: public RequestFilter buildTimingFilter(final Log log) { return new RequestFilter() {

Re: T5 - Authentication filter

2007-05-11 Thread Juan Maya
this exception can be throw ? 2007/5/11, Juan Maya [EMAIL PROTECTED]: Hi Eric, i think the best way to do it is to contrib to the Request handler pipilene (http://tapestry.apache.org/tapestry5/tapestry-core/guide/request.html) To contrib to a pipeline do it your AppModule: public

Re: Non trivial example application?

2007-05-10 Thread Juan Maya
To define ur template strategy i recommend u to read this threads: http://www.nabble.com/Templating-with-Tapestry-5-tf3659025.html#a10223765 http://www.nabble.com/T5%3A-Best-page-templating-strategy-tf3551324.html#a9914552 After that is pretty straight forward. On 5/10/07, Otho [EMAIL

Re: Tapestry 5.0.4 Release

2007-05-07 Thread Juan Maya
The best way to start is the tutorial ( http://tapestry.apache.org/tapestry5/t5-tutorial.pdf) It still not complete but it give u the basics to start. Then i recommend u the streamcast http://tapestry.apache.org/tapestry5/screencast.html and the tapestry-core docs:

T5: Shell Component

2007-05-06 Thread Juan Maya
Hello everyone, I have been searching on the mailing list and the online documentation but i haven't been able to simulate the Shell component in Tapestry 5. Any help will be appreciated.

Re: T5: Shell Component

2007-05-06 Thread Juan Maya
sorry..I was trying to find this under the component docs. Just in case somebody else is wondering how to do it i found the solution in http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html Thanks On 5/6/07, Juan Maya [EMAIL PROTECTED] wrote: Hello everyone, I have been

Tapestry 5 + Acegi

2007-04-30 Thread Juan Maya
I am starting to develop a new application with Tapestry 5 and i am amazed, I have had such a big productivity bust; now i need to integrate acegi to my app and i was wonder if somebody has explored how to integrate both frameworks. Any help would be appreciated it. I am still a newbie with