-
1. Re: a bug in ModalPAnel :(
ilya_shaikovsky Jul 28, 2008 3:58 AM (in response to rare)seems that this is the problem with popup list which appears below the panel. please try 3.2.2 latest snapshots. should be resolved already.
-
2. Re: a bug in ModalPAnel :(
rare Jul 28, 2008 8:12 AM (in response to rare)i have tested again with richfaces 3.2.2 and still not working
have a look at my jsp
<f:view>
<rich:modalPanel id="modalpanel_confirmer_ajout_client" width="400" height="400" binding="#{Mybean.firstpanel}" autosized="true" resizeable="false">
<h:form>
<rich:comboBox><f:selectItems value="#{Mybean.myvalue}"/></rich:comboBox>
<h:selectOneMenu><f:selectItems value="#{Mybean.myvalue}"/></h:selectOneMenu>
</h:form>
</rich:modalPanel>
<h:form>
<h:commandButton action="#{Mybean.actionmain_site}" value="mp"></h:commandButton>
</h:form>
</f:view>
when i click i see the values in selectonemenu but it i see nothing in richfaces combobox :(
i was thinking that this bug was corrected but unfortuntly it was not :( -
3. Re: a bug in ModalPAnel :(
ilya_shaikovsky Jul 28, 2008 8:14 AM (in response to rare)but you should specify value binding in value attribute of combobox in order to define initial value or just use defaultLabel.
-
4. Re: a bug in ModalPAnel :(
rare Jul 28, 2008 8:34 AM (in response to rare)still not working i was modified the code as you suggest but unfortuntly it still not working.
<f:view>
<rich:modalPanel id="modalpanel_confirmer_ajout_client" width="400" height="400" binding="#{Mybean.firstpanel}" autosized="true" resizeable="false">
<h:form>
<rich:comboBox defaultLabel="i love richfaces"><f:selectItems value="#{Mybean.myvalue}"/></rich:comboBox>
<h:selectOneMenu><f:selectItems value="#{Mybean.myvalue}"/></h:selectOneMenu>
</h:form>
</rich:modalPanel>
<h:form>
<h:commandButton value="actinonmainsite"action="#{Mybean.actionmain_site}" ></h:commandButton>
</h:form>
</f:view>
and here is a print screen
http://img148.imageshack.us/img148/5871/sanstitreaq5.png -
5. Re: a bug in ModalPAnel :(
ilya_shaikovsky Jul 28, 2008 8:39 AM (in response to rare)maybe value attribute usage instead of defaultLabel will give you what you need?
-
6. Re: a bug in ModalPAnel :(
rare Jul 28, 2008 8:47 AM (in response to rare)sorry but i think you are completly wrong because value in combobox is the result of what the user select for example if a combox has item values item1 item2 item3 and the user select item1
the value of the combox box will be item1
ie: if i made <rich:combobox value="#{Mybean.selected_item}"><f:selectItems value="#{Mybean.myvalue}"/></</rich:combobox>
if the user select item1
selected_item will take value item1 -
7. Re: a bug in ModalPAnel :(
ilya_shaikovsky Jul 28, 2008 9:00 AM (in response to rare)so just place a4j:support inside select and update the comboBox via reRender. Do not forget to wrap the select with region in order not to process combo which mapped to the same value together with select.
-
8. Re: a bug in ModalPAnel :(
rare Jul 28, 2008 9:06 AM (in response to rare)i'm sorry can you please write me what exactly must add i mean just the idea because i did not understand you very well esapcially the wrap select
-
9. Re: a bug in ModalPAnel :(
ilya_shaikovsky Jul 28, 2008 9:09 AM (in response to rare)<h:form> <rich:comboBox defaultLabel="Enter some value" value="#{Afficher_devise.pays_choisit}" id="combo"> <f:selectItems value="#{Afficher_devise.pays_}" /> </rich:comboBox> <a4j:region> <h:selectOneMenu value="#{Afficher_devise.pays_choisit}" ><f:selectItems value="#{Afficher_devise.pays_}" /> <a4:support event="onchange" reRender="combo"/> </h:selectOneMenu> </a4j:region> </h:form>
-
10. Re: a bug in ModalPAnel :(
rare Jul 28, 2008 9:20 AM (in response to rare)thank you for your precieus help
i appreciated too much your help -
11. Re: a bug in ModalPAnel :(
rare Jul 28, 2008 9:23 AM (in response to rare)thank you very much for your precious help i appreciate very much