Wicket and Google Analytics

2013-04-24 Thread Tron Walseth
Hi all I'm planning to use Google Analytics (GA) to monitor our web site. Googling GA and wicket, I only get one hit for an article, written in 2010 (http://blog.worldturner.com/worldturner/entry/google_analytics_wicket_and_panels), so it doesn't seem like a very common combination. Since most

Re: Wicket and Google Analytics

2013-04-24 Thread Martin Grigorov
Hi, Check this http://markmail.org/thread/2udihwwttwmtd7lv On Wed, Apr 24, 2013 at 9:50 AM, Tron Walseth t...@telespor.no wrote: Hi all I'm planning to use Google Analytics (GA) to monitor our web site. Googling GA and wicket, I only get one hit for an article, written in 2010 (

Can i control event execution order?

2013-04-24 Thread Per Newgro
Hi, i would like to add a bookmarkable page link to a clickable div. But the event behavior of the div is always executed. Is there a way to prioritize the event coming from the link? Thanks Per code Page.java public class Page extends WebPage { public Page(final PageParameters

AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-24 Thread Christoph.Manig
Hello, Now I can see the exporttoolbar but when I click the link the csv is empty. Why is that empty? Here the code: @Override public void onSubmit(AjaxRequestTarget target, Form form) { target.add(feedback); FilterCreatorProtocol filter =

Re: Can i control event execution order?

2013-04-24 Thread Martin Grigorov
Hi, Are you saying that the event of clicking the bookmarkable link (the a) bubbles to the div ? I think it should not happen. Clicking the link changes the document location... But I may be wrong. A simple solution is to add onclick=Wicket.Event.stop(event); return true; to the a element. This

Aw: Re: Can i control event execution order?

2013-04-24 Thread Per Newgro
Thank you so much Martin. Adding the script seems to be the soultion. At least it works now as i expect it :-). I would say yes to your question. I don't know if it bubbles up. But in the requestcycle the requestedUri is always the event listener one. I've added a test, but that is green :-(

Re: OOM in Tests with Wicket 6.7.0

2013-04-24 Thread northar
Looking through our tests, i found a test that rendered 50+ pages, in one method, without calling tester.destroy afterwards. Fixing that solved our problem and we now run 6.7.0. (Happily everafter:) Also, none of the other tests we had ran destroy!! Yes they do now! Thanks for the hint about what

Re: Re: Can i control event execution order?

2013-04-24 Thread Martin Grigorov
On Wed, Apr 24, 2013 at 10:43 AM, Per Newgro per.new...@gmx.ch wrote: Thank you so much Martin. Adding the script seems to be the soultion. At least it works now as i expect it :-). I would say yes to your question. I don't know if it bubbles up. But in the requestcycle the requestedUri is

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

2013-04-24 Thread Jesse Long
Hi Christoph, Are the headers present in the CSV file? (No, indicates some sort of error generating the CSV, look at server logs. Yes, would indicate no records, but possibly error encountered after rendering headers, again, check server logs). Are there records displayed in the HTML data

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

2013-04-24 Thread Christoph.Manig
Hello, I get this Exception 2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper | ? ? | 269 - org.apache.wicket.core - 6.5.0 | Unexpected error occurred org.apache.wicket.WicketRuntimeException: Method onResourceRequested of

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

2013-04-24 Thread Martin Grigorov
Maybe the file is not used at all. I.e. doesn't load it for some reason. On Wed, Apr 24, 2013 at 11:23 AM, christoph.ma...@t-systems.com wrote: Hello, I get this Exception 2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper | ?

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

2013-04-24 Thread Christoph.Manig
But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can

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

2013-04-24 Thread Martin Grigorov
What is the full path of your properties.xml ? On Wed, Apr 24, 2013 at 11:30 AM, christoph.ma...@t-systems.com wrote: But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in

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

2013-04-24 Thread Christoph.Manig
It is in the same package as the class src/main/java/smw/console/frontend/protocol/ProtokollierungPage.properties.xml The classname is ProtokollierungPage.java Does the ResourceModel load this properties automatically? Why does it show the String from the properties at the Tablehead but throw

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

2013-04-24 Thread Martin Grigorov
Caused by: java.util.MissingResourceException: Unable to find property: 'protocolRecord.retentionID'. Locale: null, style: null at org.apache.wicket.Localizer.getString(Localizer.java:237)[ 269:org.apache.wicket.core:6.5.0] at

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

2013-04-24 Thread Christoph.Manig
Is there another way to get this properties? Because there are properties for every page in my project. In which package should this MyApplication.properties.xml be in? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel,

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

2013-04-24 Thread Christoph.Manig
I resolve the problem. I use this new ResourceModel(protocolRecord.retentionID).wrapOnAssignment(getPage()) Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.:

[Wicket 1.4.9] StackOverflow wicket-ajax.js with IE8 64bits

2013-04-24 Thread M4xime
Hi,I've got a problem with some ajax request on IE8 64 bits.After closing a pop-up, which imply a refresh of the page, an IE pop-up saying StackOverflow appears.It does not happen on IE8 32 bits.The IE debugger points to notify(); at the line 931 of wicket-ajax.jstry { eval(text);} catch

Re: [Wicket 1.4.9] StackOverflow wicket-ajax.js with IE8 64bits

2013-04-24 Thread Martin Grigorov
Hi, This part of the code is improved in Wicket 6.x. You are recommended to upgrade to Wicket 6.7.0. On Wed, Apr 24, 2013 at 1:02 PM, M4xime maxime.nou...@capgemini.com wrote: Hi,I've got a problem with some ajax request on IE8 64 bits.After closing a pop-up, which imply a refresh of the

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

2013-04-24 Thread Jesse Long
Hi Christoph, Nice solution. Does your CSV export work now? Do you know about the new exporters in wicketstuff-poi v6.7.0? Thanks, Jesse On 24/04/2013 11:50, christoph.ma...@t-systems.com wrote: I resolve the problem. I use this new

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

2013-04-24 Thread Christoph.Manig
Hello, yes the csv-export is working now. No I didn't know about the new exporters. At the moment I don't need another exporter. Thank you for your help. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics

Wicketstuff nightly snapshot

2013-04-24 Thread seyaw
Hi all Where shall I get the nightly snapshot for wicketstuff. I make a pull-request and got the merge in github. I need the latest update to include in my project (through maven dependency) thanks -- View this message in context:

Re: Wicketstuff nightly snapshot

2013-04-24 Thread Martin Grigorov
Hi, http://ci.wicketstuff.org/ builds the projects but I'm not sure whether it deploys the artifacts anywhere. The best is to build the project locally and use it until next version of WicketStuff is released. On Wed, Apr 24, 2013 at 5:01 PM, seyaw seidy...@gmail.com wrote: Hi all Where

Re: Wicketstuff nightly snapshot

2013-04-24 Thread Lynn McCormack
Right now we have been using 1.5-SNAPSHOT of wicketstuff using the following repository entry in the pom.xml This might be what you are looking for? Snapshot version: repository idwicketstuff-core-snapshots/id

Re: Wicketstuff nightly snapshot

2013-04-24 Thread Martin Grigorov
On Wed, Apr 24, 2013 at 5:10 PM, Lynn McCormack lmccorm...@cast.org wrote: Right now we have been using 1.5-SNAPSHOT of wicketstuff using the following repository entry in the pom.xml Thanks, Lynn! This might be what you are looking for? Snapshot version: repository

[6.7] How to set header of DynamicImageResource ?

2013-04-24 Thread smallufo
Hi : I wonder how to set header of DynamicImageResource ? In 1.4 , it just override setHeaders(WebResponse response) { response.setHeader(Cache-Control , no-cache); } But , how to do this in 6.7 ? If I override setResponseHeaders(ResourceResponse data , Attributes attributes) , It seems there

Server and client side validation

2013-04-24 Thread Martin Grigorov
Hi, I just posted a new article at http://wicketinaction.com/2013/04/server-and-client-side-validation/ about integrating Wicket with client side validation library. Enjoy! -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/

wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
I've been reading up on markup inheritance and believe I understand it correctly but its not quite working for me. My HomePage.html has the wicket:child/ tag And I have extended the FileSubPage.java to HomePage.java. Also added the wicket:extend to the FileSubPage What is it that when my

Re: Datatable with Image in Cell

2013-04-24 Thread Shubhendu Singh
Hi All, I am new to wicket world. I have a similar requirement. I want to show images in one column of datatable. This image should be picked based on the value in another column. Please help me in implementing the same(kindly provide some examples). Regards, Shubhendu On Tue, Apr 23, 2013 at

Re: Datatable with Image in Cell

2013-04-24 Thread dhongyt
When I needed to add a custom data into a datatable I always created a panel and then add the panel to the column. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Image-in-Cell-tp4658204p4658245.html Sent from the Users forum mailing list archive

Re: Server and client side validation

2013-04-24 Thread Cedric Gatay
Thanks Martin, I was just wondering how I could do that. Nice library and nice integration with Wicket. Regards Le 24 avr. 2013 18:07, Martin Grigorov mgrigo...@apache.org a écrit : Hi, I just posted a new article at http://wicketinaction.com/2013/04/server-and-client-side-validation/ about

Re: wicket:extend Not Showing in Parent

2013-04-24 Thread vineet semwal
it will show up when you will load FileSubPage :-) On Wed, Apr 24, 2013 at 9:52 PM, dhongyt davidhtr...@gmail.com wrote: I've been reading up on markup inheritance and believe I understand it correctly but its not quite working for me. My HomePage.html has the wicket:child/ tag And I

Re: wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
Do you mean loading it via the HomPage.java How do I load FileSubPage.java? I did a setResponsePage and ended up getting a redirection loop. Thanks! David -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243p4658249.html

Re: wicket:extend Not Showing in Parent

2013-04-24 Thread vineet semwal
no i didn't mean loading through HomePage,i meant you are expecting on HomePage which is wrong since the extended page is FileSubPage it will show on extened page and not basepage,think it in this way it can't be shown on HomePage because baseclass has no knowledge of extended class FileSubPage so

Re: wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
So if I want FileSubPage to show up on HomePage I have to put all the code and markup from FileSubPage on HomePage? Its confusing because the way the wicket example shows repeaters

Re: Datatable with Image in Cell

2013-04-24 Thread Raul
To create a table with data, you can use the DataView component and use a DataProvider for loading data. In onPopulate method, you can create the table rows dynamically. I recommend you to look at the examples of the free guide. http://code.google.com/p/wicket-guide/downloads/list -- View this

Re: [6.7] How to set header of DynamicImageResource ?

2013-04-24 Thread vineet semwal
as far as i can see this is the default behavior for DynamicImageResource so you don't need it ,other wise call disableCaching() , i don't remember 1.4 now but you can have your isNotCachable() ,it's very simple check if getCacheduration is none/zero else there is boolean

Re: wicket:extend Not Showing in Parent

2013-04-24 Thread vineet semwal
yes you are looking at it wrong,you are asking/requesting for RepeatingPage which extends BasePage ,you are not requesting for BasePage itself ,now apply the same logic in your case .. On Thu, Apr 25, 2013 at 12:42 AM, dhongyt davidhtr...@gmail.com wrote: So if I want FileSubPage to show up

Re: [6.7] How to set header of DynamicImageResource ?

2013-04-24 Thread smallufo
Hi I just take Cache-Control:no-cache for example. What if I want to add additional header information, which is correct ? data.getHeaders().addHeader(key, value); ? or ((WebResponse) attributes.getResponse()).addHeader(key , value); ? Thanks.

Re: User data during request of AuthenticatedWebSession

2013-04-24 Thread Andre Schütz
Hello, thank you for the answers. I created my own RequestCycleListener and have another question. public MyRequestCycleListener extends AbstractRequestCycleListener { public onBeginRequest(RequestCycle cycle) { super.onBeginRequest(cycle); MyAuthenticatedSession session =

Re: [6.7] How to set header of DynamicImageResource ?

2013-04-24 Thread vineet semwal
both does the same thing ,however there are some internal headers so take a look at them in AbstractResource,if your header is one of those you can't use it manually On Thu, Apr 25, 2013 at 1:24 AM, smallufo small...@gmail.com wrote: Hi I just take Cache-Control:no-cache for example. What if

Re: User data during request of AuthenticatedWebSession

2013-04-24 Thread Bas Gooren
Andre, Your listener will also be called for resources served by wicket, so my guess is you have 1-7 resources on your page which are served by wicket. E.g. resources you store next to your pages (inside the same java package). So my guess is that you're not seeing multiple hits to

Re: [6.7] How to set header of DynamicImageResource ?

2013-04-24 Thread vineet semwal
adding header in data.getHeaders() appears better to me according to code flow in AbstractResource On Thu, Apr 25, 2013 at 2:15 AM, vineet semwal vineetsemwa...@gmail.comwrote: both does the same thing ,however there are some internal headers so take a look at them in AbstractResource,if your

Re: User data during request of AuthenticatedWebSession

2013-04-24 Thread vineet semwal
what Bas said .. also i think it will be better to load data lazily instead of using listener for performance ,pseudocode below just call LazyLoad.getData(cycle,mailId) when there is a need .. public class LazyLoad implements Serializable{ public static final MetaDataKeyUserData KEY=

Re: Error for add TextBox in a ListView

2013-04-24 Thread Bruno Moura
Really so sorry Martin for don't pay attention in your previous response In fact I'm restricted to use wicket 1.4.x and jqwicket v 0.6 to avoid brake compatibility with code for many classes and other libraries dependencies that is not the case to get deep in details on it now. So the code

Re: Problem with iAjaxRequestAttributes

2013-04-24 Thread Bruno Moura
Hi Martin, I got back wicket to version 1,4 in my pom after realise that I couldn't use the wicket 6.x because I will need to change a LOT of source code in the application that I'm working. Thanks for your support Bruno Moura 2013/4/24 Martin Grigorov mgrigo...@apache.org: On Wed, Apr 24,