@Parameter and @Persist annotations

2008-11-08 Thread Joosts Mailing lists
Hi, I recently updated to T5.0.16-SNAPSHOT and the combination of @Parameter @Persist no longer work together. I understand this is not needed for a normal pageload. But on an AJAX request handled by a component, the parameter is not passed and I do need a reference to it. Should I now add another

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-08 Thread BarryDev
Turns out the dwr servlet is lazily loaded and I needed to add 1. BarryDev wrote: > > The ServerContextFactory.get() only works if dwr has been already called > from a dwr initiated thread, otherwise it returns null. > -- View this message in context: http://www.nabble.com/-T5--Getting-DWR

Re: Rationale behind all possible onActivate methods invoked when context is supplied

2008-11-08 Thread Thiago H. de Paula Figueiredo
Em Sat, 08 Nov 2008 13:05:50 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu: I'd be interested to hear how others handle this, and what the merit of having all available onActivate methods invoked is when the full context is supplied. Maybe the best way to deal with different onActivate

Re: Rationale behind all possible onActivate methods invoked when context is supplied

2008-11-08 Thread Joel Halbert
i knew i was missing something, thanks! (I must try and remember what i read in the docs) On Sat, 2008-11-08 at 08:23 -0800, Martin Papy wrote: > You can short cut the second call if the first method return a boolean. ( > false I believe )... > > Martin > > > Joel Halbert-2 wrote: > > > > Hi,

Re: [T5] Existing InternalLinkReferrerComponent for a CMS?

2008-11-08 Thread aldana
I tried to solve the dispatching of main content with a MainSite component (injection of a 'show' property). But don't know where to get the source from. I know that there is a way to get to the HttpRequest content, but tapestry does encapsulate this and I guess the tapestry way looks different. G

Re: Rationale behind all possible onActivate methods invoked when context is supplied

2008-11-08 Thread Martin Papy
You can short cut the second call if the first method return a boolean. ( false I believe )... Martin Joel Halbert-2 wrote: > > Hi, > > I've been thinking about how onActivate methods are called... > > If i have a page with two onActivate methods: > > > MyPage.onActivate(int modelId1, int

Rationale behind all possible onActivate methods invoked when context is supplied

2008-11-08 Thread Joel Halbert
Hi, I've been thinking about how onActivate methods are called... If i have a page with two onActivate methods: MyPage.onActivate(int modelId1, int modelId2); MyPage.onActivate(int modelId1, int modelId2, int modelId3); and if i have a link to this page which supplies the full 3 argument conte

Re: T5: Using an annotation to define which is the page activation context / onActivate method ?

2008-11-08 Thread Joel Halbert
just realised that the order of invocation of onActivate methods is the other way around to that which i thought it was: http://markmail.org/message/7o52hrmcvli3jsje This does pose the question though: how can I invoke base functionality after subclasses have been initialised, but before PageRend

T5: Using an annotation to define which is the page activation context / onActivate method ?

2008-11-08 Thread Joel Halbert
Hi, Is it possible to use an annotation to define which method should be used to set the page activation context? i.e. I would like to define an onActivate() method, but have it called something else, e.g. onActivateX(). A reason for wanting to do so is to ensure that i may have a single onActiva

t5: using Groovy

2008-11-08 Thread Angelo Chen
Hi, I'd like to use groovy to write a service, what is the maven dependency I should specify? thanks. Angelo -- View this message in context: http://www.nabble.com/t5%3A-using-Groovy-tp20396260p20396260.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

[T5] Existing InternalLinkReferrerComponent for a CMS?

2008-11-08 Thread aldana
Hi, I am new to tapestry5. Part of webapp should be a tiny CMS. Usually this should be done by a central FrontController Pattern (analyzing url param like 'site-id' and then forwarding and displaying the selected content). I read so far that you should work with actionLinks here. But before imple

Re: Making runtime Services (e.g. Request) available in a custom binding

2008-11-08 Thread Joel Halbert
How neat. That works a treat. On Fri, 2008-11-07 at 10:22 -0800, Howard Lewis Ship wrote: > Tapestry has a Request service that is a "property shadow" of > RequestGlobals.request. That means that you can inject Request and > any method you invoke on it is forwarded to the current per-thread > Re

Re: [T5]ActionLink to pass textField value as blank value

2008-11-08 Thread CG
Thanks. I will try to use form submit instead .. On Fri, Nov 7, 2008 at 10:17 PM, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > Em Fri, 07 Nov 2008 07:57:33 -0300, CG <[EMAIL PROTECTED]> escreveu: > >> Hi, I would like to use actionLink to pass value that key by user in a >> TextField