catch jquery event at AjaxEventBehavior

2011-08-01 Thread Lurtz Nazgul
Hi; I used jquery dialog. I can open and close jquery dialog box. I represent jquery dialog as a panel at wicket side. My question is how can i catch jquery close event ? I tested like below but it doesn't work dialogConfirmation.add(new AjaxEventBehavior(close) {

Re: catch jquery event at AjaxEventBehavior

2011-08-01 Thread julien roche
Hi, You can use the setCloseEvent method of the Dialog component: http://code.google.com/p/wiquery/source/browse/trunk/src/main/java/org/odlabs/wiquery/ui/dialog/Dialog.java#702 And if you want to associate the event to an Ajax Behavior, I suggest you to look on this example (

Re: show modal window without clicking on ajaxLink

2011-08-01 Thread Mathilde Pellerin
I use Wicket 1.4.17. I tried with replaceWith like this : //affichage du module interactif String idContent = qPage.getModalWindow().getContentId(); ModuleContentPanel moduleContentPanel = new ModuleContentPanel(idContent);

Re: Xforms Controls within Wicket Application

2011-08-01 Thread sramay
Hi, My request for integrating XFORMS within a Wicket Application is as follows: I have a XForms (with XHTML as hosting language) with few controls, actions, etc. for validation on client-side. This form uses XSLTForms as XForms engine. This form should be integrated with normal Wicket

Re: show modal window without clicking on ajaxLink

2011-08-01 Thread Andrea Del Bene
Hi, I've adapted (and tested) my solution to wicket 1.4.17. It's slightly different from 1.5 because you should pass target.addComponent just moduleContentPanel and not the whole window. The code of my solution is this: //modal window constructor add(new AjaxLink(btn) {

Re: show modal window without clicking on ajaxLink

2011-08-01 Thread Mathilde Pellerin
Thank you very much Andrea. Now unit tests are OK and it works well when I test it manually. 2011/8/1 Mathilde Pellerin mathilde.pelle...@statlife.fr I use Wicket 1.4.17. I tried with replaceWith like this : //affichage du module interactif String idContent

Re: serialization problem with spring

2011-08-01 Thread Martin Grigorov
My application uses wicket-spring and I tested kryo-serializer with it while developing it. No problems at all with serializing JDK based proxies or CGLIB based ones. We don't use Spring Data-JPA nor any other kind of JDBC based backend... On Mon, Aug 1, 2011 at 8:41 AM, Joe Fawzy

Re: Xforms Controls within Wicket Application

2011-08-01 Thread Zilvinas Vilutis
Hi, I don't see any current integration between wicket XForms available, but you can always start one, e.g. in code.google.com :) You may always extend the form component ( or any other ) and override the getMarkup ( or whatever method Wicket provide - Igor please correct me here ) to generate

Re: Scala DSL for Wicket

2011-08-01 Thread Bruno Borges
The WicketStuff Scala project is the best way to put all this. The project is more Scala-based components driven, like Fodel/SLabel and SForm, but I think Scala can offer even more advantages like the one you propose here. DSL is the way to go IMO for this Scala-Wicket integration *Bruno

Re: Manually Rendering a DataGridView

2011-08-01 Thread Matt Schmidt
Gotcha. Is there a way to do this without adding the DGV to the page? In my case, I just want to add an empty table/ tag and pass the would-be rendered HTML of the DGV to a jQuery function that populates the table. Specifically, I am trying to dynamically instantiate a jQuery DataTables using the

Re: serialization problem with spring

2011-08-01 Thread Dan Retzlaff
Did you put a breakpoint on the serialization exception? I'd guess that something in your component hierarchy is holding a reference to AccountDAO. Wicket only proxies @SpringBean annotated variables. On Sun, Jul 31, 2011 at 10:10 PM, Joe Fawzy joewic...@gmail.com wrote: Hi i am living on the

Re: Manually Rendering a DataGridView

2011-08-01 Thread Martin Grigorov
See https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/datatables-parent On Mon, Aug 1, 2011 at 3:54 PM, Matt Schmidt mschmid...@gmail.com wrote: Gotcha. Is there a way to do this without adding the DGV to the page? In my case, I just want to add an empty table/ tag and pass the

Re: Xforms Controls within Wicket Application

2011-08-01 Thread Martin Grigorov
On Mon, Aug 1, 2011 at 2:17 PM, Zilvinas Vilutis cika...@gmail.com wrote: Hi, I don't see any current integration between wicket XForms available, but you can always start one, e.g. in code.google.com :) You may always extend the form component ( or any other ) and override the getMarkup (

Re: catch jquery event at AjaxEventBehavior

2011-08-01 Thread Lurtz Nazgul
Hi ; I used AbstractDefaultAjaxBehavior to catch jquery close event. On jquery side i triggered event when jquery event window closed. wicketAjaxGet('+behavior.getCallbackUrl()+ '); It is little tricky. Thanks. From: Lurtz Nazgul lu...@ymail.com To:

Re: Manually Rendering a DataGridView

2011-08-01 Thread Matt Schmidt
I already have a WiQuery plugin/behavior that does basically the same thing. It renders the table's HTML to the page, then jQuery has to parse through it and put it in the DOM to initialize. It gets awfully slow with a lot of data. That's why I'm trying to not render the table to the HTML at all,

Why isn't my stateless form recreated from page parameters automatically?

2011-08-01 Thread Mike Mander
Hi, i would like to build up a stateless page for collecting an itemId and an amount from my user. The website should act as a direct shopping formular. The user only should insert the data and on form submission the itemId is checked for existence. A helper button should clear the field

Re: Manually Rendering a DataGridView

2011-08-01 Thread Pedro Santos
I don't think you can because page carries some renderer state. What do you think about use a transient page? one with just one component slot available to you plug any component you want, visit children, extract the info you need to assemble the JavaScript, and discard its instance to be garbage

Wiquery - jqGrid and top toolbar buttons

2011-08-01 Thread Joselito Lobo
Hi folks, I'm using an integration of jqgrid with wicket and I would like to know if there's a way to include wicket buttons in the top toolbar, below the caption, in the same way we do with the jquery code: $(#t_GRID_ID).append(input type='button'...) regards, Joselito.

radio button example help

2011-08-01 Thread wmike1...@gmail.com
This code is from the wicket examples: I'm having a lot of trouble understanding it. How is the current selection recognized? Why does the compound property model (the Input object) not have any getters/setters? package org.apache.wicket.examples.compref; import java.util.Arrays; import

Wicket - TinyMCE

2011-08-01 Thread ramazan pekin
Hi to everyone, I am looking for rich text editor and I found TinyMCE. But I couldnt find any document/example page how can I integrate wicket and TinyMCE explained detailed. Do you know is there any documentation or example about this subject? Thanks, br. Ramazan

How to handle exceptions caused by img src=GARBAGE?

2011-08-01 Thread Alec Swan
Hello, Our app has a basic HTML editor where users can enter some HTML code. Sometimes users enter something like img src=GARBAGE. When the browser displays renders the page with this HTML it treats GARBAGE as a relative URL. So, the browser tacks GARBAGE on to the current page URL causing the

Re: Wicket - TinyMCE

2011-08-01 Thread Michal Letynski
Hi. W dniu 2011-08-02 04:29, ramazan pekin pisze: Hi to everyone, I am looking for rich text editor and I found TinyMCE. But I couldnt find any document/example page how can I integrate wicket and TinyMCE explained detailed. Do you know is there any documentation or example about this subject?

RE: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Chris Colman
Are there any examples of Wicket integrated with FckEditor (the one before CkEditor)? -Original Message- From: Michal Letynski [mailto:m...@consol.ae] Sent: Tuesday, 2 August 2011 3:25 PM To: users@wicket.apache.org Subject: Re: Wicket - TinyMCE Hi. W dniu 2011-08-02 04:29, ramazan pekin

Re: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Josh Kamau
Hi Michal, If you want a really nice and simple Rich Text Editor, take a look at visural-wicket project. Here is the link to the demos - http://wicket.visural.net/examples/app/ regards. Josh. On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman chr...@stepaheadsoftware.comwrote: Are there any

Re: wicketstuff tinymce development

2011-08-01 Thread Michal Letynski
W dniu 2011-07-29 18:30, jbrookover pisze: Michal Letynski wrote: Ok i solved the problem. I used wrong version (1.4.17.3 - its buggy). I get exceptions: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at

Re: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Michal Letynski
W dniu 2011-08-02 09:34, Josh Kamau pisze: Hi Michal, If you want a really nice and simple Rich Text Editor, take a look at visural-wicket project. Here is the link to the demos - http://wicket.visural.net/examples/app/ NicEdit is dead. Its not supported for long time. regards. Josh. On

RE: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Chris Colman
Unfortunately we're using some features of FckEditor that don't seem to be supported by Visural. The main one is the support of images and being able to specify an image provider that can provide the user with a list of images available to choose from. The developer can define virtually any