[richfaces-issues] [JBoss JIRA] Reopened: (RF-8744) a4j:ajax doesn't work with selectManyCheckbox, selectManyMenu and selectManyListbox

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Mon Jun 14 08:04:46 EDT 2010


     [ https://jira.jboss.org/browse/RF-8744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavol Pitonak reopened RF-8744:
-------------------------------



selectManyMenu and selectManyListbox work fine but selectManyCheckbox doesn't rerender output:

<h:selectManyCheckbox id="selectManyCheckbox" value="#{a4jAjaxBean.cars}">
                <f:selectItem itemValue="Audi" itemLabel="Audi"/>
                <f:selectItem itemValue="Mercedes" itemLabel="Mercedes"/>
                <f:selectItem itemValue="Ferrari" itemLabel="Ferrari"/>
                <f:selectItem itemValue="Lexus" itemLabel="Lexus"/>
                <f:selectItem itemValue="BMW" itemLabel="BMW"/>
                   
                <a4j:ajax id="a4jAjaxxx"
                          event="change"
                          execute="@form"
                          render="output"          
                          />
</h:selectManyCheckbox>

I can see the following error in server log (Glassfish 3):
SEVERE: /components/a4jAjax/hSelectManyCheckbox.xhtml @34,29 id="a4jAjaxxx" Unhandled by MetaTagHandler for type org.ajax4jsf.component.behavior.AjaxBehavior

> a4j:ajax doesn't work with selectManyCheckbox, selectManyMenu and selectManyListbox
> -----------------------------------------------------------------------------------
>
>                 Key: RF-8744
>                 URL: https://jira.jboss.org/browse/RF-8744
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.0.0.Alpha2
>         Environment: Tomcat 6.0.26, Glasfish 3, RichFaces 4.0.0-SNAPSHOT
>            Reporter: Pavol Pitonak
>            Assignee: Nick Belaevski
>            Priority: Critical
>             Fix For: 4.0.0.Alpha2
>
>         Attachments: selectMany.zip
>
>
> The following code doesn't work as expected (output is not updated). When a4j:ajax is changed to f:ajax, everything works. The same problem exist in selectManyMenu and selectManyListbox.
> <h:selectManyCheckbox id="selectManyMenu" value="#{richBean.cars}" > 
>     <f:selectItem itemValue="Audi" itemLabel="Audi"/>
>     <f:selectItem itemValue="Mercedes" itemLabel="Mercedes"/>
>     <f:selectItem itemValue="Ferrari" itemLabel="Ferrari"/>
>     <f:selectItem itemValue="Lexus" itemLabel="Lexus"/>
>     <f:selectItem itemValue="BMW" itemLabel="BMW"/>
>     <a4j:ajax event="change" execute="@form" render="output"/>
> </h:selectManyCheckbox>
> <a4j:outputPanel id="output">Your selection: #{richBean.cars}</a4j:outputPanel>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list