Re: T5 Questions

2008-06-12 Thread Robert Zeigler
on Also is their a way to use add a input to a beanedit form that doesn't directly map to the underlying bean, I'm asking this because 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 th

Re: T5 Questions

2008-06-10 Thread Tim de jager
olution >> >> Also is their a way to use add a input to a beanedit form that doesn't >> directly map to the underlying bean, I'm asking this because the >> bean is a >> hiber

Re: T5 Questions

2008-06-09 Thread Robert Zeigler
g bean, I'm asking this because 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: ht

T5 Questions

2008-06-09 Thread Tim de jager
priate 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 at Nabble.com. - To un

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 t

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(OrderedConfiguration > > configuration) { > > configuration.add("mainModuleInitializer", new > > MainModuleInitializer()

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

2007-08-24 Thread Kheldar666
nu/svn/public/tapestry5-acegi-example/src/main/java/nu/localhost/tapestry/acegi/example/services/AppModule.java> > > -- > regards, > Robin > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additi

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 : http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/interldap/interldap-wui-t5/trunk/src/mai

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/

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

2007-08-23 Thread Ben Tomasini
Doh. I meant #1. Thanks. Ben On 8/23/07, Josh Canfield <[EMAIL PROTECTED]> wrote: > > 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/af

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 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? >

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: http://tapestry.apache.

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 formattedTr

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 initializat