Dynaform question
Posted: 02 Nov 2012, 14:47
Hi,
I have a question - maybe you can provide me solution for this.
I need to create structure like follow:
<div class="header">
<h:outputText value="#{model.header}" />
<h:outputText value="#{model.label1}" />
<p:inputText value="#{model.value1}" />
<h:outputText value="#{model.label2}" />
<p:inputText value="#{model.value2}" />
</div>
<div class="header">
<h:outputText value="#{model.header}" />
<h:outputText value="#{model.label3}" />
<p:inputText value="#{model.value3}" />
<h:outputText value="#{model.label3}" />
<p:inputText value="#{model.value3}" />
</div>
And the problem is that these header DIVs are also dynamically added and contains dynamic components too.
I was thinking about creating two DynaFormControls: headerstart with opening <div> and headerend with </div> but this is not valid (got exception about unclosed tag).
I would be very glad to hear any help.
I have a question - maybe you can provide me solution for this.
I need to create structure like follow:
<div class="header">
<h:outputText value="#{model.header}" />
<h:outputText value="#{model.label1}" />
<p:inputText value="#{model.value1}" />
<h:outputText value="#{model.label2}" />
<p:inputText value="#{model.value2}" />
</div>
<div class="header">
<h:outputText value="#{model.header}" />
<h:outputText value="#{model.label3}" />
<p:inputText value="#{model.value3}" />
<h:outputText value="#{model.label3}" />
<p:inputText value="#{model.value3}" />
</div>
And the problem is that these header DIVs are also dynamically added and contains dynamic components too.
I was thinking about creating two DynaFormControls: headerstart with opening <div> and headerend with </div> but this is not valid (got exception about unclosed tag).
I would be very glad to hear any help.