AW: Re: Re: [Wicket-user] My take on Spring integration

2005-10-24 Thread sven
>>An EditUserPage for example cannot be bookmarkable >>because it needs to know which user to edit. IMHO an EditUserPage parameterized with a userId is a perfect match for a bookmarkable URL. I didn't say, I'd never use setResponsePage(..). If I have large transactional state to be transferred t

Re: [Wicket-user] Markup not found

2005-10-24 Thread Nick Heudecker
Yep, it was horribly incorrect markup.  I would've expected a parse error, not a not found error.On 10/24/05, Eelco Hillenius < [EMAIL PROTECTED]> wrote:There might be a problem parsing your markup, so that it can't be loaded properly. Can you send us your complete stacktrace?EelcoOn 10/24/05, Nick

Re: [Wicket-user] FeedbackPanel and CSS

2005-10-24 Thread Nick Heudecker
It only adds that CSS for the individual items.  Not for the containing element.On 10/24/05, Andrew Berman < [EMAIL PROTECTED]> wrote:A FeedbackPanel will automatically add a class of feedbackPanel  to all li elements.   So, for example, you can create a CSS class called feedbackPanelERROR.  If yo

Re: [Wicket-user] Markup not found

2005-10-24 Thread Eelco Hillenius
There might be a problem parsing your markup, so that it can't be loaded properly. Can you send us your complete stacktrace? Eelco On 10/24/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I've been staring at this for hours, but can't figure out what would cause a > "Markup not found" error when

Re: [Wicket-user] FeedbackPanel and CSS

2005-10-24 Thread Andrew Berman
A FeedbackPanel will automatically add a class of feedbackPanel  to all li elements.   So, for example, you can create a CSS class called feedbackPanelERROR.  If you don't like the naming of the classes, you can just override the getCSSClass() method. --AndrewOn 10/24/05, Nick Heudecker <[EMAIL PR

[Wicket-user] FeedbackPanel and CSS

2005-10-24 Thread Nick Heudecker
Is it possible to add a CSS style to the tag used by the FeedbackPanel?  My panels are either going to display INFO messages or ERROR messages. 

[Wicket-user] Markup not found

2005-10-24 Thread Nick Heudecker
I've been staring at this for hours, but can't figure out what would cause a "Markup not found" error when the markup does in fact exist at the correct location.  What other error conditions could cause this problem?  Thanks.

Re: Re: [Wicket-user] My take on Spring integration

2005-10-24 Thread Eelco Hillenius
Furthermore, it is an excellent way of passing models/ other state to pages. Eelco On 10/24/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > i completely agree with igor. > I use setResponsePage(new XxxPage(yy)) all over the place. > I find this kind of code the most readable what you can get.

Re: [Wicket-user] hibernate pattern

2005-10-24 Thread Phil Kulak
If you rewrite it and everyone using Wicket gets used to it, they'll probably put it in the core. On 10/24/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > if people can add a feature request for this with ognl then we can all vote > for it. > > But i am still inclined to see if i can rewrite tha

Re: [Wicket-user] hibernate pattern

2005-10-24 Thread Johan Compagner
if people can add a feature request for this with ognl then we can all vote for it. But i am still inclined to see if i can rewrite that small part we use of ognl for wicket. johan On 10/24/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: That's cool.  I didn't know about that.  OGNL is getting re

Re: Re: [Wicket-user] My take on Spring integration

2005-10-24 Thread Johan Compagner
i completely agree with igor. I use setResponsePage(new XxxPage(yy)) all over the place. I find this kind of code the most readable what you can get. No magic. A person can directly see what really happens. johan On 10/24/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > >> 2) to use the page factory

[Wicket-user] Wicket-Stuff releases

2005-10-24 Thread Andrew Berman
Are there going to be releases of the different projects in Wicket-Stuff?  The Wicket-Stuff project just seems a bit unorganized.  I know this has been talked about before, but has anything been done to organize this project better?  I'd really like to see stable builds reported on the Wicket-Stuff

Re: [Wicket-user] Groovy Pages

2005-10-24 Thread Juergen Donnerstag
There is a Groovy project in wicket-stuff. Though I developed it, I don't remember much of what I did. But I do remember that Groovy at that time was a pain. Buggy, inconsistent dependencies between minor versions; some issue related to jars required by Hibernate and Groovy. I played a bit with, bu

[Wicket-user] Groovy Pages

2005-10-24 Thread Nick Heudecker
Has anybody created Wicket pages in Groovy?  If so, how did it go?

RE: Re: [Wicket-user] My take on Spring integration

2005-10-24 Thread Igor Vaynberg
> >> 2) to use the page factory your pages can only have the default or > >> PageParameter constructors. This prevents you from doing > things like > >> setResponsePage(new EditUserPage(userId)); > > That is the price to pay for IoC: you have to let the factory > create the beans. > BTW I don'

Re: [Wicket-user] hibernate pattern

2005-10-24 Thread Nick Heudecker
That's cool.  I didn't know about that.  OGNL is getting ready for a 3.0 release.  Maybe they'd be willing to listen to reason. :)On 10/24/05, Jonathan Carlson < [EMAIL PROTECTED]> wrote:Maybe it could have a "safe navigation" syntax like Groovy has: y?.name   (allows y to be null)- Jonathan>>> [

Re: [Wicket-user] hibernate pattern

2005-10-24 Thread Jonathan Carlson
Maybe it could have a "safe navigation" syntax like Groovy has: y?.name (allows y to be null) - Jonathan >>> [EMAIL PROTECTED] 2005-10-24 4:24:15 AM >>> On 10/24/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > There has been some discussion on this on the development list recently. > Curren

AW: Re: [Wicket-user] My take on Spring integration

2005-10-24 Thread sven
>> There are two problems with creating a spring web page factory: >> 1) ... so you need a mechanism that reinjects the dependencies >> whenever a page is activated - or whenever a page references >> another page > >All Wicket needs to do is provide an extension point. I'm sure it is >already i

Re: [Wicket-user] Why is RadioChoice.onComponentTagBody() declared as final?

2005-10-24 Thread Johan Compagner
see RadioGroup. On 10/24/05, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: Hi,I'm wondering why RadioChoice.onComponentTagBody() is declared as final.It would be great if I could override that method. Here's why:I have custom classes for TextFields, DropDownChoices and so on. These custom classes

[Wicket-user] Why is RadioChoice.onComponentTagBody() declared as final?

2005-10-24 Thread Johannes Fahrenkrug
Hi, I'm wondering why RadioChoice.onComponentTagBody() is declared as final. It would be great if I could override that method. Here's why: I have custom classes for TextFields, DropDownChoices and so on. These custom classes draw a or a around the components depending on if they have errors

Re: [Wicket-user] hibernate pattern

2005-10-24 Thread Davide Savazzi
On 10/24/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > There has been some discussion on this on the development list recently. > Currently is seems that it is not possible for us to add/change this > behaviour of OGNL. Uh, thanks! So I'm not the only one having this problem! :) I've read the

Re: [Wicket-user] hibernate pattern

2005-10-24 Thread Martijn Dashorst
There has been some discussion on this on the development list recently. Currently is seems that it is not possible for us to add/change this behaviour of OGNL. Martijn On 10/21/05, Davide Savazzi <[EMAIL PROTECTED]> wrote: I've a problem related to Hibernate and Ognl.I've a business object that c

Re: [Wicket-user] Markup and matching Java class

2005-10-24 Thread Dipu
I think we should use wickets FileResourceStream instead of new UrlResourceStream   Dipu - Original Message - From: Francis Amanfo To: wicket-user@lists.sourceforge.net Sent: Thursday, October 20, 2005 3:23 PM Subject: Re: [Wicket-user] Markup and matching J

Re: [Wicket-user] RenderedDynamicImageResource needs refresh?

2005-10-24 Thread Joshua Lim
Thanks ! that works I had setCacheable(false) on the wrong resource :) On 10/24/05, Johan Compagner <[EMAIL PROTECTED]> wrote: i you just need to do rdir.setCacheable(false) you could configure the response for the Resource but i don;t think that is needed when a resource is not cacheable. On 10/

Re: [Wicket-user] RenderedDynamicImageResource needs refresh?

2005-10-24 Thread Johan Compagner
i you just need to do rdir.setCacheable(false) you could configure the response for the Resource but i don;t think that is needed when a resource is not cacheable. On 10/24/05, Joshua Lim <[EMAIL PROTECTED]> wrote: Hi I am trying to understand dynamic images using wicket 1.1 rc 2. basically i ha