Re: Problem with Page pooling

2008-03-04 Thread Mark W. Shead
e pooling was wrong. You guided me the right way. Thanks. Regards, Yeeswar. -Original Message- From: Ted Steen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 6:13 PM To: Tapestry users Subject: Re: Problem with Page pooling It's all here http://tapestry.apache.org/tapestry

RE: Problem with Page pooling

2008-03-04 Thread Yeeswara Nadapana (HCL Financial Services)
TED] Sent: Tuesday, March 04, 2008 6:13 PM To: Tapestry users Subject: Re: Problem with Page pooling It's all here http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html 2008/3/4, Yeeswara Nadapana (HCL Financial Services) <[EMAIL PROTECTED]>: > Hi Chris and Ted, &g

Re: Problem with Page pooling

2008-03-04 Thread Ted Steen
04, 2008 4:39 PM > To: Tapestry users > Subject: Re: Problem with Page pooling > > Exactly. Also, from what I can see you use the constructor for setting > up login-logic. > you should use public void onActivate() {...} for this, as the page > class is created only once. > &

RE: Problem with Page pooling

2008-03-04 Thread Yeeswara Nadapana (HCL Financial Services)
[mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 4:39 PM To: Tapestry users Subject: Re: Problem with Page pooling Exactly. Also, from what I can see you use the constructor for setting up login-logic. you should use public void onActivate() {...} for this, as the page class is created only

Re: Problem with Page pooling

2008-03-04 Thread Ted Steen
LogIn > > > > > > > > > > > > > > Thanks, > > Yeeswar. > > > > -Original Message- > > From: Chris Lewis [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 04, 2008 4:14 PM > &g

Re: Problem with Page pooling

2008-03-04 Thread Chris Lewis
tters and setters.. > > This is my header.tml: > > > Introduction > > > > > LogIn > > > > > > > Thanks, > Yeeswar. > > -Original Message- > From: Chris Lewis [mailto:[E

RE: Problem with Page pooling

2008-03-04 Thread Yeeswara Nadapana (HCL Financial Services)
Introduction LogIn Thanks, Yeeswar. -Original Message- From: Chris Lewis [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 4:14 PM To: Tapestry users Subject: Re: Problem with Page pooling If you can, you should paste some code. What you're

Re: Problem with Page pooling

2008-03-04 Thread Chris Lewis
If you can, you should paste some code. What you're saying sounds like a logic problem, but it almost certainly has nothing to do with page pooling. Page pooling has to do with created instances of your page classes. These instances do not retain any kind of cached state. Instead the relevant rende

Re: Problem with Page pooling

2008-03-04 Thread Ted Steen
What does your "isLoggedIn-logic" look like? do you persist the state that tells if a person is logged in or not? if possible, please show the parts of the code that handle login-logic. This is definitely not some problem due to page pooling. 2008/3/4, Yeeswara Nadapana (HCL Financial Services) <

Problem with Page pooling

2008-03-04 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, I am using Tapestry 5.0.7 for my application. On my menu bar, I put some links with . I have put some links under conditions so as to check the Login status. Problem is::: When I was not logged in, some links doesn't show up, which is CORRECT. Now, I logs in and can find those links.