You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dan Adams <da...@ifactory.com> on 2006/06/20 20:15:08 UTC

Parameter values are cached?

I want to write a @While component that takes a condition just like @If
does. The problem is that you can't give an ognl expression for the
condition and have it evaluated each time I call getCondition(). Anyone
know a way to do this?

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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


Re: Parameter values are cached?

Posted by Dan Adams <da...@ifactory.com>.
It was a dumb question on my part. I should have replied when I saw it.
@Parameter has a 'cache' parameter. duh. :)

On Tue, 2006-06-20 at 14:30 -0400, Kevin Menard wrote:
> Have you looked at the source for the For component?  If that can do it,  
> you should be able to with your While.
> 
-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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


Re: Parameter values are cached?

Posted by Kevin Menard <km...@servprise.com>.
Have you looked at the source for the For component?  If that can do it,  
you should be able to with your While.

-- 
Kevin

On Tue, 20 Jun 2006 14:15:08 -0400, Dan Adams <da...@ifactory.com> wrote:

> I want to write a @While component that takes a condition just like @If
> does. The problem is that you can't give an ognl expression for the
> condition and have it evaluated each time I call getCondition(). Anyone
> know a way to do this?
>



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


Re: Parameter values are cached?

Posted by Norbert Sándor <de...@erinors.com>.
Parameters are cached by default but it can be turned off using its 
"cache" property.

BR,
Norbi

Dan Adams wrote:
> I want to write a @While component that takes a condition just like @If
> does. The problem is that you can't give an ognl expression for the
> condition and have it evaluated each time I call getCondition(). Anyone
> know a way to do this?
>
>   

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