Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-04 Thread Borut Bolčina
Sorry, I was in a bad mood this morning. Just now I tried again with 4.1.2 to see if OGNL-16 is still the problem and guess what - it isn't. I will continue with 4.1.2-SNAPSHOT. Thanks for all the hard work Jesse! Best, Borut Jesse Kuhnert wrote: I'm not sure that's how it normally works. It

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-04 Thread Jesse Kuhnert
I'm not sure that's how it normally works. It is resolved / fixed , just not in 4.1.1. I couldn't even resolve it in 4.1.1 if I wanted to, because 4.1.2is the only next incremental version number available. What were you expecting me to do ? On 4/4/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-04 Thread Borut Bolčina
Is T 4.1.1 deprecated? The bug reported was for 4.1.1, not for 4.1.2-SNAPSHOT. The status should then be: Will not resolve. Cheers, Borut On 3.4.2007 22:59, Jesse Kuhnert wrote: Resolved as not valid. :) Just so everyone else is clear, elements && component event listeners work equal

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Jesse Kuhnert
Resolved as not valid. :) Just so everyone else is clear, elements && component event listeners work equally well in components as they do pages. On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote: Filed under https://issues.apache.org/jira/browse/TAPESTRY-1398 Jesse Kuhnert wrote: > Ah .

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Borut Bolčina
Filed under https://issues.apache.org/jira/browse/TAPESTRY-1398 Jesse Kuhnert wrote: Ah .It could be that element event listeners don't work in components, but component event listeners will work. Did anyone file a bug for that? On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote: Hello,

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Jesse Kuhnert
Ah .It could be that element event listeners don't work in components, but component event listeners will work. Did anyone file a bug for that? On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote: Hello, event listeners aren't called in components, only in pages. I had the same problem and

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Borut Bolčina
Hello, event listeners aren't called in components, only in pages. I had the same problem and then moved the listener to enclosing page. See "@EventListener in Border" post. -Borut On 3.4.2007 13:55, Wojtek Ciesielski wrote: Hi all, I cant get dojo EventListener to work. The same happen

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Jesse Kuhnert
I don't think "onClick" will be a valid js event name to listen to. In this instance it has to be "onclick" . On 4/3/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote: I've made it ultra-simple...: SimplePage.java: === public abstract class SimplePage extends BasePage { private static

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Wojtek Ciesielski
I've made it ultra-simple...: SimplePage.java: === public abstract class SimplePage extends BasePage { private static final Logger log = Logger.getLogger(SimplePage.class); @EventListener(elements = "someId", events="onClick", async=true) public void testEvent() { log.info("Cau

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Jesse Kuhnert
Yeah you should see something along the lines of : dojo.event.connect(dojo.byId("someId"), ... . towards the bottom of your page. You might also try using Tapestry 4.1.2 instead of 4.1.1. They should both work equally well but I can't remember if 4.1.1 had any issues in this area or not. O

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Wojtek Ciesielski
Jesse Kuhnert wrote: Offhand I'd say the PageEvent object looks suspicious. It supports a BrowserEvent object but might just pass your method by if it sees a parameter it doesn't know about. What effects in the rendered page source should such annotation cause? Currently I'm not seeing anythi

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Wojtek Ciesielski
Jesse Kuhnert wrote: Offhand I'd say the PageEvent object looks suspicious. It supports a BrowserEvent object but might just pass your method by if it sees a parameter it doesn't know about. My experiments with a method with no arguments are also failing... @EventListener(elements = "someId",

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Jesse Kuhnert
Offhand I'd say the PageEvent object looks suspicious. It supports a BrowserEvent object but might just pass your method by if it sees a parameter it doesn't know about. On 4/3/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote: Hi all, >> I cant get dojo EventListener to work. The same happens w

Re: Cant get Ajax @EventListener to work :( [+1]

2007-04-03 Thread Wojtek Ciesielski
Hi all, I cant get dojo EventListener to work. The same happens with me :( Are there any preparatory steps to perform to use EventListener? I have a template : MyTemplate: click here... ... Within MyTemplate.java: public abstract class MyTemplate extends BaseComponent {

Re: Cant get Ajax @EventListener to work :(

2007-03-31 Thread mxc
DOH! --- silly spelling mistake. Thanks. Its working now. mxc wrote: > > Hi all, > > I cant get dojo EventListener to work. I am trying to build a drop down > combo box so that when one selects a country the child drop down box of > cities is automatically updated. However I cant get even a s

Re: Cant get Ajax @EventListener to work :(

2007-03-29 Thread Daniel Anguita O.
Hi mxc mxc escribió: Hi all, I cant get dojo EventListener to work. I am trying to build a drop down combo box so that when one selects a country the child drop down box of cities is automatically updated. However I cant get even a simple eventlistener to work :( Below is my TestPage. Basicall

Cant get Ajax @EventListener to work :(

2007-03-28 Thread mxc
Hi all, I cant get dojo EventListener to work. I am trying to build a drop down combo box so that when one selects a country the child drop down box of cities is automatically updated. However I cant get even a simple eventlistener to work :( Below is my TestPage. Basically it should update the