Re: EventListener example documentation

2007-05-14 Thread Chris Chiappone
Ah that explains it. Thanks... On 5/14/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Oh, that's probably not a very good idea with asynchronous requests. I added some extremely limited support for this mostly just to let people see that something is happening but overall it's not something that

Re: EventListener example documentation

2007-05-14 Thread Jesse Kuhnert
Oh, that's probably not a very good idea with asynchronous requests. I added some extremely limited support for this mostly just to let people see that something is happening but overall it's not something that is really supported by the protocol and I'd generally suggest not trying it. You can

Re: EventListener example documentation

2007-05-14 Thread Chris Chiappone
I guess is the question I have is, is it not possible to have an eventlistener submit a form that returns an IPage ? ~chris On 5/14/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: Okay so I'm still having a issue trying to use the Eventlistener. The form is getting submitted correctly but I end

Re: EventListener example documentation

2007-05-14 Thread Chris Chiappone
Okay so I'm still having a issue trying to use the Eventlistener. The form is getting submitted correctly but I end up getting 404 Error page saying that the requested resource is not available. I had this submitting with a normal submit and it works fine so I know this page is available. Any t

Re: EventListener example documentation

2007-05-14 Thread Chris Chiappone
Jesse - thanks for the fix! On 5/14/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Are you sure the event name is correct? I use "onchange". I've never used "selectOption" before. Daniel On 5/14/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: > Well this is the code i have, unfortuntately the even

Re: EventListener example documentation

2007-05-14 Thread Daniel Jue
Are you sure the event name is correct? I use "onchange". I've never used "selectOption" before. Daniel On 5/14/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: Well this is the code i have, unfortuntately the eventlister does not seem to get triggered: HTML page: Java Class:

Re: EventListener example documentation

2007-05-14 Thread Jesse Kuhnert
Yes I guess that page does need to be updated - the correct function to listen for is now "onValueChanged". http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/src/java/org/apache/tapestry/timetracker/page/TaskEntryPage.java?view=markup On 5/14/07, Chris Chiappone

Re: EventListener example documentation

2007-05-14 Thread Chris Chiappone
Well this is the code i have, unfortuntately the eventlister does not seem to get triggered: HTML page: Java Class: @Component(id="projectSelection", bindings = {"model=clientModel", "value=clientName", "displayName=message:choose.project", "filterOnChange=true

Re: EventListener example documentation

2007-05-14 Thread Daniel Jue
Here is another example you can use: http://www.phy6.net/wiki/tiki-index.php?page=Tapestry+4.1.1+Simple+Selection+Model+Update+using+AJAX I also remember having trouble using that example. The html should have: On 5/14/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I'm also having trouble g

Re: EventListener example documentation

2007-05-14 Thread Chris Chiappone
I'm also having trouble getting the eventlistener triggered when somthing is selected. On 5/14/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I believe the eventlistener documentation contains some bugs. I copied the following code: The relevant html: Select a pro

EventListener example documentation

2007-05-14 Thread Chris Chiappone
I believe the eventlistener documentation contains some bugs. I copied the following code: The relevant html: Select a project: The java page class snippet: @Component(bindings = { "model=projectModel", "value=selectedProject", "