Re: [Wicket-user] Hibernate transactions

2005-12-20 Thread Johan Compagner
it was there really at the beginning. But then developers complained that it was really difficult to have youre own request cyclebecause you needed to first make youre own SessionFactory then youre own Session then youre own RequestCycle factory and then last the RequestCycle itself. that where 4

[Wicket-user] Wicket book?

2005-12-20 Thread Christopher Dodunski
Hi, As a new comer, I was wondering if there was an existing text on Wicket, or one in the pipeline - Wicket In Action maybe? Or is Wicket considered to be so simple that there isn't a need? Cheers, Christopher. --- This SF.net email is

Re: [Wicket-user] Wicket book?

2005-12-20 Thread Eelco Hillenius
Yep. Martijn and I are working on Wicket In Action. And as a spin off, we'd like to improve our normal documentation a bit too. Eelco On 12/20/05, Christopher Dodunski [EMAIL PROTECTED] wrote: Hi, As a new comer, I was wondering if there was an existing text on Wicket, or one in the

Re: [Wicket-user] To SSL And Back

2005-12-20 Thread Dipu
Hi Nick, Did you find a solution for moving from HTTP to HTTPS and then back. I need to do the same in one of the wicket projects i am working. At the moment i am using acegi's ChannelProcessingFilter to do this. Don't know if this is the ideal solution, if there is any better (Wicket)

Re: [Wicket-user] Wicket book?

2005-12-20 Thread Martijn Dashorst
And you can always look on the wiki, and on my blog (there are some chapters from the reference guide there). Also, don't miss the component reference in the wicket-examples project (see them here: http://www.wicket-library.com/wicket-examples/compref) MartijnOn 12/20/05, Eelco Hillenius [EMAIL

Re: [Wicket-user] Wicket book?

2005-12-20 Thread Johan Compagner
Or is Wicket considered to be so simple that there isn't a need? Exactly! :)johan

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-20 Thread Ari Suutari
Hi, I extended the junit with such a case. And yes, it fails as well. If you can find time to look at this before 1.2 it would be great. If could try to help too, but so far it looks like I'll have to learn more about wicket internals before. Ari S. On 12/19/05, Ari

Re: [Wicket-user] To SSL And Back

2005-12-20 Thread Nick Heudecker
I'm working on adding the functionality to Wicket. Should be a few more days. On 12/20/05, Dipu [EMAIL PROTECTED] wrote: Hi Nick, Did you find a solution for moving from HTTP to HTTPS and then back. I need to do the same in one of the wicket projects i am working. At the moment i am

Re: [Wicket-user] Hibernate transactions

2005-12-20 Thread John Patterson
On Tuesday 20 Dec 2005 04:53, Johan Compagner wrote: it was there really at the beginning. But then developers complained that it was really difficult to have youre own request cycle because you needed to first make youre own SessionFactory then youre own Session then youre own RequestCycle

Re: [Wicket-user] beginner: error with simple HelloWorld App with tomcat 5.5

2005-12-20 Thread Igor Vaynberg
i dont think you can share wicket between contexts. the problem is that wicket cannot create your application's class using Class.newInstance() because the server classloader that loads it from the shared libs dir does not see jars inside context dirs. This works opposite to a webapp classloader

[Wicket-user] beginner : What happens on submit ?

2005-12-20 Thread karthik Guru
I'm still on the HelloWorld example. I can see that wicket has a component that corresponds to all the HTML tags in the html template file and they are being added to the HelloPage component in the constructor. I guess an instance of HelloPage is probably created (and with that all the contained

Re: [Wicket-user] beginner : What happens on submit ?

2005-12-20 Thread Igor Vaynberg
after the page is rendered it is put into a PageMap. the pagemap lives in session and keeps the last 10 pages ( this number is configurable through application settings object). so when you submit a form or click a link the page is brought back from pagemap and the link/form handler is executed on

Re: [Wicket-user] beginner : What happens on submit ?

2005-12-20 Thread karthik Guru
cool! Ok here is what am trying. I have a 'login' page and on successful login sends the user to the 'welcome' page. On the onSubmit of login page i do this Form form = new Form(loginForm){public void onSubmit(){ //get theuser id , password and validate //this is my welcome pageWelcome

Re: [Wicket-user] beginner : What happens on submit ?

2005-12-20 Thread Igor Vaynberg
here is how i would do itclass WelcomePage extends WebPage { public WelcomePage(long userId) { User user=getUser(userId); add(new Label(message, welcome +user.getName())); }}so now you have a welcome page that can display the correct message based on the login id you pass into the

Re: [Wicket-user] beginner : doubt on PageMap

2005-12-20 Thread Igor Vaynberg
can we see your code please.-IgorOn 12/20/05, karthik Guru [EMAIL PROTECTED] wrote: this is the flow in my application Page1 --on submit -- Page2 (has link to Page1) onclick of link-- Page1 I see the Page1 constructor is getting called twice for the same session since am accessing it twice -once

Re: [Wicket-user] beginner : What happens on submit ?

2005-12-20 Thread Igor Vaynberg
On 12/20/05, karthik Guru [EMAIL PROTECTED] wrote: Thanks Igor for your patience :) Yes this solution is neat. So in this case we are by passing the PageMap concept built intowicket since we are creating the WelcomePageourselves?no, we are not bypassing the pagemap. wicket will put any page we

Re: [Wicket-user] beginner : doubt on PageMap

2005-12-20 Thread karthik Guru
Hi Igor, this is the code.. #Login page public class Login extends WebPage {private TextField userIdField;private PasswordTextField passField; public Login(){System.out.println(Login Constructor called!\n\n);Form form = new Form(loginForm){public void onSubmit(){String userId =

Re: [Wicket-user] Re: i10n and branding questions

2005-12-20 Thread Juergen Donnerstag
thanks a lot Juergen On 12/21/05, Jim McLaughlin [EMAIL PROTECTED] wrote: Please edit and correct: http://wicket-wiki.org.uk/wiki/index.php/Newuserguide#Locale_and_Style thx, jim Juergen Donnerstag wrote: On 12/19/05, Jim McLaughlin [EMAIL PROTECTED] wrote: Since I am a new user, I

Re: [Wicket-user] beginner : doubt on PageMap

2005-12-20 Thread Igor Vaynberg
what version of wicket are you using?when i run your example i get:Login Constructor called!User id was asdadasda and the password was asdasdasdWelcome Constructor!which is the output i would expect. -IgorOn 12/20/05, karthik Guru [EMAIL PROTECTED] wrote: Hi Igor, this is the code.. #Login page

[Wicket-user] Re: wicket bug

2005-12-20 Thread Juergen Donnerstag
On 12/21/05, Igor Vaynberg [EMAIL PROTECTED] wrote: hi Juergen, could you please take a look at Bugs item #1375584, was opened at 2005-12-07 18:44 Message generated for change (Comment added) made by ivaynberg You can respond by visiting:

Re: [Wicket-user] beginner : doubt on PageMap

2005-12-20 Thread karthik Guru
:( - wicket 1.1 that i downloaded from the link on the home page. Moment i click the link (Login.html) on Welcome.html,i see the Login.java constructor getting called. On 12/21/05, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using?when i run your example i get:Login

Re: [Wicket-user] beginner : doubt on PageMap

2005-12-20 Thread Igor Vaynberg
ahh, you didnt say you click the link before (or at least i didnt catch it - its bed time very soon )this is indeed the proper behaviour. the link is used to go to a fresh login page - the way that is attained is that wicket will use a default IPageFactory implementation to instantiate a page by