[ http://issues.apache.org/struts/browse/SB-16?page=all ]
Don Brown moved STR-2547 to SB-16: ---------------------------------- Project: Sandbox (was: Struts Action 1) Key: SB-16 (was: STR-2547) Component: (was: Sandbox) Version: (was: 1.2.7) Assign To: (was: Struts Developer Mailing List) > Changing the action dynamically without using javascript > -------------------------------------------------------- > > Key: SB-16 > URL: http://issues.apache.org/struts/browse/SB-16 > Project: Sandbox > Type: Improvement > Environment: Operating System: other > Platform: All > Reporter: Nagaraj > Priority: Minor > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]