ajones
10-05-2004, 11:28 AM
I'm trying to set the text of a text object based on the evaluation of the value of a parameter. for example this object:
<topmenuoption name="c1" header="$once{menu1header}"
subheading="$once{heading_whereyoucanfocus}"
rightcontent="$once{content_revenuegrowth}"
suboptions="$once{menu2opt1}"
When I debug.write out the value of the "rightcontent" attribute I get:
«contentparagraph#0| #content_revenuegrowth»
But when I try to evaluate this.rightcontent against that string it fails to return true. It also fails when evaluating against the string "content_revenuegrowth" and every other combination I can think of.
Is there some trick to the syntax that I'm missing here? I can't get this if statement to return true no matter what I try.
<topmenuoption name="c1" header="$once{menu1header}"
subheading="$once{heading_whereyoucanfocus}"
rightcontent="$once{content_revenuegrowth}"
suboptions="$once{menu2opt1}"
When I debug.write out the value of the "rightcontent" attribute I get:
«contentparagraph#0| #content_revenuegrowth»
But when I try to evaluate this.rightcontent against that string it fails to return true. It also fails when evaluating against the string "content_revenuegrowth" and every other combination I can think of.
Is there some trick to the syntax that I'm missing here? I can't get this if statement to return true no matter what I try.