Skip to content

WComponent content models

marksreeves edited this page Nov 5, 2015 · 19 revisions

WComponents by content type

The following lists the allowed content types for container WComponents.

Any content

These WComponents may contain any content including form-bound controls:

Components which require phrasing content

The WComponents below may have other WComponents added to them but may not contain any of the WComponents which output content which is not phrasing content (see below)

Components which must not include interactive controls

The following WComponents are able to accept other components as content but which may not contain any of the form bound controls listed on this page.

WComponents by category

The following lists WComponents by their category. You should also consult the list of WComponent form controls.

Phrasing content

These WComponents are stand-alone components which output only phrasing content and may, therefore be used anywhere where phrasing content is permitted.

Flow content which is not phrasing content

The following WComponents are those which are stand-alone components so can be placed anywhere in the Java tree but output HTML which contains one or more elements which are incompatible with a phrasing content content model. None of these elements may be used where phrasing content is required.

Sectioning content

The following components will output sectioning content:

Sectioning roots

The following WComponents will output a sectioning root.

form-bound controls

Further information

Clone this wiki locally