You should use something like this :
<binding name="parameters" value="ognl:{profession,address}"/>

and since tap4, your listener could have a signature like this (with the wright types for your parameters) :
public IPage gotoPage(Profession profession, Address address)

Stephane

Heping Zhang a écrit :
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