First I would like to thank the PF team for the great job that has been done. While trying to replace some richfaces code with PF, I ran into the following issue. As I'm new to PF, I'm probably missing something obvious, so sorry in advance for that.
Basically, I want to ajax-update my model from a h:selectOneMenu change event which locates in a datatable colum.
Seam 2.2.0 GA
Primefaces 1.1
Code: Select all
<h:form prependId="false" id="participants">
(...)
<p:dataTable var="_participant"
id="userList"
value="#{users.resultList}"
rendered="#{not empty users.resultList}">
(...)
<p:column>
<f:facet name="header">
<h:outputText styleClass="columnHeader" value="#{messages['admin.rights']}"/>
</f:facet>
<h:selectOneMenu id="status"
value="#{_participant.status}"
disabled="#{_participant.status eq 'TEAM'}">
<s:selectItems var="_status"
value="#{admin.statuss}"
label="#{_status}" />
<s:convertEnum/>
<p:ajax event="change"
process="@this"
update="@none"/>
</h:selectOneMenu>
</p:column>
</p:dataTable>
(...)
</h:form>
Code: Select all
@Name("users")
@Scope(ScopeType.CONVERSATION)
public class Users extends EntityQuery<Contributor>
{
(...)
}
Code: Select all
18:27:06,164 WARN [Component] Cannot create Seam component, scope is not active: users(CONVERSATION)
Thanks for help !