Re: final modifier on AuthenticatedWebApplication getSessionFactory method (2.0 branch)

2007-01-08 Thread Ernesto Reinaldo Barreiro
Thanks! Ernesto Eelco Hillenius wrote: done. Eelco On 1/5/07, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Dear Wicket Devs, Would it be possible to remove the final modifier on protected final ISessionFactory getSessionFactory() { return new

Re: Wicket and Backbase

2007-01-08 Thread Igor Vaynberg
why dont you give us an example of markup you are having difficulty outputting? -igor On 1/7/07, Toscano [EMAIL PROTECTED] wrote: Hello, I have been doing some testing for a very big project, and I have been seduced by Wicket. In the web interface side, we are considering Backbase, but

Re: hangman exception: attach

2007-01-08 Thread Igor Vaynberg
yes, and thats what ive been using - quick hierarchy (ctrl+t), but that doesnt show anon classes and doesnt work across projects reliably. -igor On 1/8/07, Erik van Oosten [EMAIL PROTECTED] wrote: Press Ctrl-T while the cursor is on a method definition, or press Ctrl-T twice when the cursor

Re: RefreshingView and IDataProvider

2007-01-08 Thread Igor Vaynberg
dataprovider is for the dataview, why would you want to use it in the refreshing view? in 2.0 i plan on refactoring the refreshing view, removing getItemModels and instead make its model object of type IteratorIModel -igor On 1/8/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Hi, Is

Re: hangman exception: attach

2007-01-08 Thread Erik van Oosten
Hmm, that's weird. They do show up here. My Eclipse version is fairly new. Maybe you're using something oldish? Erik. Igor Vaynberg schreef: yes, and thats what ive been using - quick hierarchy (ctrl+t), but that doesnt show anon classes and doesnt work across projects reliably. -igor

Re: hangman exception: attach

2007-01-08 Thread Igor Vaynberg
3.2.1, you? -igor On 1/8/07, Erik van Oosten [EMAIL PROTECTED] wrote: Hmm, that's weird. They do show up here. My Eclipse version is fairly new. Maybe you're using something oldish? Erik. Igor Vaynberg schreef: yes, and thats what ive been using - quick hierarchy (ctrl+t), but that

Re: Wicket and Backbase

2007-01-08 Thread Erik van Oosten
Oskar, The BackBase language is XML right? So what you can do is give the BackBase elements a wicket:it attribute and attach components to it, just as would do with html tags. Regards, Erik. On 1/7/07, Toscano [EMAIL PROTECTED] wrote: Hello, I have been doing some testing for a very

Re: hangman exception: attach

2007-01-08 Thread Erik van Oosten
I am home now so I can't check it. Erik. Igor Vaynberg schreef: 3.2.1, you? -igor

Re: Wicket and Backbase

2007-01-08 Thread Eelco Hillenius
My back base knowledge is poor, so can you give an example of what kind of markup you need to produce? Eelco On 1/8/07, Toscano [EMAIL PROTECTED] wrote: Hello, Thank you very much for your responses. I understand what you want to say, but I'm afraid I don't know how to do it. My Wicket

Re: Wicket and Backbase

2007-01-08 Thread Igor Vaynberg
wicket can generate any xml markup, give us an example and we will show you how -igor On 1/8/07, Toscano [EMAIL PROTECTED] wrote: Hello, Thank you very much for your responses. I understand what you want to say, but I'm afraid I don't know how to do it. My Wicket knowledge is poor yet, can

Re: Wicket and Backbase

2007-01-08 Thread Erik van Oosten
Perhaps it is time to read up on the examples. You can find these on http://wicketframework.org/ and http://cwiki.apache.org/WICKET/. Please ask further on the user list. This is the developers list. Eelco, BackBase uses a XUL syntax with things like windowstuff/window, these are read and

Re: RefreshingView and IDataProvider

2007-01-08 Thread Jean-Baptiste Quenot
* Igor Vaynberg: dataprovider is for the dataview, why would you want to use it in the refreshing view? We find IDataProvider handy for providing data... As the name suggests. It is useful even outside of DataView, mainly in Wicket Contrib Dojo. in 2.0 i plan on refactoring the

Re: Wicket and Backbase

2007-01-08 Thread Toscano
Thank you again for your answers. I'm sorry because maybe I'm asking in the wrong forum... For example, backbase renders a tree control using this xml: b:treelist b:treelistrow b:treelistcell b:type=headSubject/b:treelistcell b:treelistcell

Re: Wicket and Backbase

2007-01-08 Thread Igor Vaynberg
here is a panel that will output b:treelistrow tag // model class TreeListRow { ListTreeListCell cells; } class TreeListCell { String type, String text; } //panel class TreeListRowPanel extends Panel { public TreeListRowPanel(String id, IModelTreeListRow model) { super(id, new

Re: RefreshingView and IDataProvider

2007-01-08 Thread Igor Vaynberg
On 1/8/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: We find IDataProvider handy for providing data... As the name suggests. It is useful even outside of DataView, mainly in Wicket Contrib Dojo. glad to hear it :) in 2.0 i plan on refactoring the refreshing view, removing

Re: RefreshingView and IDataProvider

2007-01-08 Thread Jean-Baptiste Quenot
* Igor Vaynberg: well, if you look at it closer the refreshingview has no concept nor overhead of paging. it is a simple repeater that is fed with an iterator. it is meant for small datasets. OK I understand your point now. In the ideal world I see: * IDataProvider: Iterator

Re: RefreshingView and IDataProvider

2007-01-08 Thread Jean-Baptiste Quenot
Another request: we need to know the item at a given row position in the table for AJAX callbacks on selected rows. What is the best option to do that with a RefreshingView? Call iterator() and iterate until reaching the required index? Is there room for improvement on this? Wicket

Re: RefreshingView and IDataProvider

2007-01-08 Thread Igor Vaynberg
On 1/8/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: In particular I made the error several times to return IteratorObject instead of IteratorIModel in RefreshingView. Also the fact that branch 1.X uses Java 1.4 without generics does not help. yep, i have done that too on

Re: RefreshingView and IDataProvider

2007-01-08 Thread Igor Vaynberg
what is the actual usecase? -igor On 1/8/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Another request: we need to know the item at a given row position in the table for AJAX callbacks on selected rows. What is the best option to do that with a RefreshingView? Call iterator() and

refactor storing pages and versions

2007-01-08 Thread Eelco Hillenius
Hi, Currently, pages and versions of pages are stored separately. Pages are stored in IPageMaps, and each page has a IPageVersionManager. By default (and I wonder how many users actually ever did override this) the IPageVersionManager is UndoPageVersionManager, which keeps a list of changes in

Re: refactor storing pages and versions

2007-01-08 Thread Igor Vaynberg
i dont even see the point of having an IPageVersionManager. it is tied to Change which has an undo() method, so what other kind of manager can you write except the undo one? -igor On 1/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hi, Currently, pages and versions of pages are stored

Re: refactor storing pages and versions

2007-01-08 Thread Eelco Hillenius
Exactly. Eelco On 1/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont even see the point of having an IPageVersionManager. it is tied to Change which has an undo() method, so what other kind of manager can you write except the undo one? -igor On 1/8/07, Eelco Hillenius [EMAIL PROTECTED]

Re: refactor storing pages and versions

2007-01-08 Thread Jonathan Locke
oops. by so totally sure i meant not totally sure, of course ;-) Jonathan Locke wrote: the original idea was that you might want to version pages some other way. for example if you want to capture every last change to the page for sure at the cost of some extra memory, you could do a

Re: refactor storing pages and versions

2007-01-08 Thread Eelco Hillenius
btw, SecondLevelCacheSessionStore seems a little fuzzy to me as a name. it presumes someone knows what a second level cache is. what about something a little more direct like maybe FileBackedSessionStore? not sure i love that either, but it's maybe a little more obvious. I don't know. It