Yes, I'm pretty sure. In fact, I even tried moving the <script> element
outside the zone, and found that it still didn't show up in the HTML
response. It seems like the only way to preserve the <script> is to put it
in a <t:block>.

After wrapping my <script> with a <t:block> and adding a <t:delegate> right
after the <t:block>, my code started to work.


On Thu, Feb 4, 2010 at 6:40 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Thu, 04 Feb 2010 21:37:26 -0200, Benny Law <benny.mk....@gmail.com>
> wrote:
>
>  I am still wondering why Tapestry strips away all <script> unless it's in
>> a block. Can anyone shed any light on this?
>>
>
> I'm lazy to test it now, but are you sure it was stripped? Maybe it was
> included, but not automatically executed.
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to