-
1. Re: rich:pickList
ilya_shaikovsky Apr 6, 2010 8:06 AM (in response to rodmen)should works in latest 3.3.3 CR1 version. Fully the same case was checked during other thread investigation about two weeks ago
-
2. Re: rich:pickList
rodmen Apr 6, 2010 11:03 AM (in response to ilya_shaikovsky)Thank you very much Ilya, I have replace the jars but is not working, what can I do?
This is my code
<r:pickList id="clientesAgenciaPickList" style="text-align: left;" showButtonsLabel="false" value="#{pedidoBBean.clientesAgencia}" immediate="true"> <f:selectItems value="#{pedidoBBean.selectItemsClientesAgencia}"/> </r:pickList>
Thank you
-
3. Re: rich:pickList
ilya_shaikovsky Apr 6, 2010 11:14 AM (in response to rodmen)could you please try to replace array of Strings with List<String>?
-
4. Re: rich:pickList
rodmen Apr 6, 2010 11:43 AM (in response to ilya_shaikovsky)Hi Ilya I did try whit List<String>, now pedidoBBean.clientesAgencia is a List<String> but is not working yet...
I have found that if I do this
<r:pickList id="clientesAgenciaPickList" style="text-align: left;" showButtonsLabel="false" value="#{pedidoBBean.clientesAgencia}" immediate="true"> <f:selectItems value="#{pedidoBBean.selectItemsClientesAgencia}"/> <f:selectItem itemValue="413" itemLabel="CABLEVISION"/> </r:pickList>
Displays the following...
but is not dynamic
-
5. Re: rich:pickList
ilya_shaikovsky Apr 6, 2010 11:48 AM (in response to rodmen)I'm not sure now...
that code works for me
public class PickListBean { private List<String> result = new ArrayList<String>(); public PickListBean() { result.add("Denver"); }
<rich:pickList value="#{pickListBean.result}"> <f:selectItems value="#{capitalsBean.capitalsOptions}"/> <a4j:support event="onlistchanged" reRender="result"/> </rich:pickList>
-
initial rendering.png 9.0 KB
-
-
-
7. Re: rich:pickList
ilya_shaikovsky Apr 7, 2010 3:35 AM (in response to rodmen)this support only used to update the result list when selection changed.
B.t.w. I just get the code of richfaces-demo page (pickList sample) and just filled the list in bean with initial values with no other changes. You could download sources dfrom svn and check it also.
-
8. Re: rich:pickList
rodmen Apr 7, 2010 10:07 AM (in response to ilya_shaikovsky)Ok, thank you very much