Hi! I am working with Jboss, myfaces and hibernate. I have a weird new problem. It seemed to work earlier and I can't find the problem.
Scenario: You want to create new endpoint. Enter the page. Some fields are disabled. Works fine. You change selectOneMenu value and fields get enabled. Works fine. You write text to inputText fields. Everything seems working and you press save button.
Problem: All inputText values are not saved to database. Those not disabled are saved. Changed selectOneMenu value is saved correctly.
I have been fighting with this for sometime and am hoping some help.
example of code.
posted 9 years ago
I'v figured it out. Fields were disabled when save button was pressed because jsf called disabled functions again before it saved the new values. Had to modifide code quite a lot before could work around it.