big form ?

T

tomo

I have a form like this

<table>
<tr>
<td><ice:eek:utputText value="some"/></td>
<td><ice:inputText value="#{someBean.someValue1}"/>
</tr>
.....and same <tr> structure reapeting 300 times with different outputext and
inputtext value ofcourse

<table>

which i solved with
<ice:dataTable value="#{someBean.someTable}" var="var">
<ice:column>
<f:facet name="header">
<h:eek:utputText value="#{var.someValue1}"></h:eek:utputText>
</f:facet>
</ice:column>
<ice:column>
<f:facet name="header">
<ice:inputText value="#{var.someValue2}"
</f:facet>

</ice:column>

</ice:dataTable>

and in the second solution table has 300 records.
Is there a better solution ?

thanks in advance



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4576 (20091105) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
Ä

ÄØÛØÜÞÝ »ÐÚÞÒØÔ

Try like that

which i solved with
<ice:dataTable value="#{someBean.someTable}" var="var">
<ice:column>
<f:facet name="header">
<h:eek:utputText value="#{var.someValue1}"></h:eek:utputText>
</f:facet>
</ice:column>
<ice:column>
<f:facet name="header">
<ice:inputText value="#{var.someValue2}"
</f:facet>

</ice:column>

</ice:dataTable>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top