<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt><span style="color: rgb(57, 51, 24); font-size: 14px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 20px; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
background-color: rgb(248, 237, 218); display: inline !
important; float: none;"></span></tt><tt>Greetings,<br>
<br>
This is Weiming Zhou. I'd like to ask a few questions about loop
and te:condition.<br>
<br>
I tried to display a list of items with ' <table><tbody
id="xxxItems">... ', and I placed several te:condition within
the table to control whether some of the columns are displayed or
not, for instance, <te:condition
rendered="#{xxxPage.showColumn1}" omittag="true">,</tt><tt>
etc. I find it extremely slow when it rediects to other pages from
this page if there are up to several thousand items and I want to
control the display of up to 20 columns.<br>
<br>
I read log and find something like
PageScope={org.seasar.teeda.extension.Condition={Form:fakeItems:0:showColumn1=true,</tt><tt><tt>Form:fakeItems:1:showColumn1=true,...}<br>
<br>
Moreover, Teeda seems to encode the information for
te:condition in the web page using a hidden input field named
"te:condition", whose value is so long that it makes HTTP
requests extremely large, which might be the reason of the pool
performance my project suffers but I'm not sure. I guess the
information stored in </tt></tt><tt>the server side and the
client side might be redundant.<br>
<br>
Q1. Is there any way to make Teeda store all this information in
server side in order not to make the HTTP requests so large?<br>
Q2. If I don't care about the value of Booleans like showColumn1
when posting back, is there any way to avoid the performance
penalty for both the server side and client side? I mean I don't
want Teeda to store these things in PageScope or a hidden field in
the web page.<br>
<br>
Thanks</tt><br>
<br>
<tt><tt><tt><tt><tt><tt></tt></tt></tt></tt></tt></tt><tt><span
style="color: rgb(57, 51, 24); font-size: 14px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 20px; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
background-color: rgb(248, 237, 218); display: inline !
important; float: none;"></span></tt>
</body>
</html>