Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

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.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
simple xt ajax action is not working for spring controller. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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 ( /spportalFlow.do ) are working fine..

    /quickbpflow.do 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>


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

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

  • #2
    Guys,

    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="/quickbpflow.do" />


    but it works when i do the same thing ... in
    http://localhost:8080/portal/quickbpflow.do

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

    appreciate any suggestions

    Comment

    Working...
    X