Re: [WARNING] Invoking a listener

2007-02-15 Thread Andrea Chiumenti

No, I need to do what @Submit exctly does with its listener, but without a
@Submit (I neet that the call is done in async mode)

On 2/15/07, Renat Zubairov <[EMAIL PROTECTED]> wrote:


I guess you just need to have a URL you wan't to call and that's all,
you can call any URL wich is related to direct link for example.

On 15/02/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
> jiju,
> Thank you, yes I know it's possible the way you described, but my
request is
> if it is possible to call a listener without a @Submit or any other
similar
> component.
>
> On 2/15/07, jiju <[EMAIL PROTECTED]> wrote:
> >
> >
> > yes, its possible
> > i had tried to call it via script, but the @Submit component is also
> > present
> > in my page
> >
> >
> > Andrea Chiumenti wrote:
> > >
> > > Hello,
> > > I've seen that if I write a @Submit into my template:
> > > say:  > > action="listener:addNewListener">
> > >
> > > a script is rendered as follow:
> > >
> > > 
> > >
> > > dojo.event.browser.stopEvent(e);
> > > tapestry.form.submit("thisForm", "addNew",
> > > {"async":true,"json":false,"url":"/Home,thisForm.direct
> > ?updateParts=tableForm"});
> > > ..
> > >
> > > Is it possible call via javascript the addNewListener without
@Submit
> > > or other components ?
> > >
> > > Thx,
> > > kiuma
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Invoking-a-listener-tf3232630.html#a8983950
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


--
Best regards,
Renat Zubairov

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [WARNING] Invoking a listener

2007-02-15 Thread Renat Zubairov

I guess you just need to have a URL you wan't to call and that's all,
you can call any URL wich is related to direct link for example.

On 15/02/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:

jiju,
Thank you, yes I know it's possible the way you described, but my request is
if it is possible to call a listener without a @Submit or any other similar
component.

On 2/15/07, jiju <[EMAIL PROTECTED]> wrote:
>
>
> yes, its possible
> i had tried to call it via script, but the @Submit component is also
> present
> in my page
>
>
> Andrea Chiumenti wrote:
> >
> > Hello,
> > I've seen that if I write a @Submit into my template:
> > say:  > action="listener:addNewListener">
> >
> > a script is rendered as follow:
> >
> > 
> >
> > dojo.event.browser.stopEvent(e);
> > tapestry.form.submit("thisForm", "addNew",
> > {"async":true,"json":false,"url":"/Home,thisForm.direct
> ?updateParts=tableForm"});
> > ..
> >
> > Is it possible call via javascript the addNewListener without @Submit
> > or other components ?
> >
> > Thx,
> > kiuma
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Invoking-a-listener-tf3232630.html#a8983950
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




--
Best regards,
Renat Zubairov

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [WARNING] Invoking a listener

2007-02-15 Thread Andrea Chiumenti

jiju,
Thank you, yes I know it's possible the way you described, but my request is
if it is possible to call a listener without a @Submit or any other similar
component.

On 2/15/07, jiju <[EMAIL PROTECTED]> wrote:



yes, its possible
i had tried to call it via script, but the @Submit component is also
present
in my page


Andrea Chiumenti wrote:
>
> Hello,
> I've seen that if I write a @Submit into my template:
> say:  action="listener:addNewListener">
>
> a script is rendered as follow:
>
> 
>
> dojo.event.browser.stopEvent(e);
> tapestry.form.submit("thisForm", "addNew",
> {"async":true,"json":false,"url":"/Home,thisForm.direct
?updateParts=tableForm"});
> ..
>
> Is it possible call via javascript the addNewListener without @Submit
> or other components ?
>
> Thx,
> kiuma
>
>

--
View this message in context:
http://www.nabble.com/Invoking-a-listener-tf3232630.html#a8983950
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [WARNING] Invoking a listener

2007-02-15 Thread jiju

yes, its possible
i had tried to call it via script, but the @Submit component is also present
in my page


Andrea Chiumenti wrote:
> 
> Hello,
> I've seen that if I write a @Submit into my template:
> say:  action="listener:addNewListener">
> 
> a script is rendered as follow:
> 
> 
> 
> dojo.event.browser.stopEvent(e);
> tapestry.form.submit("thisForm", "addNew",
> {"async":true,"json":false,"url":"/Home,thisForm.direct?updateParts=tableForm"});
> ..
> 
> Is it possible call via javascript the addNewListener without @Submit
> or other components ?
> 
> Thx,
> kiuma
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invoking-a-listener-tf3232630.html#a8983950
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Invoking a listener

2007-02-15 Thread Andrea Chiumenti

Hello,
I've seen that if I write a @Submit into my template:
say: 

a script is rendered as follow:



dojo.event.browser.stopEvent(e);
tapestry.form.submit("thisForm", "addNew",
{"async":true,"json":false,"url":"/Home,thisForm.direct?updateParts=tableForm"});
..

Is it possible call via javascript the addNewListener without @Submit
or other components ?

Thx,
kiuma