Perhaps use:

SectionName = "<%stf_SectionName%>"

? Not sure why you'd use render tags for this.

On May 14, 5:16 am, Gimli <[email protected]> wrote:
> Hi Gavin -
>
> Thanks for the reply (and my apologies) for posting my earlier
> question without thinking it through.
>
> Once I cleared my head, I was able display the value of the
> placeholder and it's fine.  My issue results from the following line:
> SectionName = "<%!! Navigation:OutputArea(sectionName, Bool:True,
> Bool:True) !!%>"
>
> This code renders the ASP variable SectionName equal to <blank>.
>
> My question now is this:  If stf_SectionName = "generic", where can I
> look to see how the placeholder's value is transferred to
> "sectionName" in the above Vavigation code ?  As is the usual case in
> our field, I didn't write this code but I'm expected to support
> it.  ;)
>
> Mike
> -------------------
> On May 13, 6:02 pm, Gavin Cope <[email protected]> wrote:
>
>
>
> > You can view the value of stf_SectionName by just dropping the placeholder
> > somewhere in the page as you would any placeholder.
> > In your code, where are you setting the ASP variable value for
> > "SectionName"? If you're not setting that, you'd get the else section of
> > your statement being displayed.
>
> > Cheers,
>
> > Gavin
>
> > 2009/5/14 Gimli <[email protected]>
>
> > > Hello,
>
> > > I have the following simple template that creates a set of links
> > > (Home, Sitemap, etc) on the upper right-hand corner of our web pages:
> > > ----------------------------------
> > > <ul>
> > > <% if SectionName = "charit" then %>
> > >    <li><a href="/">Home</a></li>
> > >    <li><a href="<%anc_Splash%>">mysite.com</a></li>
> > >    <li><a href="<%anc_SitemapCharit%>">Sitemap</a></li>
> > >    <li class="noLine"><a href="<%anc_contact%>">Contact</a></li>
>
> > > <% elseif SectionName = "consult" then %>
> > >    <li><a href="/">Home</a></li>
> > >    <li><a href="<%anc_sitemapConsult%>">Sitemap</a></li>
> > >    <li class="noLine"><a href="<%anc_contactConsult%>">Contact</a></
> > > li>
>
> > > <% elseif SectionName = "intl" then %>
> > >    <li><a href="/">Home</a></li>
> > >    <li><a href="<%anc_sitemapIntl%>">Sitemap</a></li>
> > >    <li class="noLine"><a href="<%anc_contactIntl%>">Contact</a></li>
>
> > > <% elseif SectionName = "generic" then %>
> > >    <li><a href="/">Home</a></li>
>
> > > <% else %>
> > >    <li><a href="/">Home</a></li>
> > >    <li><a href="<%anc_about%>">About mysite</a></li>
> > >    <li><a href="<%anc_sitemapCorp%>">Sitemap</a></li>
> > >    <li class="noLine"><a href="<%anc_contact%>">Contact</a></li>
>
> > > <% end if %>
>
> > > </ul>
> > > <!IoRangeRedDotMode><!IoRangeNoRedDotMode>
> > > <%info_PageID%><%info_PageGUID%><%hdl_WorkflowHeadline%>
> > > <!/IoRangeNoRedDotMode><!/IoRangeRedDotMode>
> > > ----------------------------------
>
> > > In each RedDot page, I have a placeholder called stf_SectionName,
> > > which depending upon the value (charit, consult, intl), will generate
> > > the proper HTML.
>
> > > On one particular page, I set stf_SectionName to "generic", but the
> > > generated HTML is from the last "else condition".
>
> > > Is there any way to display the value of stf_SectionName in the
> > > generated HTML code ?
>
> > > Thanks,
>
> > > Mike- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to