Re: JSON response in wicket = 6.0.0

2012-11-12 Thread Gonzalo Aguilar Delgado
Hello, Thank you a lot both!!! It's great to work with this framework and the delightful people that support it! Tnx! El lun, 22-10-2012 a las 12:07 +0200, Ernesto Reinaldo Barreiro escribió: Hi Martin, Thanks for the clarification. AJAX requests are handled int two steps

Selectable Tree WicketTester

2012-11-12 Thread void
I took the following classes from the tree example to implement a selectable tree: - Foo - FooExpansion - FooProvider - SelectableFolderContent Now I'd like to test the tree with WicketTester: - click on the plus sign of a node; does the sub tree open? Are the children visible? - click

Re: SortableDataProvider setSort default sort order

2012-11-12 Thread Jesse Long
Hi Steven, The exact details of the sort order are up to you. SortableDataProvider doesn't actually do any sorting, it only provides the sort state methods to manage the *desired* sort order. You must still return the items in the correct order when the iterator() method is called. Cheers,

Wicket Bootsrap Accordion

2012-11-12 Thread Ronny.Voss
Hi there I have been looking into best way to support subject. Does a Wicket Bootstrap Accordion component exist - somebody made such? any knowledge here? kindly share... Thx! Best regards/Med venlig hilsen Ronny Voss Nordea Bank Danmark A/S Online Securities Processing Solutions Strandgade

Detecting HTML 5 Features in Wicket

2012-11-12 Thread Corbin, James
Is there any built in support for detecting HTML 5 browser features like Web Storage? If not, what is the recommended approach for doing so? I'm looking for a way to detect support for Web (e.g. Local) Storage, so in cases where the browser's do not support it (e.g., IE7), I can use cookies

RE: Detecting HTML 5 Features in Wicket

2012-11-12 Thread Phillips, David
I would suggest taking a look at Modernizr (http://modernizr.com/) for feature detection. Thanks, -David Phillips - USAA -Original Message- From: Corbin, James [mailto:jcor...@iqnavigator.com] Sent: Monday, November 12, 2012 8:40 AM To: users@wicket.apache.org Subject: EXTERNAL:

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-12 Thread Alec Swan
It turned out that RequestCycle.get().getUrlRenderer().renderFullUrl(..) always returns URL starting with http://localhost:8080 even when I deploy my on the DEV server. Has anyone experienced this issue? Thanks, Alec On Tue, Nov 6, 2012 at 9:31 AM, Alec Swan alecs...@gmail.com wrote: To solve

RE: Detecting HTML 5 Features in Wicket

2012-11-12 Thread Phillips, David
'getBatherExtendedBrowserInfo()' really just builds a small page to test client side settings which posts back the information it's gathered. That page is provided from 'newBrowserInfoPage()' in WebSession. Thus, if you want to plug Modernizr into your session before the page load, you can

Re: Detecting HTML 5 Features in Wicket

2012-11-12 Thread Corbin, James
Thanks for the suggestions. J.D. On 11/12/12 9:05 AM, Phillips, David david.phill...@usaa.com wrote: 'getBatherExtendedBrowserInfo()' really just builds a small page to test client side settings which posts back the information it's gathered. That page is provided from

Wicket 6 Atmosphere - where to configure filter-mapping dispatchers?

2012-11-12 Thread pkc
Before atmosphere, i used a standard web.xml filter and the following mappings: filter-mapping filter-namewicket/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher

Session Destroy

2012-11-12 Thread Corbin, James
Is there any way in Wicket 6+ to be notified when the session is ABOUT to be destroyed? The UnboundListener.sessionUnbound(…) API is too late in the cycle for me to interact with the session state. Thanks, J.D.

Re: Links in modal dialog are relative to dialog URL and not base page URL

2012-11-12 Thread Alec Swan
I was unable to figure this out and ended up changing the mount path of the dialog from /root/dialog to /root-dialog in order to match the depth of the parent page's mount path /root. I wish there was a cleaner way to fix this. Does anybody have any thoughts on this? Thanks, Alec On Mon, Nov

how do you pass load=effects to scriptaculous.js

2012-11-12 Thread saty
in wicket 6. using the below code, not sure how to pass the arguments as is done by the current code (wicket 1.4) JSLib.getHeaderContribution(VersionDescriptor.alwaysLatest(Library.SCRIPTACULOUS)).renderHead(response) Thanks -- View this message in context:

stange error, OnChangeAjaxBehavior() executed only once

2012-11-12 Thread saty
I am right now struggling to find the cause of this strange error, spangly the OnChangeAjaxBehavior() is executed only once on first change, subsequent changes do nothing. private final IModelDate datamodel= new ModelDate(new Date()); private void addDateSelection(Form? filterForm) {

Re: Session Destroy

2012-11-12 Thread Dan Retzlaff
Martin G put together a Session#onInvalidate() callback for this, but it didn't receive much interest. See https://issues.apache.org/jira/browse/WICKET- On Mon, Nov 12, 2012 at 8:32 PM, Corbin, James jcor...@iqnavigator.comwrote: Is there any way in Wicket 6+ to be notified when the session