Re: getCallbackFunctionBody - Wicket.Ajax.ajax?

2013-07-22 Thread Martin Grigorov
Hi, On Fri, Jul 19, 2013 at 5:10 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, I use the javascript generated by getCallbackFunction just fine. Here's an actual function used as an onclick callback: function (event) { var attrs =

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-22 Thread Andrea Del Bene
Hi, you can have a look at InPlaceEditComponent which is used in the example page InlineTinyMCEPage (see code at https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java) Hello, I have a

Re: getCallbackFunctionBody - Wicket.Ajax.ajax?

2013-07-22 Thread Frank van Lankvelt
On Mon, Jul 22, 2013 at 9:13 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, On Fri, Jul 19, 2013 at 5:10 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, I use the javascript generated by getCallbackFunction just fine. Here's an actual function used as an onclick

Re: Wicket Atmosphere - Encoding and MultiTab issues

2013-07-22 Thread Martin Grigorov
Hi, On Thu, Jul 18, 2013 at 4:22 PM, fliptaboada fliptabo...@gmail.com wrote: Hi, I'm using wicket atmosphere on multiple pages to push some messages, like when a report is ready. The first problem is that the html updated by the wicket-atmosphere response arrives with broken enconding.

Re: Adding checkbox column to DefaultDataTable

2013-07-22 Thread Sven Meier
What does CheckboxColumn look like? Sven On 07/19/2013 07:28 PM, BrianWilliams wrote: This works just fine to add checkboxes to a ListView: final CheckGroupPerson group = new CheckGroupPerson(group, new ArrayListPerson()); Form? form = new Form(form) {

Sharing Bookmarkable pages.

2013-07-22 Thread Peter Henderson
When a user emails a link to another user sometimes the wrong page is rendered. Alice sends http://starjar.com/Part/123?111 to Bob who is was recently looking at http://starjar.com/Order/456?111 Instead of seeing the part page he see the order page. I assume this is because of the page version

Re: Sharing Bookmarkable pages.

2013-07-22 Thread Sven Meier
Hi, I cannot reproduces the problem here, which Wicket version are you using? Note that PageProvider#getStoredPage(int) has a safety check to make sure the page classes matches. Sven On 07/22/2013 01:38 PM, Peter Henderson wrote: When a user emails a link to another user sometimes the

Re: Sharing Bookmarkable pages.

2013-07-22 Thread Peter Henderson
Hmm. My initial description is incorrect. Alice sends /Order/123?8 to Bob. Bob was recently looking at /Order/222?8 Bob shows a url of /Order/123?8 but is actually viewing /Order/222 I used 2 browsers (firefox+chromium) to reproduce. I am using wicket 6.8 Should I be mounting the pages with

Re: Sharing Bookmarkable pages.

2013-07-22 Thread Sven Meier
Yes, that makes more sense: The page identifier takes precedence - if page ?8 is available it will be shown to the user (given it has the correct type). The actual page parameters don't matter. IMHO this is a bug and you should create a Jira issue. Sven On 07/22/2013 03:44 PM, Peter

Re: Sharing Bookmarkable pages.

2013-07-22 Thread Martin Grigorov
On Mon, Jul 22, 2013 at 4:54 PM, Sven Meier s...@meiers.net wrote: Yes, that makes more sense: The page identifier takes precedence - if page ?8 is available it will be shown to the user (given it has the correct type). The actual page parameters don't matter. IMHO this is a bug and you

Re: Sharing Bookmarkable pages.

2013-07-22 Thread Sven Meier
Thanks Martin! I'll dig into its history. Sven On 07/22/2013 03:59 PM, Martin Grigorov wrote: On Mon, Jul 22, 2013 at 4:54 PM, Sven Meier s...@meiers.net wrote: Yes, that makes more sense: The page identifier takes precedence - if page ?8 is available it will be shown to the user (given it

Wicket 1.5 URLs

2013-07-22 Thread Eric Gulatee
Hi fellow Wicketeers, We are in the process of upgrading a 1.4.X application to 1.5.X We had 2 different URL 'contexts' within the same Wicket 1.4 Application. /protected/* All pages annotated with security. [In order to use J2EE security, LTPA, Kerberos etc] /* All unprotected pages

Re: Wicket 1.5 URLs

2013-07-22 Thread Eric Gulatee
Some more details, Using a quickstart, If I replace the pageinstancemapper by a custompageinstancemapper which does nothing else than extending pageinstancemapper, I am getting pageexpiredpages. This matches the kind of behavior I get when I add a second pageinstancemapper mapping to another

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-22 Thread Alec Swan
Andrea, thank you for a good pointer. The thing I am struggling with is adding class=collapse to the xxx_wrapper_component which seems to be created by TinyMCE JavaScript after my Wicket code can add AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() + ').css('class', 'collapse');.

problem with ajax buttons + fields with AjaxFormComponentUpdatingBehavior

2013-07-22 Thread Andrew Geery
I have a form that is submitted with an AjaxButton. One of the fields in the form uses an AjaxFormComponentUpdatingBehavior to update the server-side state when a value in the field changes (i.e., it fires onchange). If the user changes the field with the AjaxFormComponentUpdatingBehavior