Re: Does Tapestry have something like Converter in JSF?

2008-03-30 Thread Howard Lewis Ship
That's true, there's another interface, PrimaryKeyEncoder, that is also useful. Generally, a ValueEncoder that fails will return null. That null will be picked up by the validators (say, the Required validator). So there is notification. To me its two seperate use cases; the user will not be ty

Re: Does Tapestry have something like Converter in JSF?

2008-03-30 Thread Yura Tkachenko
Well in JSF Convertors is a part of validation logic and they are provide a way to notify application that conversion was unsuccessful. In Tapestry I see Translator is almost the same as Converter in JSF. Using Translator I can notify my application that conversion was unsuccessful. I've been looki

Re: T4-AJAX executing client side script from an async listener

2008-03-30 Thread Paul Stanton
yes it's 4.1.5, how would i do that andreas? I find the documentation on this stuff very limited. p Andreas Andreou wrote: Can't you conditionally include a @Script in the response? Also, that's on 4.1.5, right? On Fri, Mar 28, 2008 at 1:32 AM, Paul Stanton <[EMAIL PROTECTED]> wrote: Hi a

Re: Does Tapestry have something like Converter in JSF?

2008-03-30 Thread Howard Lewis Ship
Actually, this looks closer to the ValueEncoder interface. For example, the tapestry-hibernate module includes ValueEncoders to convert between Hibernate entities and their primary keys (as strings). The ValueEncoderSource interface is useful here, since it allows components that need a ValueEnco

Re: How to call EJB from T5 application?

2008-03-30 Thread Ulrich Stärk
HHB schrieb: Is it possible to employ some kind of DI? what about writing a custom service and register it with T5 application? Ulrich Stärk wrote: HHB schrieb: Hi. In a Tapestry 5 application, how to call EJBs? Thanks. Look it up using JNDI or some other method and use it. Uli You sho

Re: Does Tapestry have something like Converter in JSF?

2008-03-30 Thread Yura Tkachenko
Thank you. On 3/30/08, Thiago HP <[EMAIL PROTECTED]> wrote: > > On 3/30/08, Yura Tkachenko <[EMAIL PROTECTED]> wrote: > > Does Tapestry 5 have something like converters? > > Yes. Take a look at the Translator interfade > ( > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/Transla

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-30 Thread Shing Hing Man
Thanks! Shing --- Thiago HP <[EMAIL PROTECTED]> wrote: > On 3/29/08, Thiago HP <[EMAIL PROTECTED]> wrote: > > Adding the following to your app.properties will > do the trick: > > rowNo= > > Ooops, that should be rowNo-label= > > -- > Thiago > > --

Re: Does Tapestry have something like Converter in JSF?

2008-03-30 Thread Thiago HP
On 3/30/08, Yura Tkachenko <[EMAIL PROTECTED]> wrote: > Does Tapestry 5 have something like converters? Yes. Take a look at the Translator interfade (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/Translator.html) and the translate parameter of the TextField component (http://ta

Does Tapestry have something like Converter in JSF?

2008-03-30 Thread Yura Tkachenko
Hi, I have some experience in JSF and basically even now when I'm trying to create some application in Tapestry sometimes I'm trying to find similar solutions/approaches which I used in JSF. Anyway JSF provided such a good thing like Converters. For example on your form you had text field to input

Re: Javascript error in datefield component

2008-03-30 Thread Yura Tkachenko
Thank you Florian, I have updated my project to Tapestry 5.0.11 and everything works good. On Sat, Mar 29, 2008 at 4:50 PM, Ektschn <[EMAIL PROTECTED]> wrote: > > Hi Yura, > > as far as I know this is fixed in t5.0.11 > > Best, Florian > > > Yura Tkachenko wrote: > > > > Hi, > > > > I'm getting J

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-30 Thread Thiago HP
On 3/29/08, Thiago HP <[EMAIL PROTECTED]> wrote: > Adding the following to your app.properties will do the trick: > rowNo= Ooops, that should be rowNo-label= -- Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

T5: tapestery5-components

2008-03-30 Thread Chris Lewis
Dear list, I'm writing to announce that probably a month or so ago, I joined the tapestry5-components project (http://code.google.com/p/tapestry5-components/). Before that I had published a component library (with one component: slideshow) as gc-tapestry-components (http://code.google.com/p/gc-tap

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-30 Thread Adam Zimowski
You can have a blank label in grid column header, just override the default property label in page properties: beanModel.add("rowNo", null); rowNo-label= -adam On Sat, Mar 29, 2008 at 10:59 AM, ryanskow <[EMAIL PROTECTED]> wrote: > > > It can be useful, however, to have a blank heading for col

Re: How to call EJB from T5 application?

2008-03-30 Thread HHB
Is it possible to employ some kind of DI? what about writing a custom service and register it with T5 application? Ulrich Stärk wrote: > > HHB schrieb: >> Hi. >> In a Tapestry 5 application, how to call EJBs? >> Thanks. > > Look it up using JNDI or some other method and use it. > > Uli > > -

Re: How to call EJB from T5 application?

2008-03-30 Thread Ulrich Stärk
HHB schrieb: Hi. In a Tapestry 5 application, how to call EJBs? Thanks. Look it up using JNDI or some other method and use it. Uli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to call EJB from T5 application?

2008-03-30 Thread HHB
Hi. In a Tapestry 5 application, how to call EJBs? Thanks. -- View this message in context: http://www.nabble.com/How-to-call-EJB-from-T5-application--tp16381308p16381308.html Sent from the Tapestry - User mailing list archive at Nabble.com.

users@tapestry.apache.org

2008-03-30 Thread Max Scheffler
Hi, I want to create a small CMS. The main purpose is to make a limited number of pages configurable. Configurable means that I use a template with placeholders in which components out of a set can be filled in. For example the template: SimpleSkeleton.tml http://www.w3.org/TR/xhtml1/DTD/xhtml