[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] on-match, no-match in search-loop in search-region
Hi all,
In search-loop in search-region, on-match and no-match tags does not work
inside search-loop.
What is the problem?
On-match, no-match tags are for only single search-region?
Any suggestions?
Thank you.
S.Murahashi
---------------------------------------------------------------------------
[if session arg][seti arg][data session arg][/seti][/if]
[search-region
more=1
arg="
st=db
fi=products
co=yes
sf=productid
se=[scratch arg]
op=eq
"]
<table width="100%" border="1" cellspacing="0" cellpadding="3"
bordercolor="#999999">
[search-list]
<tr>
<td width="10%">[item-field productid]</td>
<td width="8%">[item-field price]</td>
</tr>
<tr>
<td colspan="2">
[loop search="st=db/fi=rental/sf=sku/se=[item-code]"]
[on-match]
<table width="100%" border="1" cellspacing="0" cellpadding="0"
bordercolor="#CCCCCC">
<tr bgcolor="#EEEEEE">
<td width="5%">STATUS</td>
<td width="8%">CONTRACT</td>
</tr>
[/on-match]
[list]
<tr>
<td width="5%"></td>
<td width="8%">[loop-data rental orderline]</td>
</tr>
[/list]
[on-match]
</table>
[/on-match]
[no-match]
AVAILABLE?NOW!
[/no-match]
[/loop]
</td>
</tr>
[/search-list]
</table>
[/search-region]