Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

a deathful bug of JSF EA4 !!through test strictly!!

843842Jun 19 2003 — edited Sep 8 2003
bug -- about Input components ( like Input_text ) , test course : I put a input_text in form1,if erase all the contents of the input_text then submit the form,and value of the input_text is not updated to model.....
you can have a test in cardemo app included with JavaServer Faces,u can
modify thanks.jsp to have a test as following :
....
<h:output_text key="thanksLabel" bundle="carDemoBundle" />
<h:output_text modelReference="CustomerBean.city" />
....
first time ,if i submit customer.jsp with city value "new york",and thanks.jsp display "..new york",and back to customer.jsp and erase all the contents of city input_text ,and submit,you can find thanks.jsp display "..new york" yet!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2003
Added on Jun 19 2003
11 comments
121 views