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,
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 { /**
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
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
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
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) {
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
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
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);
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
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
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
12 matches
Mail list logo