You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/08/12 12:14:31 UTC

DO NOT REPLY [Bug 36160] New: - Changing the action dynamically without using javascript

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36160>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36160

           Summary: Changing the action dynamically without using javascript
           Product: Struts
           Version: 1.2.7
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Struts Flow
        AssignedTo: dev@struts.apache.org
        ReportedBy: nag_chami@yahoo.co.in


Hi,
    I am facing the following problem in my application. First i will explain 
the problem context.

My action class extending the DispatchAction.In my <html: form > tag will have 
default action.Say i have the buttons for Create, Read, Update,delate 
operations in my JSP.Now based on the button click , i wll change the action 
in the JavaScript.For example 

document.formName.action="/abc.do?method=read";

Now the problem is we dont want to use javascript.but at the same we wants to 
use dispatchaction. So how do you will change the action dynamically without 
using the javascript? since button/image does not have action property. Can 
any one of you help me to solve this problem?

Thank you
Nagaraj P

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org