Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
Hi, Again I have problems identifying the description of the problem in your mails. it seems not working doesn't say anything. Just avoid using such statements. Better add info about what is expected and what is the actual result. Next time I will just ignore your mail. Martin Grigorov Wicket

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Ernesto Reinaldo Barreiro
Hi, I just remember at some point there were some incompatible changes on DataTable: remember having to adjust the markup of an extension to get it working again... But as Martin states, your mail is not very helpful as you don't clearly state what the problem is: class does not compile?, you

Re: Pass exception to internal error page

2014-03-14 Thread Martin Grigorov
Hi, On Fri, Mar 14, 2014 at 1:16 AM, jchappelle jchappe...@4redi.com wrote: I am using wicket 6.14.0. I have a RequestCycleListener that listens for onException. I handle PageExpiredException, UnauthorizedInstantiationException(this is custom), and by default I redirect to a custom

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
Hi Thanks for your replies. what i ment from not working was it doesnt give any compilation errors or runtime errors but simply it doesnt show the table as in the html. I tried implementing the basics of DataTable just to try out. here's my code. ListIColumnlt;TestData,String columns = new

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
Show us the markup of the panel where this table is added please. Martin Grigorov Wicket Training and Consulting On Fri, Mar 14, 2014 at 10:09 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: Hi Thanks for your replies. what i ment from not working was it doesnt give any compilation

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, this is my markup for the panel wicket:panel xmlns:wicket=http://wicket.apache.org/; div wicket:id=OffersTable/div /wicket:panel and the generated markup is this, div id=id28 class=offer-type-panel div id=id29 Name Name

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 10:30 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: hi, this is my markup for the panel wicket:panel xmlns:wicket=http://wicket.apache.org/; div wicket:id=OffersTable/div change div to table I am not sure why Wicket allows this. DataTable can check

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5534 Martin Grigorov Wicket Training and Consulting On Fri, Mar 14, 2014 at 10:33 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Fri, Mar 14, 2014 at 10:30 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: hi, this is my markup for

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
Got the basic datatable to show in the page. Thanks Martin. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Extending-the-DataTable-class-doesnt-work-tp4664952p4664961.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, i'm still trying to fix my initial issue where i have a customized DataTable class. I have a panel and inside that i have the table i'm extended from the Data Table. the code for my extended table is this. public class OfferTableT,S extends DataTableT,S { private static

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 11:42 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: hi, i'm still trying to fix my initial issue where i have a customized DataTable class. I have a panel and inside that i have the table i'm extended from the Data Table. the code for my extended table is

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, thanks for your reply. I tried making the div to a element in the panel markup. wicket:panel xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=blob_plain;f=wicket-core/src/main/resources/META-INF/wicket-1.5.xsd;hb=master;

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 12:10 PM, chathuraka.waas chathuraka.w...@gmail.com wrote: hi, thanks for your reply. I tried making the div to a element in the panel markup. wicket:panel xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=

wicket:header-items/

2014-03-14 Thread Martin Grigorov
Hi, At http://wicketinaction.com/2014/03/header-contributions-positioning/ I've added a short description of a new special wicket tag - wicket:header-items/. It will be available with Wicket 6.15.0. I hope you will find it useful! Martin Grigorov Wicket Training and Consulting

Re: wicket:header-items/

2014-03-14 Thread Maxim Solodovnik
Great! very useful tag On Fri, Mar 14, 2014 at 7:50 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, At http://wicketinaction.com/2014/03/header-contributions-positioning/I've added a short description of a new special wicket tag - wicket:header-items/. It will be available with Wicket

Re: wicket:header-items/

2014-03-14 Thread Ernesto Reinaldo Barreiro
Very nice! On Fri, Mar 14, 2014 at 1:53 PM, Maxim Solodovnik solomax...@gmail.comwrote: Great! very useful tag On Fri, Mar 14, 2014 at 7:50 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, At http://wicketinaction.com/2014/03/header-contributions-positioning/I've added a

AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Rob Audenaerde
I have a question on the AjaxSelfUpdatingTimerBehavior I have some memory issues and wondered in the behavior could cause this (on Jetty) When connected with jvisualvm I see the heap increasing each time the AjaxSelfUpdatingTimerBehavior is fired (with about 3M per request) Is that what I should

Re: AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Martin Grigorov
Hi, Definitely not! Capture some memory snapshots and see what is the difference between them. I'm not sure whether VisualVM can do that but Eclipse MAT can. Martin Grigorov Wicket Training and Consulting On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde rob.audenae...@valuecare.nl wrote: I

Re: Close Browser Behavior

2014-03-14 Thread Daniela L
Hi Martin, it is definitely a problem in my code :-)) But unfortunately I do not understand how to update the database at that stage using @SpringBean? Is that impossible? Do I have to do this outside Wicket using a HttpSessionListener? I also tryid to make my custom session implement

RE: AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Rob Audenaerde
On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde rob.audenae...@valuecare.nl wrote: I have a question on the AjaxSelfUpdatingTimerBehavior I have some memory issues and wondered in the behavior could cause this (on Jetty) When connected with jvisualvm I see the heap increasing each time the

Re: AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Martin Grigorov
It looks OK. The memory grows but after (manual) GC it is freed. Martin Grigorov Wicket Training and Consulting On Fri, Mar 14, 2014 at 3:54 PM, Rob Audenaerde rob.audenae...@valuecare.nl wrote: On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde rob.audenae...@valuecare.nl wrote: I have

Exception when trying to load resource from a properties file.

2014-03-14 Thread vdaras
Hello, I'm playing around with Wicket and I got a serious problem with .properties files. I got this HomePage.html !DOCTYPE html html head meta charset=UTF-8 titleWelcome Page/title /head body form wicket:id=userForm wicket:message key=name/:nbspinput wicket:id=name type=text/

Re: Pass exception to internal error page

2014-03-14 Thread Martin Grigorov
Hi, On Fri, Mar 14, 2014 at 4:11 PM, jchappelle jchappe...@4redi.com wrote: Hi Martin, Thanks for the quick reply. We don't currently detect duplicate issues automatically. We do get several duplicates from users because they tend to click the same bad button over and over. I'm not too

Re: Exception when trying to load resource from a properties file.

2014-03-14 Thread Martin Grigorov
Hi, On Fri, Mar 14, 2014 at 1:53 PM, vdaras vda...@gmail.com wrote: Hello, I'm playing around with Wicket and I got a serious problem with .properties files. I got this HomePage.html !DOCTYPE html html head meta charset=UTF-8 titleWelcome Page/title /head body form

Re: Wicket with X-editable

2014-03-14 Thread Jered Myers
Thanks for your response. I agree, it looks like it would be easy to implement. I will likely have to fork X-editable and add custom code for my needs (not just Wicket integration), so I am curious if anybody has actually used this and run into problems. On 03/10/2014 10:21 PM, Ernesto

Link to Wicket page from Javascript

2014-03-14 Thread Bruce Lombardi
Hi, An earlier question I asked about session timeouts was answered by Martin Grigorov. I am implementing his suggestion and have a JQuery script what sets a timer that times out after a certain period of inactivity. The timeout triggers a function call. Currently, for a quick test, I have

Re: Link to Wicket page from Javascript

2014-03-14 Thread Ernesto Reinaldo Barreiro
Hi, I would implement this as.. 1- A JS function that counts how much time has passed since last AJAX request. Once a certain threshold is passed an AJAX request is sent to the page. 2- An AbstractAjaxBehavior that is added to the page. I would use it as context for AJAX request on 1). 3- On the

RE: Link to Wicket page from Javascript

2014-03-14 Thread Bruce Lombardi
Thanks Ernesto, I was hoping for something simpler since what I have now with a simple Jquery timer does everything I need except go the the SessionTimeoutPage, where I would, as you suggest, invalidate the session. I'm sure your solution would work, but I'm not familiar enough with

Re: wicket:header-items/

2014-03-14 Thread Tom Götz
This is really helpful, thanks for your time! Cheers, -Tom On 14.03.2014, at 13:50, Martin Grigorov mgrigo...@apache.org wrote: Hi, At http://wicketinaction.com/2014/03/header-contributions-positioning/ I've added a short description of a new special wicket tag - wicket:header-items/.