[jboss-dev-forums] [JBoss AS Development Deployment Framework] - Can someone please say why onchange is not calling the method

Fabian Riako do-not-reply at jboss.com
Tue Jul 3 14:34:27 EDT 2012


Fabian Riako [https://community.jboss.org/people/fjkjava] created the discussion

"Can someone please say why onchange is not calling the method"

To view the discussion, visit: https://community.jboss.org/message/745877#745877

--------------------------------------------------------------
Here is my code

<a:form ajaxSingle="true" ajaxSubmit="true"> 
    <table>
        <tr>
            <td>
                <s:decorate template="layout/edit.xhtml" id="decBin" 
                    rendered="#{!recInfoHome.instance.recToDefaultLoc}">

                    <ui:define name="label">Bin</ui:define>
                    <h:selectOneMenu id="binEdit" immediate="true"
                        value="#{recViewManager.sysRecBinId}" 
                        required="true">
                        <f:selectItem itemValue="" itemLabel="--Select--" />
                        <f:selectItems value="#{myDBUtil.sysRecBinLuList}"/>        
                        <a:support event="onchange" actionListener="#{recViewManager.assignSysRecBin()}" ajaxSingle="true"/>                          
                    </h:selectOneMenu>
                </s:decorate>
            </td>
        </tr>            
    </table>            
</a:form>

The method assignSysRecBin is never getting called. I have tried many differnt ways but nothing helped me. :(  :-/
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/745877#745877]

Start a new discussion in JBoss AS Development Deployment Framework at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2072]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120703/2850500c/attachment.html 


More information about the jboss-dev-forums mailing list