Re: Spring @Autowire not working

2013-05-11 Thread ORACLEADF
Hi Nick Thank you. I create a file applicationContext.xml like the following pic and I use it in DAO and BO classes : applicationContext.xml_.png and I tested it using public static void main like the followi

Re: Spring @Autowire not working

2013-05-11 Thread ORACLEADF
Nick, you are probably right and maybe this post doesn't belong on the Wicket forum. The reason why I posted it is that @Autowired annotation works when I call it from my tests, but doesn't work when I call it from my Wicket pages. So, this is more of a "configuration" rather than a "bug" question.

Spring @Autowire not working

2013-05-11 Thread ORACLEADF
The @Autowired annotation works when I call it from my tests, but doesn't work when I call it from my Wicket pages. How can I fix this? - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-working-tp4658728.html Sent from the Users for

Re: Wicket free guide updated.

2013-04-30 Thread ORACLEADF
Thank You - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-free-guide-updated-tp4658427p4658429.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscrib

Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread ORACLEADF
Hi Christoph I also have this problems. when you solved this problem, please upload an image of your wicket page contains a data table and has the capability to export its data to a CVS file. - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DefaultDataTa

Re: wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-23 Thread ORACLEADF
What is the maven dependency for using this? - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-Jquery-JqueryUI-Ajax-modal-windows-examples-tp4658157p4658179.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: show image retrieved from database

2013-04-18 Thread ORACLEADF
Hi It was simpler than I think. Also, The following link helped me so much: http://apache-wicket.1842946.n4.nabble.com/url-for-images-from-database-td3657615.html#a3700046 I uploaded the source code and the picture of code.this may be helpful for other users: SimpleDataView.html.png

Re: show image retrieved from database

2013-04-17 Thread ORACLEADF
I found a solution for my problem but I think it causes to lose performance: Images loaded from database in byte[] format. I converted them to images and then save them to system file. You can see the code in this link : byteToImage.png

Re: show image retrieved from database

2013-04-17 Thread ORACLEADF
This article is good for showing only one image but I want to execute a SQL statement and binding the result with a grid. The grid contains two pictures in each rows .One picture for dealer and another for its supervisor. You can see a sample written with PHP in the following link: PersonnelListFro

Re: Bind ResultSet of a SQL query with wicket datatable

2013-04-16 Thread ORACLEADF
I use the following link and I think the last version is 1.5-RC5.1. http://mvnrepository.com/artifact/org.wicketstuff/inmethod-grid Now I changed its version to 1.5.7 but it couldn’t download required jar files from remote maven repository. Please help me how do this. - Regards -- View this

Re: Bind ResultSet of a SQL query with wicket datatable

2013-04-16 Thread ORACLEADF
Finally I could complete this job without error so I write my experience here. This may be helpful for other users like me. I updated wicket framework from version 1.4.21 to new version 1.5.7, also I updated wicketstuff-inmethod-grid module form version 1.4.14 to new version 1.5-RC5.1, in pom.xml.

Re: show image retrieved from database

2013-04-16 Thread ORACLEADF
Hi Martin , I am surprised with your fast response. Thank You. - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/show-image-retrieved-from-database-tp4658009p4658014.html Sent from the Users forum mailing list archive at Nabble.com. -

show image retrieved from database

2013-04-16 Thread ORACLEADF
How to show images retrieved from database on a wicket page. - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/show-image-retrieved-from-database-tp4658009.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Free Wicket guide now available!

2013-04-15 Thread ORACLEADF
Dear Andrea In chapter 11 , page 114 , in code section inside a rectangle ,please modify "row" to "rows". - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Free-Wicket-guide-now-available-tp4657407p4658004.html Sent from the Users forum mailing list archi

Re: Bind ResultSet of a SQL query with wicket datatable

2013-04-15 Thread ORACLEADF
Hi After reading the Andrea’s book (Appendix B.5) finally I could fill a grid simply with the following code, but when I want to navigate between pages at run time I got a Page Expired error. I don’t know what is wrong. final ListDataProvider listDataProvider = new ListDataProvider(personnelDTOLis

Re: Free Wicket guide now available!

2013-04-15 Thread ORACLEADF
Andrea, this is the best guide. God bless you. - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Free-Wicket-guide-now-available-tp4657407p4657981.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Bind ResultSet of a SQL query with wicket datatable

2013-04-15 Thread ORACLEADF
Hi Andrea ,Thank you. I created the following data provider, please help me how to bind this provider with a dataview. *public class PersonnelsProvider implements IDataProvider { private List personnelDTOList; private final DatabaseHandler handler; public PersonnelsProvider(DatabaseHan

Bind ResultSet of a SQL query with wicket datatable

2013-04-06 Thread ORACLEADF
How to Bind the ResultSet of a SQL query or a MSSQL stored procedure with wicket data table. The following example shows how to bind wicket combo box : * List personnelDTOList; personnelDTOList = handler.gettblPersonnel("0", "0", "1", "0"); DropDownChoice personnelCombo = ne