Re: Wicket request processing

2015-01-11 Thread kumar ramanathan
Hi Martin, Am not using maven.But using eclipse,placed necessary jar files and run it via tomcat. Kindly tell what needs to do for this. Thanks, Kumar -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-request-processing-tp4668967p4668969.html Sent from the

Wicket request processing

2015-01-10 Thread kumar ramanathan
Hi friends ,Am trying to learn how a request is getting processed in wicket . gone through cwiki and apache wicket guide . got some idea , still exactly am not able to get the concepts like A. How our inputs are passed to server ... Like server where we have req.get parameters workingB. Where are

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: 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. --

how to handle null pointer exception while submit button

2014-06-26 Thread kumar ramanathan
Hi Friends, I have a text box and a submit button , If i pressed submit button without entering anything in textbox , am getting null pointer exception . Can you please help us on it ? Thanks, Kumar -- View this message in context:

Re: how to disable the table while it is empty in wicket

2014-06-23 Thread kumar ramanathan
Hi Martin, My Issue got resolved. I have used the empty list . Thanks, Kumar -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-disable-the-table-while-it-is-empty-in-wicket-tp4666308p4666355.html Sent from the Users forum mailing list archive at Nabble.com.

Re: how to disable the table while it is empty in wicket

2014-06-19 Thread kumar ramanathan
Martin, I understand we use the empty list.Kindly give me some example code to achieve this. Am trying this for a long time , still struggling. Please share some simple example on this. Thanks, Kumar -- View this message in context:

how to disable the table while it is empty in wicket

2014-06-18 Thread kumar ramanathan
Hi Friends, Finally i have created a program to display table with links with guidance of you all.I have the below program which displays the data in a table format.While the page loads initially an empty table will be shown , once the submit button is pressed the data is populated in the

Re: how to disable the table while it is empty in wicket

2014-06-18 Thread kumar ramanathan
Hi Martin, I have added that code in the dataview as below. dataView = new DataViewListlt;AssignmentDB(AssignmentList, new ListDataProvider(assignments)) { public void onConfigure() { *super.onConfigure();* *//am getting error here*

Re: Dataview help

2014-06-13 Thread kumar ramanathan
Hi Martin,I have used the link code as you have suggested as below and getting the error at setBody(Model.of(person.getId()))* The method setBody(Model) is undefined for the type new Link(){} *.Code used:repeatingView.add(new Link(repeatingView.newChildId()) { public void onClick() {

Link in repeaters

2014-06-10 Thread kumar ramanathan
Hi Friends , I have successfully generated the view using repeaters using the following code. HTML: body NameId /body HelloWorld.java public HelloWorld(){ ListPersons list = new ArrayListPersons(); list.add(new Persons(sam,one));

Re: Dataview help

2014-06-09 Thread kumar ramanathan
Guide at: http://wicket.apache.org/guide/guide/single.html#repeaters Let us know if you have a more specific question. On Fri, Jun 6, 2014 at 9:29 AM, kumar ramanathan kumarramana...@gmail.com wrote: Hi Friends, I am new beginner of wicket and trying to implement the table as below using

Dataview help

2014-06-06 Thread kumar ramanathan
Hi Friends, I am new beginner of wicket and trying to implement the table as below using data view. name id sam 21(link) ram 16(link) once i click the id it show the sam/ram details in next page. I have tried many ways to implement it using simple data view , but not able to do.

Re: Errors in data view , req for help to fix the error in code

2014-05-29 Thread kumar ramanathan
); } }; add(dataView); } }; // add(form); } * the error am getting is unable to find wicket Id : row * Thanks, Kumar Ramanathan -- View

Re: Errors in data view , req for help to fix the error in code

2014-05-28 Thread kumar ramanathan
Martin, I tried in the same way as before , again wicket id not referred error comes.Please help me to correct my code below. public class DemoHomePage extends WebPage { public ListDataProviderDemoBean listDataProvider; ListDemoBean list = new ArrayList();

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread kumar ramanathan
Thanks, The serializable error resolved once it has been implemented. I have the error in the below add component still(which is in bold font).Please help me on this. repeatingView*.add(n*ew Label(repeatingView.newChildId(), bean.getId())); repeatingView.add(new

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread kumar ramanathan
a. The method add(Component...) in the type MarkupContainer is not applicable for the arguments (Label) b. The constructor Label(String, String) is undefined these are the two errors.please help. -- View this message in context:

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread kumar ramanathan
Thanks Martin.I did not import the label . Now that issue resolved. Now am facing issue in the run time. DemoHomePage.java package com.demo.pages; import java.util.ArrayList; import java.util.List; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.form.*;

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread kumar ramanathan
Yes Martin,I Understand the problem is the row (wicket:id) is not properly referred in the java. but I have referred inside the submit method in dataview component . The data view scope is not accessible. It throwed the error. While using inside submit method , how we could make the scope

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread kumar ramanathan
Apologize Martin.Please tell how to fix my problem. Code snap is below for your reference,kindly help on what needs to modified in that. public DemoHomePage () { Form form=new Form(homePageForm){ public void submit(){ ListDemoBean list = new ArrayList();

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread kumar ramanathan
Martin,I have tried to put the data view code out side the submit method ,it throwed the below error.java.lang.IllegalArgumentException: argument [dataProvider] cannot be null at org.apache.wicket.markup.repeater.data.DataViewBase.(DataViewBase.java:59) at

Errors in data view , req for help to fix the error in code

2014-05-26 Thread kumar ramanathan
Hi Friends , Am trying to execute a wicket program to accomplish the below task, a. a submit button is in place in a form b. when I click that i have to show the ouput in data view of the same page My codes are below and need your help to fix the erros and get the ouput *Demoapplication.java*

Re: Hard time with repeaters

2014-05-25 Thread kumar ramanathan
Thanks Lucio. I have tried the example repeaters in wicket library site. In that if we try to open a source code for simple data view , many classes and files are coming , i am not able to try it in my desktop. Can you please tell how we can do it. Also am in need of examples which explains the

Hard time with repeaters

2014-05-24 Thread kumar ramanathan
how the flow works. Also I would like to know where to get the complete codes of examples discussed in the above books to practically try it in home. Please any one help me on the above requirement and also advice the how we can understand the wicket concepts easily. Thanks, Kumar Ramanathan

Issue while running wicket from tomcat

2014-04-20 Thread kumar ramanathan
/HelloWorld/ the system says 404 error. I need your help how to run our application from tomcat . Please help to run my first wicket application. Thanks, Kumar Ramanathan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Issue-while-running-wicket-from-tomcat-tp4665469.html