Yes that's probably a good idea, though I don't know why it wouldn't work correctly in 4.1.1 so I'm slightly pessimistic that things aren't going to change much...but we'll see
On 4/12/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote:
Thanks Jesse I though I was going completely mental. Forgot to mention that I am using T4.1.1 should I be going for one of the newer snapshots? Yiannis On Thu, 2007-04-12 at 09:12 -0400, Jesse Kuhnert wrote: > Sounds like you're doing things correctly, the TimeTracker demo does the > exact same thing: > > http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/src/java/org/apache/tapestry/timetracker/page/TaskEntryPage.java?view=markup > > On 4/11/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote: > > > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Jesse Kuhnert > Tapestry/Dojo team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > > ________________________________________________________________________ > This e-mail has been scanned for all known viruses. 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com