I actually already created an @Eval component that does just that. The
problem is that the expression that returns the block to render to
@RenderBlock is only evaluated the first time.

On Wed, 2006-08-02 at 18:19 -0700, Epstein, Ezra wrote:
> This may not be the issue, but...
> 
> You could make a "dyna-eval" component that (re-)evaluates an ognl expression 
> wherever/whenever you choose.
> 
> OGNL is pretty easy to work with.
> 
> Perhaps that could work? 
> 
> Thanks, 
> 
> Ezra Epstein 
> 
> -----Original Message-----
> From: Dan Adams [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 02, 2006 2:31 PM
> To: Tapestry users
> Subject: Re: recursive rendering
> 
> Thanks Mike. Yeah, I've read that article at least twice now and read through 
> the code. :) I'm having a problem that you may have run into; much like your 
> code the block to render is returned via an ognl expression and it apprears 
> the the expression is only being evaluated once and not each time. Did you 
> ever have this problem?
> 
> On Tue, 2006-08-01 at 16:04 -0700, Mike Henderson wrote:
> > Hi,
> >   It's a T3 example but it should show how it's done:
> > 
> > http://www.behindthesite.com/blog/C1931765677/E923478269/index.html
> > 
> > Mike
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> --
> Dan Adams
> Senior Software Engineer
> Interactive Factory
> 617.235.5857
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to