-
1. Re: Rich Faces 4.1.0 picklist - accessing the target values
jpapouse Jun 14, 2012 11:13 AM (in response to please.accept.this.goddamn.nam)It looks fine on the first look. Is there any error in container's log when the pickList is submitted?
-
2. Re: Rich Faces 4.1.0 picklist - accessing the target values
please.accept.this.goddamn.nam Jun 16, 2012 3:45 PM (in response to jpapouse)There is nothing in the logs. I must be doing something wrong here. In the code below, I should be able to display the selected values, but it's blank.
{code:xml}
<rich:panel style="width:560px;">
<h:form>
<rich:pickList value="#{employeeBean.target}" var="emp" id="picklist"
sourceCaption="Available" targetCaption="Selected"
orderable="false" converter="employeeConverter" onchange="submit()">
<f:selectItems value="#{employeeBean.source}" var="employee" itemValue="#{employee}"/>
<f:converter converterId="employeeConverter" />
</rich:pickList>
</h:form>
jobcardBean bean = #{employeeBean.target}
</rich:panel>
{code}
Here is an example of what I'm talking about:
-
3. Re: Rich Faces 4.1.0 picklist - accessing the target values
please.accept.this.goddamn.nam Jun 17, 2012 2:46 PM (in response to please.accept.this.goddamn.nam)I managed to solve the problem. I posted my solution on stackoverflow. Thank you for your assistance.