I'll confess to not following many of the 4.0 changes extremely closely,
but...
have you tried:
<binding name="listener" value="formSubmitted"/> ?
I seem to recall the listener change needing only the method name
now...? (Someone correct me if I'm wrong... I'm in a hurry and "shooting
from the hip" on this one)
Robert
Gregg D Bolinger wrote:
> I have a page with a form binding like so:
>
> <component id="form" type="Form">
> <binding name="delegate" value="beans.delegate"/>
> <binding name="listener" value="listeners.formSubmitted"/>
> </component>
>
> My java file has a method:
>
> public void formSubmitted(IRequestCycle cycle) {
> //code for listener in here
> }
>
> HTML form declaration:
>
> <form jwcid="form">...</form>
>
> When I click the button on the web page I get the following error:
>
> Object [EMAIL PROTECTED] does not implement a listener method
> named 'listeners.formSubmitted'.
>
> This worked in 3.0.3. I read the new docs on listeners and it would
> appear that it should work.
>
> Gregg Bolinger
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]