Re: Re: Model is not created

2012-07-03 Thread wicket
Hello, thanks for the answers. At the moment I am not able to access my code but let me explain the code in detail and give you some additional examples. I think the idea with the stateful behavior could be right but I do not understand the reason. In detail. - I have a starting page where a

Wicketopia

2012-07-03 Thread Vit Rozkovec
Hi, is it still possible to use Wicketopia with wicket 1.4.x? What is the status of the project? It has not been updated for six months, does it need still some work? Thanks. - To unsubscribe, e-mail:

Re: setResponsePage swallows my session feedback messages

2012-07-03 Thread Martin Grigorov
Hi Bertrand, On Mon, Jul 2, 2012 at 11:21 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi Martin, Thanks for your answer and code. Indeed, in my case, option 2 is most desirable because the session message is set in a completely different place than where the redirect is done.

Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2012-07-03 Thread sardo
I have a similar problem: A css style sheet is added to the app like so: getSharedResources().add(css_table, new ContextRelativeResource(css/table.css)); and this css file contains image references like so: div.tabpanel div.tab-row li { float: left; background:

Migration from wicket 1.4.x

2012-07-03 Thread Vit Rozkovec
Hi, what is the best approach when migrating from wicket 1.4.x? Wait for stable 6.0 version and then start migration or migrate to 1.5.x version? All my projects now use 1.4.x with Hibernate via Databinder. I want to save myself the effort to do a double migration and would rather wait and

Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2012-07-03 Thread Martin Grigorov
Hi, Either don't use ContextRelativeResource for the css or use it for all resources, i.e. the image should be delivered by ContextRelativeResource too. With the SharedResources you mount the .css at your own url and deliver its content. But there is no such code for the images. I'd remove the

Re: Migration from wicket 1.4.x

2012-07-03 Thread Martin Grigorov
Hi, Wicket 6 will be released soon (few weeks) but this wont save you the changes you have to do which are required by Wicket 1.5. There are no changes which are required by Wicket 1.5 and then reverted for Wicket 6.0. I'd migrate to 1.5.7 first and then to 6.0.0-beta2. On Tue, Jul 3, 2012 at

Re: Migration from wicket 1.4.x

2012-07-03 Thread Cedric Gatay
Hello, I've done such a migration from 1.4.x to 1.5.7 in two days for roughly 100k SLOC. Then migration to 6.0 is a breeze... __ Cedric Gatay http://www.bloggure.info | http://cedric.gatay.fr | @Cedric_Gatayhttp://twitter.com/Cedric_Gatay On Tue, Jul 3, 2012 at 1:18 PM, Martin Grigorov

Re: setResponsePage swallows my session feedback messages

2012-07-03 Thread Bertrand Guay-Paquet
Hi, Issues WICKET-4636 and WICKET-4637 were created. Bertrand - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wicket 1.4 newSession id

2012-07-03 Thread dpmihai
In my WebApplication is there possible to know the session id inside newSession method? public Session newSession(Request request, Response response) { Session session = super.newSession(request, response); ... String id = session.getId(); // returns null; } --

Re: Wicket 1.4 newSession id

2012-07-03 Thread Martin Grigorov
Hi, Because there is no active session yet. You have to call session.bind() before that. On Tue, Jul 3, 2012 at 4:56 PM, dpmihai dpmi...@yahoo.com wrote: In my WebApplication is there possible to know the session id inside newSession method? public Session newSession(Request request,

Re: Wicket 1.4 newSession id

2012-07-03 Thread dpmihai
Thanks a lot. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-newSession-id-tp4650337p4650339.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

chekbox - allow only 5 selected

2012-07-03 Thread Dan12321
Hi, I have CheckGroupUser group = new CheckGroupUser(usersGroup, list); and in repeater I add checkbox: item.add(new CheckUser(checkboxUser, group)); I have got 20 checkboxes, but I want to allow only 5 checkboxes select. When will be selected more than 5 checkboxes, it shows error (in

Re: Model is not created

2012-07-03 Thread Andre Schütz
There is one important information that I had forgotten to mention. The link on my start page is not a link. It is a button from within a form. Andre On Tue, 3 Jul 2012 11:41:36 +0200 (CEST) wic...@faustas.de wrote: Hello, thanks for the answers. At the moment I am not able to access my

Re: chekbox - allow only 5 selected

2012-07-03 Thread Jeremy Thomerson
On Tue, Jul 3, 2012 at 12:09 PM, Dan12321 wee...@centrum.cz wrote: Hi, I have CheckGroupUser group = new CheckGroupUser(usersGroup, list); and in repeater I add checkbox: item.add(new CheckUser(checkboxUser, group)); I have got 20 checkboxes, but I want to allow only 5 checkboxes select.

Re: chekbox - allow only 5 selected

2012-07-03 Thread Martin Grigorov
You can assign AjaxFormChoiceComponentUpdatingBehavior to the group and check its model object's size in #onUpdate() But this will fire Ajax requests for each and every click on the checkboxes. On Tue, Jul 3, 2012 at 7:09 PM, Dan12321 wee...@centrum.cz wrote: Hi, I have CheckGroupUser group =

Re: chekbox - allow only 5 selected

2012-07-03 Thread Alexander Cherednichenko
Hi! As the first A in AJAX stands for Asynchronous, you may hit weird results with this solution, especially on slow internet connection. Which means that no one guarantees that if user clicks checkbox1 and then checkbox2 answers would arrive in such a manner. What I would do in this case - I

Re: chekbox - allow only 5 selected

2012-07-03 Thread Martin Grigorov
On Tue, Jul 3, 2012 at 9:24 PM, Alexander Cherednichenko lex...@gmail.com wrote: Hi! As the first A in AJAX stands for Asynchronous, you may hit weird results with this solution, especially on slow internet connection. Which means that no one guarantees that if user clicks checkbox1 and then

[Announce] WicketStuff 1.5.7 is released

2012-07-03 Thread Martin Grigorov
Hello, With a bit of delay WicketStuff core projects have been released against Wicket 1.5.7. The previous release was 1.5.5 and there is no such for 1.5.6 Due to a missing Git tag for 1.5.5 I wasn't able to build a release notes but this will be fixed for the next release! The projects can be

Re: Model is not created

2012-07-03 Thread Andre Schütz
Hello, here is an abstract code example of my problem with my application. # StartPage class StartPage extends WebPage { public StartPage(PageParameters parameters) { add(new SearchForm(searchForm, parameters)); } private class SearchForm

Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2012-07-03 Thread sardo
Thanks Martin, that helps. Forgive my naivety, but why do I have the option of adding CSS via the Java code? Surely it's better to follow convention and add it into the appropriate .war directory? ...and if I could do the Columbo, Just one more thing, thing. Why am I getting two head tags in my

Anybody is having problems with Wicket and Facebook Like button?

2012-07-03 Thread Alec Swan
Hello, We started receiving complaints from users saying that Facebook Like buttons don't work on our web site anymore. I don't know what happened on the Facebook side but now we are seeing the following errors when user clicks Like button, e.g. on http://galecsy.com:88/lrm/ms/oid/74989: The

Re: [Announce] WicketStuff 1.5.7 is released

2012-07-03 Thread Bertrand Guay-Paquet
Good stuff! Is there a way to see which issues where fixed between 2 releases with github? In Jira it's straightforward, but I haven't been able to figure this out yet for github... I found out how to compare the source tree between 2 tags, but not the list of issues. For the source, it's

Re: [Announce] WicketStuff 1.5.7 is released

2012-07-03 Thread Martin Grigorov
With some help from Michael O'Cleirigh I was able to generate the changelog: Sven Meier (4): Merge pull request #119 from jesselong/core-1.5.x TabbedPanel is generic now fixed version test for latest jquery fixed local test for latest jquery inaiat (3): [jqplot]