Add possiblity to create NonSelfClosingHtmlElement

Description

If you currently need an empty NonSelfClosingHtmlElement (e.g. for <select>) it is required to create a class which extends the AbstractNonSelfClosingHtmlElement or use HtmlElement and add empty text.
For normal HtmlElements you can use new HtmlElement("foobar").
It would be nice to have a possiblity to create a NonSelfClosingHtmlElement like new NonSelfClosingHtmlElement("foobar");

Activity

Show:
Stefan Seifert
October 21, 2014, 10:43 AM

currently those DOM wrappers are only to be used internally by the handler infrastructure namely the markup builders.
they are currently not indented to be used for component rendering - until we decide to to so.

Won't Fix

Assignee

Unassigned

Reporter

Alexander Muthmann

Labels

None

Components

Priority

Minor