I want to know how to input date into database using form. I am using
Timestamp in mysql.
The Wicket-related psrt of that question is that you use a TextFieldDate with
a model, and you then get the model object value in onSubmit() and use normal
SQL to insert or update.
- Tor Iver
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
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:
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
Hi,
what exactly is your problem? What problems are you having so far?
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.
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
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
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
http://www.wicket-library.com/wicket-examples/dates/
On Mon, Mar 26, 2012 at 9:55 AM, SudeepShakya shakyasud...@live.com wrote:
I have viewed some of the examples but not appropriate one. Can u give some
hint
--
View this message in context:
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
Thank you all guys!
I just do it with Map.
Especially thanks to Leo.Erlandsson!
2010/2/15 leo.erlands...@tyringe.com:
Should be no different when using JDBC than using it when using Domain
Objects.
Check out Wicket Phonebook Example that uses FilterToolbar:
http://wicketstuff.org
Hej,
2010/2/11 Giambalvo, Christian christian.giamba...@excelsisnet.com:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
Unrelated to the original posters question, but: The sort method used
in this sample does not work correctly. It gets a sublist and sorts
the sublist
Hej,
2010/2/16 Hauke Ingmar Schmidt haukeing...@gmail.com:
2010/2/11 Giambalvo, Christian christian.giamba...@excelsisnet.com:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
Unrelated to the original posters question, but: The sort method used
in this sample does not
and I'll provide
sample code) using MetaData (this is how we do it in our JSP pages today).
Or you could write / find a software that does the mapping from JDBC
ResultSet to Domain Objects... But why not use an ORM such as Hibernate /
Cayenne / iBatis then.. ?
wrote:
Thank you.
I already do simple things with hibernate and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table for two joined tables, for
example?
2010/2/11 James Carman jcar
, 2010 at 10:50 AM, Ivan Dudko ivan.du...@gmail.com
wrote:
Thank you.
I already do simple things with hibernate and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table for two joined tables
:50 AM, Ivan Dudko ivan.du...@gmail.com
wrote:
Thank you.
I already do simple things with hibernate and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table for two joined tables
If you want to use a Map and display it in a Datatable there's no
difference from using an Object in Wicket.
You access the key/values using PropertyColumn as usual (i.e. you don't
really need to make any changes to your code). For Objects you use e. g.
name for the getName() method. When
Thank you!
I just discovered this sample:
http://www.brettdutton.com/blog/?p=4
What i can do.. if i want to use FilterToolbar with DataTable?
2010/2/15 leo.erlands...@tyringe.com:
If you want to use a Map and display it in a Datatable there's no
difference from using an Object in Wicket.
of some sort?
On Thu, Feb 11, 2010 at 10:50 AM, Ivan Dudko ivan.du...@gmail.com wrote:
Thank you.
I already do simple things with hibernate and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table
Should be no different when using JDBC than using it when using Domain
Objects.
Check out Wicket Phonebook Example that uses FilterToolbar:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook
Source Code Example:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff
, 2010 at 10:50 AM, Ivan Dudko ivan.du...@gmail.com wrote:
Thank you.
I already do simple things with hibernate and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table for two joined tables
AM, Ivan Dudko ivan.du...@gmail.com wrote:
Thank you.
I already do simple things with hibernate and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table for two joined tables, for
example?
2010/2
Hello!
I can't understand how to populate data from a resultset object into datatable.
Anyone have an example?
Thank you!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
You need to create a provider for your data. Look at what the
constructor takes and then implement the interface.
On Thu, Feb 11, 2010 at 8:26 AM, Ivan Dudko ivan.du...@gmail.com wrote:
Hello!
I can't understand how to populate data from a resultset object into
datatable.
Anyone have an
I already have method that return my data from db as arraylist. And i
use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James Carman jcar...@carmanconsulting.com:
You need to create a provider for your data. Â Look at what the
constructor
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
-Ursprüngliche Nachricht-
Von: Ivan Dudko [mailto:ivan.du...@gmail.com]
Gesendet: Donnerstag, 11. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db
Yeah, but this doesn't give them an example of how to get the results
out of a JDBC result set. This is based on a static, in-memory list
of Contact objects. What I would recommend is to look at a
Hibernate-based example and come up with the JDBC analog. Here's an
example from my Advanced
Thank you.
I already do simple things with hibernate and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table for two joined tables, for example?
2010/2/11 James Carman jcar...@carmanconsulting.com
and spring ioc.
Now i want to use plain old jdbc.
I already get the datatable wich works with one pojo (table).
Now i am in trouble.. how i can get table for two joined tables, for example?
2010/2/11 James Carman jcar...@carmanconsulting.com:
Yeah, but this doesn't give them an example of how to get
Thank you! I have just implement it! I am using c3p0 and SQL DAO
without Spring or any Persistent framework.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
Hello, guys!
I am still could not implement wicket application without any
persistence framework and also spring-jdbc.
I want to use only connection pooling with dbcp or c3p0.
May you provide example for this kind of app.
Thank you for answer
Are you saying you don't want to use Spring at all? But, you do want
to use DBCP or C3P0?
On Thu, Nov 19, 2009 at 7:46 AM, Ivan Dudko ivan.du...@gmail.com wrote:
Hello, guys!
I am still could not implement wicket application without any
persistence framework and also spring-jdbc.
I want
...@carmanconsulting.comwrote:
Are you saying you don't want to use Spring at all? But, you do want
to use DBCP or C3P0?
On Thu, Nov 19, 2009 at 7:46 AM, Ivan Dudko ivan.du...@gmail.com wrote:
Hello, guys!
I am still could not implement wicket application without any
persistence framework and also spring-jdbc
problems if you aren't careful.
-Original Message-
From: Clint Checketts [mailto:checke...@gmail.com]
Sent: Thursday, November 19, 2009 8:35 AM
To: users@wicket.apache.org
Subject: Re: wicket + jdbc template app
My Wicket app I maintain only uses the JdbcTemplate class from Spring.
We
don't
ResultSets also have matching resources on your database server, so you
can introduce scalability problems if you aren't careful.
And this is why we use something like Spring's JDBC support to manage
all of that for us (they've already thought of this stuff).
-Original Message-
From
thank you guys!
Hello, guys!
I want to use wicket with plain jdbc without any persistence framework.
Where i can find template application for this type of data source?
Thank you for answer!
Do you want to use spring
On Nov 1, 2009 10:12 AM, Ivan Dudko ivan.du...@gmail.com wrote:
Hello, guys!
I want to use wicket with plain jdbc without any persistence framework.
Where i can find template application for this type of data source?
Thank you for answer!
Just set up your connection in your Application subclass and provide a
method to get it from wherever you need it. Use connection pooling.
Daniel
idudko wrote:
Hello, guys!
I want to use wicket with plain jdbc without any persistence framework.
Where i can find template application
Application subclass and provide a
method to get it from wherever you need it. Use connection pooling.
Daniel
idudko wrote:
Hello, guys!
I want to use wicket with plain jdbc without any persistence framework.
Where i can find template application for this type of data source?
Thank you
I'll check them
Thanks Eric,
On Wed, Sep 23, 2009 at 8:08 PM, Erik Post eriksen...@gmail.com wrote:
Well, besides iolite, you could take a look at wicket-phonebook and
wicketopia. They're not JDBC but they both come with Spring
preconfigured. The phonebook has a couple of example DAO's
them
Thanks Eric,
On Wed, Sep 23, 2009 at 8:08 PM, Erik Post eriksen...@gmail.com wrote:
Well, besides iolite, you could take a look at wicket-phonebook and
wicketopia. They're not JDBC but they both come with Spring
preconfigured. The phonebook has a couple of example DAO's and iBatis
-phonebook and
wicketopia. They're not JDBC but they both come with Spring
preconfigured. The phonebook has a couple of example DAO's and iBatis
(among others) set up. You could take those as a starting point and
'add' JDBC.
Cheers,
Erik
On Wed, Sep 23, 2009 at 11:33 PM
Hi Guys,
I'm new to Wicket with Spring(I never used Spring before, just Seam). I'm
using lolite but it comes with JPA instead of JDBC.
I would like to know if there is some archetype for the setup that I
described in the title. I already checked wicket stuff if no luck.
Thanks in advance
Well, besides iolite, you could take a look at wicket-phonebook and
wicketopia. They're not JDBC but they both come with Spring
preconfigured. The phonebook has a couple of example DAO's and iBatis
(among others) set up. You could take those as a starting point and
'add' JDBC.
Cheers,
Erik
Hi,
I am new to Wicket and I don't wish to use hibernate as persistence
framework. I am trying to do CRUD operations through JDBC connection to a
mysql database.
I have added mysql dependency in my project's pom.xml file
dependency
groupIdmysql/groupId
What driver did you specify?
On Fri, Feb 29, 2008 at 1:17 PM, wicketUser [EMAIL PROTECTED] wrote:
Hi,
I am new to Wicket and I don't wish to use hibernate as persistence
framework. I am trying to do CRUD operations through JDBC connection to a
mysql database.
I have added mysql
you need to have which ever driver you specified on classpath..
wicketUser wrote:
Hi,
I am new to Wicket and I don't wish to use hibernate as persistence
framework. I am trying to do CRUD operations through JDBC connection to a
mysql database.
I have added mysql dependency in my project's
to have which ever driver you specified on classpath..
wicketUser wrote:
Hi,
I am new to Wicket and I don't wish to use hibernate as persistence
framework. I am trying to do CRUD operations through JDBC connection to a
mysql database.
I have added mysql dependency in my
50 matches
Mail list logo