Hi Eric,

why not call the javascript at the end of the corresponding block element like 
this ...

        <t:zone t:id="exampleZone"/>
        <t:block id="exampleBlock">
                
              .... some content .....

                <script type="text/javascript">
                        showexampleWindow();
                </script>
        </t:block>

cheers!

andreas 

-------- Original-Nachricht --------
> Datum: Thu, 31 Jul 2008 22:06:01 -0300
> Von: "Thiago Henrique de Carvalho" <[EMAIL PROTECTED]>
> An: "\'Tapestry users\'" <users@tapestry.apache.org>
> Betreff: RES: Calling Javascript after updating a Zone

> Hi there,
> 
> Thought not exactly what you asked, in Tapestry 4 I use to do this by
> adding
> JavaScript code to a Block or Component's html scope, so when it is
> updated
> via AJAX the code runs and may call other functions already loaded in the
> page.
> 
> 
> Thiago
> 
> 
> -----Mensagem original-----
> De: Eric Rogers [mailto:[EMAIL PROTECTED] 
> Enviada em: quinta-feira, 31 de julho de 2008 20:07
> Para: users@tapestry.apache.org
> Assunto: Calling Javascript after updating a Zone
> 
> Hello All,
> 
> Using Tapestry 5.0.13.
> 
> I have a form, which has a corresponding zone to update when it is
> submitted.  I am returning a block from the action handler for the form
> submission to update the content of the zone with.  This works as
> expected.
> However, I am wondering if Tapestry has a built-in hook that would allow
> the
> calling of additional Javascript once the zone has been updated.
> 
> Any thoughts?
> 
> Thanks,
> 
> Eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

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

Reply via email to