Hi Ken,
I have some question regarding porting the xml file from JATO
framework to jsftemplating.
The following is very common in the view descriptor xml files using the
jato framework.
<function name="doSomething"
className="com.sun.enterprise.tools.admingui.handlers.AMXHandler"
methodName="doSomething">
<inputDef name="param1" type="String" />
<inputDef name="param2" type="[Ljava.lang.String;" />
<outputDef name="retValue1" type="String" />
<outputDef name="retValue2" type="[Ljava.lang.String;" />
</function>
<parameter name="obj" value="com.sun.xyz" />
<parameter name="displayNames">
<values value="name" />
<values value="weight" />
<values value="configRef" />
</parameter>
<call name="doSomething">
<input name="param1" value="$parameter(obj)" />
<input name="param2" value="$parameter(displayNames)">
<output name="retValue1" key="config" />
<output name="retValue2" key="names" />
</call>
- can we specify a parameter and use it throughout the jsf file ? if
so, whats the syntax ?
- can the parameter be an array ? just like the displayNames above ?
- If we cannot use parameter, can we at least pass an array as the input
to a handler ? I am not sure about the syntax.
If you can show how the above code will look like in jsftemplating,
that will be great.
thanks
Anissa.