You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Das Koushik <da...@tcs.com> on 2007/07/14 13:18:17 UTC
Datatable query
Hi All,
I need to show data as follows
a1 a2 a3 a4
a5 a6 a7 a8
.......................
I am using the following code to achieve this
<h:panelGrid columns="4">
<c:forEach var="var1" items="#{Bean.list}" varStatus="status">
<h:outputText value="#{var1.propertyVal}"
</c:forEach>
</h:panelGrid>
...But it seems that getList() method in my Bean is getting called multiple
times(most probably for every step in iteration).
Is it possible to acieve this using h:datatable or t:datatable ?
Thanks and regards,
Koushik Das
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Re: Datatable query
Posted by Cagatay Civici <ca...@gmail.com>.
Hi,
t:dataList will help.
Cagatay
On 7/14/07, Das Koushik <da...@tcs.com> wrote:
>
>
> Hi All,
>
> I need to show data as follows
>
> a1 a2 a3 a4
> a5 a6 a7 a8
> ......................
>
> I am using the following code to achieve this
>
> <h:panelGrid columns="4">
> <c:forEach var="var1" items="#{Bean.list}" varStatus="status">
> <h:outputText value="#{var1.propertyVal}"
> </c:forEach>
> </h:panelGrid>
>
> ..But it seems that getList() method in my Bean is getting called multiple
> times(most probably for every step in iteration).
>
> Is it possible to acieve this using h:datatable or t:datatable ?
>
> Thanks and regards,
> Koushik Das
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>