Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
simple xt ajax action is not working for spring controller. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • simple xt ajax action is not working for spring controller.

    I am using XT in several places in my projects .. so far i have used in spring webflows . Every thing works perfect. But i am trying to use in simple webcontroller jsps the events are not going through..

    all the jsps which are part of webflows ( / ) are working fine..

    / is part of spring mutliactioncontroller.. so any java script is not firing through this .. am i missing anything ? does it work differently for webflows and spring controller ?

    <bean id="webflows" class="org.springframework.webflow.executor.mvc.Fl owController">
    <property name="flowExecutor" ref="flowExecutor"/>

    <bean id="ajaxInterceptor" class="org.springmodules.xt.ajax.AjaxInterceptor">
    <property name="handlerMappings">
    <prop key="/">listingAjaxHandler</prop>
    <prop key="/">listingAjaxHandler</prop>

    <bean id="urlHandlerMapping" class="org.springframework.web.servlet.handler.Sim pleUrlHandlerMapping">
    <property name="interceptors">
    <ref bean="ajaxInterceptor"/>
    <property name="mappings">
    <prop key="/">webflows</prop>
    <prop key="/">listingMultiController</prop>

  • #2

    i have figured out its a cache issue.. but i found one scenario i am missing is
    when i do a foward with in a jsp like below events are not triggering in the resulting jsp..

    <jsp:forward page="/" />

    but it works when i do the same thing ... in

    is it different w.r.t spring modules interceptor the way it treats the forward request?

    appreciate any suggestions