For example a DateField (with date picker). I know, there already is wicket-datetime. I was playing with it for some time, but then I have decided I'll be happier without joda or Yui dependencies, so I wrote mine. It's very tiny. Still lacks localization support, but that can be easily extended.
Another thing is a DataTable, DataForm, CRUDForm, FilterForm ... It works like this: first, in Application, you describe your database schema. The tables, primary keys, relations between tables, default sort order, .... You assingn a unique id to each table (a tableKey). Then, say you want to display the data of some-db-table in the DataTable - it's constructor takes a tableKey. The you override the method getRowsPerPage, a method to populate the colgroup section, the method to populate the header section, and finally the populateRow, wich populates each row. The result is a page-navigable and sortable table display. Similarily, a CRUDForm is ready for CRUD operations, and a FilterForm sets up a filter wich will filter the data displayed in DataTable(s) / CRUDForm(s) with same tableKey. 99% of my screens are done with thees 3 or 4 components. Most people use hibernate or similar ORM. I was also playing various orm libraries. Just didn't like it very much. So I wrote my own - very tiny, fery few features, but it does the job. For me, anyway. Surely this is not something an end-user can use right away. But it could be usable if one of the "wicket-guys" got into it, and discuss how to "wicketize" it. Anyway, tha would be my 2c. cheers -- View this message in context: http://www.nabble.com/Contributing-with-user-libraries-tf4084867.html#a11610683 Sent from the wicket-stuff-user mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-stuff-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-stuff-user
