the link is smart enough to figure out what context it is used in by
checking the markup.
if it is attached to a tag that supports href then that is used, if not it
generates onclick javascript
-igor
On 12/23/06, Nino Wael <[EMAIL PROTECTED]> wrote:
hmm have you tried the wicket.link class? that generates the link...
I had to learn something similar, you can attach a link wicket java class
to a button html markup if you need to for some reason and vice versa. And
that goes in general you can attach any component to any markup if you
want to, guys please comment on this one since im not completely sure..
regards Nino
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Dustin
Sallings
Sent: Sat 23-12-2006 02:09
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Constructing a list of links from java
Thanks everyone for the responses. I got it to do what I wanted
without an excessive amount of work.
I wasn't able to find a component that would generate a regular
link
within my application context so I wrote one, but it was pretty easy.
From the examples I saw, I thought repeaters/list stuff was for
tables for some reason. Having actually tried it, it seems rather
obvious that that's not the case.
On Dec 22, 2006, at 0:00 , Erik van Oosten wrote:
> Hello Dustin,
>
> You can also find more information on the wiki:
> http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html
>
> Regards,
> Erik.
>
>
> Dustin Sallings wrote:
>> I am trying to convert an old struts and tiles/jsp app to wicket.
>> This app has a bunch of links that get added programatically. I'd
>> like my template to have a ul to which I'd append several li elements
>> containing links.
>>
>> What is this obvious thing I'm missing?
>>
>
> --
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
>
>
> ----------------------------------------------------------------------
> ---
> 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
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
Dustin Sallings
-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user