Project

General

Profile

Actions

Support #3811

closed

replace div by ol inside WContainerWidget

Added by Sebastien Besombes over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/20/2015
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I wonder if it's possible to change the kind of tag used by a WContainerWidget, or maybe by any widget component.

I'd like to replace the

tag by an

tag so I would not have to rewrite my css.

Thank you for this nice product :)

Actions #1

Updated by Eivind Midtgård over 9 years ago

WContainerWidget::setList.

Note that then all children must be wrapped in WContainerWidgets .

Regards,

Eivind

Actions #2

Updated by Koen Deforche over 9 years ago

  • Status changed from New to Feedback

Does WContainerWidget::setList() cut it for you? We are thinking of adding support for custom tags in WText and WContainerWidget (see #3800).

Actions #3

Updated by Sebastien Besombes over 9 years ago

For this particular need yes it fits.

Adding this kind of support would be great yes.

I'm in the particular case where I'm given a CSS and trying to make my widgets complyant with it. I will surely have some other cases where it won't be obvious.

Actions #4

Updated by Koen Deforche over 9 years ago

  • Tracker changed from Bug to Support
  • Status changed from Feedback to Resolved
  • Assignee set to Koen Deforche

There are already other issues that discuss the need for custom tags in WText, WContainerWidget, in general.

Actions #5

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF