You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ronny L <sa...@gmail.com> on 2008/07/02 10:58:46 UTC
Fields are shared among application without using @Persist
Hi all,
I'm having a trouble understanding the persistence value.
Let say I have a property as follow:
private String password;
Although there's no @Persist annotation. The value always retrieved back
even though I'm opening a new browser (Not another tab).
Basically, two users that's filling up a form could have they information
mix up. How would you guys solve this issue. I'm using Jboss+Tomcat & T5
5.0.13
Thanks.
Ronny
--
View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233088.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
AW: AW: Fields are shared among application without using @Persist
Posted by Martin Kersten <Ma...@mercateo.com>.
Hi Ronny,
The application state is scoped to the current user/session.
So for instance Bob sees another object than Alice would see.
Cheers,
Martin (Kersten)
-----Ursprüngliche Nachricht-----
Von: Ronny L [mailto:saintblu@gmail.com]
Gesendet: Mittwoch, 2. Juli 2008 11:35
An: users@tapestry.apache.org
Betreff: Re: AW: Fields are shared among application without using @Persist
Hi Martin,
Thanks for your reply.
Basically I only want to keep all page properties (Forms, etc) specific to
the user's session/page and not sharing the information among other user.
However, adding the @Persist(client) doesn't make any different. It keeps
retrieving/modifying the same properties (2 browsers IE + firefox running).
Regards,
Ronny
Martin Kersten-2 wrote:
>
> Hi Ronny,
>
> I didnt got it fully but take a look at @ApplicationState annotation.
> This is how we store LoginStatus:
>
> @ApplicationState
> LoginStatus loginStatus;
>
> {...
>
> loginStatus.login(user, password);
> loginStatus.isLoggedIn()...
> Etc.
>
> ...}
>
>
> Cheers,
>
> Martin (Kersten)
>
>
> -----Ursprüngliche Nachricht-----
> Von: Ronny L [mailto:saintblu@gmail.com]
> Gesendet: Mittwoch, 2. Juli 2008 10:59
> An: users@tapestry.apache.org
> Betreff: Fields are shared among application without using @Persist
>
>
> Hi all,
>
> I'm having a trouble understanding the persistence value.
>
> Let say I have a property as follow:
>
> private String password;
>
> Although there's no @Persist annotation. The value always retrieved back
> even though I'm opening a new browser (Not another tab).
>
> Basically, two users that's filling up a form could have they information
> mix up. How would you guys solve this issue. I'm using Jboss+Tomcat & T5
> 5.0.13
>
> Thanks.
> Ronny
>
>
> --
> View this message in context:
> http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233088.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233649.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: AW: Fields are shared among application without using @Persist
Posted by Ronny L <sa...@gmail.com>.
thanks..
It works now :)
Cheers,
Ronny
Geoff Callender-2 wrote:
>
> As others have said, set up the fields in onActivate(..),
> setupRender(), or onPrepareForRender.
> You'll find working examples and discussions of the "gotchas" in
> http://files.doublenegative.com.au/jumpstart/
>
> Cheers,
>
> Geoff
>
> On 03/07/2008, at 3:27 PM, Ronny L wrote:
>
>>
>> Hi Josh,
>>
>> What would you suggest to avoid this kind of thing.
>> Should I rather use a primitive properties for storing form fields.
>> It's
>> much easier to use object but it doesn't always work the way we want
>> it.
>>
>>
>> Thanks,
>> Ronny
>>
>>
>>
>> joshcanfield wrote:
>>>
>>> The value set by the constructor, or inline, is used as the default
>>> value
>>> for the property. When you retrieve a page from the pool it gets
>>> all of
>>> it's
>>> default values restored.
>>>
>>> Josh
>>>
>>> On Wed, Jul 2, 2008 at 5:21 AM, Thiago H. de Paula Figueiredo <
>>> thiagohp@gmail.com> wrote:
>>>
>>>> Em Wed, 02 Jul 2008 09:16:19 -0300, Ronny L <sa...@gmail.com>
>>>> escreveu:
>>>>
>>>>
>>>> @Persist
>>>>> private User user = new User ();
>>>>> @Persist
>>>>> private Login login = new Login();
>>>>> @Persist
>>>>> private Info info = new Info();
>>>>>
>>>>
>>>> Try not initializing the fields in their declaration. Use the Form
>>>> component prepare events to initialize them if needed.
>>>>
>>>> Thiago
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> TheDailyTube.com. Sign up and get the best new videos on the internet
>>> delivered fresh to your inbox.
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18252072.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18256515.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: AW: Fields are shared among application without using @Persist
Posted by Geoff Callender <ge...@gmail.com>.
As others have said, set up the fields in onActivate(..),
setupRender(), or onPrepareForRender.
You'll find working examples and discussions of the "gotchas" in http://files.doublenegative.com.au/jumpstart/
Cheers,
Geoff
On 03/07/2008, at 3:27 PM, Ronny L wrote:
>
> Hi Josh,
>
> What would you suggest to avoid this kind of thing.
> Should I rather use a primitive properties for storing form fields.
> It's
> much easier to use object but it doesn't always work the way we want
> it.
>
>
> Thanks,
> Ronny
>
>
>
> joshcanfield wrote:
>>
>> The value set by the constructor, or inline, is used as the default
>> value
>> for the property. When you retrieve a page from the pool it gets
>> all of
>> it's
>> default values restored.
>>
>> Josh
>>
>> On Wed, Jul 2, 2008 at 5:21 AM, Thiago H. de Paula Figueiredo <
>> thiagohp@gmail.com> wrote:
>>
>>> Em Wed, 02 Jul 2008 09:16:19 -0300, Ronny L <sa...@gmail.com>
>>> escreveu:
>>>
>>>
>>> @Persist
>>>> private User user = new User ();
>>>> @Persist
>>>> private Login login = new Login();
>>>> @Persist
>>>> private Info info = new Info();
>>>>
>>>
>>> Try not initializing the fields in their declaration. Use the Form
>>> component prepare events to initialize them if needed.
>>>
>>> Thiago
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>> --
>> --
>> TheDailyTube.com. Sign up and get the best new videos on the internet
>> delivered fresh to your inbox.
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18252072.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: AW: Fields are shared among application without using @Persist
Posted by Ronny L <sa...@gmail.com>.
Hi Josh,
What would you suggest to avoid this kind of thing.
Should I rather use a primitive properties for storing form fields. It's
much easier to use object but it doesn't always work the way we want it.
Thanks,
Ronny
joshcanfield wrote:
>
> The value set by the constructor, or inline, is used as the default value
> for the property. When you retrieve a page from the pool it gets all of
> it's
> default values restored.
>
> Josh
>
> On Wed, Jul 2, 2008 at 5:21 AM, Thiago H. de Paula Figueiredo <
> thiagohp@gmail.com> wrote:
>
>> Em Wed, 02 Jul 2008 09:16:19 -0300, Ronny L <sa...@gmail.com>
>> escreveu:
>>
>>
>> @Persist
>>> private User user = new User ();
>>> @Persist
>>> private Login login = new Login();
>>> @Persist
>>> private Info info = new Info();
>>>
>>
>> Try not initializing the fields in their declaration. Use the Form
>> component prepare events to initialize them if needed.
>>
>> Thiago
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> --
> --
> TheDailyTube.com. Sign up and get the best new videos on the internet
> delivered fresh to your inbox.
>
>
--
View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18252072.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: AW: Fields are shared among application without using @Persist
Posted by Josh Canfield <jo...@thedailytube.com>.
The value set by the constructor, or inline, is used as the default value
for the property. When you retrieve a page from the pool it gets all of it's
default values restored.
Josh
On Wed, Jul 2, 2008 at 5:21 AM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:
> Em Wed, 02 Jul 2008 09:16:19 -0300, Ronny L <sa...@gmail.com> escreveu:
>
>
> @Persist
>> private User user = new User ();
>> @Persist
>> private Login login = new Login();
>> @Persist
>> private Info info = new Info();
>>
>
> Try not initializing the fields in their declaration. Use the Form
> component prepare events to initialize them if needed.
>
> Thiago
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.
Re: AW: Fields are shared among application without using @Persist
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 02 Jul 2008 09:16:19 -0300, Ronny L <sa...@gmail.com> escreveu:
> @Persist
> private User user = new User ();
> @Persist
> private Login login = new Login();
> @Persist
> private Info info = new Info();
Try not initializing the fields in their declaration. Use the Form
component prepare events to initialize them if needed.
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: AW: Fields are shared among application without using @Persist
Posted by Ronny L <sa...@gmail.com>.
Hi Kristian,
I think I have solve the problem. Not sure what's happening.
Basically
I have three properties
@Persist
private User user = new User ();
@Persist
private Login login = new Login();
@Persist
private Info info = new Info();
@Component(id = "loginIdTxt", parameters = {"size=15", "maxLength=20",
"validate=required", "value=login.loginId"})
private TextField loginIdTxt;
@Component(id = "fnameTxt", parameters = {"size=50", "maxLength=20",
"validate=required", "value=info.firstName"})
private TextField fnameTxt;
where as
User { private Login; private Info}
The properties happen to be in application state no matter what Persist I
used.
Then I remove the child properties and access the component as follow :
@Persist
private User user = new User ();
@Component(id = "rePasswordTxt", parameters = {"size=15",
"maxLength=40", "validate=required", "value=repassword"})
private PasswordField repasswordTxt;
@Component(id = "fnameTxt", parameters = {"size=50", "maxLength=20",
"validate=required", "value=user.userInfo.firstName"})
private TextField fnameTxt;
And magically everything running well. It get its own Session now.
Is this a bug or what ?
Ronny
>> alas, there is one usecase where such problem can still occur.
that depends on how you initialize your fields. would you kindly explain
this statement and provide example
Regards,
Ronny
kristian.marinkovic wrote:
>
> then you have to put @Persist to all user spcific properties... it works.
>
> all fields will be saved/restored to/from the users own session
>
> just try this:
> @Persist
> private String data;
>
> alas, there is one usecase where such problem can still occur.
> that depends on how you initialize your fields. maybe you can
> post your code if it still doesnt work.
>
> g,
> kris
>
>
>
>
> Ronny L <sa...@gmail.com>
> 02.07.2008 11:34
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> users@tapestry.apache.org
> Kopie
>
> Thema
> Re: AW: Fields are shared among application without using @Persist
>
>
>
>
>
>
>
>
> Hi Martin,
>
> Thanks for your reply.
> Basically I only want to keep all page properties (Forms, etc) specific to
> the user's session/page and not sharing the information among other user.
> However, adding the @Persist(client) doesn't make any different. It keeps
> retrieving/modifying the same properties (2 browsers IE + firefox
> running).
>
> Regards,
> Ronny
>
>
> Martin Kersten-2 wrote:
>>
>> Hi Ronny,
>>
>> I didnt got it fully but take a look at @ApplicationState annotation.
>> This is how we store LoginStatus:
>>
>> @ApplicationState
>> LoginStatus loginStatus;
>>
>> {...
>>
>> loginStatus.login(user, password);
>> loginStatus.isLoggedIn()...
>> Etc.
>>
>> ...}
>>
>>
>> Cheers,
>>
>> Martin (Kersten)
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Ronny L [mailto:saintblu@gmail.com]
>> Gesendet: Mittwoch, 2. Juli 2008 10:59
>> An: users@tapestry.apache.org
>> Betreff: Fields are shared among application without using @Persist
>>
>>
>> Hi all,
>>
>> I'm having a trouble understanding the persistence value.
>>
>> Let say I have a property as follow:
>>
>> private String password;
>>
>> Although there's no @Persist annotation. The value always retrieved back
>> even though I'm opening a new browser (Not another tab).
>>
>> Basically, two users that's filling up a form could have they
> information
>> mix up. How would you guys solve this issue. I'm using Jboss+Tomcat & T5
>> 5.0.13
>>
>> Thanks.
>> Ronny
>>
>>
>> --
>> View this message in context:
>>
> http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233088.html
>
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233649.html
>
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
>
--
View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18236184.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: AW: Fields are shared among application without using @Persist
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
then you have to put @Persist to all user spcific properties... it works.
all fields will be saved/restored to/from the users own session
just try this:
@Persist
private String data;
alas, there is one usecase where such problem can still occur.
that depends on how you initialize your fields. maybe you can
post your code if it still doesnt work.
g,
kris
Ronny L <sa...@gmail.com>
02.07.2008 11:34
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
users@tapestry.apache.org
Kopie
Thema
Re: AW: Fields are shared among application without using @Persist
Hi Martin,
Thanks for your reply.
Basically I only want to keep all page properties (Forms, etc) specific to
the user's session/page and not sharing the information among other user.
However, adding the @Persist(client) doesn't make any different. It keeps
retrieving/modifying the same properties (2 browsers IE + firefox
running).
Regards,
Ronny
Martin Kersten-2 wrote:
>
> Hi Ronny,
>
> I didnt got it fully but take a look at @ApplicationState annotation.
> This is how we store LoginStatus:
>
> @ApplicationState
> LoginStatus loginStatus;
>
> {...
>
> loginStatus.login(user, password);
> loginStatus.isLoggedIn()...
> Etc.
>
> ...}
>
>
> Cheers,
>
> Martin (Kersten)
>
>
> -----Ursprüngliche Nachricht-----
> Von: Ronny L [mailto:saintblu@gmail.com]
> Gesendet: Mittwoch, 2. Juli 2008 10:59
> An: users@tapestry.apache.org
> Betreff: Fields are shared among application without using @Persist
>
>
> Hi all,
>
> I'm having a trouble understanding the persistence value.
>
> Let say I have a property as follow:
>
> private String password;
>
> Although there's no @Persist annotation. The value always retrieved back
> even though I'm opening a new browser (Not another tab).
>
> Basically, two users that's filling up a form could have they
information
> mix up. How would you guys solve this issue. I'm using Jboss+Tomcat & T5
> 5.0.13
>
> Thanks.
> Ronny
>
>
> --
> View this message in context:
>
http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233088.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233649.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: AW: Fields are shared among application without using @Persist
Posted by Ronny L <sa...@gmail.com>.
Hi Martin,
Thanks for your reply.
Basically I only want to keep all page properties (Forms, etc) specific to
the user's session/page and not sharing the information among other user.
However, adding the @Persist(client) doesn't make any different. It keeps
retrieving/modifying the same properties (2 browsers IE + firefox running).
Regards,
Ronny
Martin Kersten-2 wrote:
>
> Hi Ronny,
>
> I didnt got it fully but take a look at @ApplicationState annotation.
> This is how we store LoginStatus:
>
> @ApplicationState
> LoginStatus loginStatus;
>
> {...
>
> loginStatus.login(user, password);
> loginStatus.isLoggedIn()...
> Etc.
>
> ...}
>
>
> Cheers,
>
> Martin (Kersten)
>
>
> -----Ursprüngliche Nachricht-----
> Von: Ronny L [mailto:saintblu@gmail.com]
> Gesendet: Mittwoch, 2. Juli 2008 10:59
> An: users@tapestry.apache.org
> Betreff: Fields are shared among application without using @Persist
>
>
> Hi all,
>
> I'm having a trouble understanding the persistence value.
>
> Let say I have a property as follow:
>
> private String password;
>
> Although there's no @Persist annotation. The value always retrieved back
> even though I'm opening a new browser (Not another tab).
>
> Basically, two users that's filling up a form could have they information
> mix up. How would you guys solve this issue. I'm using Jboss+Tomcat & T5
> 5.0.13
>
> Thanks.
> Ronny
>
>
> --
> View this message in context:
> http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233088.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233649.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
AW: Fields are shared among application without using @Persist
Posted by Martin Kersten <Ma...@mercateo.com>.
Hi Ronny,
I didnt got it fully but take a look at @ApplicationState annotation.
This is how we store LoginStatus:
@ApplicationState
LoginStatus loginStatus;
{...
loginStatus.login(user, password);
loginStatus.isLoggedIn()...
Etc.
...}
Cheers,
Martin (Kersten)
-----Ursprüngliche Nachricht-----
Von: Ronny L [mailto:saintblu@gmail.com]
Gesendet: Mittwoch, 2. Juli 2008 10:59
An: users@tapestry.apache.org
Betreff: Fields are shared among application without using @Persist
Hi all,
I'm having a trouble understanding the persistence value.
Let say I have a property as follow:
private String password;
Although there's no @Persist annotation. The value always retrieved back
even though I'm opening a new browser (Not another tab).
Basically, two users that's filling up a form could have they information
mix up. How would you guys solve this issue. I'm using Jboss+Tomcat & T5
5.0.13
Thanks.
Ronny
--
View this message in context: http://www.nabble.com/Fields-are-shared-among-application-without-using-%40Persist-tp18233088p18233088.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Fields are shared among application without using @Persist
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 02 Jul 2008 05:58:46 -0300, Ronny L <sa...@gmail.com> escreveu:
> Although there's no @Persist annotation. The value always retrieved back
> even though I'm opening a new browser (Not another tab).
AFAIK, multiple browser windows are part of the same process, so the
application state for different windows of the same browser are shared
between them. This is not related to your web application per se.
Another thing you must take into account is browser caching and form
fields auto-filling.
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org