Re: [T5] How to format java.lang.Date when using expansion

2007-12-17 Thread Davor Hrg
you could add you own binding prefix ${date:lastLoginDate} or ${date:lastLoginDate} http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix Davor Hrg On Dec 13, 2007 7:17 AM, Liu Dapeng [EMAIL PROTECTED] wrote: hi guys i am using expansion to output a Date object like

t4: tr attributes for some rows in a table component?

2007-12-17 Thread Vadim Berezniker
I would like to render certain rows differently by applying a css class to a row based on a value in that row. I haven't been able to figure out any way to do this. I'm not even sure if it's even possible with the existing table component.

Re: IoC global question

2007-12-17 Thread Michael Bernagou
Hi Hugo, It is exactly that and I didn't understand how to do that. Whatever I test, it works but it is intrusive. I re-read the documentation about tapestry-ioc and I still not understand how to do that. I need an example of webapp with 3 layers around the ioc to see how tapestry-ioc gives the

Re: IoC global question

2007-12-17 Thread Hugo Palma
Ok, as you can see in the tapestry-ioc documentation there are three ways of injecting dependencies into services. Only one of them is actually intrusive, the As parameters to the service implementation class' constructor (for autobuilt services) one. If you use this way then you will need to

Re: IoC global question

2007-12-17 Thread Michael Bernagou
Sorry, I'm trying to understand enough well to develop my application correctly. So, imagine I have 2 classes ClassA and ClassB from 2 differents layers. With the IoC in ClassA I should have just a member named ServiceClassB sab with its getter and setter. ServiceClassB is the interface ClassB

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-17 Thread Geoff Callender
Hi Penyihir, Michael, and Ted, Thanks for your help. I'm looking forward to the critiques (even if they're bad). Cheers, Geoff On 17/12/2007, at 3:12 PM, Penyihir Kecil wrote: Hi Geoff i've also succesfully installed it i'm looking for user autentification and best practive for ur edit

Re: T4: Returning a file to be downloaded on response

2007-12-17 Thread Ulrich Stärk
Look harder :-) http://wiki.apache.org/tapestry/SendingDiferentContentTypes Apart from that this topic has been discussed several times on this list, just search the archives. You might also want to look at the

Re: IoC global question

2007-12-17 Thread Hugo Palma
Why don't you declare your ClassA as a service too ? This way you could inject the ServiceClassB into it without any change on ClassA. Michael Bernagou wrote: Sorry, I'm trying to understand enough well to develop my application correctly. So, imagine I have 2 classes ClassA and ClassB from 2

Re: T4: Returning a file to be downloaded on response

2007-12-17 Thread Joshua Jackson
Thanks Ulrich, I must've missed that somehow. Cheers, On 12/17/07, Ulrich Stärk [EMAIL PROTECTED] wrote: Look harder :-) http://wiki.apache.org/tapestry/SendingDiferentContentTypes Apart from that this topic has been discussed several times on this list, just search the archives. You

Re: IoC global question

2007-12-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Dec 2007 06:35:43 -0200, Michael Bernagou [EMAIL PROTECTED] wrote: It is exactly that and I didn't understand how to do that. Whatever I test, it works but it is intrusive. I re-read the documentation about tapestry-ioc and I still not understand how to do that. I need an example

Re: IoC global question

2007-12-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Dec 2007 08:33:52 -0200, Michael Bernagou [EMAIL PROTECTED] wrote: public class UserModule { public static ServiceClassB build(ServiceUserDao userDao){ ClassB cb = new ClassB(userDao); return cb; } public static ServiceUserDao build() { UserDao dao = new

Re: IoC global question

2007-12-17 Thread Michael Bernagou
Thanks for the TYPO Thiago. Also thanks for the project examples, I'll need to wait beeing at home to test since the security system here at the office block them to be download. Making my ClassA a service? I'm going to try but it means ClassA will be instanciate only by Tapestry-ioc else I will

Re: Adding extra rows to a BeanEditForm / extra columns to a Grid (T5!)

2007-12-17 Thread Tobias Wehrum
Hello Thiago, Well, in Tapestry 5.0.6, if you just add a column using BeanModel.add, it doesn't show any label, unless you have a added column name-label entry in your app.properties. Don't even have such a property file, but yes - it shows a label (just tried it again to make sure). In

Re: T4.1.3 - Upgrade Dojo

2007-12-17 Thread Ben Dotte
Ditto to that. An upgrade to Tapestry 5 still looks a ways off and the continued support of Tapestry 4 is extremely valuable to us. Thanks guys! On Dec 16, 2007 1:34 PM, Martino Piccinato [EMAIL PROTECTED] wrote: +1 tnx to Jesse and Andreas. I think this work is important for T4 users but also

Re: Contrib:Table and page parameters

2007-12-17 Thread Kaspar Fischer
Hm, I think my question was not well formulated. Apologies. I'll try once more! Suppose you want to implement an index that shows all files starting with A, B, etc. My page would show A B C D ... X Y Z and you can click on a letter to show the files starting with this letter in a

Re: Component with mixed functionality?

2007-12-17 Thread Kaspar Fischer
On 11.12.2007, at 12:30, Kristian Marinkovic wrote: have you tried: tr class=ognl:cssClass jwcid=@If condition=... public String getCssClass() {...} Wow, so simple! Thanks a lot. I feel almost ashamed: of course, informal properties can be used and they have OGNL-power, too! Thanks,

Re: Component with mixed functionality?

2007-12-17 Thread Kaspar Fischer
Thanks, Matt, for your response. On 16.12.2007, at 02:13, Matt Brock wrote: The problem is that I don't think your even/odd requirement will work with any of the regular Tapestry components. Normally you iterate over a collection of values (the @For component, for example), and use an

Re: about ognl and class changes detection

2007-12-17 Thread Kaspar Fischer
On 13.12.2007, at 09:54, #Cyrille37# wrote: Hello OGNL is very nice but I would like to know how to manage classes changes without testing every pages. Exemple : In pages we have some ognl expression like value=ognl:user.lastname and we change the class's property getLastname() to

Re: T4.1.3 - Upgrade Dojo

2007-12-17 Thread Norman Franke
Same here. I can't see moving to 5 for at least a year, so the continued support for 4.1 is most welcome! -Norman On Dec 17, 2007, at 12:21 PM, Ben Dotte wrote: Ditto to that. An upgrade to Tapestry 5 still looks a ways off and the continued support of Tapestry 4 is extremely valuable to

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-17 Thread Angelo Chen
Hi Geoff, I can't find a online demo there, might be nice to have one so we don't have to install it. thanks. A.C. Geoff Callender-2 wrote: Hi Penyihir, Michael, and Ted, Thanks for your help. I'm looking forward to the critiques (even if they're bad). Cheers, Geoff On

T5: Anything new preview coming out before year end?

2007-12-17 Thread Angelo Chen
Hi, Anything new preview scheduled for 2007? A.C. -- View this message in context: http://www.nabble.com/T5%3A-Anything-new-preview-coming-out-before-year-end--tp14375819p14375819.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-17 Thread jeffrey ai
Hi Geoff, This is my first time to try JumpStart on T5. The installation guide is quite straightforward, I went through all things less than 30 minutes. I like it, especially your t:sourcecodedisplay component:) Looking forward to see the maximum version of Jumpstart on T5, especially for the

Re: T5: Anything new preview coming out before year end?

2007-12-17 Thread Howard Lewis Ship
Quite likely, but you can always see the latest greatest in the nightly build. On Dec 17, 2007 3:18 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi, Anything new preview scheduled for 2007? A.C. -- View this message in context:

T5: @OnEvent and onActivate

2007-12-17 Thread Angelo Chen
Hi, Can we use @OnEvent to annotate a onActivate method, say: @OnEvent(???) void myActivate() { } Thanks, -- View this message in context: http://www.nabble.com/T5%3A--%40OnEvent-and-onActivate-tp14377507p14377507.html Sent from the Tapestry - User mailing list archive at Nabble.com.