You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ted Steen <te...@gmail.com> on 2006/06/02 23:47:36 UTC

Re: @Persist+@InitialValue not working as expected

Hm, ok?
So is this a bug or not?
What is the purpose of @Persist+@InitialValue if the behaviour is like this?

2006/5/28, Jesse Kuhnert <jk...@gmail.com>:
> It sounds like a bug to me. Can you file this in jira ?
>
> On 5/27/06, Ted Steen <te...@gmail.com> wrote:
> >
> > When using @Persist and @InitialValue on the same property the value
> > is not persisted.
> > The only value returned from the property is the initial value.
> > It seems like that when the initial value is set right before the page
> > is returned to the pool, the persistent value is also set to the
> > initial value.
> >
> > The expected behaviour, I think, is that the property will return the
> > initial value the first time it is used, and then, after that, the
> > persistent value should be returned.
> >
> > I have seen this question before on the list, but no real answer.
> > What is the expected behaviour?
> >
> > --
> > /ted
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>


-- 
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: @Persist+@InitialValue not working as expected

Posted by Jesse Kuhnert <jk...@gmail.com>.
It sounds like the non-intuitive nature of the annotation could cause enough
confusion that it warrents a bug report.

Please file it as being against 4.0.2 to help me.

On 6/2/06, Ted Steen <te...@gmail.com> wrote:
>
> Hm, ok?
> So is this a bug or not?
> What is the purpose of @Persist+@InitialValue if the behaviour is like
> this?
>
> 2006/5/28, Jesse Kuhnert <jk...@gmail.com>:
> > It sounds like a bug to me. Can you file this in jira ?
> >
> > On 5/27/06, Ted Steen <te...@gmail.com> wrote:
> > >
> > > When using @Persist and @InitialValue on the same property the value
> > > is not persisted.
> > > The only value returned from the property is the initial value.
> > > It seems like that when the initial value is set right before the page
> > > is returned to the pool, the persistent value is also set to the
> > > initial value.
> > >
> > > The expected behaviour, I think, is that the property will return the
> > > initial value the first time it is used, and then, after that, the
> > > persistent value should be returned.
> > >
> > > I have seen this question before on the list, but no real answer.
> > > What is the expected behaviour?
> > >
> > > --
> > > /ted
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tacos/Tapestry, team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind.
> >
> >
>
>
> --
> /ted
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.