Matt,
I still use the M3 release jar which has 710k. It has also separate
smaller jars for beans and context but the framework web support is in
the big one.

Regards,
Dan



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: Friday, January 09, 2004 1:28 PM
To: [EMAIL PROTECTED]
Subject: RE: [struts-menu] attaching 'struts' menu to non-struts apps

Thanks Dan - you're already fixing bugs! ;-)  BTW, which spring JAR do I
need to compile this class, I'm using the 900KB spring.jar, but I'm
wondering if there's a smaller one that can be used.

Thanks,

Matt

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dan Luputan
> Sent: Friday, January 09, 2004 3:10 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [struts-menu] attaching 'struts' menu to non-struts apps
> 
> 
> Matt, the log in MenuLoader uses MenuPlugin. It should use 
> MenuLoader, of course. 
> Then, MenuPlugin is still there, so I cannot use the menu in 
> an non-struts env. Can you fix these and send me the files back?
> 
> Thanks,
> Dan
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Matt Raible
> Sent: Thursday, January 08, 2004 7:57 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [struts-menu] attaching 'struts' menu to non-struts apps
> 
> Dan,
> 
> I've added your changes in a net.sf.navigator.menu.MenuLoader 
> class. Can you verify the attached file works for your app?  
> Here's the config that should work:
> 
> <bean id="menu" class="net.sf.navigator.menu.MenuLoader">
>     <property name="menuConfig">
>         <value>/WEB-INF/menu-config.xml</value>
>     </property>
> </bean>
> 
> The reason I'd like you to test this is because I added some 
> defaults for Struts today (bundle and locale) and I want to 
> make sure you don't get any ClassNotFound errors if you don't 
> have struts.jar in your classpath.
> 
> Thanks,
> 
> Matt
> 
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> Dan Luputan
> > Sent: Thursday, January 08, 2004 7:15 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [struts-menu] attaching 'struts' menu to 
> non-struts apps
> > 
> > 
> > I made the changes to remove the dependency from
> > ActionServlet, using instead the servlet context. There is 
> > also the spring plug-in for initializing the menu.
> > 
> > The menu is working fine, except an annoying problem: I use
> > the expandable menu like in appfuse. On some pages the menu 
> > does not expand at all, altough it is displayed. Also, 
> > looking in the source page, all items are present, there is 
> > no error on page, and still they don’t expand. 
> > 
> > Dan
> > 
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Matt Raible
> > Sent: Thursday, January 08, 2004 2:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [struts-menu] attaching 'struts' menu to 
> non-struts apps
> > 
> > I *do* want to de-couple struts-menu from Struts (hence the new
> > "navigator" package naming).  If you have a patch - please 
> > submit - I'd 
> > love to have a non-struts-dependent MenuPlugin, or simply a 
> different 
> > "initialization" class.
> > 
> > Thanks,
> > 
> > Matt
> > 
> > On Jan 8, 2004, at 2:08 AM, Dan Luputan wrote:
> > 
> > > It is possible the use the menu in non-struts 
> applications. I have 
> > > succeeded to do this in the following way with Spring: There is a 
> > > MenuPlugin class used by struts. Because it depends on Plugin 
> > > interface from struts, and wanted to not depend at all on 
> struts, I 
> > > created a new class:
> > >
> > >  
> > >
> > > public class MenuConfigurer extends WebApplicationObjectSupport {
> > >
> > > }
> > >
> > >  
> > >
> > > It does the same as MenuPlugin but does not depend on struts. 
> > > MenuPlugin has as member struts’ ActionServlet just for 
> getting the 
> > > servlet context. Why not use the servlet context instead?
> > There is no
> > > ActionServlet in non-struts applications.
> > >
> > > The ActionServlet caused a further complication, having 
> to subclass 
> > > the MenuRepository class and override the load() method since it 
> > > checks the servlet against null.
> > >
> > >  
> > >
> > > The ‘menu-config.xml’ can be provided in Spring’s xml 
> configuration:
> > >
> > >  
> > >
> > >   <bean id="menu" class="com.xxx.MenuConfigurer">
> > >
> > >       <property name="menuConfig">
> > >
> > >         <value>/WEB-INF/menu-config.xml</value>
> > >
> > >       </property>
> > >
> > >   </bean>
> > >
> > >  
> > >
> > > That’s all.
> > >
> > >  
> > >
> > > Dan
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Perforce Software. 
> Perforce is the 
> > Fast Software Configuration Management System offering advanced 
> > branching capabilities and atomic changes on 50+ platforms. 
> Free Eval!
> > http://www.perforce.com/perforce/loadprog.html
> > 
> > _______________________________________________
> > struts-menu-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sf.net/lists/listinfo/struts-> menu-user
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> struts-menu-user mailing list
> [EMAIL PROTECTED]
> https://lists.sf.net/lists/listinfo/struts-menu-user
> 



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user

Reply via email to