Thanks for reviewing the issue.I have actually fixed my problem.I have used
setconvertemptyinputstrngtonull method.

                TextField memberIdField = new
TextField("memberId",memberIdModel);
                *memberIdField.setConvertEmptyInputStringToNull(false);*
                TextField lossIdField = new TextField("lossId",lossIdModel);
                lossIdField.setConvertEmptyInputStringToNull(false);


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-handle-null-pointer-exception-while-submit-button-tp4666392p4666404.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to