reset breadcrumb

2013-06-24 Thread Piratenvisier
How can I reset the breadcrumb here: add(new Button(nextButton) { @Override public void onSubmit() { activate(new IBreadCrumbPanelFactory() { @Override

Re: IInitializer order

2013-06-24 Thread Cedric Gatay
Hi, You can write your own IStringResourceLoader providing your set of translations and register it in front of the list through the IInitializer mechanism. Regards, Le 24 juin 2013 07:12, Marios Skounakis msc...@gmail.com a écrit : Hi all, I am developing a framework library with wicket

Re: IInitializer order

2013-06-24 Thread Marios Skounakis
Not sure if this is what you mean but in Application.init I replaced the InitializerStringResourceLoader in application.getResourceSettings().getStringResourceLoaders() with my own MyInitializerStringResourceLoader which resorts the initializers list and puts my own initializer in the first

Re: IInitializer order

2013-06-24 Thread Martin Grigorov
The order of the initializers depends on the order of the jars in the classpath. Depending on the order is not recommended. I think Cedric's idea was to roll your own ISRL that knows exactly where is your resource bundle and knows how to load it. On Mon, Jun 24, 2013 at 10:16 AM, Marios

Re: wiki down

2013-06-24 Thread Martin Grigorov
There was an upgrade of Apache Confluence this weekend which is not yet finished. I just notified Apache Infra team of the missing export/static version of the Wiki (https://cwiki.apache.org/WICKET/) and they told me that this is deprecated 2 years ago. Everyone should use the real wiki now (

Re: replacement of AnnotApplicationContextMock

2013-06-24 Thread Martin Grigorov
ApplicationContextMock On Sat, Jun 22, 2013 at 5:56 PM, Piratenvisier hansheinrichbr...@yahoo.dewrote: What is the replacement for the Class AnnotApplicationContextMock ? Thanks Heiner --**--**- To unsubscribe, e-mail:

Re: IInitializer order

2013-06-24 Thread Marios Skounakis
Martin, What I meant is that now I have my own class MyInitializerStringResourceLoader extends InitializerStringResourceLoader and its constructor calls super(sort(initializers)); and sort() puts my own Initializer first in the initializers list. Is this not safe? It does seem to work (whereas

Re: IInitializer order

2013-06-24 Thread Martin Grigorov
On Mon, Jun 24, 2013 at 10:29 AM, Marios Skounakis msc...@gmail.com wrote: Martin, What I meant is that now I have my own class MyInitializerStringResourceLoader extends InitializerStringResourceLoader and its constructor calls super(sort(initializers)); and sort() puts my own

Re: wicket 6.3.0 WeldDecorator

2013-06-24 Thread Martin Grigorov
Hi, Don't use 6.3.0. Even if there is a problem with it we cannot fix it. If there is a problem in Wicket v.Latest we can fix it in Wicket v.Next. So always check that your problems are valid in v.Latest. On Sun, Jun 23, 2013 at 5:26 PM, Piratenvisier hansheinrichbr...@yahoo.dewrote: When I

Re: AjaxSubmitLink Errors

2013-06-24 Thread Martin Grigorov
Hi, The AjaxSubmitLink just submits the data. Its #onError() is called when any of the submitted *form components* has an error. On Fri, Jun 21, 2013 at 7:39 PM, Richard W. Adams rwada...@up.com wrote: When AjaxSubmitLink.onError() is called, how does one determine what the error was?

Re: Setting up custom 404 page causes Issues

2013-06-24 Thread Martin Grigorov
Hi, Here is an idea: try to upgrade to Wicket 6.x :-) The UploadProgressBar has been improved and I think this problem should not happen at all. On Fri, Jun 21, 2013 at 7:12 PM, Arjun Dhar dhar...@yahoo.com wrote: ok I managed to get some hints from my browser. So Certain URL's rendered as

Re: Javascript confirm with condition before submit

2013-06-24 Thread grignette
It doesn't work. You call commitBehavior.getCallbackScript() but : Multiple markers at this line - The method add(Component...) in the type AjaxRequestTarget is not applicable for the arguments (CharSequence) - The method getCallbackScript() from the type

Re: IInitializer order

2013-06-24 Thread Marios Skounakis
I replace the standard InitializerSRL with MYInitializerSRL so there's no efficiency problem. It seems better to me to replace the standard InitializerSRL rather than add an extra SRL but that's just me. Thanks for your answers, everything is more clear now. On Mon, Jun 24, 2013 at 10:35 AM,

Re: Javascript confirm with condition before submit

2013-06-24 Thread Marios Skounakis
Yeah, my example is wicket 6. I believe (I may be wrong though) that the logic is the same in 1.5.7 you just need to adapt the method calls. On Mon, Jun 24, 2013 at 11:06 AM, grignette lady-eli...@hotmail.fr wrote: It doesn't work. You call commitBehavior.getCallbackScript() but : Multiple

Model changes are not saved when component markup is externally removed from DOM

2013-06-24 Thread bojidar
Hi Guys, I'm trying to make something like editable grid using Ajax components and Drill-down rows table http://datatables.net/blog/Drill-down_rows from JQuery Datatables plugin. The idea is user to be able to see all basic properties of his entities in the table and if he decides to be able

Re: Spring MVC-like annotations

2013-06-24 Thread Martin Grigorov
Hi Andrea, This was my crazy idea at Ideas for Wicket+7.0https://cwiki.apache.org/confluence/display/WICKET/Ideas+for+Wicket+7.0#IdeasforWicket7.0-ImplementJAXRSontopofWicketIResource . It should be easy to make an integration with Resteasy, Jersey, Spring MVC, ... and process any Wicket

Re: Adding Components to fit markup

2013-06-24 Thread bojidar
Hi Martin, Can you give me some guidelines how to make better integration between JQuery Datatables and Wicket ? You can see that in another thread http://apache-wicket.1842946.n4.nabble.com/Model-changes-are-not-saved-when-component-markup-is-externally-removed-from-DOM-td4659725.html I

Re: Adding Components to fit markup

2013-06-24 Thread Martin Grigorov
Hi Bojidar, I plan to make an integration of some good JS table widget for https://github.com/l0rdn1kk0n/wicket-bootstrap. For now I have bookmarked http://wootapa-watable.appspot.com/ but I see that Datatables also provide some kind of integration with TB (

Re: Adding Components to fit markup

2013-06-24 Thread bojidar
Ok, I see, good luck with that development. Can you give me something like a rule of thumb on how I should proceed with such JS/Wicket integration challenges. The part that I don't understand clearly is how to synchronize the state between the two systems. If I use Datatables functions to

Re: wicket 6.3.0 WeldDecorator

2013-06-24 Thread Piratenvisier
Hi, Martin error is also in 6.8.0: I found the following remark: Wicket 6.8.0 and WeldDecorator https://issues.apache.org/jira/browse/WICKET-5144 Am 24.06.2013 09:42, schrieb Martin Grigorov: Hi, Don't use 6.3.0. Even if there is a problem with it we cannot fix it. If there is a problem in

Re: wicket 6.3.0 WeldDecorator

2013-06-24 Thread Martin Grigorov
You need to use Jetty 8.x On Mon, Jun 24, 2013 at 2:44 PM, Piratenvisier hansheinrichbr...@yahoo.dewrote: Hi, Martin error is also in 6.8.0: I found the following remark: Wicket 6.8.0 and WeldDecorator https://issues.apache.org/**

using the panel variant of wizard

2013-06-24 Thread Piratenvisier
Hi How is it possible to suppress certain Buttons in the ButtonBar per Panel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Adding Components to fit markup

2013-06-24 Thread Sebastien
Hi all, I also started integrating the Kendo UI's datagrid widget (which is a DataTable actually), you have a prime sample here: http://www.7thweb.net/wicket-jquery-ui/kendo/datatable/DefaultDataTablePage It is using a IDataProvider to load data. Column's-buttons are also handled, but the

Adding HTTP header settings if link is klicked

2013-06-24 Thread Stefan Lindner
I need to place a link to an external url in my wicket page. The external site requires some special http header parameters (e.g. X-Redmine-API-Key) for authentication. It it possible to modify the outgoing request an add the header parameter? Thank you Stefan

Re: Adding HTTP header settings if link is klicked

2013-06-24 Thread Martin Grigorov
Hi, As far as I know this is not possible. The request is made by the browser and you have no control on it. You can set headers on Ajax requests but in your case you need to do cross origin requests and this requires some additional work. Google 'CORS'. On Mon, Jun 24, 2013 at 3:12 PM, Stefan

Re: using the panel variant of wizard

2013-06-24 Thread francois meillet
see http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensions/wizard/WizardButtonBar.html and http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensions/wizard/Wizard.html#newButtonBar(java.lang.String) On Mon, Jun 24, 2013 at 1:49 PM, Piratenvisier

Re: Spring MVC-like annotations

2013-06-24 Thread Andrea Del Bene
Nice :) ...but I need some more clarifications about your idea. I mean, JAX-RS is basically a set of annotations to build REST services and basically what I'd like to have is a Wicket resource that supports them. But you talk also about a possible integration (via WicketSessionFilter) with

Re: Spring MVC-like annotations

2013-06-24 Thread Martin Grigorov
On Mon, Jun 24, 2013 at 5:39 PM, Andrea Del Bene an.delb...@gmail.comwrote: Nice :) ...but I need some more clarifications about your idea. I mean, JAX-RS is basically a set of annotations to build REST services and basically what I'd like to have is a Wicket resource that supports them. But

Re: Adding HTTP header settings if link is klicked

2013-06-24 Thread Joachim Schrod
Stefan Lindner wrote: I need to place a link to an external url in my wicket page. The external site requires some special http header parameters (e.g. X-Redmine-API-Key) for authentication. Doesn't the external URL support Redmine's standard parameter key instead of the HTTP request header,

Wicket with Spring for IOC

2013-06-24 Thread Michael Chandler
I'm using Wicket with Spring for dependency injection and at first really struggled with what appears to be Wicket serializing my application context. My work-arounds so far have been less than ideal. I'm wondering if anyone can point me in the right direction as far as how to use Spring for

wicket wiki down?

2013-06-24 Thread Gabriel Landon
Hi, I've got a 404 when I try to go to wicket wiki : https://cwiki.apache.org/WICKET/migration-to-wicket-60.html The homepage is working but not the other pages... Regards, Gabriel. -- View this message in context:

Re: Wicket with Spring for IOC

2013-06-24 Thread Gabriel Landon
It's here : https://cwiki.apache.org/WICKET/spring.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-with-Spring-for-IOC-tp4659746p4659748.html Sent from the Users forum mailing list archive at Nabble.com.

AW: Adding HTTP header settings if link is klicked

2013-06-24 Thread Stefan Lindner
Yes! But then you have access to exactly tot he on wiki page that's in your url. Following on any other link in the wiki page leads tot he login page. Roumors say that this'nt the case when the requrst contains X-Redmine-API-Key in header. But we found another solution by performing a secrt

RE: wicket wiki down?

2013-06-24 Thread Paul Bors
Last Sat someone noticed this and was asked to: Use https://cwiki.apache.org/confluence/display/WICKET Try searching the mailing list prior to posting. ~ Thank you, Paul Bors -Original Message- From: Gabriel Landon [mailto:glan...@piti.pf] Sent: Monday, June 24, 2013 1:52 PM To:

Re: Wicket with Spring for IOC

2013-06-24 Thread Joachim Schrod
Michael Chandler wrote: I'm using Wicket with Spring for dependency injection and at first really struggled with what appears to be Wicket serializing my application context. Then you probably don't use wicket-spring. Or you store your app context in a Wicket component, e.g., a page. The

RE: Wicket with Spring for IOC

2013-06-24 Thread Michael Chandler
Joachim, This was a phenomenal write-up. Thank you so much for this extremely helpful guide. Much appreciated! Regards, Mike -Original Message- From: Joachim Schrod [mailto:jsch...@acm.org] Sent: Monday, June 24, 2013 12:28 PM To: users@wicket.apache.org Subject: Re: Wicket with

Re: Point Form action to Page

2013-06-24 Thread Daniel Watrous
I had a hard time figuring out how to follow your second suggestion and making it work for my use case. Instead I ended up calling parameters.clearNamed(); After I got the search term. That kept it out of my URL. I also added a clear search link that unset the search filter parameter in my

Customizing links in Paging

2013-06-24 Thread Daniel Watrous
Hello, I'm using the Paging functionality with my DataProvider. I've been trying to make a simple change, but it's turned out to be very difficult. Hopefully you can give a little help. I have a class that extends PagingNavigator and provides markup specific to my theme. When the paging links

RE: Point Form action to Page

2013-06-24 Thread Paul Bors
Using PageParameter you end up encoding the user input in the URL. That might be a security risk. What I meant is the following. Say you are searching for a person in your filter form on top of a tables showing records whose rows are persons in a db or something. You have a POJO called Person

RE: Customizing links in Paging

2013-06-24 Thread Paul Bors
See PagingNavigationLink, PagingNavigationIncrementLink and their use by the NavigationToolbar as well as their counter parts. You would have to create your own NavigationToolbar, call super() methods and replace the PagingNavigationLink with your own. If you want to replace the headers then take

Is it possible to change MarkupStream ?

2013-06-24 Thread heikki
hello, I'm using Wicket 1.5.9. I'm trying to do some string manipulation in a MarkupStream, like this: @Override public IMarkupFragment getMarkup() { IMarkupFragment fragment = super.getMarkup(); return manipulate(fragment); } protected IMarkupFragment

Re: Alternatives for Page.componentChanged(Component, MarkupContainer) - Wicket 6.5.0

2013-06-24 Thread Rakesh A
Hi, Is there any other way for the mentioned method? Any suggestions? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Alternatives-for-Page-componentChanged-Component-MarkupContainer-Wicket-6-5-0-tp4659644p4659763.html Sent from the Users forum