Re: Moving wicketstuff to github

2010-12-28 Thread Sebastian
Hi Martijn, can we commit to wicketstuff again? If so, where: sf.net or github? Regards, Seb On 23.12.2010 11:04, Martijn Dashorst wrote: All, Last week we (wicket+wicketstuff devs) had a discussion on dev@ and decided to move all wicketstuff code to github.com. Reasons to move to github

Re: Simple way to show image on WebPage

2010-12-28 Thread Anton Bessonov
Hi Andrea, thanks for your reply, but this is'nt exactly what I want. ContextImage generate stateless path, also not binded to session. What I need is cryptic path such as for Link-Component. Best regards, Anton add(new ContextImage(icon, images/imageFileName.jpg));

Re: Simple way to show image on WebPage

2010-12-28 Thread Martin Grigorov
Hi Anton, you need custom Resource or ResourceReference to load the image. See org.apache.wicket.markup.html.image.Image.Image(String, ResourceReference) org.apache.wicket.markup.html.image.Image.Image(String, Resource) and different implementations of

new session

2010-12-28 Thread Peter Karich
Hi, when is a new session created? If I am overwriting newSession I can see that wicket will call this method twice for a fresh browser: Restart completed at Tue Dec 28 20:22:57 CET 2010 // jetty log 2010-12-28 20:23:02,575 [3107...@qtp-7885469-4] INFO created new session! 2010-12-28

Re: new session

2010-12-28 Thread Martin Makundi
Hi! First time you don't have cookie, second time maybe cookie created... ** Martin 2010/12/28 Peter Karich peat...@yahoo.de:  Hi, when is a new session created? If I am overwriting newSession I can see that wicket will call this method twice for a fresh browser: Restart completed at Tue

Re: new session

2010-12-28 Thread Peter Karich
forgot: this is done in one request. Martin, is your answer still valid :-) ? Hi! First time you don't have cookie, second time maybe cookie created... ** Martin 2010/12/28 Peter Karich peat...@yahoo.de: Hi, when is a new session created? If I am overwriting newSession I can see

Re: new session

2010-12-28 Thread Martin Makundi
 forgot: this is done in one request. Martin, is your answer still valid :-) ? Put a breakpoint to see if there is a redireect... ;) ** Martin Hi! First time you don't have cookie, second time maybe cookie created... ** Martin 2010/12/28 Peter Karich peat...@yahoo.de:  Hi, when is

Re: Simple way to show image on WebPage

2010-12-28 Thread Anton Bessonov
Hi Martin, thanks! DynamicImageResource does this! Best Regards, Anton Hi Anton, you need custom Resource or ResourceReference to load the image. See org.apache.wicket.markup.html.image.Image.Image(String, ResourceReference) org.apache.wicket.markup.html.image.Image.Image(String, Resource)

Question about the Page state

2010-12-28 Thread Dmitriy Neretin
Hello everybody, The question isn't really simple :) So, the official documentation says ( http://wicket.apache.org/apidocs/1.4/org/apache/wicket/RequestCycle.html): 1) A page that does not yet exist in a user Session may be encoded as a URL that references the not-yet-created page by class

Re: Question about the Page state

2010-12-28 Thread Martin Grigorov
Hi Dmitri, I suggest you to take a look at these two pages: https://cwiki.apache.org/WICKET/page-maps.html https://cwiki.apache.org/WICKET/page-maps.html https://cwiki.apache.org/WICKET/request-cycle-and-request-cycle-processor.html

Re: Question about the Page state

2010-12-28 Thread Dmitriy Neretin
Thank you! I am quite happy with it :) Bye On 28 December 2010 21:34, Martin Grigorov mgrigo...@apache.org wrote: Hi Dmitri, I suggest you to take a look at these two pages: https://cwiki.apache.org/WICKET/page-maps.html https://cwiki.apache.org/WICKET/page-maps.html

Re: Question about the Page state

2010-12-28 Thread Cemal Bayramoglu
Dmitry, Martin, Just be aware that when Dima (yes, another Dmitry), wrote that series [1], we may have still been on 1.2.6 or maybe 1.3 as it must be at least 2.5 years ago that he was working with us (and Wicket), so unless they have been reviewed recently, I am not sure if these sequence

Handling OnKeyPress event

2010-12-28 Thread Josh Kamau
Hi Team; Is there a way of handling onKey.. events in wicket, where by i will know which key was pressed. I specifically want to do some ajax update when Return key is pressed. Kind regards. Josh.