Hi,
I am developing an ui-component-extension for struts and have to nest the
"set-property" element inside an "action" element.
According to the DTD of struts 1.1 this should be possible, but when I specify
something like this:
<action path="/Website" type="de.gp.actions.WebsiteAction">
<set-property property="uisystem" value="main"></set-property>
</action>
The commons-digester throws the following exception:
java.lang.NoSuchMethodException: Bean has no property named system
at org.apache.commons.digester.SetPropertyRule.begin(SetPropertyRule.ja
a:192)
When I define the value as CDATA the an additional xerces exception is thrown.
Have I done something wrong ?
I am using struts 1.1 final.
Would be great if anyone could help me to solve my problem.
greets
Jan Zimmek