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
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
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
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)
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
Or is Wicket considered to be so simple that there isn't a need?
Exactly! :)johan
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
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
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
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
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
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
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
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
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
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
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 =
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
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
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:
:(
- 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
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
22 matches
Mail list logo