Re: Wizard - change the component outlook

2007-10-21 Thread Eelco Hillenius
If i were to change the layout or lets say the default button names when using the Wizard class, is there any way to do it other than extending the Wizard class itself and defining my custom markup ? That depends on what you want to do. You can pass in false for the addDefaultCssStyle

Re: Weird Ajax non-English characters encoding problem.

2007-10-21 Thread Matej Knopp
I don't know tbh. I believe the request body is encoded in UTF-8. People usually use UTF-8, so no-one was complaining before. Can't you just use UTF-8? It's much safer than latin1. -Matej On 10/20/07, Johan Compagner [EMAIL PROTECTED] wrote: are you configuring wicket and you appserver

replacing panel with form

2007-10-21 Thread jar ade
Hi all, I´m trying to replace a Panel with a Form when the user clicks a link like so public void onClick() { getPage().get(content).replaceWith(new LoginForm(content, new User())); } The old content is a component extending Panel, and the new a component LoginForm

Re: Session managment

2007-10-21 Thread Martijn Dashorst
What heavy session drawback are you talking about? Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/ - To

Re: Session timeout

2007-10-21 Thread Martijn Dashorst
This is something for your container, and is specific to that IIUC. You could check the servlet api for ServletContext Martijn On 10/20/07, glr [EMAIL PROTECTED] wrote: Hello Can anyone tell me what the desired way is to query the value of the session timeout from within Wicket? Thanks

Re: replacing panel with form

2007-10-21 Thread Martin Funk
You are not doing anything really wrong, its not Component.replaceWith that is complaining but the renderer. Embedding the Form in a Panel is a reasonable solution, alternatively you could add both components and toggle their visibility. Martin jar ade schrieb: Hi all, I´m trying to

Re: replacing panel with form

2007-10-21 Thread jar ade
Thanks a lot, I´ll go for the visibility-toggle in this case. */ On 10/21/07, Martin Funk [EMAIL PROTECTED] wrote: You are not doing anything really wrong, its not Component.replaceWith that is complaining but the renderer. Embedding the Form in a Panel is a reasonable solution,

IndexedParamUrlCodingStrategy behaves strangely when there is no parameter in the URL

2007-10-21 Thread Ludovic Orban
Hi, I've mounted a page like this: mount(new IndexedParamUrlCodingStrategy(/page, MyPage.class)); MyPage class has a contructor which accepts PageParameters. When I try to access the page with any of these URLs: http://myserver/page/ or http://myserver/page the PageParameters contains a

Re: IndexedParamUrlCodingStrategy behaves strangely when there is no parameter in the URL

2007-10-21 Thread Ludovic Orban
Done: https://issues.apache.org/jira/browse/WICKET-1092 Thanks for your help. Ludovic -- View this message in context: http://www.nabble.com/IndexedParamUrlCodingStrategy-behaves-strangely-when-there-is-no-parameter-in-the-URL-tf4666083.html#a13331634 Sent from the Wicket - User mailing list

Re: Out of order requests

2007-10-21 Thread jan_bar
Thanks for your support, the problem is in PageMap.access(): ... // Remove whole page remove(topPage); Jan -- Jan Bares http://jan.vegetband.cz Matej Knopp [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I believe the problem is accessstackpagemap removing pages too eagerly.

BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter from URL?

2007-10-21 Thread Carl-Eric Menzel
Hi, in my application I mount a page like this: mountBookmarkablePage(/view, ViewGallery.class); Then, on a page I try to make a bookmarkable page link like this: final PageParameters pageParameters = new PageParameters(new HashMap() { { put(gallery, galleryId); } });

Wicket Model - A very simple question

2007-10-21 Thread mfs
Guys, Would sound like a very naive question, actually still in the process of understand the different concepts in wicket, Wicket Models in this particular case...so my question is Wouldn't the below two statements act exactly the same given i have a person object (which i would say both

Multiple child-extend in one page?

2007-10-21 Thread Ali Sakebi
Hi, Is there any way to have multiple child tag in one page, like multiple method in one class that can be extended? I need to provide some way that other pages can extend base layout that have multiple place like main, header, left to be extended. If it is not possible to have multiple child in

Re: Wicket Model - A very simple question

2007-10-21 Thread Eelco Hillenius
Wouldn't the below two statements act exactly the same given i have a person object (which i would say both acts as a model as well as an object to which the form data is submitted) defined in a page. add(new RequiredTextField(person.userName)); add(new

Re: Multiple child-extend in one page?

2007-10-21 Thread Eelco Hillenius
Is there any way to have multiple child tag in one page, like multiple method in one class that can be extended? I need to provide some way that other pages can extend base layout that have multiple place like main, header, left to be extended. Nope, that's not supported at this time. You can

Re: Wicket Model - A very simple question

2007-10-21 Thread mfs
Eelco, Appreciate the quick follow up, so would it be OK to assume that every page-component has to have a Model associated with it, either the model is individually explicitly tagged with a component e.g. add(new RequiredTextField(dateOfBirth, new PropertyModel(person, dateOfBirth))) OR it

Re: Wicket Model - A very simple question

2007-10-21 Thread Eelco Hillenius
Appreciate the quick follow up, so would it be OK to assume that every page-component has to have a Model associated with it, You only need models when you have something to display (and possibly receive) and use components that use models (which is the case for most components we ship, but

Re: Wicket Model - A very simple question

2007-10-21 Thread mfs
You only need models when you have something to display (and possibly receive) I see..so how would you comment on a component like label (just came across this example) where you still want to display something but can go ahead without the usage of model like add(new Label(message,Hello