Hi Mike,

thanks, especially for 4)
Sometimes it's hard to identify the suitable component...

regards,
Helmut


Am 22.04.2008 um 23:02 schrieb Mike Schrag:

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/helmut.schottmueller%40mac.com

This email sent to [EMAIL PROTECTED]

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