cedric 2003/02/08 11:34:19 Modified: src/share/org/apache/struts/tiles/xmlDefinition XmlParser.java Log: Let the bean rules use the correct declaration. Revision Changes Path 1.8 +4 -4 jakarta-struts/src/share/org/apache/struts/tiles/xmlDefinition/XmlParser.java Index: XmlParser.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/xmlDefinition/XmlParser.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- XmlParser.java 25 Jan 2003 05:52:35 -0000 1.7 +++ XmlParser.java 8 Feb 2003 19:34:19 -0000 1.8 @@ -260,7 +260,7 @@ // bean elements rules String BEAN_TAG = "*/bean"; String beanDefaultClass = "org.apache.struts.tiles.beans.SimpleMenuItem"; - digester.addObjectCreate( BEAN_TAG, menuItemDefaultClass, "classtype"); + digester.addObjectCreate( BEAN_TAG, beanDefaultClass, "classtype"); digester.addSetNext( BEAN_TAG, "add", "java.lang.Object"); digester.addSetProperties( BEAN_TAG);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]