Two wikcet id in one tag
Is it possible to specify two wicket ids in one place. for example: tr wicket:id=vote,contestant I have created two propertylistview and i want to display both list in same table. Is it possible ?? I am just asking. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Two-wikcet-id-in-one-tag-tp4534128p4534128.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
Re: Two wikcet id in one tag
Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Two-wikcet-id-in-one-tag-tp4534128p4534135.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
Re: Inserting String/Date problem .
I have solved the problem but I want to ask question about DatePicker. DatePicker sets date in the format mm/dd/yy or may be dd/mm/yy but mySql's format is -mm-dd. How can i change the format how the DAtePicker sets the date ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inserting-String-Date-problem-tp4534005p4534359.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
About http get/post and request/response
I don't know servlet but i have to implement an operation which I think a servlet have done. The operation is that client sends keywords(which I have to save to database)(not through form) and by checking the keywords, I have to store it in database(valid or not valid) and send a response again through database(for valid only and for invalid a default message can be sent). If the requests(keywords) are valid it should be stored to two tables if not then only to one table. And send appropriate responses depending upon the contents client sent. I don't have idea to do it. But it must be done. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/About-http-get-post-and-request-response-tp4534379p4534379.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
Re: About http get/post and request/response
thanx -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/About-http-get-post-and-request-response-tp4534379p4534436.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
Re: Debugging error
I have attached the files. http://apache-wicket.1842946.n4.nabble.com/file/n4531058/Votes.java Votes.java http://apache-wicket.1842946.n4.nabble.com/file/n4531058/VoteEditForm.java VoteEditForm.java http://apache-wicket.1842946.n4.nabble.com/file/n4531058/VoteCollection.java VoteCollection.java http://apache-wicket.1842946.n4.nabble.com/file/n4531058/VoteCollectionJDBC.java VoteCollectionJDBC.java/nabblelt;nabble_a href=quot;VoteDisplayPage.javaquot;VoteDisplayPage.java _a -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Debugging-error-tp4530892p4531058.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
Re: Debugging error
Hello guys don't fight each other. What's the conclusion ?? I am using wicket 1.5.3 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Debugging-error-tp4530892p4531245.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
RE: Debugging error
Ok, very well. U said that there is null in the constructor, what's that, I don't understand. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Debugging-error-tp4530892p4531271.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
Inserting String/Date problem .
I have two textboxes which take dates using datepicker(I have set Date.class in the Textbox also) and a dropdown choice which takes 'telecom' and I have getters and setters for all of them. I have set all of them as String. And the query and code for doing the operation for selecting the data is below : String query = SELECT * FROM tbl_vote INNER JOIN tbl_contestant WHERE ( ( (tbl_vote.tokenID = tbl_contestant.tokenID) AND tbl_vote.telecom = ?) AND (date_time = ? AND date_time = ?)); PreparedStatement statement = this.db.prepareStatement(query); statement.setString(1, aVote.getTelecom()); statement.setString(2,aVote.getDate1()); statement.setString(3, aVote.getDate2()); The datepicker sets the date in format 4/5/12 (dd/mm/yy) but I know that mySql use the format -mm-dd. So when i enter the dates and the other field, the data is not retrieved. So how to set date to the database ? I have set Date field as 'datetime' in database. Is there some wrong logic in my code/query ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inserting-String-Date-problem-tp4534005p4534005.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
Re: Inserting String/Date problem .
Hello, is there anyone ?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inserting-String-Date-problem-tp4534005p4534020.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
Debugging error
What may be the cause for this error : WicketMessage: Attempted to set property value on a null object. Property expression: date1 Value: Tue Apr 17 00:00:00 NPT 2012 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Debugging-error-tp4530892p4530892.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
Re: Debugging error
I used CompoundPropertyModel in form. Sir I am creating a form which takes inputs from the user and compares the values to the database and displays the required data from database. For this, I have created a class(containing only getters and setters) , a class for form, and a class for displaying the required data. So i am confused how to implement it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Debugging-error-tp4530892p4530973.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
NumberValidator.MinimumValidator
I am reading Enjoying Web Programming with wicket(1st edition). And I found out that there is no such thing in wicket 1.5.x. So how to implement these type of function in wicket 1.5.x ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NumberValidator-MinimumValidator-tp4525647p4525647.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
Re: NumberValidator.MinimumValidator
Thanx !! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NumberValidator-MinimumValidator-tp4525647p4525707.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
RE: Repalcement of servlets in wicket.
Refer me a book for the latest version of wicket i will be using wicket 1.5.3 in netbeans.(latest netbeans wicket plugin.) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Repalcement-of-servlets-in-wicket-tp4514480p4518146.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
Accessing .properties file
I am using netbeans for maven project(with added wicket framework) and i want to access something.properties from a java class. Tried to modify pom.xml but not worked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Accessing-properties-file-tp4518748p4518748.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
RE: Accessing .properties file
Yes i had put it in the required folder but i think i didn't write the right code in pom.xml. Coiuld u please give me a sample of the code for the pom.xml for accessing .properties file Thanks for reply. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Accessing-properties-file-tp4518748p4518770.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
RE: Accessing .properties file
I mean that if sample.properties is the required file, then how to define in the pom.xml The sample.properties file is in the folder src/java. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Accessing-properties-file-tp4518748p4518872.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
Re: Repalcement of servlets in wicket.
I am using version 1.4.10 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Repalcement-of-servlets-in-wicket-tp4514480p4514980.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
Repalcement of servlets in wicket.
I am trying to build an app which receives http request from client and save the requested data to the database and then reply(http response) the appropriate data again from the database, And it is not a form like application, (just receive the request and then response to it). I don't have previous knowledge of jsp/servlet. I have found similar tutorials for sevlet but how to implement it in wicket ? If there are good examples/tutorials, it would be very helpful. Thanks in advance. I am a beginner to wicket. And also I was reading the book 'Wicket In Action' but the code didn't work well in wicket 1.4. Is there any other books/leaning materials(productive materials) for newer version of Wicket ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Repalcement-of-servlets-in-wicket-tp4514480p4514480.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
Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc
I have used Date.valueOf(String). But submitting the form Null Pointer Exception is thrown. While submitting i have created an object of Application.java and the class with getter and setters. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-form-which-takes-date-and-a-string-as-input-and-displays-the-data-from-database-myc-tp4505124p4508800.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
Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc
I am new to wicket and also to webframeworks. i am creating an app, which has a homepage and when a link is clicked, it should display a form which takes two dates and a string as input and retrieves data from database. Thanks in advance. I tried to learn from 'wicket in action' but the example codes do not work much wicket 1.4. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-form-which-takes-date-and-a-string-as-input-and-displays-the-data-from-database-myc-tp4505124p4505124.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
Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc
I have created a form which takes two dates/time and a textbox and created a class for get/set. And, it should work as : when i insert the data, it should check the data in the database and display the filtered data as specified by the inputs . Also i have created a jdbc connection and a method for retrieving data . I don't know how to create a textbox that takes date/time as input and it will be easy to the user to input. I have created following files which I have attached. And also created html files for form input and filtered display. Thanx for response. http://apache-wicket.1842946.n4.nabble.com/file/n4505444/VoteCollection.java VoteCollection.java http://apache-wicket.1842946.n4.nabble.com/file/n4505444/VoteCollectionJDBC.java VoteCollectionJDBC.java http://apache-wicket.1842946.n4.nabble.com/file/n4505444/VoteDisplayPage.java VoteDisplayPage.java http://apache-wicket.1842946.n4.nabble.com/file/n4505444/VoteEditForm.java VoteEditForm.java http://apache-wicket.1842946.n4.nabble.com/file/n4505444/VoteEditPage.java VoteEditPage.java http://apache-wicket.1842946.n4.nabble.com/file/n4505444/Votes.java Votes.java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-form-which-takes-date-and-a-string-as-input-and-displays-the-data-from-database-myc-tp4505124p4505444.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
Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc
I have viewed some of the examples but not appropriate one. Can u give some hint -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-form-which-takes-date-and-a-string-as-input-and-displays-the-data-from-database-myc-tp4505124p4505882.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
Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc
I want to know how to input date into database using form. I am using Timestamp in mysql. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-form-which-takes-date-and-a-string-as-input-and-displays-the-data-from-database-myc-tp4505124p4507896.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
Package Not Found
I am using Wicket 1.5.3 in Netbeans 7.1.1 and I cannot find the package org.apache.wicket.markup.html.resources. Is this package depreciated ?? I found out that it was included in Wicket 1.4. I am using this package for StyleSheets (CSS). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Package-Not-Found-tp4466108p4466108.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
Re: Package Not Found
Thanks. I will find it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Package-Not-Found-tp4466108p4466358.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