You can create a DIV
component using the <h:panelGroup/>
.
By default, the <h:panelGroup/>
will generate a SPAN in the HTML code.
However, if you specify layout="block"
, then the component will be a DIV
in the generated HTML code.
<h:panelGroup layout="block"/>
More Related Contents:
- Conversion Error setting value for ‘null Converter’ – Why do I need a Converter in JSF?
- How and when should I load the model from database for h:dataTable
- Conditionally displaying JSF components
- Is it possible to use JSF+Facelets with HTML 4/5?
- How to save uploaded file in JSF
- When using templating, where should I declare the ?
- How do PrimeFaces Selectors as in update=”@(.myClass)” work?
- Packaging Facelets files (templates, includes, composites) in a JAR
- Default action to execute when pressing enter in a form
- What is the usefulness of statelessness in JSF?
- How to use with DefaultStreamedContent in an ui:repeat?
- What URL to use to link / navigate to other JSF pages
- How to compare a char property in EL
- By default, JSF generates unusable IDs, which are incompatible with the CSS part of web standards
- PrimeFaces CSS skin not showing in login page, also JavaScript undefined errors
- How to write a file to resource/images folder of the app?
- Creating master-detail table and dialog, how to reuse same dialog for create and edit
- h:outputText seems to trim whitespace, how do I preserve whitespace?
- What is the function of @this exactly?
- Running JSF 2.0 on Servlet 2.4 container
- Customize primefaces chart
- How to get both label and value from f:selectItems
- How to include a pop-up dialog box in subflow
- JSF 1.2: How to keep request scoped managed bean alive across postbacks on same view?
- Difference between managed bean and backing bean
- How to use java.time.ZonedDateTime / LocalDateTime in p:calendar
- How detect and remove (during a session) unused @ViewScoped beans that can’t be garbage collected
- Passing parameters to a view scoped bean in JSF
- Conditionally render a component based on selectOneMenu value
- JSF 2 dataTable row index without dataModel