Re: Injecting proxy services in page.

2013-06-06 Thread harmoniaa
If you are already using XmlWebApplicationContext (extends AbstractRefreshableWebApplicationContext like AnnotationConfigWebApplicationContext) that is probably not the issue, but you can set the context class in your web.xml like this: servlet ... init-param

wicket 6 and FilterToolbar

2013-06-06 Thread Marcel Hoerr
Hey folks, i am currently trying to use a FilterToolbar with a DataTable (wicket 6). Everything works fine without the FilterToolbar (the filering of course not), if the FilterToolbar is added via dataTable.add(new FilterToolbar(dataTable, form, dataProvider)); wicket throws the following

Re: WicketTester CDI and WicketApplication

2013-06-06 Thread David Beer
Hi Cedric Thanks for this most useful with some searching th internet I managed to get the test class running with testng as well. One thing to note though, if you don not use Conversations you need to add the following to the new CdiConfiguration, .setPropagation(NONE). Thanks David On

Re: Wicket ID sometimes changes, sometimes stays the same

2013-06-06 Thread eugenebalt
Solution # 2 (setMarkupId) worked for us. But Sven's Solution # 1 did not. Even after adding id=datefield wicket:id=datefield to input type=text, the output still contained the attribute id=datefield7 or something similar. # 2 works for us, but I'm just wondering, is there something preventing #

Re: wicket 6 and FilterToolbar

2013-06-06 Thread Sven Meier
Hi Marcel, adding a FilterForm/FilterToolbar to the DataTablePage in wicket-examples works fine here. Time to create a quickstart? Sven On 06/06/2013 12:47 PM, Marcel Hoerr wrote: Hey folks, i am currently trying to use a FilterToolbar with a DataTable (wicket 6). Everything works fine

Re: Wicket ID sometimes changes, sometimes stays the same

2013-06-06 Thread Sven Meier
Check Component#getMarkupIdImpl(), it gets the id from the markup if no id was explicitly set. Perhaps you're trying to access the markup id before the component is attached to a page? Sven On 06/06/2013 05:30 PM, eugenebalt wrote: Solution # 2 (setMarkupId) worked for us. But Sven's

Quick Start - Project not created

2013-06-06 Thread rjain15
Hi I am newbie to Apache Wicket .. sorry about a very basic question. As per the quick start guide http://wicket.apache.org/start/quickstart.html If I try to execute the following command mvn archetype:generate -DarchetypeGroupId=org.apache.wicket

RE: Quick Start - Project not created

2013-06-06 Thread Paul Bors
c:\srcmvn archetype:generate -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=6.8.0 -DgroupId=com.example -DartifactId=wicket-webapp -DinteractiveMode=false c:\srccd wicket-webapp c:\src\wicket-webappmvn eclipse:eclipse Then open your

RE: Quick Start - Project not created

2013-06-06 Thread Paul Bors
Forgot to mention, the default TCP/IP port of your web-app when you use the Jetty MOJO (http://mojo.codehaus.org/jetty-maven-plugin/usage.html) is 8080 unless you changed it. Thus the URL to load in your browser is http://localhost:8080 You should get familiar with the Maven build system at:

UrlResourceReference for images

2013-06-06 Thread bronius
Hello, Im trying to serve images from other server, but need to build url for images on server side. This looks very simple and on most frameworks very easy to accomplish, but on wicket I simply do not understand what to do... Im trying like this: final Image img = new Image(IMAGE_ID_ADIMG, new

Re: UrlResourceReference for images

2013-06-06 Thread Bertrand Guay-Paquet
Hello, See inline. On 06/06/2013 5:27 PM, bronius wrote: First of all Url api is extremely hard to work with, very hard to create url i need, I think there should be some option to simply create it with simple string. Anyway Url.parse method does not create full url for me (i have