[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866766#action_12866766
 ] 

Leonardo Uribe commented on TOMAHAWK-1502:
------------------------------------------

Hi

Thanks for your help testing this stuff. I did a review and I found the problem 
is not on tomahawk. Really it is a side effect of the browser (IE 7 and IE 8).

In few words, onchange event is not published until the checkbox lost focus. To 
solve it, it is necessary to change this:

                    <h:selectBooleanCheckbox value="false"
                                             onchange="personForm_submit();"/>

Into this:

                    <h:selectBooleanCheckbox value="false"
                                             onclick="this.blur();"
                                             onchange="personForm_submit();"/>

In this way, we ensure onchange is published.

I'll close this issue as won't fix, but anyway I commit the fix on tomahawk 
examples.

Leonardo

> subForm trunk war file example bugs
> -----------------------------------
>
>                 Key: TOMAHAWK-1502
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1502
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: AJAX Form Components, Examples, SubForm
>    Affects Versions: 1.1.10-SNAPSHOT
>         Environment: WIn XP, JDK 1.6.0.20, Tomcat  6.0.24, MyFaces 2.0.1 - 
> Snapshots (api + impl), Tomahawk20-1.1.10 Snapshot
>            Reporter: Oliver Bayer
>
> The subForm example -tomahawk trunk build at revision 939215- isn't working 
> in IE 7 without throwing any JS errors or logs in the tomcat console. With FF 
> 3.6.3 it's working as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to