Re: Tapestry 5 with Prototype 1.7

2010-12-01 Thread Jochen Berger
Ville, Am Mittwoch, den 01.12.2010, 10:52 -0800 schrieb 9902468: > has anyone used Prototype 1.7? [...] I have faced problems that appear > with ajax: the javascript that get's attached to the ajax response is > never evaluated. I think I remember a problem like that when I tried a Prototype 1.7

Re: T5: using template instead of T5's tml

2010-12-01 Thread Kalle Korhonen
On Wed, Dec 1, 2010 at 8:22 PM, Angelo C. wrote: > it's an interesting approach, some more details? I can't find t:content in > the T5 component reference, is it a component you created in additional to > youLayoutComponent? Thanks, http://lmgtfy.com/?q=tapestry+t%3Acontent Kalle > Alex Kotchn

Re: T5: using template instead of T5's tml

2010-12-01 Thread Angelo C.
Hi Alex, it's an interesting approach, some more details? I can't find t:content in the T5 component reference, is it a component you created in additional to youLayoutComponent? Thanks, Angelo Alex Kotchnev-2 wrote: > > Everton, >a while back (w/ the T4 equivalent) and more recently (aft

Tapestry 5 with Prototype 1.7

2010-12-01 Thread 9902468
Hi, has anyone used Prototype 1.7? 1.6.1 has some problems with IE9 and I'd like to code new things against the newer version. The 1.7 is supposed to be drop-in replacement for 1.6.1, and it should also work with scriptaculous 1.8.x. (According to the developer if it does not it is a bug and it

MultiZoneUpdate position param

2010-12-01 Thread raulmt
Hi, Consider the following scenario: an item an item an item Add new item I want the Add new item button to add another li element to the items list, but only requesting the new item to the server (something similar to what ajaxForLoop/addRowLink does, but not within a Form). The only

Re: Tapestry Web Site Updated

2010-12-01 Thread Borut BolĨina
Wow, I didn't know we could make our own stackoverflow! Just read the http://area51.stackexchange.com/faq But yes, this would make a lot of effort, so it is just a nice dream. -Borut 2010/11/25 Paul Stanton > Andreas, > > Agreed 100%. > > http://stackoverflow.com/questions/tagged/tapestry > or

RE: T5: Hibernate

2010-12-01 Thread Jens Reufsteck
I remember that I got errors with hibernate, when I had different versions of hibernate core and hibernate annotations combined ( in my case 3.6 with 3.5.6). Downgrading both to 3.5.6 solved it. No idea, what's behind it, I'm not very familiar with hibernate, but I saw you have hibernate with

Re: T5: using template instead of T5's tml

2010-12-01 Thread Alex Kotchnev
Everton, a while back (w/ the T4 equivalent) and more recently (after 5.1) I was experimenting with using t:content to have a full-blown HTML page but only use a part of it for the "real" template. Thus, you could have something like this for a previewable page that your designers can work with

Re: T5: accessing parameters from request

2010-12-01 Thread Angelo C.
thanks, it works! -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-accessing-parameters-from-request-tp3287653p3287683.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubsc

Re: T5: accessing parameters from request

2010-12-01 Thread Richard Hill
sub_proc() is returning "AfterProc", which will resolve simply to the page as is with no parameters. If you want to pass parameters to AfterProc page the sub_proc should return a Link with the email added as a query parameter. -Original Message- From: Angelo C. Reply-to: "Tapestry use

T5: accessing parameters from request

2010-12-01 Thread Angelo C.
Hi, I have a standard form that has an action to call BeforeProc, where email can be accessed from request, but when BeforeProc returns "AfterProc", the request.getParameter("email") is null, why? public class BeforeProc { @Inject private Request request;

Re: T5: using template instead of T5's tml

2010-12-01 Thread Everton Agner
> As long as you use instead of , you can use any HTML editor. Invisible instrumentation is great... But, if you're working inside a Layout Component, you will have some extra work on "merging" the Page's TML and the Layout's TML to see it properly on the Browser (which is not only a Tap problem)

Re: T5: alternative template location

2010-12-01 Thread Igor Drobiazko
You can contribute your own ComponentTemplateLocator. Read this article: http://blog.tapestry5.de/index.php/2010/08/06/extending-template-lookup-mechanism/ On Wed, Dec 1, 2010 at 5:56 AM, Angelo C. wrote: > > Hi, > > Is there a way to let T5 look at an alternative location for templates, if >

Re: T5: alternative template location

2010-12-01 Thread Thiago H. de Paula Figueiredo
On Wed, 01 Dec 2010 10:08:41 -0200, Angelo C. wrote: example: if you have a packaged blog system, user can customize it by editing those tml files, but when a new version is out, those 'in place' editing will be replaced, if user copies those tml file into a new directory, say 'plugins',

Re: T5: alternative template location

2010-12-01 Thread Angelo C.
example: if you have a packaged blog system, user can customize it by editing those tml files, but when a new version is out, those 'in place' editing will be replaced, if user copies those tml file into a new directory, say 'plugins', then they will be preserved. Thiago H. de Paula Figueiredo

Re: T5: alternative template location

2010-12-01 Thread Thiago H. de Paula Figueiredo
On Wed, 01 Dec 2010 02:56:19 -0200, Angelo C. wrote: Hi, Hi! Is there a way to let T5 look at an alternative location for templates, if not found, it goes to the default location? example: Home.tml is always in WEB-INF, there might be a customized version of Home.tml in: plugIns/WEB-

Re: T5: using template instead of T5's tml

2010-12-01 Thread Thiago H. de Paula Figueiredo
On Wed, 01 Dec 2010 01:00:42 -0200, Angelo C. wrote: Thanks for the fast response, I'm looking at the possibility that the view can be customized by non - tech guys. You can Tapestry and have parts of pages, the user-editable ones, generated using FreeMarker. This has been described many

Re: T5: using template instead of T5's tml

2010-12-01 Thread Thiago H. de Paula Figueiredo
On Wed, 01 Dec 2010 03:41:41 -0200, Angelo C. wrote: Is there any editors with preview functionality that works well with T5's template? As long as you use instead of , you can use any HTML editor. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consu

Re: First Tapestry app with Hibernate

2010-12-01 Thread Angelo C.
I wrote that tutorial when I was a newbie:) try to add this to your pom, works? < dependency> commons-collections commons-collections 3.1 < /dependency> -- View this message in context: http://tapestry.1045711.n5.nabble.com/First-Tapestry-app-with-Hibernate-tp3285845p3287397.ht

Re: T5: using template instead of T5's tml

2010-12-01 Thread Massimo Lusetti
On Wed, Dec 1, 2010 at 7:46 AM, Kalle Korhonen wrote: > fill in the blanks. JMHO, but previewable templates never work in the > long run as your application (and components!) get more complex. That's for sure! Cheers -- Massimo http://meridio.blogspot.com -

Re: First Tapestry app with Hibernate

2010-12-01 Thread Michal Gruca
That is probably not the answer that you would excpect but please review that small app of mine. I created that for JUG and it has working hibernate support for T5 with in memory h2 db running. It's not cleanest, but should be easy to understand. http://bitbucket.org/mgruca/tjug_tapestry_30.09.10/