struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Sion <Ben.S...@solnet.co.nz>
Subject Re: DO NOT REPLY [Bug 21508] - <item> element too restrictive
Date Sat, 12 Jul 2003 01:06:45 GMT
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 dgraham@apache.org  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: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message