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">
Comments:

1) use 'comp1' instead of "comp1" -- no need for escaping then
2) "? true : false" is not necessary -- equals returns a boolean
3) use ERXEqualConditional instead of OGNL
4) use WOSwitchComponent instead of all of this

ms

_______________________________________________
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