[ 
http://www.stripesframework.org/jira/browse/STS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-479.
----------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.5

This was fixed with revision 912 back on 5/19/2008.

> 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
>            Assignee: Tim Fennell
>            Priority: Minor
>             Fix For: Release 1.5
>
>
> 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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to