Re: Variable and option binding proposal

On Mar 26, 2008, at 7:31 AM, Henry S. Thompson wrote:
>> I don't think that's a necessary restriction. There's no reason why I
>> shouldn't be able to initialize two or three variables right before
>> the p:choose that needs them.
> Hmm.  I guess.  Given that I think we definitely should _evaluate_
> them all at the beginning, I thought it was simpler to _put_ them all
> at the beginning. . .

I don't think we need to say that variables are all evaluated at the  
beginning. Instead, each variable can be evaluated the first time it  
is used. It may render the implementation slightly more complicated,  
but not unreasonably so.

Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog:
Personal Blog:

Received on Thursday, 27 March 2008 01:23:23 UTC