Javascript Wicket wrapper (like ExtGwt and SmartGWT) ?

2008-12-01 Thread Cédric Thiébault
Why don't we have some nice Javascript frameworks on top of Wicket like what exists for wrapping GWT ? http://extjs.com/explorer http://www.smartclient.com/smartgwt/showcase Is there a reason why people implements these wrappers for GWT and not for Wicket ? We should be able to do exactly the

Re: Javascript Wicket wrapper (like ExtGwt and SmartGWT) ?

2008-12-02 Thread Cédric Thiébault
Hi, Yes I was thinking about something like this but with more complete Javascript frameworks (but I don't know very well JQuery in fact). Ext-JS and SmartClient offer lots of nice widgets with a sharp design. Pure Wicket also offer built-in widgets but not as rich/sharp as these frameworks... I

Re: DropDownChoice and lazy loaded choices

2008-09-16 Thread Cédric Thiébault
Thanks Michael. But I don't use the OpenSessionInviewFilter and I don't want to use it. It creates more problems than it solves in my edit pages. The LoadableDetachableModel will load the whole list of choices, not just the one that was selected by the user. I will encounter the same error

Re: DropDownChoice and lazy loaded choices

2008-09-16 Thread Cédric Thiébault
at 10:16 AM, James Carman [EMAIL PROTECTED]wrote: What problems does it cause? On Tue, Sep 16, 2008 at 9:14 AM, Cédric Thiébault [EMAIL PROTECTED] wrote: Thanks Michael. But I don't use the OpenSessionInviewFilter and I don't want to use it. It creates more problems than it solves in my

Re: DropDownChoice and lazy loaded choices

2008-09-16 Thread Cédric Thiébault
/commit) and I will have an exception. Maybe I'm wrong but I remember this kind of errors with Spring MVC... Cedric On Tue, Sep 16, 2008 at 10:16 AM, James Carman [EMAIL PROTECTED]wrote: What problems does it cause? On Tue, Sep 16, 2008 at 9:14 AM, Cédric Thiébault [EMAIL

Checkbox and enum value

2008-09-24 Thread Cédric Thiébault
Hi, I'm trying to use a checkbox to set an enum value on my form object but I always get a type mismatch error (boolean is not an enum and vice versa). My form object has an enum and I want to display a list of checkboxes to allow the user to select the value. I don't want to use a radio because

Re: Checkbox and enum value

2008-09-26 Thread Cédric Thiébault
Vaynberg [EMAIL PROTECTED] wrote: see abstractcheckboxmodel -igor On Wed, Sep 24, 2008 at 11:37 AM, Cédric Thiébault [EMAIL PROTECTED] wrote: Hi, I'm trying to use a checkbox to set an enum value on my form object but I always get a type mismatch error (boolean is not an enum and vice versa

Non-modal ModalWindow ?

2008-10-06 Thread Cédric Thiébault
Is there an equivalent of the ModalWindow but non-modal, ie without a mask that prevent user from interacting the rest of page ? Thanks! Cedric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Non-modal ModalWindow ?

2008-10-06 Thread Cédric Thiébault
A ModalWindows is not just a DIV with a mask... I need all the ModalWindow logic (show/hide, drag, resize, etc.) but not the mask. Cedric On Mon, Oct 6, 2008 at 3:30 PM, Daan van Etten [EMAIL PROTECTED] wrote: Yes, it's called a DIV. Regards, Daan On 6 okt 2008, at 21:08, Cédric

@MountPath with same path

2008-10-20 Thread Cédric Thiébault
Hi, I want to use REST url for my application using wicketstuff-annotation but it seems that I can't use the same path for 2 pages. For example : - /products for the list of products @MountPath(path = products) public class ProductListPage extends Webpage - /products/5 for the detail of

Re: @MountPath with same path

2008-10-21 Thread Cédric Thiébault
: @MountPath with same path How about mounting that to just products and displaying different content based on the presence of the parameter? You abstract the content of both pages into panels and show one or the other based on the paramter. Jörn On Mon, Oct 20, 2008 at 6:15 PM, Cédric Thiébault

File upload with inner form and modal window

2010-12-07 Thread Cédric Thiébault
Hi, I want to upload files with an Ajax form that is in a modal window (using a Panel, not a WebPage). The modal and its form are part of the main form: main-page.html form wicket:id=form div wicket:id=modal / input type=submit wicket:id=submit / /form upload-window.html form wicket:id=form

Re: File upload with inner form and modal window

2010-12-07 Thread Cédric Thiébault
: http://dl.dropbox.com/u/2167784/wicket-modal-upload.zip Cedric 2010/12/7 François Meillet fm...@meillet.com: just add form.setMultiPart(true); in your form François Le 7 déc. 2010 à 20:11, Cédric Thiébault a écrit : Hi, I want to upload files with an Ajax form that is in a modal

Re: File upload with inner form and modal window

2010-12-07 Thread Cédric Thiébault
, String fileName); } 2010/12/7 François Meillet fm...@meillet.com: it has to be in the main form afaik François Le 7 déc. 2010 à 20:27, Cédric Thiébault a écrit : I've done this in the modal window form... And I set it to false for the main form that is not used for uploading

Re: File upload with inner form and modal window

2010-12-07 Thread Cédric Thiébault
ModelFormBean(formBean);   FormFormBean form = new FormFormBean(form, model);   form.setMultiPart(false);    should be true   add(form); François Le 7 déc. 2010 à 20:45, Cédric Thiébault a écrit : It is... Here is the code... HomePage.html html xmlns:wicket=http