RE: contributing external javascript resources

2012-08-07 Thread Phillips, David
That's the correct way to reference external resources (prior to Wicket 6). Wicket will just include a script tag in your HeaderResponse container. This looks like it might be an issue related to the way you initialize the google maps API. This stackoverflow comment suggests a possible

pivot table for wicket

2012-08-07 Thread Decebal Suiu
Hi I implemented a simple pivot table for wicket that can be found at https://github.com/decebals/wicket-pivot Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pivot-table-for-wicket-tp4651031.html Sent from the Users forum mailing list

Re: pivot table for wicket

2012-08-07 Thread Tom Eugelink
Great! Always a very useful component! Tom On 7-8-2012 9:46, Decebal Suiu wrote: Hi I implemented a simple pivot table for wicket that can be found at https://github.com/decebals/wicket-pivot Best regards, Decebal -- View this message in context:

Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-07 Thread heapifyman
If I use an AjaxLink instead of an AjaxButton I still get the same behaviour. The values in the form are not reset when clicking the Cancel link/button. My form has a CompoundPropertyModel and just three TextFields. Each TextField has an AjaxFormComponentUpdatingBehavior for validation on event

RE: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-07 Thread Phillips, David
The primary nature of the AjaxFormComponentUpdatingBehavior is to validate the input and update the model. If you are looking to do the validation piece without updating the model, you probably want to use an AjaxEventBehavior instead. In onEvent you can then call inputChanged and validate

Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-07 Thread Martin Grigorov
On Tue, Aug 7, 2012 at 1:25 PM, Phillips, David david.phill...@usaa.com wrote: The primary nature of the AjaxFormComponentUpdatingBehavior is to validate the input and update the model. If you are looking to do the validation piece without updating the model, you probably want to use an

Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-07 Thread heapifyman
2012/8/7 Martin Grigorov mgrigo...@apache.org On Tue, Aug 7, 2012 at 1:25 PM, Phillips, David david.phill...@usaa.com wrote: The primary nature of the AjaxFormComponentUpdatingBehavior is to validate the input and update the model. If you are looking to do the validation piece without

Re: MountedMapper and CryptoMapper

2012-08-07 Thread jchappelle
Hi Jesse, Thanks for the response. I am using 1.5.4. And I don't have any other IRequestMappers installed. I will say that it doesn't affect other pages. So if I click a link that takes me to another page then it's fine. However, we use bread crumb pages quite a bit so if one page has

Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-07 Thread Bertrand Guay-Paquet
The cancel link should just set an empty model object to the form. What if I'm editing an existing entity that's coming from a database (not creating a new one) and I want to display the original values after clicking Cancel? I assume I have to reload the entity and set it as the model object

ConversionException when wanting to cancel validation

2012-08-07 Thread Jeroen van Dijk
Hi all Wicket users, I've ran into a feature where I can't stop validation without a crash, or I have to remove my converter. I have some kind of wizard, and with option that where ever you click, data will be tried to save. This means: all links are submitlinks, and if possible, save the new

Re: MountedMapper and CryptoMapper

2012-08-07 Thread jchappelle
I think what I am going to do is have a mounted page called AbcMountedPage that throws a RestartResponseAtInterceptPageException so that it redirects to AbcPage. That way AbcPage will be handled by CryptoMapper. I've also noticed that there is a RedirectPage. I could extend that I suppose. It's

Re: Editing list in Dataview

2012-08-07 Thread jchappelle
You don't have to have Spring to do this one table, it just makes it easier to do many more like really fast in the future. It is more scalable. The Dataview and ListView components are just the UI component(the view). So your query won't have to change. The main thing that will change is how you

dynamic control of location of panels on page

2012-08-07 Thread oggie
Let's say we want to have a number of widgets on the page. But we want to be able to dynamically define what widgets are shown, and in what order they appear on the page. So I can create a bunch of panels, each with their own html, and add those panels to a container to display on the screen. But

RE: dynamic control of location of panels on page

2012-08-07 Thread Paul Bors
Well, if you use a repeater it will go through its model in the order you added the items to it. If you want to control where on the page they go, then you would need some kind of dynamic template or overlay. For that I used HTML tables with North, South, Center, East, West table cells and I add