Correct me if I'm wrong, but if this were done, then the <item> element would be pretty similar in look and behaviour to the <bean> element.
Perhaps the MenuItem interface / SimpleMenuItem class could be implemented in the definitions.xml using the <bean> element and the <item> element deprecated?? Ben > ------- Additional Comments From [EMAIL PROTECTED] 2003-07-12 > 00:22 ------- > The <item> element seems needlessly limited. The icon, link, > tooltip, and value > attributes should probably be removed and replaced with a more > generic > <set-property> element. For example, > <item classtype="MyClass"> > <set-property property="myProp" value="my value"/> > </item> > > Also, the classtype attribute should be renamed to className to > match the > struts-config convention. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
