Re: String Value Conversion Exception

2012-09-21 Thread Stephen Walsh
Got this resolved. I missed a line in my Post class add(this); which adds the Post in question to the HashMap. On Sep 21, 2012, at 08:38, Stephen Walsh wrote: > I attempted your solution Sebastien and did parameters.set("id", 43); This > was one of the id's that was showing up in the link

Re: Wicket as rest backend....

2012-09-21 Thread Martin Grigorov
I'm saying that JAX-RS is currently at version 1. Version 2 is in development and will be available ... when it is ready. By using internal APIs of Jersey/RestEasy/... you use something like JAX-RS ver. 1.[1-9] *now*. And ver. 1.[1-9] considered better than version 1. On Sat, Sep 22, 2012 at 12:0

Re: Wicket as rest backend....

2012-09-21 Thread Bruno Borges
I'm just saying that he can "opt" to use jax-rs... not that he must because X or Y... I like jax-rs, it is a good spec, that's why I'm suggesting. :P Do you think it is not a good spec? *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Fri, Sep 21, 2012 at 5:44 PM, Martin Grigorov wrot

Re: Wicket Behavior triggered by Ajax

2012-09-21 Thread Martin Grigorov
Hi, After updating the content of the text field you can call jQuery("#textFieldId").triggerHandler("change"). P.S. Great choice of an email provider! ;-) On Fri, Sep 21, 2012 at 6:13 PM, raphw wrote: > I have a general problem with my application: > > I have attache an Ajax OnChangeBehavior t

Re: Wicket as rest backend....

2012-09-21 Thread Martin Grigorov
On Fri, Sep 21, 2012 at 11:42 PM, Bruno Borges wrote: > True, but we don't move between impls that often, do we? :-) Exactly! But then why to follow restrictions and not use the full power of the specific implementation ? > > > *Bruno Borges* > (11) 99564-9058 > *www.brunoborges.com* > > > > On

Re: Wicket as rest backend....

2012-09-21 Thread Bruno Borges
True, but we don't move between impls that often, do we? :-) *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Fri, Sep 21, 2012 at 4:11 PM, Martin Grigorov wrote: > On Fri, Sep 21, 2012 at 8:58 PM, Bruno Borges > wrote: > > Jersey is really good, but you also should consider using the

Re: How to turn off redirect for stateful Wicket page on Wicket 1.5?

2012-09-21 Thread Martin Grigorov
Hi, Use wicket-devutils' StatelessChecker. It will tell you which component or behavior in your page makes the page stateful. If the redirect is not done for really stateful page then the subsequent interactions with it may lead to further problems. WicketStuff is out. It has a known problem that

Re: Wicket as rest backend....

2012-09-21 Thread Martin Grigorov
On Fri, Sep 21, 2012 at 8:58 PM, Bruno Borges wrote: > Jersey is really good, but you also should consider using the spec JAX-RS. > Why not? Because specs are boring and the compatibility between different impls is not as they claim it to be. > > > *Bruno Borges* > (11) 99564-9058 > *www.brunobo

How to turn off redirect for stateful Wicket page on Wicket 1.5?

2012-09-21 Thread Artem
I'm a beginner in Wicket and we have a Wicket application which is not yet migrated to Wicket 6 for various reasons (wicketstuff is not out, no 6.0.1 version, it will require a significant refactoring on our side). How to turn off redirect for stateful Wicket page on Wicket 1.5? We have a page tha

Re: Highlight selected row in AjaxFallbackDefaultDataTable

2012-09-21 Thread Jeremy Thomerson
On Fri, Sep 21, 2012 at 1:26 PM, tome wrote: > Hi Jeremy, > > Thank your for suggestion but being a new in wicket can't understand the TR > meaning also it would be great healp if you give more details like sample > code or detail pointers. Don't know how to use jquery here. > TR = table row. I

Re: Highlight selected row in AjaxFallbackDefaultDataTable

2012-09-21 Thread tome
Hi Jeremy, Thank your for suggestion but being a new in wicket can't understand the TR meaning also it would be great healp if you give more details like sample code or detail pointers. Don't know how to use jquery here. -- View this message in context: http://apache-wicket.1842946.n4.nabble.c

Re: Wicket as rest backend....

2012-09-21 Thread Bruno Borges
Jersey is really good, but you also should consider using the spec JAX-RS. Why not? *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Thu, Sep 20, 2012 at 5:00 PM, Dan Alvizu wrote: > I've used wicket-rest before - it got the job done, but I couldn't use it > for wicket 1.5. > > Since t

Re: Highlight selected row in AjaxFallbackDefaultDataTable

2012-09-21 Thread Jeremy Thomerson
On Fri, Sep 21, 2012 at 9:51 AM, tome wrote: > I am using AjaxFallbackDefaultDataTable to display data.In 1 of the > Abstractcolumn, calling the fragment which has AjaxLink.On click of that > link would like to highlight the complete row where this link is present. > I > looked at the OIR sample

Re: Using a div/span tags for wicket components

2012-09-21 Thread Corbin, James
Well, what would be gained is the flexibility to bind any kind of a form component to a div or a span. So if your markup is, for example, You do not have a bunch of options as to the type of Wicket Component you can bind to this HTML markup. But if you have, You get a bit more flexibility,

Re: Using a div/span tags for wicket components

2012-09-21 Thread Carl-Eric Menzel
On Fri, 21 Sep 2012 14:48:05 + "Corbin, James" wrote: > > > I would like to, instead, specify a span or a div in the markup and > bind the TextField to that markup instead. Why? A TextField needs to bind to an input tag, because that is what the browser will render as a text field. Of cour

Highlight selected row in AjaxFallbackDefaultDataTable

2012-09-21 Thread tome
I am using AjaxFallbackDefaultDataTable to display data.In 1 of the Abstractcolumn, calling the fragment which has AjaxLink.On click of that link would like to highlight the complete row where this link is present. I looked at the OIR sample but could make it out.Please help me. Thanks, -- V

Wicket Behavior triggered by Ajax

2012-09-21 Thread raphw
I have a general problem with my application: I have attache an Ajax OnChangeBehavior to a text field which updates another component whenever a user edits its value. Now I have another component which again updates the text fields value by a prepared collection of values by another Ajax event. My

Using a div/span tags for wicket components

2012-09-21 Thread Corbin, James
I'm sure this subject has been discussed before many times, but would like to revisit it to get some thoughts from the community. Consider a Wicket TextField. The typical markup is something like, I would like to, instead, specify a span or a div in the markup and bind the TextField to that

Wicket 6.0.0 Issue: RadioChoice with AjaxFormChoiceComponentUpdatingBehavior

2012-09-21 Thread Aaron J . Garcia
Hello, I just wanted to report an issue I encountered with Wicket 6.0.0 (there already is a JIRA issue about it). https://issues.apache.org/jira/browse/WICKET-4769 When you attach an AjaxFormChoiceComponentUpdatingBehavior to a RadioChoice inside of a form, clicking on the label of an item doesn

Re: Datepicker with range selection support

2012-09-21 Thread Sébastien Gautrin
Well, If you make a tutorial about creating a plugin using wicket-jquery-ui, even though it'll be for wicket 6, it should be relatively simply adaptable to do the same for wicket 1.5 (unless there's a huge lot of changes between the two for wicket-jquery-ui which is quite possible considering

Re: Datepicker with range selection support

2012-09-21 Thread Sebastien
Hi again, Well... I was looking for a jQuery plugin for the 3rd part of my HowTo's, about creating a plugin using wicket-jquery-ui. Maybe will I play with that one in the coming days... (just note that it will be over Wicket 6) Regards, Sebastien. On Fri, Sep 21, 2012 at 3:53 PM, Sébastien Gaut

Re: how to use the palette component for multiple updates ?

2012-09-21 Thread Sven Meier
Sure, just one additional DropDownChoice for each ListView. The ListView's model takes into consideration what's in the DropDownChoice's model. Sven On 09/21/2012 03:24 PM, grazia wrote: This is very helpful ! Thank you very much. I am still learning on Wicket, I had not used ListChoice. You

Re: Datepicker with range selection support

2012-09-21 Thread Sébastien Gautrin
Hi, I was envisaging it working like the js lib I linked. Creating a component that would embed to Datepickers linked together (adding in that component the logical restrictions such that enforcing start date to be prior end date) would be indeed relatively easy, and we actually have somethin

Re: String Value Conversion Exception

2012-09-21 Thread Stephen Walsh
I attempted your solution Sebastien and did parameters.set("id", 43); This was one of the id's that was showing up in the link when I looked at the status bar. I still got the same error (string value exception) and it also said something about a null pointer. I'm at work and don't have the stac

Re: Datepicker with range selection support

2012-09-21 Thread Sebastien
Hi Sebastien, I am wondering how you imagine your range datepicker... Do you figure a component embedding 2 datepickers like in the jQuery UI demo site, where the user selects alternativey the start date and the end date: http://jqueryui.com/demos/datepicker/#date-range Or a component displaying

Re: No target servlet configured for uri: /

2012-09-21 Thread hannes1608
No, I didn't ask, we are just evaluating a couple of "web frameworks", and we are doing this for another company, we don't use websphere in our company. But you are right, next time we should ask ;) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/No-target-servlet-c

Re: [Wicketstuff] Google Maps 3 component

2012-09-21 Thread Sylvain Vieujot
Hello Joachim, I am trying to replace Gmap2 with Gmap3 in our webapp, I could not find a method similar to GMap2's method GInfoWindow.open(GMarker, Component).\ In GMap3 it seems a GInfoWindow can only have it's content set to a String. Is there any plan to implement this, or is there another way

Re: No target servlet configured for uri: /

2012-09-21 Thread Martin Grigorov
I'm glad you found a solution! I'm still not sure why people pay a lot to suffer a lot. These problems with WebSphere are since its early versions. Since you have to use WebSphere I guess you have contract with IBM. I'm interested did you ask their support about this problem and did they help anyh

Datepicker with range selection support

2012-09-21 Thread Sébastien Gautrin
Hi, I was wondering if there was any wicket component out there for a Datepicker supporting selecting a range of dates. I've looked a bit and couldn't find any (the wicket-extensions' Datepicker doesn't, the wiquery datepicker doesn't, nor does the wicket-jquery datepicker). I didn't find ac

Re: JavaScriptReference

2012-09-21 Thread Martin Grigorov
Thank you! On Fri, Sep 21, 2012 at 2:00 PM, Georg Buschbeck wrote: > okay, i filed a bug report ... > > > > > On 09/21/2012 11:59 AM, Martin Grigorov wrote: >> >> Hi, >> >> Looks like a bug. >> >> On Fri, Sep 21, 2012 at 12:28 PM, Georg Buschbeck >> wrote: >>> >>> hi >>> >>> while trying to inte

Re: No target servlet configured for uri: /

2012-09-21 Thread hannes1608
Works with Glassfish 3 and JBoss 7. That shows that my code is ok, but I still have to figure out how to get it to work with WebSphere 8. Hannes -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/No-target-servlet-configured-for-uri-tp4652160p4652219.html Sent from the

Re: JavaScriptReference

2012-09-21 Thread Georg Buschbeck
okay, i filed a bug report ... On 09/21/2012 11:59 AM, Martin Grigorov wrote: Hi, Looks like a bug. On Fri, Sep 21, 2012 at 12:28 PM, Georg Buschbeck wrote: hi while trying to integrate gmaps3 in our webapp i had issues with the wicketstuff-gmap3 stuff ( - we need a client-id for our requ

Re: How to create a dashboard with draggable widgets?

2012-09-21 Thread Decebal Suiu
Hi I will release today or Monday a wicket-dashboard project on github. This project it's an open source project (Apache license) based on the dashboard implementations from nextserver (for a live demo see http://http://demo.next-reports.com/ user:demo, password:demo). I used jquery sortable from

Re: JavaScriptReference

2012-09-21 Thread Martin Grigorov
Hi, Looks like a bug. On Fri, Sep 21, 2012 at 12:28 PM, Georg Buschbeck wrote: > hi > > while trying to integrate gmaps3 in our webapp i had issues with the > wicketstuff-gmap3 stuff ( - we need a client-id for our request) ... > > so i have: > > public static final String GMAP_API_URL = > "%s:/

JavaScriptReference

2012-09-21 Thread Georg Buschbeck
hi while trying to integrate gmaps3 in our webapp i had issues with the wicketstuff-gmap3 stuff ( - we need a client-id for our request) ... so i have: public static final String GMAP_API_URL = "%s://maps.google.com/maps/api/js?v=3&sensor=%s&client-id=%s"; response.render(JavaScriptHeaderI

Re: [Announce] wicket-jquery-ui 6.0.0 released

2012-09-21 Thread Sebastien
Hi James, you're welcome! Glad to read that you like it. If you have any questions, do not hesitate to use the forum (will may find the address on the homepage). Thanks & best regards, Sebastien. On Fri, Sep 21, 2012 at 9:19 AM, James Eliyezar wrote: > Hi Sebastien, > > Checked out the demos an

Re: How to create a dashboard with draggable widgets?

2012-09-21 Thread Ernesto Reinaldo Barreiro
Hi, I remember there was an example on wiquery repository of of a dashboard built using jquery sortables and jquery draggable/droppables. Adding the "remembering" part should be as simple as storing the position info in some persistent storage. On Fri, Sep 21, 2012 at 12:49 AM, James Eliyezar wro

Re: How to create a dashboard with draggable widgets?

2012-09-21 Thread Martin Grigorov
Hi, There is a recipe for this in Apache Wicket Cookbook book. On Fri, Sep 21, 2012 at 10:49 AM, James Eliyezar wrote: > Wicketers, > > Wondering how to create a google analytics style dashboard with draggable > widgets that remembers it's position across sessions. > Please share your thoughts.

How to create a dashboard with draggable widgets?

2012-09-21 Thread James Eliyezar
Wicketers, Wondering how to create a google analytics style dashboard with draggable widgets that remembers it's position across sessions. Please share your thoughts. -- Thanks & regards James Selvakumar

Re: [Announce] wicket-jquery-ui 6.0.0 released

2012-09-21 Thread James Eliyezar
Hi Sebastien, Checked out the demos and wicket-jquery-ui looks amazing. The examples are very clear, the code looks much simpler. Looks I'll be moving over to wicket-jquery-ui soon. Thank you for all your efforts and hardwork. On Thu, Sep 13, 2012 at 7:19 AM, Sebastien wrote: > I am glad to fol