I'm trying to specify which component to use dynamically, but I think
what I want to do is outside of conventions. I wanted to do something
like the following.
in the .html
<span jwcid="area"/>
in the .jwc
<component id="area" type="ognl:componentType"/>
and in the .java
public String getComponentType() {
// some code
return "@" + componentType; // ie. MyCoolArea
}
(This isn't the real code)
I know I could just line up a bunch of if's but that seems wrong and
inefficient. I know in the example above that it is trying to find
'componentType' in the namespace 'ognl', but I really just want to pass
a string to specifiy the component.
Thanks,
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]