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: true tapestry-snapshots http://people.apache.org/~hlship/tapestry-snapshot-repository/ On 6/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have tried to install 2 different Ta

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. org/example/myapp

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 t

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

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 Juan Maya
On 5/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 quie

Re: t5: Date input component

2007-05-29 Thread Juan Maya
} public int getOptionCount() { return 12; } public String getValue(int index) { return "" + index; } public Object translateValue(String value) { return Integer.parseInt(value); } } -Original Message- From: Juan Maya [mailto:[EMAIL PROTE

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 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 Juan Maya
translator? 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

Re: t5: Date input component

2007-05-25 Thread Juan Maya
e > translaor > 3. Register the Module to let the module start when staring your > application >see the attached file MEAT-INF/MANIFEST.MF > 4. Open the attached Page class name Login to see how the date be invoked > > > 2007/5/25, Juan Maya <[EMAIL PROTECTED] >: >

Re: t5: Date input component

2007-05-25 Thread Juan Maya
ine 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: > >

Re: t5: Date input component

2007-05-25 Thread Juan Maya
her 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

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'

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: However i don't know how to accomplish this. I have seen that i can do it creating a ProcessSubmissionAction on my component that would take the va

Re: T5: Obtain Select Component.

2007-05-23 Thread Juan Maya
onthsModel(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]> wrote

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

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=???) private

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 Tapest

Re: Tapestry5 ready for use in a new project?

2007-05-16 Thread Juan Maya
Tapestry. On 5/16/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: On Wed, 2007-05-16 at 10:25 -0500, Juan Maya wrote: > I miss right now tacos library and other ajax components. However i think > they are a lot easier to implement in T5 yes, on the one hand it's really good to hav

Re: Tapestry5 ready for use in a new project?

2007-05-16 Thread Juan Maya
are available. (although flash is not documented on the website). On 5/16/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: Hi Juan, thanx a lot for your feedback, On Wed, 2007-05-16 at 08:48 -0500, Juan Maya wrote: > Hi martin, > I have been using T5 since a few weeks and it has bee

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 follow

Re: Tapestry5 ready for use in a new project?

2007-05-16 Thread Juan Maya
Hi martin, I have been using T5 since a few weeks and it has been great! The increased productivity is really amazing and i haven't faced major bugs. However i couldn't tell u anything about performance and scalability. My application is still pretty basic and runs smoothly...but it's not enough t

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
Hi Marcus. Here are the classes: Email.java package com.dodo.community.web.validators; import static org.apache.tapestry.TapestryUtils.quote; import java.util.regex.Pattern; import org.apache.commons.lang.StringUtils; import org.apache.tapestry.Field; import org.apache.tapestry.MarkupWriter; i

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
to look like this: Could somebody please check this? On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote: 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 Lewi

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]&g

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 Validator { public void validate(Field field, Void constraintValue, MessageFormatter formatter, Object value) throws Validat

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 s

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:

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
On 5/15/07, Howard 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 implement

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 Validator. Then i contributed the Validator in My AppModule: public static void contributeFieldValidatorSource(MappedConfiguration configuration)

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
ood, so how 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 i

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: Non trivial example application?

2007-05-10 Thread Juan Maya
ets don't tell me much. Is there really no example application for tapestry 5 out there where you can see a more complex/dynamic layout in working form? With all necessary classes and templates? Regards, Otho 2007/5/10, Juan Maya <[EMAIL PROTECTED]>: > > To define ur template

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 PROTECTE

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: http://tapestry.apache.org/tapes

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 hav

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.

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 tapes