[
http://www.stripesframework.org/jira/browse/STS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11144#action_11144
]
Roger Rene Kommer commented on STS-479:
---------------------------------------
That sound reasonable. I used the 1.6.0 of prototype. Coping the prototype
1.4.0 of the current stripes distribution (stripes-1.4.3) and the sample work
well.
Is this now a bug of prototype or just a incompatibilty?
Thanks for the help!
> 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