Support #3811
closedreplace div by ol inside WContainerWidget
0%
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 :)
Updated by Eivind Midtgård over 9 years ago
WContainerWidget::setList.
Note that then all children must be wrapped in WContainerWidgets .
Regards,
Eivind
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).
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.
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.
Updated by Koen Deforche over 9 years ago
- Status changed from Resolved to Closed