You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Yiannis Mavroukakis <yi...@jaguarfreight.com> on 2007/03/29 16:56:00 UTC

EventListener and InlineEditBox probs

Hello fellow listers :)

I am having some trouble getting using EventListener with the
InlineEditBox

in my source I have the following

@EventListener(targets="flightNumber" , events = "onSave")
    public void processFlightNumberEdit() {
    	Master master = getMasterDao().find(getMasterId());
    	master.setFlightNumber(getFlightNumber());
    	getMasterDao().update(master);
    }

.page

<component id="flightNumber" type="InlineEditBox">
   <binding name="value" value="flightNumber"/>
</component>

in my .html i have the component as <span jwcid="flightNumber"/>

So far so good. However, when I click on the Save button, the method
attached to the EventListever doesn't seem to be called. Am I doing
anything blindingly obviously wrong?

Thank you,

Y.



Note:__________________________________________________________________
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.
________________________________________________________________________
This e-mail has been scanned for all known viruses.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org