Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-20 Thread Yohan Yudanara
As expected, live class reload does not work on service without an interface. I have try it. On Fri, Dec 17, 2010 at 8:45 PM, Michael Gentry mgen...@masslight.net wrote: Well, I've used services without an interface before, so maybe it'll work, although I suspect it won't.  I'll give it a try

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-20 Thread Vangel V. Ajanovski
On 20.12.2010 10:41, Yohan Yudanara wrote: As expected, live class reload does not work on service without an interface. I have try it. There was a post by Howard detailing the idea behind the live reload. Search for it and read it to understand in more details. In simplified words: The idea is

Re: A more general approach to configuring for compatibility

2010-12-20 Thread Thiago H. de Paula Figueiredo
On Fri, 17 Dec 2010 20:25:48 -0200, Robert Zeigler robe...@scazdl.org wrote: For this to really work, we might need to introduce a mechanism for explicitly overriding components... We don't need to introduce one because we already have it: it's just a matter of decorating or advising the

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-20 Thread Bob Harner
Here's the documentation page: http://tapestry.apache.org/reload.html On Mon, Dec 20, 2010 at 5:25 AM, Vangel V. Ajanovski a...@ii.edu.mk wrote: On 20.12.2010 10:41, Yohan Yudanara wrote: As expected, live class reload does not work on service without an interface. I have try it. There

Select with zone

2010-12-20 Thread Sergio Esteves
Hi all, I have a select which updates a zone; that zone has a delegate that calls a function to return an active block. The problem is, when I change the value of the select that function is not called, what could be wrong? Thank you.

Re: Select with zone

2010-12-20 Thread Mark
How are you setting up the Select to trigger an event? On Mon, Dec 20, 2010 at 12:01 PM, Sergio Esteves sergio.este...@xpand-it.com wrote: Hi all, I have a select which updates a zone; that zone has a delegate that calls a function to return an active block. The problem is, when I change

MarkupWriter and TML together?

2010-12-20 Thread Rich M
Hi, is it possible to use the MarkupWriter in the page class in a render stage in addition to a template? The page I'm trying to write needs to feed a component into a delegate from the Layout.tml it belongs to. As far as I can figure out I can only write Tapestry components in the TML file

Re: MarkupWriter and TML together?

2010-12-20 Thread Howard Lewis Ship
Yes, absolutely. Behind the scenes, the templates are parsed into collections of objects that operate on MarkupWriter, so you can mix a template with render phase methods and many other tricks. On Mon, Dec 20, 2010 at 2:10 PM, Rich M rich...@moremagic.com wrote: Hi, is it possible to use the

Re: add target to Link

2010-12-20 Thread Howard Lewis Ship
Have you tried this? Just adding a target=foo attribute to the template will get the job done ... that's what informal parameters are for. On Sat, Dec 18, 2010 at 8:34 PM, Chuck Kring cjkr...@pacbell.net wrote: Hello, I have a submit button that returns a link that I'd like to have open in a

Re: MarkupWriter and TML together?

2010-12-20 Thread Rich M
Thanks, that's great to know. So that seems to narrow it down to some issue in my approach then, as I am not able to see anything written from my MarkupWriter in the @BeginRender phase. I have components using just the MarkupWriter for output working, so I know it works in general. I'm

Re: MarkupWriter and TML together?

2010-12-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Dec 2010 20:48:39 -0200, Rich M rich...@moremagic.com wrote: So that seems to narrow it down to some issue in my approach then, as I am not able to see anything written from my MarkupWriter in the @BeginRender phase. Try @BeforeRenderTemplate -- Thiago H. de Paula Figueiredo

Issue with tapestry.form.refresh (Tapestry 4.1.3)

2010-12-20 Thread alba
Hi Hope you can help me. I've been using tapestry.form.refresh(dojo.byId('Form')) for onchange event on PropertySelection. span jwcid=f...@form accept-charset=utf-8 .. But I had to change the name of my form to registerform, but now the instruction

T5.2.4 Tomcat unable to find .tml files on classpath

2010-12-20 Thread Joe Klecko
Hi all, I'm having problems getting my my T5.2.4 application to work on tomcat. It works correctly when running via jetty (inside eclipse) but when I deploy it to tomcat it throws this error: Embedded component(s) gridPlayerWallPostResponses are defined within component class

Re: T5.2.4 Tomcat unable to find .tml files on classpath

2010-12-20 Thread Joe Klecko
minor correction to my post. This line: t:EditPlayer t:id=editPlayer / is actually: t:editor.EditPlayer t:id=editPlayer / -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-4-Tomcat-unable-to-find-tml-files-on-classpath-tp3312696p3312700.html Sent from the Tapestry -

Re: [Bulk] Re: add target to Link

2010-12-20 Thread Chuck Kring
Hi Howard, thanks for the response. The issue is that I'm returning a PageLink from an event handler. There is no template involved. This is called from a form in page embedded in a frame (I know...). In general the form does things like go back, etc, but in one case I want the form to

Re: [Bulk] Re: add target to Link

2010-12-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Dec 2010 21:45:21 -0200, Chuck Kring cjkr...@pacbell.net wrote: The issue is that I'm returning a PageLink from an event handler. There is no template involved. Returning a component instance in an event handler isn't supported for any native Tapestry event except render

Re: [Bulk] Re: add target to Link

2010-12-20 Thread Chuck Kring
My mistake. I am only returning a link. I ended up using Javascript and it would have been nice to be able to set the target attribute in Java. My question was based upon the fact that you could do that in Tapestry 4 so I figured there was some other way to do this in T5. On 12/20/2010 4:17

Re: Issue with tapestry.form.refresh (Tapestry 4.1.3)

2010-12-20 Thread Andreas Andreou
It should work... View the source code of the rendered page - what's the id of the form? On Tue, Dec 21, 2010 at 00:45, alba albojorq...@yahoo.com wrote: Hi Hope you can help me. I've been using tapestry.form.refresh(dojo.byId('Form'))  for onchange event on PropertySelection. span