Hi,

1.  move "<%Selectionlist%> (Optionlist place holder)" out of the
rendertag
2.  spelling, Context instead of Contest

There is actually a slight more efficient way

<reddot:cms>
    <if>
    <query valuea="<%Selectionlist%>"
operator="==" valueb="Statement">
 <htmltext>
   <img src="<%Statement_img%>"
    alt="Statement ">
</htmltext>
     </query>
     </if>
</reddot:cms>

Best,

-Jian

On Oct 8, 1:05 pm, psreddy <[email protected]> wrote:
> I am trying to select an image in the header of the template based on
> the selected value in the optionlist. But I am unsuccessful. Please
> help me.
>
> <reddot:cms>
>    <%Selectionlist%> (Optionlist place holder)
>     <if>
>     <query valuea="<%!!
> Contest:CurrentPage.Elements.GetElement(Selectionlist)!!%>.Value"
> operator="==" valueb="Statement">
>  <htmltext>
>    <img src="<%!!
> Context:CurrentPage.Elements.GetElement(Statement_img).GetHtml()!!%>"
>     alt="Statement ">
>
> </htmltext>
>      </query>
>      </if>
> </reddot:cms>

-- 
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