Thanks, I'll Try that. I was just wondering if there was some special need
for that span or that it just as well could be a div. If so, perhaps it's
wise to do so to make it as easy as possible to remain standards compliant.
On 2/27/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
I think you can just extends AjaxTabbedPanel and provide your own markup
if you want. It is what I have done with lot of wicket component... Not
done it for now on AjaxTabPanel, but it can be done.
On 2/27/07, Ivo van Dongen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We ran into a little problem with the (Ajax)TabbedPanel. The markup is
> defined as:
>
> *<wicket:panel>*
> *<div class=
>
> **"tab-row"**>*
> *<ul>*
> *<li wicket:id=**
>
> "tabs"**>*
> *<a href=**"#"** wicket:id=**
>
> "link"**>**<span wicket:id=**"title"**>*[[tab title]]
>
> *</span>**</a>*
> *</li>*
> *</ul>*
> *
>
> </div>*
> *<span wicket:id=**"panel"** class=**"tab-panel"
>
> **>*[panel]*</span>*
> *</wicket:panel>*
>
>
>
> This leads us ito problems because a span tag is an inline element and
> shouldn't contain any block level elements. Our designer is having
> difficulties creating a consistent layout with it and we would like to be as
> accesible as possible. Is there a reason why the panels are using a span?
>
> Can I override the markup somehow (bij extending)? Perhaps this can be
> changed to a div ?
>
> Thanks in advance,
> Ivo
>
> --
> Ivo van Dongen
> Func. Internet Integration
> W http://www.func.nl
> T +31 20 4230000
> F +31 20 4223500
>
> -------------------------------------------------------------------------
> 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
--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500
-------------------------------------------------------------------------
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