title: Programmatically created html components in jsf managed beans
body: <p>I have a following code:</p>
  
  <pre><code>&lt;div id="mws-navigation"&gt;
      &lt;ul&gt;
          &lt;li&gt;&lt;p:commandLink
                  value="#{contentMB.msg.welcome_title.value}" actionListener="#{cleanUpMB.alChangeArea}"
                  styleClass="mws-i-24 i-home" action="#{welcomeMB.aLoadDashboard}" global="false" /&gt;&lt;/li&gt;
          &lt;li&gt;&lt;p:commandLink
                  value="#{contentMB.msg.layout_menu_measures.value}"
                  rendered="#{userSessionMB.measureEdit or userSessionMB.measureCreate}"
                  styleClass="mws-i-24 i-table-1" global="false" /&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;p:commandLink
                          value="#{contentMB.msg.layout_menu_mm_findMeasures.value}"
                          rendered="#{userSessionMB.measureEdit}"
                          actionListener="#{cleanUpMB.alChangeArea}"
                          action="#{chooseMeasureControllerMB.aChoose}" /&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;p:commandLink
                          value="#{contentMB.msg.layout_menu_mm_newMeasures.value}"
                          rendered="#{userSessionMB.measureCreate}"
                          actionListener="#{cleanUpMB.alChangeArea}"
                          action="#{newMeasureControllerMB.aNew}" /&gt;&lt;/li&gt;
              &lt;/ul&gt;
        &lt;/li&gt;
     &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>which I want to generate from the backing JSF managed bean. I know that for Primefaces exist java components that I can use and bind them as a model, but how can I generate pure HTML tags:</p>
  
  <pre><code>&lt;ul&gt;
  &lt;div&gt;
  ...
  </code></pre>
  
  <p>? </p>