Re : T5 actionlink, ajax zone and user onclick handler

2008-04-20 Thread Julien HENRY
Hi Chris, Just a little suggestion. Because confirm.js depends on prototype I think you should add @IncludeJavaScriptLibrary("prototype.js") to your Confirm mixin. Thanks for this article Julien - Message d'origine De : Luca Fossato <[EMAIL PROTECTED]> À : Tapestry users Envoyé le :

[T5] Sending Email from Tapestry

2008-04-20 Thread nille hammer
Hi Michael, I´ve tried the ServiceStatus. It is very interesting. Thank you for the hint. Hi Peter, yea a MessageSource would be cleaner than what I did. I will try to come to that later. I have an impatient customer and have to get the application running. In case I have something, I´ll keep

Re: Re : T5 actionlink, ajax zone and user onclick handler

2008-04-20 Thread Chris Lewis
Julien, The beauty of using @IncludeJavaScriptLibrary is that you don't need to explicitly include prototype - it does it automatically (I mention that in the part where I talk about the annotation). Now some people will probably find that invasive and I think that as T5 evolves into a framework l

Re: A big round of applause to the (cooperative) people on the mailing list

2008-04-20 Thread Filip S. Adamsen
Greater. :) -Filip Jan Vissers skrev: Just spent a lot of timing hammering away at a problem and with the help of the great Tapestry community - which is building - finally got it working. Wanting to say thank you to all of you and we'll keep on rocking! Together we can make Tapestry 5 great!

Re: T5: Is there a simple way to display property of embedded instance in Grid?

2008-04-20 Thread ningdh
Thank you, Tobias and Jonathan, especially for Tobias's detailed work. I find include and add can't use together, because properties of 'add' will be flushed and cleared by 'include' later, and this can be traced from source code of BeanModelUtils. For example, I want to show 'username' and 'cit

RE: T5: Is there a simple way to display property of embedded instance in Grid?

2008-04-20 Thread Jonathan Barker
DH, For anything the least bit complicated, I do it in Java. @Inject BeanModelSource _bms; @Cached public BeanModel getBeanModel(){ BeanModel model = _bms.create(User.class, false, _bms); model.include("username"); model.add("location").sortable(true); return mo

T5: Capture a component body as a block?

2008-04-20 Thread Bill Holloway
In a couple of places I have Some interesting content. My need is to to capture whatever the "body" of MyComponent is into a block. Is there a better way to accomplish this? -- Those who can make you believe absurdities can make you commit atrocities. Voltaire

T5, Change default messeges

2008-04-20 Thread jgn
Hi. I would like to know how could I change the default messages for the validator. I am from Mexico, so the default messages are in English. Is there a way to change them to spanish ?. Thank you. -- View this message in context: http://www.nabble.com/T5%2C-Change-default-messeges-tp16801040p16

Re: T5: Is there a simple way to display property of embedded instance in Grid?

2008-04-20 Thread dhning
Got it. I will do in Java. I think @NonVisal is not so flexible, sometimes you want to hide this field here, but also you may want to show it there. If annotated with @NonVisal, it is always hidden by the BeanModel, and causes exception about 'not available property' if trying to access it. Th

T5, Search and Grid Component

2008-04-20 Thread jgn
Hi. I have a simple page where I do a Search with a couple of fields that act as filters. I use a flash strategy to persist the fields. I show the results on a grid component. The problem is that, when I try to reorder the grid for an specific column I loose the filter values. I do not want to us

Re: T5, Change default messeges

2008-04-20 Thread César Lesc
Hi jgn, for change the default messages look at http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner César. ps: i'm from Mexico too :) On Sun, Apr 20, 2008 at 8:09 PM, jgn <[EMAIL PROTECTED]> wrote: > > Hi. I would like to know how could I change the default mess

Re: migrating from T4.0.2 to T4.1.5 problem

2008-04-20 Thread abangkis
hi marcus, thanks. I'll try that. the shared library thing happened because the application is still updated regularly using a war file. Including the library in the war will increase the file size significantly. On Sat, Apr 19, 2008 at 12:57 AM, Marcus Schulte <[EMAIL PROTECTED]> wrote: > your

Re: T5, Search and Grid Component

2008-04-20 Thread Sven Homburg
reset the fieldvalues in "void setupRender()" 2008/4/21, jgn <[EMAIL PROTECTED]>: > > > Hi. I have a simple page where I do a Search with a couple of fields that > act > as filters. I use a flash strategy to persist the fields. I show the > results > on a grid component. > > The problem is that, w

org.apache.tapestry.BindingException in T4.1

2008-04-20 Thread abhilash
Hi all, I am using tapestry4.1.5.In one of my edit page i am getting following exception. [ +/- ] Exception: Unable to parse OGNL expression '((vobject.client.sub.status)?(detail.tp.fee - tp.pfee):0.0)': Unable to add method java.lang.Double ref2(ognl.OgnlContext, java.lang.Object) to class $AST