Re: passing values between pages (search -> result)

2009-10-06 Thread 976
Thanks a lot! I'll try it in the afternoon when I get time. joshcanfield wrote: > > > Here is fully functioning code that accepts search parameters in an > object on one page and transfers the object to another for rendering. > ... > -- View this message in context: http://www.nabble.com/pa

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
Hello again. What I have to is to have one page with entity: Then I want to pass this entity to another page, and in that next page I want to use it's all fields to perform hibernate query to find matching records and display them on this second page. Thanks, Adam Thiago H. de Paula Fi

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
o wrote: > > Em Tue, 06 Oct 2009 14:36:51 -0300, 976 escreveu: > >> How should then onActivate and onPassivate look like? > > Suppose your Client class has the following properties: id (an Integer), > firstName, lastName. > > Your onActivate would look

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
ble to sth that seemed to be easy - it normally takes me few mins do to it in JSF or Struts, so why not in Tapestry. Thiago H. de Paula Figueiredo wrote: > > Em Tue, 06 Oct 2009 13:45:47 -0300, 976 escreveu: > >> It's just: >> http://localhost:/crm/client/listclients

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
rieve clients in ListClients.onActivate() Thanks again for help. cordenier christophe wrote: > > Can you give us the URL that fails ? > > > 2009/10/6 976 > >> >> You mean in ListClients? >> When I add EventContext it's always class EmptyEventContext

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
You mean in ListClients? When I add EventContext it's always class EmptyEventContext. Thiago H. de Paula Figueiredo wrote: > > > Em Tue, 06 Oct 2009 10:58:03 -0300, 976 escreveu: > >> Thanks for fast response. >> ListClients: >> public void onA

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
When I add EventContext it's always class EmptyEventContext. Thiago H. de Paula Figueiredo wrote: > > Em Tue, 06 Oct 2009 11:07:15 -0300, 976 escreveu: > >> When I add parameter the activate method is not being invoked at all - >> also tried with two different a

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
When I add parameter the activate method is not being invoked at all - also tried with two different activate methods;( cordenier christophe wrote: > > I think you should add a parameter to your activate method to respond to > the > corresponding passivate method. > > Christophe > > -- Vie

RE: passing values between pages (search -> result)

2009-10-06 Thread 976
Thanks - as I described in first post - I've tried that. When I use @Persist this value is ALWAYS there, and I ALWAYS get data retrieved from client query and I have separate link for SearchClients where I want to list all clients. When I use flash type the behavior is nondeterministic. Is there

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
thods - the result is exactly the same corTdenier christophe wrote: > > Can you post your activate and passivate methods ? > > 2009/10/6 976 > > -- View this message in context: http://www.nabble.com/passing-values-between-pages-%28search--%3E-result%29-tp25765698p25769253.h

Re: passing values between pages (search -> result)

2009-10-06 Thread 976
Hi. Thanks for the info - I've read it all again, and added passivate returning my search criteria client in SearchClient and list of clients in ClientList and still no luck;( I added sysouts in activate and passivate methods and one in setter and the output is: ___setting client with name: John _

passing values between pages (search -> result)

2009-10-06 Thread 976
I'm totally new to Tapestry (2 days playing with it), but I'm stuck with quite simple problem;( (At least I guess so). What I want to to is to create 4 pages for Client entity: - list (list all clients or ones from search result) - edit - add - find Didn't have any problems with first three, but