[Wicket-user] http://www.wicket-library.com/wicket-contrib-examples/cdapp

2005-08-12 Thread Marcel Overdijk
Hi, I'm just looking into Wicket and noticed the nice cdapp demo at http://www.wicket-library.com/wicket-contrib-examples/cdapp. However I seems that this demo app is not available for download? Is this correct, and if not what is the location to download it from? Regards, Marcel

[Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Dan Gould
I've got an unusual use-case for a page and I'm confused about how to accomplish this in Wicket. However, it seems to be that it should be completely doable, even if I need to hack some stuff a bit. I have a page, (say, http://www.foo.com/foo). Every time I come back to that page, it should

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Erik van Oosten
You could try: page.setVersioned(false) I'm not a wicket-guru though. Erik. --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Johan Compagner
no this won't help this only stops the page from tracking changed to the page itself (model data or component changes) johan Erik van Oosten wrote: You could try: page.setVersioned(false) I'm not a wicket-guru though. Erik. ---

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Johan Compagner
if you want to disable the back button then you have to do some javascripting to disabled it. I think some of the forums made examples for this. Dan Gould wrote: I've got an unusual use-case for a page and I'm confused about how to accomplish this in Wicket. However, it seems to be that it

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-12 Thread David Liebeherr
Oh guys, why do you all make it so complicated? We already had a very good solution like: Button with onClick() and SubmitButton with onSubmit(). So i think this is much better and cleaner (and less confusing) than what we got now. This would be realy important to me since it would be a step

Re: [Wicket-user] http://www.wicket-library.com/wicket-contrib-examples/cdapp

2005-08-12 Thread Gwyn Evans
Hmm, it doesn't look to be available for download as a package, certainly, however, it's available via CVS. Details of CVS access here - http://wicket-stuff.sourceforge.net/cvs-usage.html, with the web view of the repositry here -

[Wicket-user] non-breaking space - nbsp; in list view

2005-08-12 Thread Dipu
Hi, Is there any way i can add anon-breaking space in a list view. I want to output TDnbsp;/TD. Dipu

[Wicket-user] PageableDataView and column cells

2005-08-12 Thread Gili
Hi, I'm trying to display a grid of images, for example 4 columns and 3 rows of images, where each cell is a different entry retrieved from the database with a different index/id. I took a look at the DisplayTag example and PageableDataView's source-code and they don't seem to be quite

[Wicket-user] wicket-contrib-database

2005-08-12 Thread Jon Carlson
I'm warming up to the idea of adding Cayenne implementation classes to the wicket-contrib-database project. Without another implementation, you really can't say it is ORM tool agnostic. One problem is that the project has some maven dependencies that don't seem to be resolvable -- at least with

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Dan Gould [EMAIL PROTECTED] wrote: I've got an unusual use-case for a page and I'm confused about how to accomplish this in Wicket. However, it seems to be that it should be completely doable, even if I need to hack some stuff a bit. I have a page, (say, http://www.foo.com/foo).

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Johan Compagner
This is what I am currently trying to do. I do not like that Wicket creates a new instance of component each time when I navigate to it. I this is just not true. If you navigate you are pressing links that you have created And what you do in that link is complete up to you. Just set a new

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jonathan Locke
this is an accident: @Id(generate = GeneratorType.AUTO) DatabaseObject is a handy class for hibernate. if cayenne does not work this way, it can be moved to hibernate package. if cayenne requires some interface, there would be no use for that in hibernate and that should be moved to

RE: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-12 Thread Igor Vaynberg
Dave, the two class approach does not work as I found out yesterday. Ie how are you going to refactor the ImageButton class, are you going to make it a SubmitButton or just a Button? Or are you going to make it abstract and derive two concrete classes from it? The two class approach is messy.

RE: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Igor Vaynberg
Here is the quick and dirty solution. Is there enough interest to build a full blown grid component? final int cols=7; final int rowsPerPage=5; add(new PageableDataView(grid, new ContactDataProvider(), cols*rowsPerPage) {

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jon Carlson
Cayenne doesn't require an interface. I just thought that some of the code in the generic class might depend on the getId and setId methods in DatabaseObject, but I guess it doesn't. On 8/12/05, Jonathan Locke [EMAIL PROTECTED] wrote: this is an accident: @Id(generate =

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner [EMAIL PROTECTED] wrote: This is what I am currently trying to do. I do not like that Wicket creates a new instance of component each time when I navigate to it. I this is just not true. If you navigate you are pressing links that you have created And what

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jonathan Locke
can we leave it then? we can remove dependency on javax.persistence if you like. Jon Carlson wrote: Cayenne doesn't require an interface. I just thought that some of the code in the generic class might depend on the getId and setId methods in DatabaseObject, but I guess it doesn't. On

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jonathan Locke
or maybe it really belongs in hibernate package since it uses persistence annotations and that's specific to hibernate... Jon Carlson wrote: Cayenne doesn't require an interface. I just thought that some of the code in the generic class might depend on the getId and setId methods in

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jon Carlson
I'm thinking it belongs in hibernate, although I rather like being able to assume there is a getId and a setId method for each db object, but maybe that is too limiting for general use? If we find it necessary, we can create an IDatabaseObject interface at a later point in time. On 8/12/05,

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Johan Compagner
In SignIn example link look like this: a href=signinsignin/a As you can see, there is no additional parameters, it simply navigates to signIn. WebRequestCycle considers this link as a homepage, and calls setResponsePage(homePage). At least in this case Wicket does not create a new instance. But

RE: [Wicket-user] non-breaking space - nbsp; in list view

2005-08-12 Thread Igor Vaynberg
add(new Label(id, "nbsp;").setEscapeModelObjectStrings(false)); From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DipuSent: Friday, August 12, 2005 4:44 AMTo: wicket-user@lists.sourceforge.netSubject: [Wicket-user] non-breaking space - nbsp; in list view

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jonathan Locke
i think it's probably too limiting. people may have their own domain objects. it's a handy base class for the hibernate package with the annotations and all, but there's no good reason to have it in the generic package Jon Carlson wrote: I'm thinking it belongs in hibernate, although I

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jonathan Locke
i went ahead and moved this to wicket.contrib.database.hibernate.HibernateDatabaseObject Jonathan Locke wrote: i think it's probably too limiting. people may have their own domain objects. it's a handy base class for the hibernate package with the annotations and all, but there's no

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner [EMAIL PROTECTED] wrote: In SignIn example link look like this: a href=signinsignin/a As you can see, there is no additional parameters, it simply navigates to signIn. WebRequestCycle considers this link as a homepage, and calls setResponsePage(homePage). At

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jon Carlson
I'm on vacation next week. I may get some of the Cayenne impl done while away, but probably not until after I get back. - Jon On 8/12/05, Jonathan Locke [EMAIL PROTECTED] wrote: i went ahead and moved this to wicket.contrib.database.hibernate.HibernateDatabaseObject Jonathan Locke wrote:

Re: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Phil Kulak
Er.. I mean ColumnedDataProvider, or something that is closer to actual English. On 8/12/05, Phil Kulak [EMAIL PROTECTED] wrote: What if we made a RowsDataProvider that returned detachable lists as the models? That way you could plug that into anything and get columns. On 8/12/05, Igor

Re: [Wicket-user] wicket-contrib-database

2005-08-12 Thread Jonathan Locke
ok Jon Carlson wrote: I'm on vacation next week. I may get some of the Cayenne impl done while away, but probably not until after I get back. - Jon On 8/12/05, Jonathan Locke [EMAIL PROTECTED] wrote: i went ahead and moved this to

Re: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Christian Essl
Wow, that's a good one. I guess there are also others who need it and facing the implementation (I couldn't have done it this way) I think there is a need. I was acutally thinking along the lines of implementing a PageableOrderedRepeatingView and than nest another OrderedRepeatingView. What

RE: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Igor Vaynberg
Hopefully when the new paging impl is done there wont be a need for Pageable-pairs :) -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Essl Sent: Friday, August 12, 2005 10:37 AM To: wicket-user@lists.sourceforge.net Subject:

RE: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Igor Vaynberg
I think a photo-gallery is a good use case. Just a grid of panels with a picture and some other info inside. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Essl Sent: Friday, August 12, 2005 10:37 AM To:

[Wicket-user] Serialization problems under Tomcat

2005-08-12 Thread Gili
Hi, Has anyone ever seen this error before? Any idea why it occurs or how to fix it? 13:47:39,140 ERROR ManagerBase:411 - IOException while loading persisted sessions: java.io.InvalidClassException: wicket.Component; local class incompatible: stream classdesc serialVersionUID =

Re: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Phil Kulak
I think that may be the best way to go, although you should extend pageabledataview instead. Then you'd be in trouble if you wanted to use a plain dataview, but at least you would just have more functionality then you need, not less. My first though was something like the attached file, but now

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Johan Compagner
Michael Jouravlev wrote: On 8/12/05, Michael Jouravlev [EMAIL PROTECTED] wrote: I don't like bookmarkable urls as they are now. First, they look ugly. Second, the page is shown directly without redirection. On the contrary, I want to send a command to a page, so it would process it, and

Re: [Wicket-user] Serialization problems under Tomcat

2005-08-12 Thread Johan Compagner
this is just because you did shutdown tomcat then upgraded wicket (cvs update) and then started tomcat again. We can fix this but then we need to put serialVersionUID in every wicket component/model. and i think his is removed (we did have that i believe) So yes upgrading wicket by shutdown

[Wicket-user] [Wicket] DataView and optimized item removal

2005-08-12 Thread Christian Essl
No it is not the same issue again. However I was thinking about it and somehow realized that most of pagable db views have identical rows (with different data of course). So I though maybe even a stronger optimization than optimized item removal, would be to build at the start of DataView

Re: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Christian Essl
Oh yes. This should be before 1.1 and idea? On Fri, 12 Aug 2005 10:48:47 -0700, Igor Vaynberg [EMAIL PROTECTED] wrote: Hopefully when the new paging impl is done there wont be a need for Pageable-pairs :) -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Wicket-user] PageableDataView and column cells

2005-08-12 Thread Johan Compagner
i will start first impl this weekend Christian Essl wrote: Oh yes. This should be before 1.1 and idea? On Fri, 12 Aug 2005 10:48:47 -0700, Igor Vaynberg [EMAIL PROTECTED] wrote: Hopefully when the new paging impl is done there wont be a need for Pageable-pairs :) -Igor -Original

RE: [Wicket-user] [Wicket] DataView and optimized item removal

2005-08-12 Thread Igor Vaynberg
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Essl No it is not the same issue again. However I was thinking about it and somehow realized that most of pagable db views have identical rows (with different data of course). So

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner [EMAIL PROTECTED] wrote: Michael Jouravlev wrote: I would prefer that for pages which are not versioned and have only one instance, the url would be built using context root + Page name. Of course, page name should be uniqie, and I do not want to use full

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner [EMAIL PROTECTED] wrote: If no one objects, I will give some attention to the urls, since ugly urls drive me crazy ;-) i and i know almost all core developers of wicket really don't care. Why is that so important ? I really don't get that. Of course, Wicket

[Wicket-user] feedback refactor

2005-08-12 Thread Jonathan Locke
fyi, everyone... i have started the refactor we talked about on feedback components. this is going to be a lot better... --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA *

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Johan Compagner
I just have mentioned before that this syntax is for non-versioned single-instance pages. Versioned pages will get version parameter, multiple-instance pages will get path parameter. Oh, by the way, I know that semantically these are different, but is it possible to combine indexes for version

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Matej Knopp
I think this should be somehow possible to do, without altering wicket in any way. I'd like to see your progress here :) There is a problem, though, that Johan has already pointed out, that if you use syntax like /signin/home, etc.. You have to treat all urls in your markup (images,

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Johan Compagner
www.amazon.com/books/subjects/computers/webdev www.amazon.com/books/subjects/computers www.amazon.com/books/subjects www.amazon.com/books Those links are bookmarkable pages you jump directly inside a point in an application. and there we agree it would be nice to have some kind of

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
by the way, if you select Books Subjects, Amazon shows the Subjects page. But if you select any other category beneath Books Subjects, Amazon shows same page layout. Obviously, they did not want to create a separate page for all categories, and they use one template with different database data.

[Wicket-user] Wicket-stuff Netbeans projects

2005-08-12 Thread Gili
Hi, I'd like to commit Netbeans projects for wicket-stuff alongside the Eclipse ones. I think you guys assigned me commit rights to that project many months ago but I don't recall the login/password information. Who do I contact about this? Thanks, Gili -- http://www.desktopbeautifier.com/

RE: [Wicket-user] Wicket-stuff Netbeans projects

2005-08-12 Thread Igor Vaynberg
Use your sourceforge.net login and password. If you don't remember contact sourceforge.net or try to recover online. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gili Sent: Friday, August 12, 2005 12:11 PM To: [EMAIL PROTECTED] Subject:

Re: [Wicket-user] [Wicket] DataView and optimized item removal

2005-08-12 Thread Christian Essl
On Fri, 12 Aug 2005 11:40:02 -0700, Igor Vaynberg [EMAIL PROTECTED] wrote: -Original Message- The optmized-item-removal in the context of the dataview is not really an optimization. It is a way for you to keep state in your dataitems and all attached items across requests. So for

[Wicket-user] Clustering with wicket + tomcat

2005-08-12 Thread David Liebeherr
Can anyone please help me out with the Clustering with wickte and tomcat? I tried everything which was mentioned in the Wiki-Page but nothing works. The normal servlet session (I tried it with a normal JSP site) works in cluster mode. But wiket sessions don't work, even not with the patch from

[Wicket-User] final again

2005-08-12 Thread Michael Jouravlev
How many annoyed users is needed to remove 'final' ? I understand the why 'final' is there, but I don't find it reasonable enough. Why treat Wicket users as idiots (though sometimes they probably are) who cannot properly override a method? For example, I wanted to create my own version of

RE: [Wicket-user] [Wicket] DataView and optimized item removal

2005-08-12 Thread Igor Vaynberg
Explain the benefits of your approach as opposed to the current implementation - I cant think of any off the top of my head. As far as collections go, performance wise I think you would be better off transforming it to a list first or to an array and writing an ArrayAdapter. Assuming your

Re: [Wicket-User] final again

2005-08-12 Thread Johan Compagner
of what do you mean? the DefaultPageFactory? If you want one you should just make youre own. Jonathan has already explain with pretty long emails why we have final So please search these mailing list. Michael Jouravlev wrote: How many annoyed users is needed to remove 'final' ? I understand

[Wicket-user] Moving objects between ListViews

2005-08-12 Thread Nick Heudecker
Any thoughts on the following scenario? ListView A has a list of incompleteToDo items. ListView B, which is empty, contains a list of complete ToDo items. When the user clicks a link, the ToDo item is flagged as completed and should be moved to ListView B. For some reason, the first object I

RE: [Wicket-user] Moving objects between ListViews

2005-08-12 Thread Igor Vaynberg
How about a little bit of code so we can see what you are doing. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Heudecker Sent: Friday, August 12, 2005 12:59 PM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Moving

Re: [Wicket-User] final again

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner [EMAIL PROTECTED] wrote: Jonathan has already explain with pretty long emails why we have final So please search these mailing list. I know, I know... I've read the faq. --- SF.Net email is Sponsored by the Better

Re: [Wicket-user] [Wicket] DataView and optimized item removal

2005-08-12 Thread Christian Essl
On Fri, 12 Aug 2005 12:57:37 -0700, Igor Vaynberg [EMAIL PROTECTED] wrote: Explain the benefits of your approach as opposed to the current implementation - I cant think of any off the top of my head. Because you can use any object not just a string. This means you can provide optimized item

RE: [Wicket-user] Wicket-stuff Netbeans projects

2005-08-12 Thread Gili
Use your sourceforge.net login and password. If you don't remember contact sourceforge.net or try to recover online. Ok, that worked but now I don't have CVS write access into dataview and other modules I'm trying to commit into. I'm simply trying to add Netbeans4.2 (and a bunch of files

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-12 Thread David Liebeherr
I will do some thinking about all this and present you all the solution i found at the beginning of the next week. Hopfully you will be all glad (well of course never _all_ will be happy, but at least the most of you) and we can end the discussion and i can go on with the implementation. Cu,

RE: [Wicket-user] Wicket-stuff Netbeans projects

2005-08-12 Thread Igor Vaynberg
Umm did you check out the project using the DEVELOPER access (via ssh) or via PUBLIC (pserver) ? -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gili Sent: Friday, August 12, 2005 2:06 PM To: wicket-user@lists.sourceforge.net Subject: RE:

Re: [Wicket-user] PayPal Account Security Measures

2005-08-12 Thread Jesse Sightler
Does anyone know why this list gets spammed so often? It seems like I get more spams from this list than most others...

RE: [Wicket-user] [Wicket] DataView and optimized item removal

2005-08-12 Thread Igor Vaynberg
Why don't you implement it and email us the patch. That way we can all take a look at it and see if it works. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Essl Sent: Friday, August 12, 2005 1:48 PM To: