Dear all,

I have prepare "allLink" in 3 parts. Why it still have
error? Looking forward for your comment.

Eric Tan

Unable to resolve expression 'allLink' for
[EMAIL PROTECTED]
binding:        ExpressionBinding[Main allLink]
location:       context:/WEB-INF/Main.page, line 44, column
54

ognl.NoSuchPropertyException
allLink

Main.page

...
    <component id="foreach" type="Foreach">
        <binding name="source" expression="allLink"/>
    </component>
    <component id="link" type="PageLink">
        <static-binding name="page" value="UsrMain"/>
    </component>
...

Main.html
<span jwcid="foreach">
    <span jwcid="link"/>
</span>

Main.java

public List getAllLink() {
                allLink = new ArrayList();
                allLink.add("Page1");
                allLink.add("Page2");
                allLink.add("Page3");
                return allLink;
}

_______________________________________
 想即時收到新 email 通知?
 下載 Yahoo! Messenger http://messenger.yahoo.com.hk 

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

Reply via email to