[Wicket-user] xhtml compliant TabbedPanel

2007-02-27 Thread Ivo van Dongen

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=**linkspan
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 423
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] xhtml compliant TabbedPanel

2007-02-27 Thread Marc-Andre Houle

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=**
linkspan 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 423
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] xhtml compliant TabbedPanel

2007-02-27 Thread Ivo van Dongen

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=**

 linkspan 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 423
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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 423
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] xhtml compliant TabbedPanel

2007-02-27 Thread Igor Vaynberg

no special need. i thought i already changed it to a div a while back...but
i guess not. please create a jira issue.

-igor


On 2/27/07, Ivo van Dongen [EMAIL PROTECTED] wrote:


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=**
 
  linkspan 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 423
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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 423
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] xhtml compliant TabbedPanel

2007-02-27 Thread Ivo van Dongen

Done: WICKET-334 https://issues.apache.org/jira/browse/WICKET-334. Thanks!

On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


no special need. i thought i already changed it to a div a while
back...but i guess not. please create a jira issue.

-igor


On 2/27/07, Ivo van Dongen [EMAIL PROTECTED] wrote:

 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=**
  
   linkspan 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 423
   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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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 423
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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 423
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user