JSF Ajax Response populating input fields for form submit -


i'm parsing data in java file i'm passing parameters through ajax method , parses data , returns them in object - in model bean. can display value in jsf 2

<h2><h:outputtext id="output1" value="#{model.method.price}" /></h2> 

this works.

ok want output of these values inside correspondent inputtext fields. i'd edit them , submit them form... tricky. outputting text done value , inputing it.

for form "value" used - output in ajax response. do?

i want :

<h:outputlabel value="evaluate if price ok:" /> <h:inputtext value="#{model.method.price}" value_submit="#{evaluate.price}" /> <br/>  <p><h:commandbutton value="vnos" action="evaluate.submit"/></p> 

thank you!


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -