Re: [Wicket-user] Need example for a custom component that can take nested / child components

2007-01-18 Thread Martijn Dashorst
When you are combining multiple components, use a Panel instead.

Look for a very complete example in the SignInPanel, I think it is in
wicket-examples. You can also find it in wicket-auth-roles iirc.

Martijn


On 1/18/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was able to find an example on how to create a custom component (so you
> don't need wicket:panel markup) on the wicket site here:
>
> http://wicketframework.org/ExampleStockQuote.html
>
> But this is a simple example where it extends WebComponent, as there are no
> nested components.
>
> I need to create a custom component (some complex HTML) that may in turn
> embed some Link-s.  From the above documentation I figure that I need to
> extend WebMarkupContainer.  Are there any examples available anywhere.  What
> needs to be done differently?
>
> Thanks,
>
> Peter.
>
> -
> 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
>
>
>


-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

-
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


[Wicket-user] Need example for a custom component that can take nested / child components

2007-01-18 Thread Peter Thomas

Hi,

I was able to find an example on how to create a custom component (so you
don't need wicket:panel markup) on the wicket site here:

http://wicketframework.org/ExampleStockQuote.html

But this is a simple example where it extends WebComponent, as there are no
nested components.

I need to create a custom component (some complex HTML) that may in turn
embed some Link-s.  From the above documentation I figure that I need to
extend WebMarkupContainer.  Are there any examples available anywhere.  What
needs to be done differently?

Thanks,

Peter.
-
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