<xforms:if/> ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

<xforms:if/> ?

Teun van Eijsden
If you want a <xforms:trigger/> only to display if a certain condition is met, how would you do that?
I'd expect an <xforms:if/> or something.
 
Regards, Teun
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: <xforms:if/> ?

marc-62
Teun,

You can achieve that with a xforms:group tag :

<xforms:group ref=".[YourConditionBasedOnXPathHere]">
    <xforms:trigger/>
</xforms:group>

HTH,

Marc

Teun van Eijsden a écrit :

> If you want a <xforms:trigger/> only to display if a certain condition
> is met, how would you do that?
> I'd expect an <xforms:if/> or something.
>  
> Regards, Teun
>  
>  
>  
>  
>  


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: <xforms:if/> ?

Adrian Baker
You can also just put the ref on the trigger itself.

Alternatively, you can place a "relevant" clause using a bind on the node targeted by the ref (instance of using the [YourConditionBasedOnXPathHere] predicate).

marc wrote:
Teun,

You can achieve that with a xforms:group tag :

<xforms:group ref=".[YourConditionBasedOnXPathHere]">
   <xforms:trigger/>
</xforms:group>

HTH,

Marc

Teun van Eijsden a écrit :
If you want a <xforms:trigger/> only to display if a certain condition is met, how would you do that?
I'd expect an <xforms:if/> or something.
 
Regards, Teun
 
 
 
 
 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws