Thanks, for your quick response.

Yes, it returns SUCCESS, but i can't access to the form, I try to enter, it goes through every method, and then returns to the mainMenu.

I try to do the same as "saveUser" or "editUser" action. But it doesn't stops to let me update the data with the form.

Cheers.
----- Original Message ----- From: "Dustin Pearce" <dustin_pea...@yahoo.com>
To: <users@appfuse.dev.java.net>
Sent: Wednesday, May 19, 2010 1:29 AM
Subject: Re: [appfuse-user] Problem on view jsp/action


You action's "success" result is a redirect back to the mainMenu. I am assuming that you are returning "success" from your update() method.

-D

On May 18, 2010, at 4:25 PM, Juan Antonio wrote:


Hello everybody.

I have implemented an action with a "prepare()" "update()" and a
"validate()" method.

I have mapped it like:

       <action name="updateUserData" class="userDataAction"
method="update">
           <result
name="input">/WEB-INF/pages/configuracion_cliente.jsp</result>
           <result name="success" type="redirectAction">mainMenu</result>
           <result name="cancel" type="redirectAction">mainMenu</result>
       </action>

I added it to the menu, and when i enter, its executed all methods
(prepare() - update() - validate()) and it returns to the mainmenu, without
ever display my jsp.

What i'm doing wrong?

Cheers.
--
View this message in context: http://appfuse.547863.n4.nabble.com/Problem-on-view-jsp-action-tp2222063p2222063.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to