Hi,

surely another stupid question but I am stuck and can't think straight... Maybe it's time to go to bed.
Assume I have three components:

comp1, comp2, comp3

The name of the component is set via an AjaxUpdateLink to a binding "selectedComponent". Depending on the value of selectedComponent, one of the components is shown in the update container:

<wo:if condition = "~selectedComponent.equals(\"comp1\") ? true : false">
  <wo:comp1></wo:comp1>
</wo:if>
<wo:if condition = "~selectedComponent.equals(\"comp2\") ? true : false">
  <wo:comp2></wo:comp2>
</wo:if>
<wo:if condition = "~selectedComponent.equals(\"comp3\") ? true : false">
  <wo:comp3></wo:comp3>
</wo:if>


Is it possible to have one single binding to call the selected component in an AjaxUpdateContainer instead of having a conditional for each of the components?

Regards,

Helmut

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to