[richfaces-issues] [JBoss JIRA] Resolved: (RF-8207) Command components don't execute action events when a listShuttle is rendered in the same form

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Dec 15 10:01:30 EST 2009


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

Ilya Shaikovsky resolved RF-8207.
---------------------------------

    Resolution: Rejected


buttons not works and FacesMessages actually appears describing why.

in original page 
<rich:message showSummary="true" showDetail="false"
	style="color: red; font-weight: bold;" for="name" />
present but no component with "name" id.

I added rich:messages and get
javax.el.PropertyNotFoundException: /pages/list-shuttle.xhtml @20,44 sourceValue="#{testBean.states}": Property 'states' not writable on type [Ljava.lang.String;
testForm:j_id7: An error occurred when processing your submitted information. 

that caused by the fact that you just generate list right in your getter and do not implements setter at all.

We updating the both lists.. And that caused by the fact that the component implemented as bi-directional select. Both lists will be validated and both list models updated.

And that works the same for 1.2 and 2.0 JSF.

> Command components don't execute action events when a listShuttle is rendered in the same form
> ----------------------------------------------------------------------------------------------
>
>                 Key: RF-8207
>                 URL: https://jira.jboss.org/jira/browse/RF-8207
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component, JSF 2.0
>    Affects Versions: 3.3.3.BETA1
>         Environment: Windows XP, JBoss AS 4.3, Mojarra 2.02, RichFaces 3.3.3 SNAPSHOT with richfaces-impl-jsf2, Facelets 1.15
>            Reporter: Kito Mann
>            Assignee: Ilya Shaikovsky
>         Attachments: list-shuttle-bug.war
>
>
> If you place an <a4j:commandButton> or a <h:commandButton> on the same form as a <rich:listShuttle>, any actions or action listeners for the buttons are not executed (even though a request is generated).

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

        


More information about the richfaces-issues mailing list