Re: [Webmacro-devel] TestSpringView
"Marcello H" <[email protected]> Wed, 19 Apr 2006 05:45:49 +0200
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
Can somebody write a little wiki page on this subject. I'm interrested, but don't know wehere to start. (So this would kick me in the right direction.) Thanks. Marcel 2006/4/13, Marc Palmer <[email protected]>: > On 12 Apr 2006, at 20:52, Tim Pizey wrote: > > > > Hi, > > > > Am I right in thinking that TestSpringView fails out of the box? > > > > I have fixed locally, by changing to > > WM wm =3D new WM(); > > WebMacroView v =3D new WebMacroView(); > > v.setWebMacro(wm); > > > > // Setup dummy Spring context and provide a WM instance so > > that > > // It doesn't try to resolve test template from Servletcontext > > DefaultListableBeanFactory beanFactory =3D new > > DefaultListableBeanFactory(); > > beanFactory.registerSingleton("WebMacro", wm); > > > > > > ie explicitly setting the wm > > > > Shall I commit? > > > > If it works for you please do. I am pretty sure it wasn't failing for > me, at least I hope it wasn't :( > > Sorry. > > As far as I know only one other person has tried to use the Spring > MVC view for WebMacro. > > Cheers > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Webmacro-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642