Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Using CF to check if IW_value or parameter Exists
System
I'd like to know how we can check to see if a value within an Iterate has been filled in or not in order to control how the page will be displayed. In this case, if a value is entered, then a second column and table would be placed on the page. If not, then the main table would span one column instead of two. I know this can be done with CF, but is there anyway we can do it via IW in TPLs?
Code snippet is below:
<iw_case value='Wholesale Services'>
<![CDATA[
<CFOutput>
<CFIF ParameterExists("'<iw_value name='doctest.Supporting Documents'/>'") IS "Yes">
<tr><td colspan="2"><span class="header-page">Financial Services</span><br>
<span class="header-topic">Wholesale Services-zzz</span><br>
<cfinclude template="../Wholesale/WholesaleNav.cfml">
</td>
</tr>
<CFElse>
<tr>
<td><span class="header-page">Financial Services</span><br>
<span class="header-topic">Wholesale Services-z</span><br>
<cfinclude template="../Wholesale/WholesaleNav.cfml">
</td>
</tr>
</CFIF>
</CFOutput>
</iw_case>
</iw_ifcase>
Find more posts tagged with
Comments
There are no comments yet