Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Christophe Cordenier
Oh sorry, i had mis-read your first message. I didn't get deep into this new feature at the time, but at first glance, i would say you can get them from Request directly. Maybe, you can implement a worker that will be in charge of implementing an interface that will contain the method that return t

Re: [T5.1.0.5] Loop inside grid

2010-09-06 Thread Halil Karakose
I see that, I should use the grid component as follows: List list = CollectionFactory.newList(MyHashMap.values()); > searchResults; On Fri, Sep 3, 2010 at 9:02 PM, based2 wrote: > > > http://stackoverflow.com/questions/2524045/tapestry5-display-grid-component-using-a-hashmap > > > == http://w

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Markus Feindler
i would say you can get them from Request directly This only works for the current request. I need to get the parameters, which will be set for the next request/redirect. It would be possible to write get methods for the ActivationRequestParameters, but that would not be the right way. I nee

RE: Invoke Web Service from T5

2010-09-06 Thread Jim O'Callaghan
Nevermind this query - I got something sufficient working using JS and XMLHttpRequest/Microsoft.XMLHTTP/Msxml2.XMLHTTP - no WS client needed. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:j...@peritussolutions.com] Sent: 04 September 2010 22:15 To: 'Tapestry users' Subje

Authentication - forwarding doesn't work

2010-09-06 Thread Elisabeth Adler
Hi all, I am currently facing a nasty issue that is haunting me for the past couple of days. When a user tries to access a specific URL he should be forwarded to the login page. This was working before (Tapestry 5.0.11) but after switching to 5.0.19 it is not working any more. It simply show

RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-06 Thread Blower, Andy
That seems to have fixed the problem, thanks. Will let you know if it crops up again. > -Original Message- > From: Howard Lewis Ship [mailto:hls...@gmail.com] > Sent: 03 September 2010 17:37 > To: Tapestry users > Subject: Re: [T5.2] No object of type ClientBehaviorSupport is > available

Re: Authentication - forwarding doesn't work

2010-09-06 Thread Christophe Cordenier
Hi 2010/9/6 Elisabeth Adler > Hi all, > > I am currently facing a nasty issue that is haunting me for the past couple > of days. When a user tries to access a specific URL he should be forwarded > to the login page. This was working before (Tapestry 5.0.11) but after > switching to 5.0.19 it is

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Christophe Cordenier
Hi Logic is enclosed in ActivationRequestParameterWorker, i think you can adapt this to your needs and extract values. At the moment, I don't see any other way to identify ActivationRequestParameters during link creation. 2010/9/6 Markus Feindler > >> i would say you can get them from >> Reque

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Thiago H. de Paula Figueiredo
On Mon, 06 Sep 2010 15:01:09 -0300, Christophe Cordenier wrote: Hi Hi! Logic is enclosed in ActivationRequestParameterWorker, i think you can adapt this to your needs and extract values. At the moment, I don't see any other way to identify ActivationRequestParameters during link crea

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Christophe Cordenier
Actually, not exactly, it uses an event handler to read values and add them in the current link. 2010/9/6 Thiago H. de Paula Figueiredo > On Mon, 06 Sep 2010 15:01:09 -0300, Christophe Cordenier < > christophe.corden...@gmail.com> wrote: > > Hi >> > > Hi! > > Logic is enclosed in ActivationReq

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Thiago H. de Paula Figueiredo
On Mon, 06 Sep 2010 15:21:37 -0300, Christophe Cordenier wrote: Actually, not exactly, it uses an event handler to read values and add them in the current link. Thanks for the correction. :) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, dev

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Markus Feindler
Thats the class I discovered earlier at work. Now my question is how to get ClassTransformation and MutableComponentModel from the Page Object in the PageResponseRenderer? Thanks for you help/hints. Regards markus Hi Logic is enclosed in ActivationRequestParameterWorker, i think you can ad

Tapestry5 friendly Message headache!!!

2010-09-06 Thread Fanzhen
hey dear friends I got a stupid question: when a event link or a form submit finished some friendly message should return to the current page! but tapestry do a redirect return !! I couldn't get the message set in my page!! And when I mark a @persist on the _msg field,I really c

Friendly message headache!!!

2010-09-06 Thread Fanzhen
hey friends get a stupid question here: want to return a friendly message to the current page after a event link or form submit !!! but tapestry do a redirect operation ,and couldn't get _msg field which I set in the end of event method!! I try set a @persist on the _msg field,th

Re: Friendly message headache!!!

2010-09-06 Thread ningdh
Just persist flash. @Persist("flash") - Original Message - From: "Fanzhen" To: Sent: Tuesday, September 07, 2010 12:33 PM Subject: Friendly message headache!!! > hey friends get a stupid question here: > > want to return a friendly message to the current page after a event > l

Re: Tapestry5 friendly Message headache!!!

2010-09-06 Thread Borut Bolčina
Use FLASH persistence ( http://tapestry.apache.org/tapestry5.1/guide/persist.html). See also http://jumpstart.doublenegative.com.au/jumpstart/fr/examples/navigation/actionlinks. Search for FLASH in the page. -bob 2010/9/7 Fanzhen > hey dear friends I got a stupid question: >when a even

Re: Tapestry5 friendly Message headache!!!

2010-09-06 Thread Fanzhen
On 2010-9-7 12:38, Borut Bolčina wrote: Use FLASH persistence ( http://tapestry.apache.org/tapestry5.1/guide/persist.html). See also http://jumpstart.doublenegative.com.au/jumpstart/fr/examples/navigation/actionlinks. Search for FLASH in the page. -bob 2010/9/7 Fanzhen hey dear friends I

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-06 Thread Christophe Cordenier
Actually, I would implement a ClassTransformation and add it to contributeComponentClassTransformWorker (see Tapestry Module), This worker should add and implement an interface that contains the method to extract useful information from the page Then in your PageResponseRenderer, you can use Comp