Re: Persistence.

2012-05-08 Thread James Carman
You should take a look at some of the RAD tools for persistence with Wicket. I wrote a library called Wicketopia that can probably help you get started. On Tue, May 8, 2012 at 4:35 PM, JASON HOLT wrote: > > > > > I'll repeat my plea for patience as I'm new to Java and Wicket, but have some > mi

Re: Persistence.

2012-05-08 Thread Richard W. Adams
Gosh, you can use Hibernate if you want, but I write plain DAO classes with JDBC & Wicket & they work just fine. No fuss, no muss. Just my take on it, though. I know there are some that like Hibernate. But try as I might, I've never been able to justify yet another third party library for my ne

Persistence.

2012-05-08 Thread JASON HOLT
I'll repeat my plea for patience as I'm new to Java and Wicket, but have some minimal experience with ASP.net forms (not MVC). I've reached that point in the learning process where I want to interact with a database and I wish to use entities and Hibernate to make it easier. From what I've s

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread Martin Grigorov
See DownloadLink and ResourceLink Wicket components On Tue, May 8, 2012 at 3:33 PM, khanshan wrote: > Mr Grigorov, > > I would like to ask one last thing. > I handled generating excell workbook, and laoding all mass of data to excell > file, > > Ijust need helf about posting back that excell file

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
Mr Grigorov, I would like to ask one last thing. I handled generating excell workbook, and laoding all mass of data to excell file, Ijust need helf about posting back that excell file via onclick method. I have excell file as, HSSFWorkbook hwb=new HSSFWorkbook(); and I need to bind that excell

Re: Wicket Examples

2012-05-08 Thread Korbinian Bachl - privat
Hi, some hints: Make sure the jvm the server is running in is started with (I assume JRE 1.6 -> 1.6.0_32): -server -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled Also make sure permGen is specified big enough, e.g: -XX:MaxPermSize=384m Also, I wouldn't

Re: Wicket Examples

2012-05-08 Thread Martin Grigorov
I'm not very acquaint with these details. Maybe Juergen can shed some light. I know that there is some automatic restart of the Tomcat process because I saw few times that Tomcat 6 instance is stopped and Tomcat 5 is started instead (by some cron job maybe) and that's the reason Wicket 6.x example

Re: Wicket Examples

2012-05-08 Thread Johan Compagner
Permspace is tricky Do we have a nice management console on that server? Because it looks like to little class/perm space mem us configured or we leak classes when un deploying On May 8, 2012 11:59 AM, "Martin Grigorov" wrote: > I can see it now ... > Maybe it is because I uploaded the examples

Re: Wicket Examples

2012-05-08 Thread Martin Grigorov
I can see it now ... Maybe it is because I uploaded the examples for 6.x, 1.5.x, 1.4.x, inmethod-grid and Brix at it. I'm not sure how much this machine can handle ... I'll undeploy Brix and some old wicket-contrib examples. On Tue, May 8, 2012 at 12:43 PM, Fergal Keating wrote: > I got a PermGen

Re: Wicket Examples

2012-05-08 Thread Fergal Keating
I got a PermGen space error on that URL. javax.servlet.ServletException: Filter execution threw an exception *root cause* java.lang.OutOfMemoryError: PermGen space On 8 May 2012 08:31, Martin Grigorov wrote: > > http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.a

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
?? Any idea? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4616938.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread Martin Grigorov
On Tue, May 8, 2012 at 11:46 AM, khanshan wrote: > I aggree that, > loading to page after optimum number of records stucks page, > I dont have problem with less than 5000 records listviews, > > So there should be a way to export all massive number of records via excell > file, > By exporting with

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
I aggree that, loading to page after optimum number of records stucks page, I dont have problem with less than 5000 records listviews, So there should be a way to export all massive number of records via excell file, By exporting with excell, I dont need to load page, Do you think I can use a tri

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread Martin Grigorov
Hi, Printing that many items is a bad idea. This will be a very big page and the browser may become unresponsive. If you still need to print them all then better create your own component which generates the HTML by concatenating strings. See how DropDownChoice does this for its s. On Tue, May 8,

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
Hi Martin, First of all thanks for your reply, Actually my main problem is listing all 90.000 records on webpage, loading aListview from resultset takes so long time, and it stucks while webpage is adding component to itself. I wanted to avioid adding listwiew object if number of records are big

Re: WicketStuff HTML validator 1.5-rc3 released

2012-05-08 Thread Martijn Dashorst
Probably coming friday. Martijn On Tue, May 8, 2012 at 7:56 AM, northar wrote: > Any updates coming to this component soon, as it don't seem to be in the repo > at https://github.com/wicketstuff? > > Are there any other good alternatives to this component for validating on > the fly in wicket? >

Re: Append wicketAjaxget() after some javascripts

2012-05-08 Thread Martin Grigorov
Hi, You can use IAjaxCallDecorator that prepends this JS code for all Ajax behaviors you need. On Mon, May 7, 2012 at 9:42 PM, jiayang wrote: > Hi, I want to clear the focused text fields by using java script instead of > through wicket. Thus, I want the onfocus="this.value=' '; var > wcall=wick

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread Martin Grigorov
Hi, TableComponentAsXlsHandler helps to save a Wicket Repeater component to Excel (.xls). Do you print 90.000 records in the web page and then try to save them in .xls ? You better print the records with paging and add a button "Print all" which uses Apache POI directly to create the .xls from you

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
Let me give an example, I have a resultset with 90.000 records, after onclick. it stucks on page and doesnt post excel file. I know it stucks on loading from listview to excell file, but there must be a better to way fasten it. -- View this message in context: http://apache-wicket.1842946.n4.na

Re: Wicket Examples

2012-05-08 Thread Martin Grigorov
http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage works OK for me On Tue, May 8, 2012 at 12:43 AM, Corbin, James wrote: > The wicket examples (www.wicket-library.com/wicket-examples/) seems to be > having issues. > > I select