Re: Problem using EventListener annotation

2008-01-24 Thread HBKTron
, >> >> I'm currently using Tapestry 4.1.3 and I'm trying to copy the >> EventListener >> annotation example from: >> http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html. >> >> The example shows how a method can be annotated with Event

Re: Problem using EventListener annotation

2008-01-24 Thread Marcus Schulte
/page at runtime (should not be the cause of your trouble, though). 2008/1/24, HBKTron <[EMAIL PROTECTED]>: > > > Hi, > > I'm currently using Tapestry 4.1.3 and I'm trying to copy the > EventListener > annotation example from: > http://tapestry.apache.org/tape

Problem using EventListener annotation

2008-01-24 Thread HBKTron
Hi, I'm currently using Tapestry 4.1.3 and I'm trying to copy the EventListener annotation example from: http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html. The example shows how a method can be annotated with EventListener to respond to DOM events. Unfortunately the Eve

Re: EventListener annotation

2006-12-29 Thread Mahmut Izci
Ok, I got it working now. I didn't use the and components. Mahmut Mahmut Izci schrieb: Hi all, I'm just trying out the new EventListener annotation in tapestry 4.1.1 according to the explanation at "http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html";

EventListener annotation

2006-12-29 Thread Mahmut Izci
Hi all, I'm just trying out the new EventListener annotation in tapestry 4.1.1 according to the explanation at "http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html"; and I can't get it working. Do I have to make any additional configurations? The EventListener

Re: Using BrowserEvent stuff in conjunction with @EventListener Annotation

2006-10-01 Thread Andy Pahne
Sorry, my question was wrong, it should be: Has anybody an example for using BrowserEvent with the @EventListener annotation, please? Andy Andy Pahne schrieb: Has anybody an example for using the @BrowserEvent Annotation? Andy

Re: EventListener annotation - listener is not being called

2006-07-26 Thread Alexandru Dragomir
Arrgh... I changed from onFocus to onfocus and is working just fine. Also is working with onchange. And i have checked devguru 10 times before to be sure that is written right : "onFocus" :) Thanks a lot again ! By the way : now that it works is impressive what is achieved with so less cod

Re: EventListener annotation - listener is not being called

2006-07-26 Thread Jesse Kuhnert
I meant to say change events to events="onfocus". (trying different case versions sometimes works for some reason...) On 7/26/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Right away I'd question whether or not "samplefield" really exists as an element on the page I'm referencing. Do a view-sou

Re: EventListener annotation - listener is not being called

2006-07-26 Thread Jesse Kuhnert
Right away I'd question whether or not "samplefield" really exists as an element on the page I'm referencing. Do a view-source of your page. Can you find an html block that has the exact text >id="samplefield"< ? If that doesn't turn up anything then I'd drop into my firefox FireBug console and

EventListener annotation - listener is not being called

2006-07-26 Thread Alexandru Dragomir
Hello! I'm still trying to get around the @EventListener. In the working TimeTracker application (part of tapestry example applications) i added the following snipets of code : In Home.html , in the form (taskForm) : In Home.html , outside the form : In the java file : @Componen

Re: EventListener annotation [solved]

2006-07-24 Thread Alexandru Dragomir
After i synchronized with svn was not working because the cache was keeping the old script. Now is working , with the latest core.js . thanks a lot ! Alex On 7/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: HI'd be interested in an example. I'd really like to nip problems like t

Re: EventListener annotation

2006-07-24 Thread Jesse Kuhnert
HI'd be interested in an example. I'd really like to nip problems like this right away. On 7/24/06, Alexandru Dragomir <[EMAIL PROTECTED]> wrote: I just got synchronized with svn. Hope i'm not missing some files somewhere , but i still have the same problem. I'll look more into it . t

Re: EventListener annotation

2006-07-24 Thread Alexandru Dragomir
I just got synchronized with svn. Hope i'm not missing some files somewhere , but i still have the same problem. I'll look more into it . thanks ! Alex On 7/24/06, Alexandru Dragomir <[EMAIL PROTECTED]> wrote: ok, thanks. the response look fine : http://www.w3.org/TR/xhtml1/DTD/xhtml1-tra

Re: EventListener annotation

2006-07-24 Thread Alexandru Dragomir
ok, thanks. the response look fine : http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; [ ]> Code Zeitgeist Alex On 7/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: P.S. If you are using maven2 for a specific project, specifying a version of

Re: EventListener annotation

2006-07-24 Thread Jesse Kuhnert
Ah ok. That sounds like a bug that was recently fixed. Are you using the most recent version? On 7/24/06, Alexandru Dragomir <[EMAIL PROTECTED]> wrote: Ok, i tried it. I get an error : tapestry.html has no properties... core.js (line 143) anonymous anonymous anonymous doLoad anonymous nul

Re: EventListener annotation

2006-07-24 Thread Jesse Kuhnert
P.S. If you are using maven2 for a specific project, specifying a version of "4.1-SNAPSHOT" should keep you in sync with the most current snapshot version available without having to rebuild. On 7/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Ah ok. That sounds like a bug that was recently fi

Re: EventListener annotation

2006-07-24 Thread Alexandru Dragomir
Ok, i tried it. I get an error : tapestry.html has no properties... core.js (line 143) anonymous anonymous anonymous doLoad anonymous null I'll look into core.js maybe i can find the pb. thanks ! Alex On 7/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: You'd see a debug error/warn if

Re: EventListener annotation

2006-07-24 Thread Jesse Kuhnert
You'd see a debug error/warn if no content was found to update. If you are running with firefox get the FireBug extension and turn on "watch xmlhttp requests" to see exactly what is getting returned in your response. On 7/24/06, Alexandru Dragomir <[EMAIL PROTECTED]> wrote: Hi ! I tried the ti

EventListener annotation

2006-07-24 Thread Alexandru Dragomir
Hi ! I tried the time tracker application included in tapestry examples ( neat). I made a maven build of tapestry so i'm using the latest files. Everything works just fine only one pb.. and i'm not sure if i did something wrong. The issue is with the use of EventListener (very cool otherwise) a