Re: [Wicket-user] sample wicket app

2005-07-14 Thread Johan Compagner
cool i can send myself mail :) You have to validate the email adress (to) you now get a nasty exception page. bin zhu wrote: hi all, in the last couple of days i wrote an sample wicket web app to demonstrate to the ease of using wicket. it incorporates alot of the wicket examples, like:

Re: [Wicket-user] sample wicket app

2005-07-14 Thread bin zhu
yah.. there are a lot of stuff on my to do list. --- Johan Compagner [EMAIL PROTECTED] wrote: cool i can send myself mail :) You have to validate the email adress (to) you now get a nasty exception page. bin zhu wrote: hi all, in the last couple of days i wrote an sample wicket

Re: [Wicket-user] sample wicket app

2005-07-14 Thread bin zhu
i dont know if u have noticed but, the highlight bar on the folder tree doesnt move when u click on it.. i noticed that it does move wheni remove the setResponsePage( ) from nodeLinkClicked() --- Eelco Hillenius [EMAIL PROTECTED] wrote: Nice stuff! Eeloc bin zhu wrote: hi all, in the

Re: [Wicket-user] sample wicket app

2005-07-14 Thread Eelco Hillenius
Not sure if I understand what you mean. Do we have a bug in Tree? Eelco bin zhu wrote: i dont know if u have noticed but, the highlight bar on the folder tree doesnt move when u click on it.. i noticed that it does move wheni remove the setResponsePage( ) from nodeLinkClicked() --- Eelco

[Wicket-user] Wicket releases 1.0.1 and 1.1b1 (or eq)

2005-07-14 Thread Eelco Hillenius
FYI, We plan on releasing maintenance release 1.0.1, AND 1.1 beta 1 (or some simular name) this weekend. We changed our mind about 1.1 a bit, and now want to make shorter release cycles so everyone can start working with some of the new features of 1.1: * Native javascript/ css support

[Wicket-user] Markup exception

2005-07-14 Thread Nick Heudecker
I'd like to know why I get an exception or a blank page if I add something like a Label in the Java code and don't use it in the HTML markup. Can anyone shed some light on this? --- SF.Net email is sponsored by: Discover Easy Linux Migration

Re: [Wicket-user] Caching components generated markup

2005-07-14 Thread Phil Kulak
I would look at OSCache. Or, if you're using something like Hibernate, you can just set the expritations on your catalog objects to a very long time. That will still render every time, but at least you won't be going to the database. On 7/14/05, Eelco Hillenius [EMAIL PROTECTED] wrote: Hi,

Re: [Wicket-user] Markup exception

2005-07-14 Thread Phil Kulak
Wicket has no idea where you want that label rendered if there is no corrosponding tag in the markup. On 7/14/05, Nick Heudecker [EMAIL PROTECTED] wrote: I'd like to know why I get an exception or a blank page if I add something like a Label in the Java code and don't use it in the HTML

Re: [Wicket-user] Markup exception

2005-07-14 Thread Nick Heudecker
Then why shouldn't it just ignore the unused label? On 7/14/05, Phil Kulak [EMAIL PROTECTED] wrote: Wicket has no idea where you want that label rendered if there is no corrosponding tag in the markup. On 7/14/05, Nick Heudecker [EMAIL PROTECTED] wrote: I'd like to know why I get an

Re: [Wicket-user] Caching components generated markup

2005-07-14 Thread Gili
I learnt very quickly that servlet-layer caching is a no go, at least for me. All the server-side caches I've been are unable (because they are so generic) to map the dependency between a page and its images. So for example, maybe the page gets a hit, which keeps it in the cache but the

[Wicket-user] attention hibernate users

2005-07-14 Thread Jonathan Carlson
I am a Cayenne user but I'd like some feedback on Hibernate. Cayenne has a really nice Java interfact to allow dynamic adding of qualifiers (WHERE or AND clauses) and orderings to a basic cayenne SelectQuery. For example: (Finds all users with address with city of New York born after today ;-)

Re: [Wicket-user] Markup exception

2005-07-14 Thread Eelco Hillenius
You can have Wicket ignore it by setting ApplicationSettings (getSettings() in your application class) setComponentUseCheck(false). For development, this is on by default, as it can point out to you quickly that you forgot to couple components. You can switch from 'development' to

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Nick Heudecker
You're looking for the Criteria queries. Check the API and reference guide. On 7/14/05, Jonathan Carlson [EMAIL PROTECTED] wrote: I am a Cayenne user but I'd like some feedback on Hibernate. Cayenne has a really nice Java interfact to allow dynamic adding of qualifiers (WHERE or AND

Re: [Wicket-user] Caching components generated markup

2005-07-14 Thread Michael Jouravlev
Eelco, why bothering doing the job which is already done by browser vendors? Seems that currently only resources like images are marked with cache-control headers, and the lifetime is fixed. What is it? One hour? Page itself is not marked, but it is possible by pulling out the response object and

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
As a side note: one thing that sucks about Hibernate now is the way they do their proxying in 3.0 We have had a bunch of problems with it. Most notably, you can't have final classes, as Hibernate can't create proxies for them. If you do, you get exceptions. Worse, if you have final getters and

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Phil Kulak
And that wasn't a problem with 3.0? Hibernate has always used CGLib for proxying, and CGLib can't proxy anything final. I use field access, though. That way you don't have to worry about any of that because Hibernate will do bytecode manipulation. I've heard nice things about JDO, but I've been

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Nick Heudecker
Proxies and lazy collections became the default in 3.0. On 7/14/05, Phil Kulak [EMAIL PROTECTED] wrote: And that wasn't a problem with 3.0? Hibernate has always used CGLib for proxying, and CGLib can't proxy anything final. I use field access, though. That way you don't have to worry about

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
Yep, you're right. I actually never ran into the problems in 2.1. Probably didn't use final. The proxy generation has changed though (don't ask me the details), and we had problems with 3.0 we didn't have in 2.1. Pretty sure it was the 2.1 - 3.0 difference, as we upgraded in the midst of a

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
Ah, that could be the explanation. Didn't know that. Eelco Nick Heudecker wrote: Proxies and lazy collections became the default in 3.0. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
Ok, ok, I admit. Typical case of RTFM :) Eelco Eelco Hillenius wrote: Ah, that could be the explanation. Didn't know that. Eelco Nick Heudecker wrote: Proxies and lazy collections became the default in 3.0. --- SF.Net email is

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Nick Heudecker
That's okay. I just finished a book on Hibernate so I had to learn the details. With the EntityManager coming in 3.1, you should be able to abstract Hibernate out of the picture even more. On 7/14/05, Eelco Hillenius [EMAIL PROTECTED] wrote: Ok, ok, I admit. Typical case of RTFM :) Eelco

Re: [Wicket-user] Wicket releases 1.0.1 and 1.1b1 (or eq)

2005-07-14 Thread frank bengtsson
Hi there, I just builded HEAD and it say's: wicket-1.0.0-rc3.jar is that 1.1b1 or is it 1.0.1 ? /Frank B. On Thursday 14 July 2005 17:43, Eelco Hillenius wrote: FYI, We plan on releasing maintenance release 1.0.1, AND 1.1 beta 1 (or some simular name) this weekend. We changed our mind

Re: [Wicket-user] Wicket releases 1.0.1 and 1.1b1 (or eq)

2005-07-14 Thread Eelco Hillenius
HEAD is 1.1b1 (not yet, but will be this weekend). 1.0.x is in the 1_0_0 branch. Eelco frank bengtsson wrote: Hi there, I just builded HEAD and it say's: wicket-1.0.0-rc3.jar is that 1.1b1 or is it 1.0.1 ? /Frank B. On Thursday 14 July 2005 17:43, Eelco Hillenius wrote: FYI, We

Re: [Wicket-user] Wicket releases 1.0.1 and 1.1b1 (or eq)

2005-07-14 Thread frank bengtsson
OK, i will try 1_0_0 branch. /Frank B. On Thursday 14 July 2005 20:59, Eelco Hillenius wrote: HEAD is 1.1b1 (not yet, but will be this weekend). 1.0.x is in the 1_0_0 branch. Eelco frank bengtsson wrote: Hi there, I just builded HEAD and it say's: wicket-1.0.0-rc3.jar is that 1.1b1

Re: [Wicket-user] Caching components generated markup

2005-07-14 Thread Christian Essl
Hi Eelco, Thanks for you reply. I have two more questions. In case of static pages: I am not sure how this works together with the rest of wicket. The pages contain also a login, search and add-to-shopping-basket from. How do I create for static pages the sepecial wicket-urls? In my

Re: [Wicket-user] Caching components generated markup

2005-07-14 Thread Eelco Hillenius
Christian Essl wrote: Hi Eelco, Thanks for you reply. I have two more questions. In case of static pages: I am not sure how this works together with the rest of wicket. The pages contain also a login, search and add-to-shopping-basket from. How do I create for static pages the sepecial

RE: [Wicket-user] Caching components generated markup

2005-07-14 Thread Shahid N. Shah
Another option is to create a custom request cycle handler in Wicket and have the WebResponse use a custom OutputStream that caches the output for a particular URL before sending it out. Then, the request handler in the custom cycle could look at the URL and simply return the cached/saved output

[Wicket-user] MissingResourceException

2005-07-14 Thread Dzenan Ridjanovic
My problem is: Caused by: java.util.MissingResourceException: Unable to find resource: urlForm.category.RequiredValidator All classes, html files and properties file are in the same directory. My design is: UrlAddPage In constructor: add(new UrlAddForm(urlForm, new Url(), feedback));

Re: [Wicket-user] Caching components generated markup

2005-07-14 Thread Christian Essl
Wow that's what I call an elaborated response. Thanks a lot. I'll try option C (labels). I plan to only cache the static part including bookmarkable links and keep the rest normal Wicket. I will create the static part using some templating-lib - maybe later use an extra Wicket page, but I