This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
i am using ibm portal. we are using jsf pages in portlet. when i load my page i am disbling one of the input text on the page. this i m handling in the constructor. there is a edit button on the page , when i click on the button the field gets enabled. now when i change something in the input text box and do a submit the new value is not sent in the request and rather the old value only goes. also i am disabling the box after clicking on save. here the old value is seen again. please help me as to how i should retain the same value and send in the request.
attaching jsp the code below: please check the id id="inputTxtAnticiptdEndDate" and id="txtComments"
even I faced the same problem with inputtext disabled property.
to overcome this problem I duplicated the variables in the jspx file -- one which is visible are disabled and to have mapping with the backingbean same variable duplicated but hidden in the code, so even the inputtext is disabled the hidden variable will have mapping with the backingbean.
I dont know whether the logic I used is correct or not, please let me know if any one has an alternative for this.