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 ma

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 manipulate(

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

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 th

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 ren

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 Data

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 Spr

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 "o

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: user

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 logi

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.

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: http://apache-wicket.1842946.n4.nabble.com/wicket-wiki-down-tp4659747.html

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 I

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 heade

Re: Spring MVC-like annotations

2013-06-24 Thread Martin Grigorov
On Mon, Jun 24, 2013 at 5:39 PM, Andrea Del Bene wrote: > 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 ab

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 oth

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 wr

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 L

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 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 corresp

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: 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 wrote: > Hi, > > Martin error is also in 6.8.0: > I found the following remark: > Wicket 6.8.0 and WeldDecorator jira/browse/WICKET-5144 > >

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 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: 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 manipula

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 ( http://www.datatables.net/blog/Twitter_

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 I u

Re: Spring MVC-like annotations

2013-06-24 Thread Martin Grigorov
Hi Andrea, This was my "crazy idea" at Ideas for Wicket+7.0 . It should be easy to make an integration with Resteasy, Jersey, Spring MVC, ... and process any Wicket IReso

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 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: 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, Mar

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 wrote: > It doesn't work. > > You call commitBehavior.getCallbackScript() but : > > Multiple markers at this l

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 AbstractDefau

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 wrote: > ok I managed to get some hints from my browser. > So Certain URL's rendered as http:///null woul

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 wrote: > When AjaxSubmitLink.onError() is called, how does one determine what the > error was? Calling getFeedbackM

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 wrote: > When I start jetty for wicket-exam

Re: IInitializer order

2013-06-24 Thread Martin Grigorov
On Mon, Jun 24, 2013 at 10:29 AM, Marios Skounakis 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 Initializer fi

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: replacement of AnnotApplicationContextMock

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

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 ( https

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 Skounaki

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 positio