Stop generation tables and fieldset tag in output of Check box / Radio button Group control

后端 未结 2 1202
别跟我提以往
别跟我提以往 2021-01-16 07:31

When using a checkbox group XPage generates fieldset and table tags around it. Is there a way to not generate that? For e.g. if my XPage s

相关标签:
2条回答
  • 2021-01-16 08:03

    You can also use the xp:radio control instead of the xp:radioGroup control and then group several radio buttons using the groupName property. Radio buttons rendered from xp:radio are not surrounded with fieldset and table.

    0 讨论(0)
  • 2021-01-16 08:13

    If you want to fundamentally change the structure of the HTML representation of a component, you can use the Extensibility API to create an alternate renderer. This allows you full control over what markup is sent to the browser for a specific component instance without changing how any other components are rendered. Register the renderer with the same component-family as the default renderer (javax.faces.SelectMany), but assign it a custom renderer-type; if you then assign that custom value to the rendererType property of a specific checkbox group, Domino will use your custom renderer class to emit the HTML instead of the default renderer class.

    0 讨论(0)
提交回复
热议问题