[Wicket-user] Re: Library Example

2005-07-05 Thread james
Eelco Hillenius topicus.nl> writes: > > Is it Wicket 1.0 you are using? With wicket-examples 1.0? Or do you use > a CVS checkout? > > And could you provide more information (like when the exception occurs, > and a complete stacktrace)? > > Eelco > Hi All, I did some changes to the code b

Re: [Wicket-user] BeanPanel use

2005-07-05 Thread Jonathan Carlson
For data editing, the BeanPanel would need to accept Jakarta commons DynaBeans. Another thing for my already long to-do list. :-) - Jonathan >>> [EMAIL PROTECTED] 2005-07-05 2:58:57 PM >>> Go for it! :) Eelco Jonathan Carlson wrote: >It would be very cool to use Eelco's BeanPanel to dynamica

[Wicket-user] Discussions on Wicket after the Smackdown

2005-07-05 Thread Martijn Dashorst
http://www.theserverside.com/discussions/thread.tss?thread_id=34956 http://www.javalobby.org/java/forums/t19337.html Feel free to share your emotions, opinions, etc. I know I did ;-) Martijn --- SF.Net email is sponsored by: Discover Easy Li

Re: [Wicket-user] BeanPanel use

2005-07-05 Thread Eelco Hillenius
Go for it! :) Eelco Jonathan Carlson wrote: It would be very cool to use Eelco's BeanPanel to dynamically modify the schema of a database, then use it to edit and modify the data in the database. It looks like it could be done rather easily with http://db.apache.org/ddlutils All the cross-d

[Wicket-user] BeanPanel use

2005-07-05 Thread Jonathan Carlson
It would be very cool to use Eelco's BeanPanel to dynamically modify the schema of a database, then use it to edit and modify the data in the database. It looks like it could be done rather easily with http://db.apache.org/ddlutils All the cross-database work and SQL generating has been done for

Re: [Wicket-user] Removing wicket markup

2005-07-05 Thread Juergen Donnerstag
This this is no longer true. About at the beginning of this year we decided to use wicket:id and support wicket:id only to identify wicket components. I'll remove the entry from the wiki as it doesn't make sense any more. Juergen On 7/5/05, Jan Bares <[EMAIL PROTECTED]> wrote: > Hi, > > accordi

RE: [Wicket-user] Newbie problem with Model-s

2005-07-05 Thread Igor Vaynberg
Ohh... oops, i misread the example. i thought the text field was added w/out a model. My bad!   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan CompagnerSent: Tuesday, July 05, 2005 9:37 AMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Newbie problem

Re: [Wicket-user] Newbie problem with Model-s

2005-07-05 Thread Johan Compagner
that is just what eelco means with implicit behaviour i guess. javadoc: Called when a null model is about to be retrieved in order to allow a subclass to provide an initial model So that initModel is only called when there is no model yet. And the default behaviour is then the find a Com

RE: [Wicket-user] Newbie problem with Model-s

2005-07-05 Thread Igor Vaynberg
The code in Component.initModel() looks like it only searches for models that are instance of CompoundPropertyModel. Am I totally missing something? Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Tuesday, July 05, 2005 9:03 AM

Re: [Wicket-user] Newbie problem with Model-s

2005-07-05 Thread Eelco Hillenius
I'm afraid that is not true. I was kind of afraid people might think that; it's one reason why I prefer explicit to implicit behaviour. The CompoundPropertyModel is there for convenience really. It allows you to 'short hand' code that would otherwise by more verbose, and it is slightly more eff

Re: [Wicket-user] Newbie problem with Model-s

2005-07-05 Thread Eelco Hillenius
That is because you did override a method, Form.onFormSubmitted, that was not meant for that. We try to shield you from this kind of errors as much as possible with Wicket, but sometimes that is not possible. In this case we couldn't make onFormSubmitted not final as we needed to override this

RE: [Wicket-user] Newbie problem with Model-s

2005-07-05 Thread Igor Vaynberg
Martin, The problem is here: add(new TestForm("testForm", new Model(person))); You are creating a Model, when in fact you should be creating a CompoundPropertyModel. Components that do not have models ( ie your RequiredTextField ) only "inherit" models that are of type CompoundPropertyModel or der

[Wicket-user] Newbie problem with Model-s

2005-07-05 Thread Martin Bednář
Hi, I have problems with updating models with data from page, I can't uderstand why it dosn't work :( Can anybody tell me what I'am doing wrong ? There is my very simple sample. package wicket.examples.my; import java.io.Serializable; import wicket.markup.html.WebPage; import wicket.markup.html

RE: [Wicket-user] Re: [Wicket-develop] [ wicket-Feature Requests-1232781 ] refactor button

2005-07-05 Thread Igor Vaynberg
That's exactly it Eelco. Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Tuesday, July 05, 2005 7:54 AM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Re: [Wicket-develop] [ wicket-Feature Requests-1232781 ]

Re: [Wicket-user] Re: [Wicket-develop] [ wicket-Feature Requests-1232781 ] refactor button

2005-07-05 Thread Eelco Hillenius
I can think of one reason: because you can't use the button functionality then. I was a bit suprised actually that it checked on Eelco Martijn Dashorst wrote: Igor, Why do you need this functionality? Can't you use the Link component for the functionality you need? A Link can be attached t

[Wicket-user] Re: [Wicket-develop] [ wicket-Feature Requests-1232781 ] refactor button

2005-07-05 Thread Martijn Dashorst
Igor, Why do you need this functionality? Can't you use the Link component for the functionality you need? A Link can be attached to more than a href> tag, for instance a and a . Martijn SourceForge.net wrote: Feature Requests item #1232781, was opened at 2005-07-05 14:31 Message generated

[Wicket-user] Removing wicket markup

2005-07-05 Thread Jan Bares
Hi, according to http://wicket.sourceforge.net/wiki/index.php/Remove_wicket_markup the should be equivalent to: But it doesn't work for me. Jan --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find

[Wicket-user] Wicket Samples as NetBeans Projects

2005-07-05 Thread Geertjan Wielenga
If you have any comments -- please leave them in my blog, at the end of the blog entry, so that everything's collected in the same place: http://blogs.sun.com/roller/page/geertjan/20050705 -- Gj --- SF.Net email is sponsor

Re: [Wicket-user] CompoundPropertyModel

2005-07-05 Thread Eelco Hillenius
Note that we plan on fixing this/ making it easier to use nested objects directly in 1.1. See https://sourceforge.net/tracker/index.php?func=detail&aid=1232524&group_id=119783&atid=684978 Eelco Martijn Dashorst wrote: Dipu wrote: Hi, I have got a User object with a Person object as one o

Re: [Wicket-user] CompoundPropertyModel

2005-07-05 Thread Martijn Dashorst
Dipu wrote: Hi, I have got a User object with a Person object as one of its property and Person object has PersonName object name as its property. And the PersonName object has firstName and lastName as properties. I want to create a CompoundPropertyModel with my User object as model and c

[Wicket-user] CompoundPropertyModel

2005-07-05 Thread Dipu
Hi,   I have got a User object with a Person object as one of its property and Person object has PersonName object name as its property. And the PersonName object has firstName and lastName as properties.   I want to create a CompoundPropertyModel with my User object as model and caprture t

Re: [Wicket-user] Documentation

2005-07-05 Thread Martijn Dashorst
Checkout the Wiki at http://wicket.sf.net/wiki Martijn Jan Bares wrote: Hi, most links on http://wicket.sourceforge.net/manual.html doesn't work. Is there any documentation besides javadoc and samples?? Jan --- SF.Net email is sponsore

[Wicket-user] Documentation

2005-07-05 Thread Jan Bares
Hi, most links on http://wicket.sourceforge.net/manual.html doesn't work. Is there any documentation besides javadoc and samples?? Jan --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follo