Using Wicket-autocomplete.js in own custom textfield

2013-04-03 Thread Merlijn
Hi everybody, I am writing my own AutoCompleteTextField to be able to use Components in the list instead of the default Strings. Now I want to have all the same navigation features that the AutoCompleteTextField from Wicket has such as keyboad navigation, etc. I was wondering if it possible to

Re: Gmap3 Geocoding shows Status 610

2013-04-03 Thread vp143
The new code works for me!! Thanks again! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Gmap3-Geocoding-shows-Status-610-tp4657298p4657703.html Sent from the Users forum mailing list archive at Nabble.com.

Best way to get the base application URL?

2013-04-03 Thread Andrea Del Bene
Hi, do you know the best way to get the base URL for our Wicket application? For example http://www.mysite.com/myapplication; I'm using the following code at the moment: protected CharSequence extractBaseUrl(Request request) { Url originalUrl = request.getOriginalUrl();

Re: Serving wicket JS from CDN?

2013-04-03 Thread Michael Haitz
Hi, you can use https://developers.google.com/speed/libraries/devguide#Libraries instead of your local resources. e.g. //ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js best, Michael Am 02.04.2013 um 19:27 schrieb Chris Colman chr...@stepaheadsoftware.com: Is anyone thinking

Re: Tracking performance issues on requests best practices

2013-04-03 Thread Serban.Balamaci
Well I've switched on to AspectJ load time weaving and was able to intercept calls on also the wicket Components methods. I've tested locally to see where are the missing numbers. Seemed not much time was spent in onInitialize() afterall, the cause by the fact that even if the Services layer was

AW: Serving wicket JS from CDN?

2013-04-03 Thread Jan Riehn
Hello Chris, I'm not sure, if i've got the point - you want to extract your own JS/CSS to a cdn? I've already used a similar implementation to this: http://techblog.molindo.at/2011/03/serving-wicket-resources-from-cdn.html Regards, Jan Von: Chris

Re: Best Way to Perform a Quick Test

2013-04-03 Thread Paul Bors
Here's a video on how to configure Eclipse to work with Wicket 1.5.x: http://www.youtube.com/watch?v=3fdiCBb4rK8 Not sure if it's in English but then again you get the point from watching the footage for 3 mins. Once you have your project up and running, you can run it in debug mode and step

Re: Using Wicket-autocomplete.js in own custom textfield

2013-04-03 Thread Dan Retzlaff
Hi Merlijn, This is not a direct response to your question, but did you consider wicket-select2 as an alternative to AutoCompleteTextField? https://github.com/ivaynberg/wicket-select2 I don't know the specific navigation features you're talking about, but in our experience Select2 is a dramatic

Re: Best way to get the base application URL?

2013-04-03 Thread Dan Retzlaff
How about: Url relative = Url.parse(getRequest().getContextPath()); String full = getRequestCycle().getUrlRenderer().renderFullUrl(relative); Dan On Wed, Apr 3, 2013 at 5:44 AM, Andrea Del Bene an.delb...@gmail.comwrote: Hi, do you know the best way to get the base URL for our Wicket

Re: Using Wicket-autocomplete.js in own custom textfield

2013-04-03 Thread Merlijn
Yes, I have looked at Select2 but don't know if it also supports generic Wicket Components instead of Strings. I'll have to take a better look at it. Thanks for the answer! -- View this message in context:

Re: Best way to get the base application URL?

2013-04-03 Thread Andrea Del Bene
Thank you Dan! Your code works perfectly! Url relative = Url.parse(getRequest().getContextPath()); String full = getRequestCycle().getUrlRenderer().renderFullUrl(relative); - To unsubscribe, e-mail:

AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread heikki
hello, I've a question about using AbstractDefaultAjaxBehavior. I can succesfully create some dynamic script that calls Wicket.Ajax.get(), and its respond() is correctly invoked. However I'm not sure what's with the results of the ajax call, I can't get to it. It seems that I receive an empty

Re: AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread Sven Meier
See AutoCompleteBehavior on how to response with a non-ajax-response. Sven On 04/03/2013 07:14 PM, heikki wrote: hello, I've a question about using AbstractDefaultAjaxBehavior. I can succesfully create some dynamic script that calls Wicket.Ajax.get(), and its respond() is correctly invoked.

Re: AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread heikki
thanks for your response, but I'm not quite sure what you mean. How so is my response a non-Ajax response ? I'd have thought that when doing an Ajax request, I'd get an Ajax response; and the way to set up that response, from what it says on

Markup ID set on a container

2013-04-03 Thread Nick Pratt
Ive started to see this in my logs: 2013-04-03 14:11:31,332 WARN [http-bio-8080-exec-2] org.apache.wicket.Component - Markup id set on a component that is usually not rendered into markup. Markup id: wmcb7, component id: wmc, component tag: container. 2013-04-03 14:11:35,079 WARN

Re: AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread Sven Meier
Do you just want to display the json or do want to do something with it in the browser? Sven On 04/03/2013 08:17 PM, heikki wrote: thanks for your response, but I'm not quite sure what you mean. How so is my response a non-Ajax response ? I'd have thought that when doing an Ajax request,

Re: Markup ID set on a container

2013-04-03 Thread Igor Vaynberg
this warning is because you attach the webmarkupcontainer to a wicket:container tag this tag is not rendered in deployment mode, so the id you want to output using setOutputMarkupId() wont be there either - thus the warning. -igor On Wed, Apr 3, 2013 at 11:18 AM, Nick Pratt nbpr...@gmail.com

Re: Markup ID set on a container

2013-04-03 Thread Nick Pratt
Ah, many thanks Igor! Nick On Wed, Apr 3, 2013 at 2:23 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: this warning is because you attach the webmarkupcontainer to a wicket:container tag this tag is not rendered in deployment mode, so the id you want to output using setOutputMarkupId()

Re: HttpsMapper not Switching to SSL When there is no JsessionId Cookie

2013-04-03 Thread Tim Urberg
A JIRA has been created. https://issues.apache.org/jira/browse/WICKET-5129 Thanks, Tim On 3/28/13 6:52 AM, Sven Meier wrote: Please create a quickstart and attach it to a jira issue. Sven On 03/27/2013 06:41 PM, Tim Urberg wrote: Hi Everyone, I'm having an issue with HttpsMapper not

Re: AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread heikki
Eventually I'd probably do something with it other than only displaying it :-) So maybe my approach is not ideal ? In short, and more generally put, I want to be able to construct a URL client-side dynamically to do an Ajax request using Wicket.Ajax.get(), and then do something with the response.

Re: AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread Sven Meier
Wicket's default Ajax handling is for repainting of components. As I have written, take a look at AutoCompleteBehavior#onRequest() Sven On 04/03/2013 09:52 PM, heikki wrote: Eventually I'd probably do something with it other than only displaying it :-) So maybe my approach is not ideal ? In

Dealing with time counters with different values from each other and show them simultaneously in realtime

2013-04-03 Thread Bruno Moura
I'm implementing an application to register the duration of different tasks that could be happen in parallel. Each of them can be launched by an user using a web application/interface and for each one there is a javascript counter that allow user to see the time progress for the task launched by

Denver

2013-04-03 Thread Jonathan Locke
Hey there! Any Wicket people in Denver? I'm going on a trip from the 13th to the 21st of April and wanted to find out a bit about the local tech scene... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Denver-tp4657726.html Sent from the Users forum mailing list

Re: Denver

2013-04-03 Thread Dan Retzlaff
You bet! I'm just up the road in Boulder. Happy to meet up in any of the abundant local breweries. On Wed, Apr 3, 2013 at 8:01 PM, Jonathan Locke jonathan.lo...@gmail.comwrote: Hey there! Any Wicket people in Denver? I'm going on a trip from the 13th to the 21st of April and wanted to find