Re: Honeycomb project

2007-10-30 Thread Marcus Schulte
Seems to be due to the recent javaforge sw-upgrade. I'll try to recover it. Marcus 2007/10/30, Istvan Szucs <[EMAIL PROTECTED]>: > Hi, > > The Honeycomb project is closed? > I can't access to http://honeycomb.javaforge.com/ website. > Any info from this project? It is moved somewhere? > > Best reg

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Marcus
Some related links: http://tapestryjava.blogspot.com/2007/10/tapestry-506-is-available.html http://tapestryjava.blogspot.com/2007/10/big-improvement-to-quickstart-archetype.html

Re: T5: Multiple onActivate?

2007-10-30 Thread Marcus
Kevin, On this process, T3 ->T4 ->T5, just keep in mind that Tapestry 5 is much more simple. Marcus

Re: T5: Multiple onActivate?

2007-10-30 Thread Kevin Menard
On the surface, I'd like to preserve the bookmarks. Like I said though, I could do that with URLRewrite -- not ideal, but guaranteed to work. Digging further, I'm trying to wrap my head around how Tapestry resolves page names in T5, having been a T3 then a T4 user. The problems I'm running into

RE: T5: Multiple onActivate?

2007-10-30 Thread Jonathan Barker
I don't know. There have been some threads and I think JIRA issues over the months on similar topics. They revolve around making Tapestry URL's friendly, and the logic involved in having something like Order/EditOrder reduced down to order/edit, and dealing with cases when the package name is the

Re: url-rewriting in Tapestry 5

2007-10-30 Thread jeffrey ai
You could use urlrewritefilter to rewrite both inbound and outbound URLs. But for outbound URLs rewriting, urlrewritefilter could only rewrite URLs encoded by HttpServletResponse.encodeURL() method. I believe most URLs generated by Tapestry components(so far only confirmed BeanEditForm) are using

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Josh Canfield
I've kept my .tml and .properties files in the resources folder which get put into the jar file along side the classes. Is there any value to moving them to the webapp folder? Josh On 10/30/07, Marc A. Donis <[EMAIL PROTECTED]> wrote: > > Yep, I just figured that out... thanks! > > Also, it is ne

Re: T5 page without a class (only a template)

2007-10-30 Thread Kevin Menard
Heh, I conveniently ignored that. I should have stated that I'm unaware of any Web project that suffered. While unfortunate that Spindle died, as it turned out, it wasn't as necessary for T4 as it was for T3. Likewise, other apps, like HandyTapestry demonstrated that with a different scope, a go

Re: T5 page without a class (only a template)

2007-10-30 Thread Robert Zeigler
There was a project which suffered, and that was spindle. One of the big reasons Geoff gave up trying to add support for T4 to spindle was due to the template/class mismatch. Robert On Oct 30, 2007, at 10/302:31 PM , Kevin Menard wrote: That's unfortunate. In T4 you could map multiple templ

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Marc A. Donis
Yep, I just figured that out... thanks! Also, it is necessary (as mentioned in the "[5.0.6-SNAPSHOT] Bug? isTraceEnabled missing when I switch to slf4j " thread) to replace log4j-1.2.8.jar with log4j-1.2.14.jar in the jetty/ext dir. Now things seem to be working again. Thanks again for the h

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Lindsay Steele
Marc A. Donis wrote: - moved *.tml (and *.properties ?) from src/main/resources/org/app/pages to src/main/webapp/WEB-INF (is this the right place??) You pages should be in src/main/webapp - To unsubscribe, e-mail: [EMA

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Marc A. Donis
Hi, Still having major problems upgrading to 5.0.6. I was hoping this would be a little less painful than having to create a whole new project... I have: - changed the tapestry version to 5.0.6 in pom.xml - changed the log4j version to 1.2.14 in pom.xml - renamed all *.html files to *.tml -

T5: how to pass a component as a parameter? --> getting unbound errors

2007-10-30 Thread Britske
a quick background first: I'm creating a component which can display a 'list of lists'. For flexibility I want to implement this as a composite-pattern in which a CompositeFlexList-component can render one or more FlexList-components as it's childs. (CompositeFlexList extends FlexList). This wor

Re: T5: Multiple onActivate?

2007-10-30 Thread Kevin Menard
That did help a bit. At least I know how multiple onActivate can work if I need a variable number of context values. Unfortunately, it doesn't address when you have the same number, but different type. Likewise, I still haven't seen how to render to "index" pages inside subpackages. -- Kevin

Re: T5: Multiple onActivate?

2007-10-30 Thread Marcus
Hi Kevin, Maybe this help http://tapestryjava.blogspot.com/2007/08/handling-direct-urls-in-tapestry-5.html Marcus

Re: T5 page without a class (only a template)

2007-10-30 Thread Marcus
Hi Kevin, It's not implemented yet. But your java class could be very simple. Marcus

Re: T5: Multiple onActivate?

2007-10-30 Thread Kevin Menard
Hmm . . . Okay, that's what I was afraid of. Unfortunately, it's a port of an existing app, so I'd like to preserve URL structure if possible. I supposed URLRewrite could do the trick. As a follow-up question, is there anyway to do the following: "orders/43" (DB ID, caught through onActivate())

RE: T5: Multiple onActivate?

2007-10-30 Thread Jonathan Barker
For this use-case, I would suggest taking a string. If it matches a regex (like a number pattern), then cast and do a db-lookup. Otherwise, do whatever else you want to do. Or you can use something like news/lookup/43 and news/breaking/breaking-story to be more explicit. > -Original Mes

Re: T5 page without a class (only a template)

2007-10-30 Thread Kevin Menard
That's unfortunate. In T4 you could map multiple templates to a single class or have no class at all. It was quite nice and I'm unaware of any projects that suffered as a result. To me, being a Web application framework, the class should complement the page, providing the server side logic as ne

T5: Multiple onActivate?

2007-10-30 Thread Kevin Menard
Hi all, It appears that onActivate() cannot be overloaded in a single page class. I'm hoping I just missed something and that conclusion is wrong. If not, how are others handling URLs like: "news/43" (43 = DB ID) "new/breaking-story" (breaking-story=slug) I'd like to avoid a single onActivate

Honeycomb project

2007-10-30 Thread Istvan Szucs
Hi, The Honeycomb project is closed? I can't access to http://honeycomb.javaforge.com/ website. Any info from this project? It is moved somewhere? Best regards, Stef - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Thiago H de Paula Figueiredo
On Tue, 30 Oct 2007 14:45:26 -0200, Jan Vissers <[EMAIL PROTECTED]> wrote: Please, please don't 'shoot' me - but if this is the case what would be a reason for me to use T5 IoC, other that for injecting stuff into page classes? Don't forget Tapestry IoC is a general purpose IoC container.

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Jan Vissers
Please, please don't 'shoot' me - but if this is the case what would be a reason for me to use T5 IoC, other that for injecting stuff into page classes? Thiago H de Paula Figueiredo wrote: On Mon, 29 Oct 2007 23:08:20 -0200, Jan Vissers <[EMAIL PROTECTED]> wrote: A different question. If I wo

Ajax loop problem

2007-10-30 Thread Jesse Merriman
Hi, I'm having a problem updating a single item within a For loop. Home.html: Click! TEST Home.java: public abstract String[] getTestList(); public abstract void setTestList(String[] list); public abstract String getTestListItem(); public abst

Re: T5: ActionLink with two parameter context

2007-10-30 Thread Josh Canfield
You can return a Link instead of the Class with the context containing your id. Use the ComponentResources to create the link. On 10/29/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > Hi, > > I redirect to another page in my ActionLink using following code: > Class onActionFromEdit(Long id) >

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Thiago H de Paula Figueiredo
On Mon, 29 Oct 2007 23:08:20 -0200, Jan Vissers <[EMAIL PROTECTED]> wrote: A different question. If I would chose to use Guice as IoC and T5 IoC simply as a bridge into Guice - which part(s) of T5 as a web app framework would I be unable to use? AFAIK, none. Of course, Howard can answer this

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Thiago H de Paula Figueiredo
On Mon, 29 Oct 2007 18:52:42 -0200, Jan Vissers <[EMAIL PROTECTED]> wrote: Exactly - and to me T5 IoC looks/is very closely related to T5 the web application framework, whereas Guice seems more general purpose. I beg to differ. :) T5-IoC was made to be the Tapestry 5 IoC container, but it

RE: T5: Tapestry-Hibernate, do we have to save()?

2007-10-30 Thread Jonathan Barker
My more complicated work has been with T4, but this should still apply. I use Spring and Hibernate, with all of the Spring transaction management and the Open Session In View interceptor. When I find() an object, I do it declared READONLY. As all of the properties are updated from the form, it

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-10-30 Thread Angelo Chen
Hi Lasitha, Your thoughts do require some thinking, I'm doing a site now that is not so critical in the consistency of the data, as it's merely a simple membership database, but if this is to replace a c/s biz application, this will be a issue, is the current Tapestry - hibernate ready for that?

AW: T5: Tapestry-Hibernate, do we have to save()?

2007-10-30 Thread Maximilian Weißböck
Oh yes, this is really a problem we actually had in a Tapestry 4 Application. We had to use (ugly) DTO Objects to avoid this problem. As far as I can remember, this problem is addressed in JSF with its complex render cycle. Values are stored in intermediate objects until validation is completed an

Re: T5 book: update

2007-10-30 Thread Igor Drobiazko
Shut-eye is a waste of time :) On 10/30/07, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]> wrote: Does someone know a hack to increase the number of hours in a day? At > least to 72 please! > >

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-10-30 Thread lasitha
On 10/30/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > is this really needed? I got confused, why the changes are saved without > calling _session.save()? Angelo, this is default hibernate behaviour. See: http://www.hibernate.org/hib_docs/v3/reference/en/html/objectstate.html#objectstate-modifyi

T5: Persist or not? help me understand this

2007-10-30 Thread Angelo Chen
Hi, I got a little confused with need to @Persist, example as follow, the usrID as not persisted, but when user Submit a form, that value is still accessible inside OnSuccess, my understanding is, after rendering the page, the variable is gone, when form submitted, only persisted variable retains

Re: Help out Matt Raible: Looking for Web Framework Stories

2007-10-30 Thread Massimo Lusetti
On Oct 30, 2007 2:09 PM, Francois Armand <[EMAIL PROTECTED]> wrote: > I reply to this old post to signal that the presentation of Matt Raible > is available, and there is some good reference to Tapestr on it : Some quotes and emphasis are a little somewhat misleading by my point of view, but it's

T5: Tapestry-Hibernate, do we have to save()?

2007-10-30 Thread Angelo Chen
Hi, I have a class like this: Long id; Photo photo; @Inject private Session _session; public void setId(Long id) { this.id = id; } public Class onActivate() { photo = (Photo) _session.get(Photo.class, id); return null; } public String getCaption() { return photo.getCa

Re: Help out Matt Raible: Looking for Web Framework Stories

2007-10-30 Thread Francois Armand
Howard Lewis Ship wrote: Matt Raible is looking for stories of how people chose a JVM Web Framework and how it worked out for them. I'd encourage all Tapestry users to drop in with a story or two. http://raibledesigns.com/rd/entry/choosing_a_jvm_web_framework1 I reply to this old post to sig

Re: non-Session Object for From Submission

2007-10-30 Thread Ulrich Stärk
zaxeer schrieb: Hi devs, thanks for your replies i am already doing some thing like this in pageBeginRender public void pageBeginRender(PageEvent event) { if (event.getRequestCycle().isRewinding()) { return; } if(getUSERINFO () == null){ set

Re: non-Session Object for From Submission

2007-10-30 Thread zaxeer
Hi devs, thanks for your replies i am already doing some thing like this in pageBeginRender public void pageBeginRender(PageEvent event) { if (event.getRequestCycle().isRewinding()) { return; } if(getUSERINFO () == null){ setUSERINFO (n

Re: T5: Issues contributing a coercion?

2007-10-30 Thread Andy Huhn
Thanks again, Howard! On Mon, 2007-10-29 at 19:32 -0700, Howard Lewis Ship wrote: > Create an interface for your page, make sure the interface is not in > the .pages. package, have the page implement the interface, do the > coversion in terms of the interface. > > It's tricky class loader issues,

T5: Enum localization no longer working in 5.0.6 and BeanEditForm?

2007-10-30 Thread Maximilian Weißböck
I'm just starting with T5 and did my first experiments with 5.0.5 and now upgraded to 5.0.6. I used Howards tutorial, and as far as I can remember, the localization of Enums inside BeanEditForm just worked. But now with version 5.0.6 it seems no longer to work. Anything changed in configurati

RE: T5: FCKEditor Component (fix for 5.0.6, medium toolbar set added)

2007-10-30 Thread Kolesnikov, Alexander GNI
Great, thanks Ted! -Original Message- From: Ted Steen [mailto:[EMAIL PROTECTED] Sent: 29 October 2007 21:53 To: Tapestry users Subject: T5: FCKEditor Component (fix for 5.0.6, medium toolbar set added) Small update for tapestry5-fckeditor ahead, http://code.google.com/p/tapestry5-fcked

RE: T5 book: update

2007-10-30 Thread Kolesnikov, Alexander GNI
Well, I *wish* wholeheartedly to continue with them, but at the moment, that's just not possible. Writing a whole new book in just about three months while working full time isn't a piece of cake ;) I used to think that as soon as I complete the book I will return to the T4 tutorials, but now, loo

tapestry and workflow engines, suggestions?

2007-10-30 Thread Martino Piccinato
Hi, just wanted to know your experiences, is there any integration stuff already done with any existing workflow engince? I'd prefer a lightwait webflow engine at the moment jbpm and even spring webflow could be too much for me but I'm open for suggestions. We are using tapestry4.1.2. --

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Nick Westgate
Jan, forgot to add I know you saw this last time around. ;-) Cheers, Nick. Jan Vissers wrote: On the why of Guice... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Nick Westgate
This is almost a FAQ. See the older post here: http://tapestryjava.blogspot.com/search?q=guice Also see the "Why Not ..." sections: http://tapestry.apache.org/tapestry5/tapestry-ioc/ Cheers, Nick. Jan Vissers wrote: On the why of Guice... Not trying to offend anyone here, but maybe T5 already