Re: REDIRECT_TO_BUFFER and Url encoding problem with Umlauts

2013-04-10 Thread Dirk Forchel
Seems to be not a problem with Wicket but rather with Tomcat. The requestURI is not encoded correctly (see below). target Url: landing/M%C3%A4nner/men.html redirect_to_buffer targetUrl: landing/M%C3%A4nner/men.html targetUrl2: landing/M%C3%A4nner/men.html?1 storeBufferedResponse:

Loading the contents of an expensive panel asynchronously

2013-04-10 Thread pureza
Hi, I am using a bootstrap dropdown (http://twitter.github.io/bootstrap/javascript.html#dropdowns) and I want its submenu to load only when the user clicks the dropdown, because its contents are expensive to retrieve. To be more concrete, this is the behavior that I'm looking for: when the user

Re: IHeaderResponse serialization problem Wicket 6

2013-04-10 Thread Martin Grigorov
Hi, Maybe you use a third party library that is compiled against Wicket 1.5.x. Additionally it seems there is a hard reference to an instance of IHeaderResponse and it is being serialized with the page. The problem is during serialization, not deserialization. When you find it make sure that you

Re: REDIRECT_TO_BUFFER and Url encoding problem with Umlauts

2013-04-10 Thread Dirk Forchel
Heureka, I found the solution by myself. I changed the URI encoding in my server.xml and all works fine: Connector port=8080 URIEncoding=UTF8/ -- View this message in context:

Re: Loading the contents of an expensive panel asynchronously

2013-04-10 Thread Martin Grigorov
Hi, Just use an AjaxLink that shows the Loading... div element in beforeSend handler (IAjaxCallListener) and replace it with the real panel within the Ajax response. It is normal Wicket Ajax replacement. On Wed, Apr 10, 2013 at 11:52 AM, pureza pur...@gmail.com wrote: Hi, I am using a

Re: REDIRECT_TO_BUFFER and Url encoding problem with Umlauts

2013-04-10 Thread Martin Grigorov
Thanks for sharing, Dirk! On Wed, Apr 10, 2013 at 12:05 PM, Dirk Forchel dirk.forc...@exedio.comwrote: Heureka, I found the solution by myself. I changed the URI encoding in my server.xml and all works fine: Connector port=8080 URIEncoding=UTF8/ -- View this message in context:

Re: IHeaderResponse serialization problem Wicket 6

2013-04-10 Thread datazuul
Hi Martin, the thirdparty libraries hint seems to be a good one. I use visural wicket for 1.5... (and some others like wiquery...) I will remove this dependency/ies and come back with the result later (when I am at home and can verify this) thanks, so far! -- View this message in context:

Re: Loading the contents of an expensive panel asynchronously

2013-04-10 Thread pureza
Thanks, that did it! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Loading-the-contents-of-an-expensive-panel-asynchronously-tp4657864p4657870.html Sent from the Users forum mailing list archive at Nabble.com.

Question / extracting models in constructors

2013-04-10 Thread Patrick Davids
Hi together, I'm in a discussion with my collegues about extracting models in constructors of components. Best practices says: DONT, because of accidently holding references of extrated objects / out of mems / etc. But, if we want to have a component containing a form is responsable to

Re: Question / extracting models in constructors

2013-04-10 Thread Sven Meier
extracting model [objects] in constructors of components. Best practices says: DONT How about creating the address lazily? IModelAddress address = new CreateAndSetIfNull(new PropertyModelAddress(person, address)) { protected Address onCreate() { return

Re: Question / extracting models in constructors

2013-04-10 Thread Patrick Davids
Thank you. :-) Interesting concept... Unfortunately still have the question: Why is it recommended not to extract a given model (1), if it is just needed to create another empty model (2) via a servicecall in a constructor (I do not hold a reference to model (1) as member in the page or

Overriding Form.onFileUploadException in nested forms

2013-04-10 Thread Martin Dietze
I am using Wicket 6.6.0, and I'm running into a nasty problem with upload sizes. In a complex editor, there is an upload component which itself contains a Form with an AjaxButton for triggering the upload. If the upload exceeds the allowed max size, the SizeLimitExceededException is caught in

Re: Question / extracting models in constructors

2013-04-10 Thread Sven Meier
You never know whether the given model is ready for its #getObject() to be called. For example ResourceModel needs its owning component to be attached to a page to function properly. we have to extract it anyway, just somewhere else. I'd phrase it we have to extract it anyway, just somewhat

collapse/expand panel

2013-04-10 Thread Teresa Batista Neto
Dear all, Does anyone knows how can I add a collapse/expand panel to a form in wicket? Best regards, Teresa

Busy Indicator to prevent user activity

2013-04-10 Thread saty
Following instructions works great however they do not address the problem of preventing user from clicking anywhere until the request is processed. https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html I need the busy indicator / gif to layer the

Re: Busy Indicator to prevent user activity

2013-04-10 Thread Ernesto Reinaldo Barreiro
I think what you are missing is just the CSS part of the solution Look, for instance, at how modal window is creating blocking layer On Thu, Apr 11, 2013 at 2:06 AM, saty satya...@gmail.com wrote: Following instructions works great however they do not address the problem of