I am trying to do a list of items in a list, with a condition that means that 
in certain circumstances a @Directlink would not get thrown.  This gives a 
parse error exception because it is not allowed to have dynamic components 
which are not called.  What is the standard way of working around such an 
issue?

The following (excuse the word wrap) is my attempt at this which is not 
working

        <ul>
                <span jwcid="[EMAIL PROTECTED]" source="ognl:appMenuNames" 
value="ognl:eachAppName">
                        <li jwcid="@If" condition="ognl:eachAppName == 
thisAppName" 
class="selected">
                                <a href"#">     <span jwcid="@Insert" 
value="ognl:appTitle >App 
Title</span></a></li>
                        <li jwcid="@Else" condition="ognl:eachAppName == 
thisAppName">
                                <a jwcid="@DirectLink" 
listener="listener:selectApp" 
parameters="ognl:eachAppName">
                                        <span jwcid="@Insert" 
value="ognl:appTitle">App Title</span>
                                </a>
                        </li>
                </span>
        </ul>




-- 
Alan Chandler
http://www.chandlerfamily.org.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to