http://www.jweekend.com/dev/LegUp
On Fri, 2010-01-29 at 18:39 +0900, Ashika Umanga Umagiliya wrote: > Any tips ? :( > Any examples with Spring integration and mounted pages? > > > Ashika Umanga Umagiliya wrote: > > Greetings all, > > > > Just to make sure , I create another skeleton Wicket application and > > integrated a module which I used before with GWT (use only > > Spring+Hibernate) .And whenever I configure Spring , non of the > > mounted pages work? > > So is this something with Spring integration? > > > > Josh Kamau wrote: > >> I suggest you start with something very simple that works. You can use > >> maven > >> archetype to generate a project then mount the page there. If it works. Try > >> adding adding your spring and hibernate stuff . If it works see where you > >> went wrong in your main application > >> > >> Josh > >> > >> On Fri, Jan 29, 2010 at 6:57 AM, Ashika Umanga Umagiliya < > >> [email protected]> wrote: > >> > >> > >>> Nop,I only use Wicket filter! I use markup inheritance for my pages,so I > >>> create new plain test WebPages and mounted,and they wont mount either. > >>> I use Spring,Hibernate and Compass search engine in my app. > >>> You said to debug the code, you mean with Wicket source? > >>> I dont have good understand of Wicket internals,could you point me where I > >>> found be looking at? > >>> > >>> Thanks > >>> umanga > >>> > >>> > >>> Igor Vaynberg wrote: > >>> > >>> > >>>> i doubt spring has anything to do with it. do you have any other filters? > >>>> > >>>> -igor > >>>> > >>>> On Thu, Jan 28, 2010 at 7:36 PM, Ashika Umanga Umagiliya > >>>> <[email protected]> wrote: > >>>> > >>>> > >>>> > >>>>> None of my mounted pages work! > >>>>> Do you think this has some thing to do with the way I have integrated > >>>>> Spring > >>>>> ? > >>>>> I have used ApplicationObjectApproach ,mentioned below : > >>>>> > >>>>> > >>>>> http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach > >>>>> > >>>>> Igor Vaynberg wrote: > >>>>> > >>>>> > >>>>> > >>>>>> strange, i guess you will have to debug with breakpoints to see where > >>>>>> it goes wrong. > >>>>>> > >>>>>> -igor > >>>>>> > >>>>>> On Thu, Jan 28, 2010 at 7:11 PM, Ashika Umanga Umagiliya > >>>>>> <[email protected]> wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>> Igor Vaynberg wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> do other mounted pages work? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> I mounted a test webpage and it wont work either. > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> do you use the /* mapping with your wicket filter? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> Yes,and I use Spring integration as follows: > >>>>>>> > >>>>>>> <filter> > >>>>>>> <filter-name>wicket.nihonbare-web</filter-name> > >>>>>>> > >>>>>>> > >>>>>>> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> > >>>>>>> <init-param> > >>>>>>> <param-name>applicationFactoryClassName</param-name> > >>>>>>> <param-value> > >>>>>>> org.apache.wicket.spring.SpringWebApplicationFactory > >>>>>>> </param-value> > >>>>>>> </init-param> > >>>>>>> > >>>>>>> > >>>>>>> </filter> > >>>>>>> > >>>>>>> <filter-mapping> > >>>>>>> <filter-name>wicket.nihonbare-web</filter-name> > >>>>>>> <url-pattern>/*</url-pattern> > >>>>>>> </filter-mapping> > >>>>>>> > >>>>>>> <servlet> > >>>>>>> <servlet-name>wicket</servlet-name> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> <servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class> > >>>>>>> <init-param> > >>>>>>> <param-name>applicationFactoryClassName</param-name> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> <param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value> > >>>>>>> </init-param> > >>>>>>> <load-on-startup>1</load-on-startup> > >>>>>>> > >>>>>>> </servlet> > >>>>>>> > >>>>>>> <listener> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> > >>>>>>> </listener> > >>>>>>> > >>>>>>> --------------------------------------------------------------------- > >>>>>>> To unsubscribe, e-mail: [email protected] > >>>>>>> For additional commands, e-mail: [email protected] > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> --------------------------------------------------------------------- > >>>>>> To unsubscribe, e-mail: [email protected] > >>>>>> For additional commands, e-mail: [email protected] > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: [email protected] > >>>> For additional commands, e-mail: [email protected] > >>>> > >>>> > >>>> > >>>> > >>> > >> > >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
