link is a container. if we do what you want - let you specify the link text
right in the link component - it wont be a container anymore. that means you
can only ever have text and cant wrap anything you want with a link - which
would make it useless in a lot of usecases.
-igor
On 1/11/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
i know i do this, but i still want to know whether you can give me a
better way?
I feel verbose in some place for the mark id. for example , since I just
add a link to default table , I also have to create a html to describe
this. for example, wicket don't 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: [email protected]
<Message-ID:
<<[EMAIL PROTECTED]>
<Content-Type: text/plain; charset="iso-8859-1"
<filelink is just a few lines of code, create your own class that
retrieves
<the file lazily
<-igor
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user