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

2005-10-25 Thread Alexandru Popescu
#: Stefan Arentz changed the world a bit at a time by saying on 10/26/2005 6:44 AM :# On Oct 26, 2005, at 12:39 AM, Alexandru Popescu wrote: #: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 9:58 PM :# On Oct 25, 2005, at 10:48 PM, Alexandru Popescu wrote: #: St

Re: [Wicket-user] Markup not found

2005-10-25 Thread Juergen Donnerstag
May be I'm wrong, but I think it does not solve the problem. The current exception messages says "Markup of type 'html' for component 'wicket.markup.html.basic.SimplePage' not found or invalid". => (the last two words: OR INVALID). And the the causing exception say exactly which tag, which file, wh

[Wicket-user] Re: Multiple checkboxes, table columns & how-to in Wicket?

2005-10-25 Thread Robert McClay
Within a form I'm using a detachable model for a ListView that contains business objects loaded directly via JDBC, each of which has a selected flag, rendered in the ListItem as a checkbox. However, when I get to onSubmit in the form, the model is still detached, and therefore the state hasn't

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

2005-10-25 Thread Stefan Arentz
On Oct 26, 2005, at 12:39 AM, Alexandru Popescu wrote: #: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 9:58 PM :# On Oct 25, 2005, at 10:48 PM, Alexandru Popescu wrote: #: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 9:32 PM :#

Re: [Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Ivan B
Thank you very much. This helped a lot. The problem was that I was using Tree.NODE_IMAGE_NAME for both getNodeImage and getJunctionImage. And, yes I understand this is not too efficient and a better approach would be to use packaged resources, but I had to punt on efficiency for the sake of th

RE: [Wicket-user] Markup not found

2005-10-25 Thread Igor Vaynberg
How about: MarkupNotFoundException - this is pretty clear. Message should say something like it does now: Markup for component x not found. MarkupParseException - this is when there is a problem with parsing the html template. The message should name the filename and say exactly where in that fil

Re: [Wicket-user] Markup not found

2005-10-25 Thread Eelco Hillenius
Sounds like a good idea. Eelco On 10/25/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > Maybe we should consider expanding our exception hierarchy a bit. Currently > we only have the WicketRuntimeException and MarkupException. Maybe we can > introduce MarkupNotFoundException and MarkupInvalidEx

RE: [Wicket-user] Markup not found

2005-10-25 Thread Igor Vaynberg
Maybe we should consider expanding our exception hierarchy a bit. Currently we only have the WicketRuntimeException and MarkupException. Maybe we can introduce MarkupNotFoundException and MarkupInvalidException with their own specialized messages. Sometimes the cause of the exception is so fa

Re: [Wicket-user] Markup not found

2005-10-25 Thread Jason Essington
I've been bitten by the Markup Not Found error as well. It would be nice if that message was accompanied by some bit of information about what markup it was expecting to find, But unfortunately the stack trace was devoid of any helpful information. As it sits, the message is just about as eff

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

2005-10-25 Thread Alexandru Popescu
#: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 9:58 PM :# On Oct 25, 2005, at 10:48 PM, Alexandru Popescu wrote: #: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 9:32 PM :# On Oct 25, 2005, at 10:23 PM, Alexandru Popescu wrote: Stefa

Re: [Wicket-user] Markup not found

2005-10-25 Thread Francis Amanfo
This "Markup not found" exception thing is extremely misleading and think needs addressing if Wicket is seriously aiming at going mainstream. In my early days of Wicket I struggled so much with it. It can happen because the markup really doesn't exist but also sometimes when there is an error in yo

Re: [Wicket-user] Markup not found

2005-10-25 Thread Nick Heudecker
No, there was nothing about the "is wrong" bit.  Just that it couldn't find it.On 10/25/05, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:yes, the stacktrace you get is something like ERROR - RequestCycle   - Unexpected runtime exception[page = [Page class = wicket.markup.html.basic.Sim

Re: [Wicket-user] Markup not found

2005-10-25 Thread Juergen Donnerstag
yes, the stacktrace you get is something like ERROR - RequestCycle - Unexpected runtime exception [page = [Page class = wicket.markup.html.basic.SimplePage, id = 0]] wicket.WicketRuntimeException: Markup of type 'html' for component 'wicket.markup.html.basic.SimplePage' not found or

Re: [Wicket-user] Markup not found

2005-10-25 Thread Phil Kulak
Just put this in an random markup file: and you'll get the stack trace. ;) On 10/25/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I checked my old logs and wasn't able to find the stack trace. Apologies. > > > On 10/25/05, Juergen Donnerstag < [EMAIL PROTECTED]> wrote: > > Yes I agree, but p

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

2005-10-25 Thread Stefan Arentz
On Oct 25, 2005, at 10:48 PM, Alexandru Popescu wrote: #: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 9:32 PM :# On Oct 25, 2005, at 10:23 PM, Alexandru Popescu wrote: Stefan I was wondering why annotating the field? At the first glance it looks the logical

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

2005-10-25 Thread Alexandru Popescu
#: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 9:32 PM :# On Oct 25, 2005, at 10:23 PM, Alexandru Popescu wrote: Stefan I was wondering why annotating the field? At the first glance it looks the logical choice, but imo the page is the object depending on the ser

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

2005-10-25 Thread Stefan Arentz
On Oct 25, 2005, at 10:23 PM, Alexandru Popescu wrote: Stefan I was wondering why annotating the field? At the first glance it looks the logical choice, but imo the page is the object depending on the service (so the annotation should be on type level). What do you mean with type level? Th

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

2005-10-25 Thread Alexandru Popescu
#: Stefan Arentz changed the world a bit at a time by saying on 10/25/2005 6:41 PM :# On Oct 25, 2005, at 11:58 AM, Johan Compagner wrote: if you want to create youre own page factory. And use PagePArameters for everything to supply params back and forth you are ofcourse free to do that ri

Re: [Wicket-user] FeedbackPanel and CSS

2005-10-25 Thread Nick Heudecker
I think I'll end up creating my own FeedbackPanel subclass.  Is there any way to have messages only display for one page refresh?  Currently, the messages stay visible on the page. On 10/25/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: You could assign a class on the element you attach the panel

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

2005-10-25 Thread Stefan Arentz
On Oct 25, 2005, at 8:03 PM, Eduardo Rocha wrote: Supose the page get serialized, have you already implemented bean reinjection in deserialization? Yup. S. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Regis

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

2005-10-25 Thread Eduardo Rocha
Supose the page get serialized, have you already implemented bean reinjection in deserialization? 2005/10/25, Stefan Arentz <[EMAIL PROTECTED]>: > > On Oct 25, 2005, at 7:50 PM, Ryan Sonnek wrote: > > > Is the annotation really necessary? can't you use spring's injection > > by type? There will

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

2005-10-25 Thread Stefan Arentz
On Oct 25, 2005, at 7:50 PM, Ryan Sonnek wrote: Is the annotation really necessary? can't you use spring's injection by type? There will only be one HelloWorldService defined in the spring configuration. That is a false assumption. As a concrete example, I have two 'PayPalButtonBuilder' b

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

2005-10-25 Thread Ryan Sonnek
Is the annotation really necessary? can't you use spring's injection by type? There will only be one HelloWorldService defined in the spring configuration. On 10/25/05, Stefan Arentz <[EMAIL PROTECTED]> wrote: > > On Oct 25, 2005, at 11:58 AM, Johan Compagner wrote: > > > if you want to create y

Re: [Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Eelco Hillenius
Now with patch. On 10/25/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > I have checked it against head, but am not able to reproduce your > error. The atteched path works fine for me. You should consider using > packaged resources btw, drawing lot's of images seperately for the > tree component

Re: [Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Eelco Hillenius
I have checked it against head, but am not able to reproduce your error. The atteched path works fine for me. You should consider using packaged resources btw, drawing lot's of images seperately for the tree component is inefficient, and as the urls to those images are dynamic, the browser won't be

[Wicket-user] ListMultipleChoice doesn't call modelChanging()

2005-10-25 Thread Nathan Hamblen
In 1.1 rc2, ListMultipleChoice.updateModel() acts a little funny. It gets a reference to a Collection in line 282, then operates on it directly. First it clears it, then it adds things back. At line 316 it calls setModelObject(selectedValues), but that doesn't do anything because the comparato

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

2005-10-25 Thread Stefan Arentz
On Oct 25, 2005, at 11:58 AM, Johan Compagner wrote: if you want to create youre own page factory. And use PagePArameters for everything to supply params back and forth you are ofcourse free to do that right now. Better idea! Add some AOP and annotation magic to the mix! public class Hel

[Wicket-user] Re: where to find any hibernate-wicket example ?

2005-10-25 Thread Nathan Hamblen
You're pretty much stuck convincing yourself that Wicket works well with persistence, at least for now. (You'll see that it does, though.) The examples in wicket-stuff do things in several different ways, and many of them stop short of actually plugging into a database but instead simulate one.

Re: [Wicket-user] FeedbackPanel and CSS

2005-10-25 Thread Eelco Hillenius
You could assign a class on the element you attach the panel on. Like .. and then in css: .myfeedback ul { ... }. Another option, for more flexibility, is to extend FeebackPanel, and provide your own markup. Basically you would copy n paste the feedbackpanel markup, but you'd also provide the clas

RE: [Wicket-user] where to find any hibernate-wicket example ?

2005-10-25 Thread Igor Vaynberg
Checkout wicket-phonebook from wicket-stuff it's a hibernate/spring/wicket app. cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff co wicket-phonebook -Igor > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Juergen Donnerstag > Sent: Tu

[Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Ibo Vanjer
I would like to create a dynamic tree node icons. What I've done is to override get*Image methods from the Tree (code snipper shown). Alas, I always end up with the the exception shown bellow. Can anyone provide any hints on this? ---CODE--- protected Image getNodeImage(DefaultMutableT

Re: [Wicket-user] Markup not found

2005-10-25 Thread Nick Heudecker
I checked my old logs and wasn't able to find the stack trace.  Apologies.On 10/25/05, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:Yes I agree, but please with stacktrace, markup etc.. Just "it does not work" doesn't help much to find the cause.JuergenOn 10/25/05, Martijn Dashorst <[EMAIL PROTECT

Re: [Wicket-user] where to find any hibernate-wicket example ?

2005-10-25 Thread Juergen Donnerstag
Please see http://wicket-stuff.sourceforge.net/. Project wicket-stuff contains plenty of additional components and examples contributed by various people. Some are available to be downloaded, others only by means of cvs. Juergen On 10/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > >

[Wicket-user] where to find any hibernate-wicket example ?

2005-10-25 Thread tkaczano
Hi, I can't find source for any hibernate example application. Tried to find cdapp but failed. I checked out wicket and wicket-examples from cvs but wicket-examples/src/java/wicket/examples/cdapp is empty. Where can I find cdapp source or any other hibernate-wicket example app ? I've just start

Re: [Wicket-user] getBodyOnloadContribution()

2005-10-25 Thread Juergen Donnerstag
bodyOnLoad content is usually static. Why don't you add it to your markup? And if there realy is a need to dynamically add it, use WebPage.appendToBodyOnLoad(). Juergen On 10/25/05, Marco van de Haar <[EMAIL PROTECTED]> wrote: > I hav a class extending AjaxHandler. Can this class contribute to th

[Wicket-user] getBodyOnloadContribution()

2005-10-25 Thread Marco van de Haar
I hav a class extending AjaxHandler. Can this class contribute to the body onload? as in... i want to to execute function init() onload. I tried overriding |*getBodyOnloadContribution *()|to return som

Re: [Wicket-user] Markup not found

2005-10-25 Thread Juergen Donnerstag
Yes I agree, but please with stacktrace, markup etc.. Just "it does not work" doesn't help much to find the cause. Juergen On 10/25/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > eh... bug-REPORT that is :-) > > Martijn > > > > On 10/25/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > We sh

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

2005-10-25 Thread Johan Compagner
if you want to create youre own page factory. And use PagePArameters for everything to supply params back and forth you are ofcourse free to do that right now. On 10/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>An EditUserPage for example cannot be bookmarkable>>because it needs to know wh

Re: [Wicket-user] Markup not found

2005-10-25 Thread Martijn Dashorst
eh... bug-REPORT that is :-) Martijn On 10/25/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: We should create a bug for this. Martijn On 10/25/05, Nick Heudecker <[EMAIL PROTECTED] > wrote: Yep, it was horribly incorrect markup.  I would've expected a parse error, not a not found error.On 10/24/

Re: [Wicket-user] Markup not found

2005-10-25 Thread Martijn Dashorst
We should create a bug for this. Martijn On 10/25/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: 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