[
http://www.stripesframework.org/jira/browse/STS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11138#action_11138
]
Ben Gunter commented on STS-479:
--------------------------------
I believe this problem was observed by several people, and it turned out to be
dependent on which version of prototype was being used. The version distributed
with Stripes (1.4) works fine while newer versions do not. I think it broke
somewhere between Prototype 1.4 and 1.5.
> Ajax Calculator Sample calls always divide, never add
> -----------------------------------------------------
>
> Key: STS-479
> URL: http://www.stripesframework.org/jira/browse/STS-479
> Project: Stripes
> Issue Type: Bug
> Components: Examples
> Affects Versions: Release 1.4.3
> Environment: Tomcat 5.9.0, Firefox 2.0.0.11, JDK 1.6
> Reporter: Roger Rene Kommer
> Priority: Minor
>
> Hi,
> I guess, the way descriped in the page
> http://mc4j.org/confluence/display/stripes/AJAX
> multi dispatching to events will not work. Using this sample, allways the
> divide will be called. The reason ist, that in the post sending to the
> server, always all submit values
> are posted (including not submittet submit buttons)
> I replaced following code:
> {code}
> <stripes:button name="add" value="Add"
> onclick="invoke(this.form, this.name, 'result');"/>
> <stripes:button name="divide" value="Divide"
> onclick="invoke(this.form, this.name, 'result');"/>
> {code}
> with
> {code}
> <stripes:button name="" value="Add" onclick="invoke(this.form, 'add',
> 'result');" />
> <stripes:button name="" value="Divide" onclick="invoke(this.form,
> 'divide', 'result');" />
> {code}
> to make the sample working.
> Regards,
> Roger
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development