have to write some
html template for display a word in link, it's too verbose.
Message: 1
Date: Wed, 10 Jan 2007 18:00:26 -0800
From: Igor Vaynberg [EMAIL PROTECTED]
Subject: Re: [Wicket-user] how to create a link without markup id?
To: wicket-user@lists.sourceforge.net
Message-ID:
[EMAIL
allow override some method of link , i have
to write some html template for display a word in link, it's too verbose.
Message: 1
Date: Wed, 10 Jan 2007 18:00:26 -0800
From: Igor Vaynberg [EMAIL PROTECTED]
Subject: Re: [Wicket-user] how to create a link without markup id?
To: wicket-user
I need show a downloadlink when a record has a attachment info. since the
reocrd may have not attachment, the downloadlink must be create by condition.
how can i do it ?
I also feel puzzle for how to do generate a system menu or some dymic link .
since the componet have to bind with some id.
add(new LInk(link) {}.setVisible(someCondition));
Martijn
On 1/10/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
I need show a downloadlink when a record has a attachment info. since the
reocrd may have not attachment, the downloadlink must be create by condition.
how can i do it ?
I also
To answer a part of your question:
You can 'hide' elements on a condition like this:
add(new SomeComponent() {
public boolean isVisible() {
return your_condition;
}
});
Regards,
Erik.
tooy li(Gmail) schreef:
I need show a downloadlink when a record has a attachment
:51:46 +0100
From: Martijn Dashorst [EMAIL PROTECTED]
Subject: Re: [Wicket-user] how to create a link without markup id?
To: wicket-user@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
add(new LInk(link) {}.setVisible(someCondition
to create
a fake file into downloadlink ,then hidden it when the condition is not ok.
it's very verbose!!!.
Message: 6
Date: Wed, 10 Jan 2007 16:51:46 +0100
From: Martijn Dashorst [EMAIL PROTECTED]
Subject: Re: [Wicket-user] how to create a link without markup id?
To: wicket-user