Re: ajaxlink in ListItem not working

2013-09-06 Thread Sven Meier
A quickstart would be helpful. Sven On 09/06/2013 07:43 AM, Mateusz Mieszkowski wrote: Hi, I have similar problem. What's more, my code worked fine before migration to 6.10.0 (worked on 5.10.0). Now, when I click the link, nothing happens. I haven't got time to investigate this in more

Re: popup Tree node

2013-09-06 Thread Piratenvisier
This is an application in my 1.5 wicket production application Version 6.9 is with a lot of annotations using appfuse is still in evaluation mode final Tree tree = new Tree(tree, treeModel) { @Override protected String renderNode(TreeNode node)

Re: popup Tree node

2013-09-06 Thread Sven Meier
Hi, so you want the new page to be opened in a new browser window? Then you have to override #newNodeLink() and add a target attribute to the a tag (e.g. via an AttributeModifier). Regards Sven On 09/06/2013 09:59 AM, Piratenvisier wrote: This is an application in my 1.5 wicket production

Re: ajaxlink in ListItem not working

2013-09-06 Thread haiko
Mateusz, In my case it turned out that it was a CSS issue. The link had no body to click on. The click was on the listitem. When i add the attribute style='display:block' li wicket:id=kleurena wicket:id=selectLink style=display:blockwicket:container... to the link then the link could

Test based on AbstractWicketTest fails with No RequestCycle is currently set

2013-09-06 Thread Martin Dietze
I am currently trying to repair some old tests (which I did not even write myself) based on AbstractWicketTest and WicketTester. At the moment all tests derived from AbstractWicketTest or using TestNGWicketTester fail with some exception inside Wicket. Since I am rather unfamiliar with the wicket

Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-06 Thread Martin Dietze
I am currently trying to repair some old tests (which I did not even write myself) based on AbstractWicketTest and WicketTester. At the moment all tests derived from AbstractWicketTest or using TestNGWicketTester fail with some exception inside Wicket. Since I am rather unfamiliar with the wicket

Re: Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-06 Thread Martin Grigorov
Hi, Is there a chance that you create a bundle without any resource(reference) ? On Fri, Sep 6, 2013 at 3:43 PM, Martin Dietze d...@fh-wedel.de wrote: I am currently trying to repair some old tests (which I did not even write myself) based on AbstractWicketTest and WicketTester. At the

Re: Test based on AbstractWicketTest fails with No RequestCycle is currently set

2013-09-06 Thread Martin Grigorov
Hi, On Fri, Sep 6, 2013 at 3:36 PM, Martin Dietze d...@fh-wedel.de wrote: I am currently trying to repair some old tests (which I did not even write myself) based on AbstractWicketTest and WicketTester. At the moment all tests derived from AbstractWicketTest or using TestNGWicketTester fail

Access denied to (static) package resource

2013-09-06 Thread Phill Ashworth
I'm getting the exception below occurring occasionally and I can't figure out why. I have read the javadoc for IPackageResourceGuard but still not really enlightened as to why this is occurring. Under what circumstances will access be denied? In Application init():

Re: Access denied to (static) package resource

2013-09-06 Thread Andrea Del Bene
you should add the file type you want to load to the set of allowed extensions. Take a look here: http://wicketguide.comsysto.com/guide/chapter19.html#chapter19_4 I'm getting the exception below occurring occasionally and I can't figure out why. I have read the javadoc for IPackageResourceGuard

Re: Access denied to (static) package resource

2013-09-06 Thread Phill Ashworth
Thanks that's handy and explains it well. The resource is part of the Wicket internals though and not something of my making. On 6 Sep 2013, at 16:48, Andrea Del Bene wrote: you should add the file type you want to load to the set of allowed extensions. Take a look here:

Re: Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-06 Thread Martin Dietze
On Fri, September 06, 2013, Martin Grigorov wrote: Is there a chance that you create a bundle without any resource(reference) ? Not quite sure I understand this correctly, I tried avoiding the use of the ConcatBundleResource altogether by overriding the method that creates it in my Application

Re: Access denied to (static) package resource

2013-09-06 Thread Andrea Del Bene
Yep! Right, is part of the framework. I will ask in dev list if we should ad .map to the set of default allowed file. Thanks that's handy and explains it well. The resource is part of the Wicket internals though and not something of my making. On 6 Sep 2013, at 16:48, Andrea Del Bene wrote:

Re: Test based on AbstractWicketTest fails with No RequestCycle is currently set

2013-09-06 Thread Martin Dietze
On Fri, September 06, 2013, Martin Grigorov wrote: 2. #testAddingAndSwitchingFields you look at the wrong test we cannot help you when we have the wrong source given Yes, sorry, I picked the wrong stacktrace, however they're all identical anyway. The method 'testAddingAndSwitchingFields'