add(new listview("links", linksmodel) {
onpopulateitem(item item) {
e=new externallink("link", item.getmodel().getlink(),
item.getmodel().getlabel());
}
}
<table><tr><td wicket:id="links"><a wicket:id="link">link</a></td></tr></table>
-igor
On Mon, Apr 7, 2008 at 3:44 AM, Milan Křápek <[EMAIL PROTECTED]> wrote:
> Hi,
> I need your help. After few days I am out of ideas and still have no
> solution.
>
> What I have:
> I have stored users in databes and each user has some List od favourite
> pages URLs. This URLs links external pages.
>
> What I need:
> I need to do some sort of TabbedPanel or one row table without headers,
> which will contains links to the stored URLs.
>
> Where is the problem:
> First I try to use TabbedPanel but this is impossible due to the
> TabbedPanel returns just wicket Panel and not any URL. Then I try to use
> DataTable but these tables have header line. So I try to give my links to the
> headers. It looks like it is working. But it did not render to the page. I
> think it was due to empty data rows so wicket does not render the empty
> table. At last I try to use GridView but I was not able to determine the
> names of url links.
>
> Please have you met this problem before? Is it possible to upgrade the
> TabbedPanel to return the url instead of Panel??
>
> Thanks for any advice.
>
> Milan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>