Re: how to handle null pointer exception while submit button

2014-06-27 Thread Mihir Chhaya
Can you share your code snippet? Which type of model are you using? On Fri, Jun 27, 2014 at 1:17 AM, Sven Meier s...@meiers.net wrote: #setConvertEmptyInputStringToNull(false) could help, but with a stacktrace we can give you a better advice. Sven On 06/27/2014 06:33 AM, kumar ramanathan

Re: how to handle null pointer exception while submit button

2014-06-27 Thread kumar ramanathan
PropertyModel memberIdModel=new PropertyModel(this,memberNumber); PropertyModel lossIdModel=new PropertyModel(this,lossNumber); TextField memberIdField = new TextField(memberId,memberIdModel); TextField lossIdField = new TextField(lossId,lossIdModel); Form

Re: Custom Pagination

2014-06-27 Thread K
Hey sven thanks for the reply i have resolve the issue now i have been trying to trying to implement something like (textbox) of (totalnumberofpages) any suggestions on this - K -- View this message in context:

Re: Pagination in wicket

2014-06-27 Thread K
Hey there i have been trying to trying to implement something like (textbox) of (totalnumberofpages) any suggestions on this Thanks in advance... - K -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Pagination-in-wicket-tp1878842p4666398.html Sent

Re: Pagination in wicket

2014-06-27 Thread Jesse Long
Hi K, I use this: div class=btn-group a wicket:id=firstPageLink class=btn btn-defaultspan class=glyphicon glyphicon-fast-backward/span/a a wicket:id=previousPageLink class=btn btn-defaultspan

Re: Pagination in wicket

2014-06-27 Thread Jesse Long
Oh, yes and... response.render(new OnDomReadyHeaderItem($('# + pageNumberTextFieldId + ').keydown(function(event){if (event.which == 13){event.preventDefault();$(this).blur();}});)); response.render(new OnDomReadyHeaderItem($('# + pageNumberTextFieldId +

[ANNOUNCE] Wicket Bootstrap 0.9.4 is released

2014-06-27 Thread Martin Grigorov
Hi, Wicket Bootstrap 0.9.4 has been released and soon will be available at Maven Central. The Git short log is: Martin Tzvetanov Grigorov (35): [maven-release-plugin] prepare for next development iteration Use 0.3.5 of the parent pom. Inherit the release plugin config.

Re: how to handle null pointer exception while submit button

2014-06-27 Thread Mihir Chhaya
Kumar, I ran following (copied from your code) and it is showing me the value for memberNumber. No NPE. Since you have String as memberID, I have assigned String type to the models and property variable. PropertyModelString memberIdModel=new PropertyModelString(this,memberNumber);

Re: how to handle null pointer exception while submit button

2014-06-27 Thread kumar ramanathan
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

HTML headings

2014-06-27 Thread kumar ramanathan
Hi Friends , Am using the dataview to show my output in table format dep upon by input search.For the headings am using the below HTML codes. If we have output for the inputs i like to display the headings else i want to hide the headings.how can we achieve this. Kindly share your thoughts. --