[Wicket-user] Serializable issue in DefaultDataTable

2006-04-16 Thread Ingram Chen
DefaultDataTable in wicket-extension relies on a component OrderByLink to sort:public class OrderByLink extends Link { /** locator for sort state object */ private ISortStateLocator stateLocator; .}However, DefaultDataTable uses SortableDataProvider as ISortStateLocator. By this,

Re: [Wicket-user] Serializable issue in DefaultDataTable

2006-04-16 Thread Johan Compagner
but that is state that needs to be there after the link is deserializedWhere must i come from if it where transient?johanOn 4/16/06, Ingram Chen [EMAIL PROTECTED] wrote: DefaultDataTable in wicket-extension relies on a component OrderByLink to sort:public class OrderByLink extends Link { /**

Re: [Wicket-user] Serializable issue in DefaultDataTable

2006-04-16 Thread Ingram Chen
hm... seems unavoidable. So maybe we can(1) make ISortStateLocator extends Serializable(2) warn the user that SortableDataProvider will be serialized and do not reference any system facility like DAO inside it. or(2) split ISortStateLocator part of SortableDataProvider and use delegate:public

Re: [Wicket-user] modifing Feedback

2006-04-16 Thread Alexander Lohse
I have a table of database entries. When there is not entry (yet), I want to display a message (and I hide the emtpy table). This information is created/checked during construct-time, as well as when using a delete-link. I see now this is seems not be the intended usage. But I see a lot of

Re: [Wicket-user] Wicket continuations (was: wicket ajax memory leak with IE)

2006-04-16 Thread Timo Stamm
Eelco Hillenius schrieb: However, a framework like Wicket is not only about flow. A very important aspect is how you organize your pages. It the basis of object orientation to be able to categorize ideas and encapsulate their data and behavior. That's exactly my idea. If you *do* have a

[Wicket-user] ImageButton hyperlink works in Firefox, not in IE

2006-04-16 Thread kurt heston
When I click on the images I'm producing with ImageButton, nothing happens in Internet Explorer. It works fine in FireFox. This produces my button image (I wanted a color other than Orange): pre protected static ImageButton getButton(String buttonName, String label) {

Re: [Wicket-user] Serializable issue in DefaultDataTable

2006-04-16 Thread Igor Vaynberg
isortstatelocator is now serializable.-IgorOn 4/16/06, Ingram Chen [EMAIL PROTECTED] wrote: hm... seems unavoidable. So maybe we can (1) make ISortStateLocator extends Serializable(2) warn the user that SortableDataProvider will be serialized and do not reference any system facility like DAO

Re: [Wicket-user] modifing Feedback

2006-04-16 Thread Igor Vaynberg
it seems to me that a Label with the message is more appropriate then the feedback mechanism.-IgorOn 4/16/06, Alexander Lohse [EMAIL PROTECTED] wrote:I have a table of database entries. When there is not entry (yet), I want to display a message (and I hide the emtpy table).This information is

Re: [Wicket-user] ImageButton hyperlink works in Firefox, not in IE

2006-04-16 Thread kurt heston
Ok, I've got something that works: pre a href=# wicket:id=printLink img class=linkButton wicket:id=print/ /a /pre pre protected static Resource getButton(String label) { DefaultButtonImageResource r = new DefaultButtonImageResource(label); Color c = new Color(60, 179, 113);

Re: [Wicket-user] ImageButton hyperlink works in Firefox, not in IE - Resolved

2006-04-16 Thread kurt heston
Piece o' cake: pre .linkButton { border: none; } /pre Something really slick would be a button whose text label I could define within my HTML. No time for that right this minute...perhaps later. kurt heston wrote: Ok, I've got something that works: pre a href=# wicket:id=printLink

Re: [Wicket-user] WebPage generated script problem

2006-04-16 Thread Eelco Hillenius
That code is for automatically opening new page maps when new windows are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had some problems though, and we rewrote it using cookies when they are available, using the history trick as a last fall back. There was a thread about this

Re: [Wicket-user] WebPage generated script problem

2006-04-16 Thread Eelco Hillenius
Done. It's setting automaticMultiWindowSupport. Eelco On 4/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That code is for automatically opening new page maps when new windows are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had some problems though, and we rewrote it