kein Betreff

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 !DOCTYPE html PUBLIC -//W3C//DTD

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

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

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

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

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 Javascript error

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

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

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 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/Translator.html )

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

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

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

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

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