Announcement Announcement Module
Collapse
No announcement yet.
Spring web flow & ajax Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring web flow & ajax

    hI, MY index.jsp:

    Code:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>WEBFLOW2</title>
    </head>
    
    <body>
    <div>Bienvenido </div>
    
    </ul>
    
    <div><a href="${ flowExecutionUrl }&_eventId=miEvento">Welcome</a></div>
    
    <div id="pruebaAjax">AJAX</div>
    </body>
    </html>
    and flow.xml:

    Code:
    <view-state id="saludo" view="holaMundo.jsp">
    		<transition on="miEvento" to="welcome" >			
    		 </transition>
    
    </view-state>
    
    <view-state id="welcome" view="welcome.jsp">
    		<on-render>
    			<render fragments="pruebaAjax"/>
    		</on-render>
    </view-state>
    i want refresh div="pruebaAjax" but its redirect to welcome.jsp

    Any suggestions?

    Thanks
Working...
X