nearly!
<component id="gotoPage" type="DirectLink">
      <binding name="listener" value="listener:gotoPage"/>
      <binding name="parameters" value="ognl:{profession,address}"/>
  </component>

ciao,
kiuma

On 5/23/07, Heping Zhang <[EMAIL PROTECTED]> wrote:
hi, all, I know how to use binding parameters in DirectLink if there is only
one parameter. However now I want two parameters and it keeps say  "No
listener method named 'gotoPage' suitable for no listener parameters found
". I doubt I use it incorrectly. I write it this way:
    <component id="gotoPage" type="DirectLink">
        <binding name="listener" value="listener:gotoPage"/>
        <binding name="parameters" value="profession,address"/>
    </component>
public IPage gotoPage(Object[] parameters) {
//...
}
Is it wrong? how can I use it? Thank you.


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

Reply via email to