hello list
i need help whit this, i need to change the submitedvalue for some
input fields, a commandlink action change the value for this inputs,
also the commandlink change the submitedvalue of this inputs, run ok
for inputext and selectbooleancheckbox, but for selectonemenu not, the
value not change. the selectonemenu use converter. i don't know what
happend. the commandlink is immediate=true because i need that no
validate.
this is my code

 <h:inputText id="price" value="#{editReofferBean.price}"
required="true"  binding="#{editReofferBean.inputPrice}"

styleClass="tablaRespuestaDer" size="6" onkeyup="calculatePriceM2()"
immediate="false">

<h:selectOneMenu id="saleOrLease" value="#{editReofferBean.dealType}"
styleClass="tablaRespuesta"

binding="#{editReofferBean.inputDealType}"           >
                                                        <f:selectItems
value="#{constantManager.dealType}"/>
                                                    </h:selectOneMenu>


the commandLink action

....

this.setPrice(formatter.toString());
      inputPrice.setValue(this.getPrice());
      inputPrice.setSubmittedValue(this.getPrice());

setDealType(reoffer.getDealType());
    getInputDealType().setSubmittedValue(reoffer.getDealType());
    getInputDealType().setValue(reoffer.getDealType());

.......

thanks
regards

Reply via email to