Re: [Wicket-user] how to create a link without markup id?

2007-01-11 Thread tooy li(Gmail)
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

Re: [Wicket-user] how to create a link without markup id?

2007-01-11 Thread Igor Vaynberg
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

[Wicket-user] how to create a link without markup id?

2007-01-10 Thread tooy li(Gmail)
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.

Re: [Wicket-user] how to create a link without markup id?

2007-01-10 Thread Martijn Dashorst
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

Re: [Wicket-user] how to create a link without markup id?

2007-01-10 Thread Erik van Oosten
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

Re: [Wicket-user] how to create a link without markup id?

2007-01-10 Thread tooy li(Gmail)
: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

Re: [Wicket-user] how to create a link without markup id?

2007-01-10 Thread Igor Vaynberg
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