Re: Detecting unbound options

On Thu, May 28, 2009 at 9:42 AM,  <Toman_Vojtech@emc.com> wrote:
>> But I, again, voice for the suggestion
>>
>> > 2) To add an attribute on p:with-option that says
>> > @bound-like-this-option="$foo" ; if foo is bound then the variable
>> > will be bound and the value will be the content of the
>> select and will
>> > not be bound if $foo isn't bound
>>
>> We could also add for more complex use case the
>> p:is-option-bound() function
>
> So what about the case when the select expression refers to multiple
> options/variables (some/all of which can be unbound)?

That's what I called a "complex use case" where you cannot avoid using p:choose.

Xmlizer

Received on Thursday, 28 May 2009 07:58:51 UTC