[
https://issues.apache.org/struts/browse/WW-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40387
]
ravi m commented on WW-1779:
----------------------------
hmmmm, now having problems with multiple buttons ................
<s:div id="t4" showLoadingText="false">
<s:form id="form" action="AjaxTest">
<input type=textbox name="data">
<s:submit type="button" theme="ajax" label="Update Content1"
targets="t4" name="method:go1" id="ajaxbtn1" showLoadingText="false" />
<s:submit type="button" theme="ajax" label="Update Content2"
targets="t4" name="method:go2" id="ajaxbtn2" showLoadingText="false" />
</s:form>
</s:div>
It always goes to execute method. How do I set to go to method "go1" and
method "go2" when I click the above buttons..........
Thanks in advance
--
Ravi Mangalagiri
www.bluepitch.org (My personal website. Coming soon!)
703-505-4240 (c)
> remote button always expects its target defined before and outsite the form
> in IE
> ---------------------------------------------------------------------------------
>
> Key: WW-1779
> URL: https://issues.apache.org/struts/browse/WW-1779
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.6
> Environment: windows xp
> Reporter: Ravi M
> Fix For: 2.0.6
>
>
> ideal scenario:
> <div id="t1">Div 1</div>
> <s:form id="form" action="AjaxTest">
> <input type=textbox name="data">
> <s:submit type="button" theme="ajax" label="Update Content" targets="t1"
> id="ajaxbtn"/>
> </s:form>
> but
> <div id="t4">
> <s:form id="form" action="AjaxTest">
> <input type=textbox name="data">
> <s:submit type="button" theme="ajax" label="Not posting form
> content" targets="t4" id="notworking"/>
> </s:form>
> </div>
> doesn't work in IE. Meaning the form values are not posted to the action.
> While in FF it works like a charm. This is a show stopper for us. Please
> advise as early as possible..............
> you can try with showcase/ajax/remotebutton/index.jsp ... just add the above
> code-segment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.