java - ADF set null value to input field -


i trying set value binding correspond af:inputtext. after validation phase pop message showing text:
error
input string:""

here tr .jspx sample:

...  <af:commandbutton text="Запрос" id="cb1"                                 actionlistener="#{taskservicebean.requestarticle}"/> ...  <af:inputtext value="#{bindings.periodexpireinit.inputvalue}"                                 label="new perion:"                                 required="false"                                 columns="#{bindings.periodexpireinit.hints.displaywidth}"                                 maximumlength="#{bindings.periodexpireinit.hints.precision}"                                 shortdesc="#{bindings.periodexpireinit.hints.tooltip}"                                 id="it2"                                 partialtriggers="cb1">  </af:inputtext> ... 

backing bean sample (taskservicebean):

public void requestarticle(actionevent actionevent) {    initfeald();    clearall();    .... } private void clearall() {    artperiodexpireinitbinding = (attributebinding) bindings.getcontrolbinding(propertyholder.bpm_art_period_expire_init_binding);    artperiodexpireinitbinding.setinputvalue(null); } 

periodexpireinit int variable in bpm process passed in adf form through humman task/


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -