Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread chathuraka.waas
Hi François, Thanks for the quick reply. I'm fairly new to wicket and didnt understood what you meant clearly. . But i'm not calling this getPageCount() method from my backend. and also the error comes in class definition. -- View this message in context:

Re: Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-23 Thread Martin Grigorov
Hi, On Thu, Jan 23, 2014 at 6:42 AM, jchappelle jchappe...@4redi.com wrote: Martin, I noticed in one of your posts you point out the difference between session expiration and page expiration. I have been thinking they are the same thing when they are obviously not. I'm looking to redirect

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread Martin Grigorov
Hi, In your DataTable impl change the signature of #getPageCount() from int to long. Martin Grigorov Wicket Training and Consulting On Thu, Jan 23, 2014 at 10:20 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: Hi François, Thanks for the quick reply. I'm fairly new to wicket and

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread chathuraka.waas
Hi, i'm working on a code which was not written by me. It seems my classes extending the Datatable class doesnt implement the getPageCount() method. But when i try to override the method netbeans shows me a signature with a int return type on the suggession list. Not sure what's causing this.

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread Martin Grigorov
Right. The method is final - https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/DataTable.java?source=c#L303 Show us the error please. Martin Grigorov Wicket Training and Consulting On Thu, Jan 23, 2014 at

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread chathuraka.waas
Hi, the compile time error netbeans gives me is getPageCount() in DataTable cannot implement getPageCount() in Ipageable return type long is not compatible with int this is my class definition. class MyTable extends DataTableFanData,Object { } im not at the liberty to post the whole code

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread Martin Grigorov
Check that wicket-extensions dependency is also 6.x. Martin Grigorov Wicket Training and Consulting On Thu, Jan 23, 2014 at 11:01 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: Hi, the compile time error netbeans gives me is getPageCount() in DataTable cannot implement

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread chathuraka.waas
Hi, yes wicket-extentions is also 6.13.0 dependency groupIdorg.apache.wicket/groupId artifactIdwicket-extensions/artifactId version6.13.0/version /dependency thanks. -- View this message in context:

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-23 Thread chathuraka.waas
Hi, it seems that i was able to fix the issue. there was a old version of wicket included because of another dependency. excluding that dependency did the trick. Thanks a lot for your help guys. Best Regards, -- View this message in context:

Wicket 6 - JavaScriptHeaderItem renders too early

2014-01-23 Thread Entropy
Hello, I am just converted to Wicket 6, and I have a line like this in one component: response.render(JavaScriptHeaderItem.forScript(writeGridJS(), getId() + _js)); That writes some custom javascript which in turn run when Ext.onReady() is ready. However, this script generated so early that

Re: Wicket 6 - JavaScriptHeaderItem renders too early

2014-01-23 Thread Martin Grigorov
Hi, Read http://wicketinaction.com/2012/07/wicket-6-resource-management/ Martin Grigorov Wicket Training and Consulting On Thu, Jan 23, 2014 at 4:24 PM, Entropy blmulholl...@gmail.com wrote: Hello, I am just converted to Wicket 6, and I have a line like this in one component:

Re: tinymce textarea in a modal window not letting to type

2014-01-23 Thread fachhoch
I created a quick start project, first time tinymce editor shows up fine, second time cannot type into editor. myproject.zip http://apache-wicket.1842946.n4.nabble.com/file/n4663912/myproject.zip Please advice. should I create a bug report for this. -- View this message in context:

Re: Wicket 6 - JavaScriptHeaderItem renders too early

2014-01-23 Thread Entropy
Browser giving me a little trouble. Apologies if I double-submitted this. My respoonse: I didn't even know such a website existed. Thanks. I am trying to implement the HeaderResponseContainer and filter suggestion. In my component I added the container: add(new

Re: Wicket-bootstrap Bootstrap 3 support

2014-01-23 Thread Michael Haitz
wicket-bootstrap with bootstrap3 support was released yesterday. https://github.com/l0rdn1kk0n/wicket-bootstrap/releases Am 01.10.2013 um 10:14 schrieb Michael Haitz michael.ha...@1und1.de: hi, i've fixed wicket-webjars and pushed a new version (0.3.0) to maven central.

Re: [SPAM] wicket-bootstrap and another webjars components

2014-01-23 Thread Michael Haitz
the fix was merged to master and released with wicket-webjars 0.3.4 https://github.com/l0rdn1kk0n/wicket-webjars/releases/tag/wicket-webjars-parent-0.3.4 Am 25.11.2013 um 10:35 schrieb Martin Grigorov mgrigo...@apache.org: Hi, I've proposed a fix in wicket-webjars project (Pull Request