Is there any way to conditionally determine the opening html for a component only, not the whole thing?:
<wo:if condition="..."> <wo:ERXHyperlink ...abc> </wo:if> <wo:else> <wo:ERXHyperlink ...xyz> </wo:else> ... bunch of html that applies to both the above conditions </wo:ERXHyperlink> Trying it, I can't, I am told that the <wo:ERXHyperlink ...abc> at the top is missing its closing tag, so presumably it has to be complete within the if clause. My only solution seems to be to take the " ... bunch of html that applies to both the above conditions" and put it into a different component, but that is a pain because that html invokes many methods from this component. It feels like it would be nice to turn chunks of html into local html-only-components, that are part of the same WOComponent, but can be referenced more than once. Thanks John _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
