[Wicket-user] From quickstart to a tomcat app...

2007-01-21 Thread ZedroS Schwart
Hi all I'm currently using the quickstart application to do some dev on wicket. However, I would like now to use my app on tomcat (5.5.20 in my case). I've looked for some documentation on what to do/what to remove for such a move but I didn't manage to find some. Could you please provide me

Re: [Wicket-user] Any more wicket articles?

2007-01-21 Thread ZedroS Schwart
A french article about Wicket, written by Romain Guy (if you do some swing stuff, you should know him ;)) : http://gfx.developpez.com/tutoriel/java/web/wicket/ On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote: http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html

Re: [Wicket-user] Any more wicket articles?

2007-01-21 Thread Zhang Hailong
Is there anybody can translate this( http://gfx.developpez.com/tutoriel/java/web/wicket/) to English? Thanks. Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: A french article about Wicket, written by Romain Guy (if you do some swing stuff, you should know him ;)) :

Re: [Wicket-user] Any more wicket articles?

2007-01-21 Thread Martijn Dashorst
translate.google.com babelfish.altavista.com Martijn On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: Is there anybody can translate this(http://gfx.developpez.com/tutoriel/java/web/wicket/) to English? Thanks. Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: A french

Re: [Wicket-user] From quickstart to a tomcat app...

2007-01-21 Thread Martijn Dashorst
For development, use eclipse webtools, or the tomcat sysdeo plugin. Both have documentation available to help you further. Since I don't use either I can't help you with that. I'm more a jetty user (using the jetty launcher). If you want to deploy to a (remote) tomcat server: ant war or

[Wicket-user] Wicket Stuff is now hosted on: wicketstuff.org

2007-01-21 Thread Martijn Dashorst
Wicket Stuff is now hosted at: http://wicketstuff.org Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org

Re: [Wicket-user] Abort Ajax Operation

2007-01-21 Thread Johan Compagner
and how do they that then? Do you program in your code something like: while(dosomemorestuff) { // do something more } and then by another request you set that boolean that it needs to be stopped? this does not really work currently because we lock the session, so that nobody have to worry

Re: [Wicket-user] From quickstart to a tomcat app...

2007-01-21 Thread ZedroS Schwart
Thanks for your answer. I'm already using the sysdeo plugin, however my Wicket application doesn't work with it and tomcat. The webapp folder has really few stuff into it. In fact the whole application is built differently from what I know of tomcat applications. Thanks for the tips on ant war,

Re: [Wicket-user] Any more wicket articles?

2007-01-21 Thread ZedroS Schwart
I could do so if really needed. However it's based on wicket 1.1-beta2 and I don't know whether it has changed much since... Can someone answer ? So, if it hasn't change too much, I will ask Romain for the authorisation of such a translation. Cheers ZedroS On 1/21/07, Zhang Hailong [EMAIL

Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread ZedroS Schwart
Since I used the quickstart I've a new button in my Eclipse Java perspective called Jetty Laucnher Actions. However, when I click on it nothing happens. Is there something to be done ? Thanks in advance ZedroS On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a class called Start

Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread Zhang Hailong
I use Tomcat 5.5.12 and Eclipse3.2.1(with WTP). After some configuration, I imported wicket-examples as an Eclipse project and it works. Here are the steps to setup: 1. Create a empty Dynamic Web Project 2. import wicket-examples-1.2.4\src\main\java into src of the prject 3. import

Re: [Wicket-user] DataView modelChanged

2007-01-21 Thread Johan Compagner
once the size() is requested and then iterator() is requested (so that are 2 calls to the dataprovider) And if you know the set is not that large you can do it in one sql call instead of 2. (and not all db's are supporting start and limit in sql anyway so you need to query them) johan On

Re: [Wicket-user] From quickstart to a tomcat app...

2007-01-21 Thread Martijn Dashorst
Johan is (one of) the maintainer(s) of the sysdeo plugin, so he can surely help out. You definitely need the devloader jar to be able to run your app in the debugger. Next you need to add your class folder (target/classes) to the web classpath, and the libs found in the lib directory. I think

[Wicket-user] Strategy for printable pages

2007-01-21 Thread MClark00
Hi, I'd like to support the ability to have a 'Printable Version' link on all pages which make sense to print in my application. My first thought on how to do this would be to have the content of those pages always be a panel, and then I could do something like this, where PrintablePage is a

Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread Igor Vaynberg
On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: Could someone tell me what wicket-examples-1.2.4\src\site is used for? to build the website with maven -igor - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread Martijn Dashorst
with website we mean: documentation for the wicket-quickstart project. It is used by maven. mvn site and look in target/site Martijn On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: Could someone tell me what

Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread ZedroS Schwart
Hi Zhang I did as you told. I even went further by removing the following library : portlet-api-1.0.Jar org.mortbay.jetty-4.2.24.jar jasper-compiler-4.1.30.jar jasper-runtime-4.1.30.jar I'm quite surprised of the presence of this portlet api jar... Does someone know why it's present ? I did

Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread Zhang Hailong
Hi ZedroS, I think it's useful to add this topic to the wiki. Hailong On 1/22/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi Zhang I did as you told. I even went further by removing the following library : portlet-api-1.0.Jar org.mortbay.jetty-4.2.24.jar jasper-compiler-4.1.30.jar

[Wicket-user] Error when retrieving session property

2007-01-21 Thread Landry Soules
Hello, I want to make work a signin component i have included in a page. When a user signs in, i retrieve the corresponding user record from DB, and put it a session property. Then i hide the signin component, and make visible a new panel, presenting a signout button, and a welcome message :

Re: [Wicket-user] [Wicket-announce] Wicket Stuff is now hosted on: wicketstuff.org

2007-01-21 Thread Eelco Hillenius
yipee! Eelco On 1/21/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket Stuff is now hosted at: http://wicketstuff.org Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!

Re: [Wicket-user] integrate Wicket stuff examples projects

2007-01-21 Thread Filippo Diotalevi
On 1/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I just filed http://issues.apache.org/jira/browse/WICKET-227, which we are considering because of an offline discussion we had on how to cut down on maintenance for the core projects. [] * wicket-contrib-beanpanels (create examples from

Re: [Wicket-user] Error when retrieving session property

2007-01-21 Thread Eelco Hillenius
It looks like getCustomSession().getUser() returns null. Eelco On 1/21/07, Landry Soules [EMAIL PROTECTED] wrote: Hello, I want to make work a signin component i have included in a page. When a user signs in, i retrieve the corresponding user record from DB, and put it a session property.

Re: [Wicket-user] integrate Wicket stuff examples projects

2007-01-21 Thread Eelco Hillenius
I have some examples for beanpanels, but I'd like to wait some weeks just to have some more stable code. Sounds good. But it would be great to consider making them part of the wicket-contrib-examples project by the time you're considering contributing examples. Eelco

[Wicket-user] Wicket Stuff website move

2007-01-21 Thread Martijn Dashorst
The wicket stuff website has moved. I also installed a redirect to the new wiki, so you may discover documents that are no longer available. I tried to install a reasonable redirect strategy, which directs all base urls to the new wiki. So a http://wicket-stuff.sf.net/wicket-contrib-dojo will now

Re: [Wicket-user] Error when retrieving session property

2007-01-21 Thread Landry Soules
Sure. But it's a design problem i have here: my signin and signout panels share the same place on the same page, and i'm just set them visible/invisible when required, so they're created at the same time. Yet getCustomSession().setUser(foo) is called after submit on signin... How can i make

Re: [Wicket-user] Error when retrieving session property

2007-01-21 Thread Eelco Hillenius
Oh, right. Best thing you can do here is wrap the user request in a model: PropertyModel doesn't allow a null model, but a model that produces null is fine. So this should work: public SignInSuccess(String id) { super(id); IModel m = new AbstractReadOnlyModel() { public

Re: [Wicket-user] Error when retrieving session property

2007-01-21 Thread Eelco Hillenius
or even: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } Erm, I mean: public

Re: [Wicket-user] Error when retrieving session property

2007-01-21 Thread Igor Vaynberg
pfft add(new Label(username, new PropertyModel(this, customSession.user.firstName))); -igor On 1/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: or even: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new

Re: [Wicket-user] Error when retrieving session property

2007-01-21 Thread Eelco Hillenius
LOL. Of course. Eelco On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: pfft add(new Label(username, new PropertyModel(this, customSession.user.firstName))); -igor On 1/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: or even: public SignInSuccess(String id) {

Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-21 Thread Ryan Sonnek
As a followup question Until this bug has been fixed, is there a way to disable page versioning all-together? My app is very ajax heavy, so it's bordering on unusable until this is fixed. On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Done!

Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-21 Thread Igor Vaynberg
in your page call setversioned(false) -igor On 1/21/07, Ryan Sonnek [EMAIL PROTECTED] wrote: As a followup question Until this bug has been fixed, is there a way to disable page versioning all-together? My app is very ajax heavy, so it's bordering on unusable until this is fixed. On