Re: T5 Questions

2008-06-12 Thread Robert Zeigler
the bean is a hiberante entity and has a many to one relation with User. And im wondering if i can store the text value in the page class and look up the appropriate user before saving the entity. Thanks, Tim de Jager -- View this message in context: http://www.nabble.com/T5-Questions-tp17733559p17733559

Re: T5 Questions

2008-06-10 Thread Tim de jager
is a hiberante entity and has a many to one relation with User. And im wondering if i can store the text value in the page class and look up the appropriate user before saving the entity. Thanks, Tim de Jager -- View this message in context: http://www.nabble.com/T5-Questions

T5 Questions

2008-06-09 Thread Tim de jager
the entity. Thanks, Tim de Jager -- View this message in context: http://www.nabble.com/T5-Questions-tp17733559p17733559.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: T5 Questions

2008-06-09 Thread Robert Zeigler
. And im wondering if i can store the text value in the page class and look up the appropriate user before saving the entity. Thanks, Tim de Jager -- View this message in context: http://www.nabble.com/T5-Questions-tp17733559p17733559.html Sent from the Tapestry - User mailing list archive

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-24 Thread Francois Armand
Erik Vullings wrote: 3. Related to Q2, are there any T5 tutorials on how to develop a tree component, similar to a grid component? Or does someone already have it? I have an example tree component here :

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-24 Thread Kheldar666
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/T5-questions%3A-adding-my-own-initializations--outputing-pre-formatted-HTML--tree-component--javadoc

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-24 Thread Robin Helgelin
On 8/24/07, Kheldar666 [EMAIL PROTECTED] wrote: I do this : In AppModule.java : public void contributeApplicationInitializer(OrderedConfigurationApplicationInitializerFilter configuration) { configuration.add(mainModuleInitializer, new

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-24 Thread Francois Armand
Erik Vullings wrote: In the end, to create the Tree component ( http://wiki.apache.org/tapestry/Tapestry5TreeComponent) ho :) I didn't make the link between this page and you :) I just opened a Jira issue to ask for the addition of a Tree element in the code lib, so that every users may use

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-23 Thread Ben Tomasini
I have the same requirement mentioned in #2. What is the best approach to handle this with Tapestry 5? I am thinking of just eager loading a service and invoking the init method in the builder method of the module. Any other thoughts? I think this was the Tapestry 4 way:

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-23 Thread Robin Helgelin
On 8/23/07, Ben Tomasini [EMAIL PROTECTED] wrote: I have the same requirement mentioned in #2. What is the best approach to handle this with Tapestry 5? I am thinking of just eager loading a service and invoking the init method in the builder method of the module. Any other thoughts? 1.

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-23 Thread Josh Canfield
I don't follow how invoking an init method in your builder is related to the problem of the html generation. Can you expand on that? I would use a component and the MarkupWriter in the beginRender/afterRender methods. Something like this: (this code has not been compiled so compilation/functional

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-08-23 Thread Josh Canfield
Hehe... I suppose if I'd read the old post more closely (as opposed to just looking at #2) I could have figured that out. Sounds like the @EagerLoad that Robin pointed to is what you want. On 8/23/07, Ben Tomasini [EMAIL PROTECTED] wrote: Doh. I meant #1. Thanks. Ben On 8/23/07, Josh

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-06-06 Thread Nick Westgate
2. In my existing application, I use a (folder-like) tree based on the www.dhtmlgoodies.com drag-drop-folder-tree. It is based on a standard HTML unordered list, which I generate in my page's java class. In the accompanying HTML file, I use ${formattedTree} However, when I return the

T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-06-05 Thread Erik Vullings
Hi, I've recently started working with T5 because I liked a lot what I've seen! I therefore have some basic questions, and I hope you can help me with them: 1. I've started changing the quickstart project to move a current struts2-spring-jdbc application to T5. Where can I put my dao