It's supposed to work...
Tapestry will add this javascript in the response:
tapestry.loadScriptFromUrl(...)

But there was this issue:
http://tacoscomponents.jot.com/BugReporter/Bug127
and the fix
http://fisheye3.cenqua.com/browse/tacos/tacos-4.0/trunk/tacos-core/src/java/net/sf/tacos/ajax/components/tacos.js?r1=404&r2=413
and soon
http://issues.apache.org/jira/browse/TAPESTRY-1119
will close :)


Norbert Sándor wrote:
> Hello,
>
> I have a component which includes a script in renderComponent() using
>
>     pageRenderSupport.addExternalScript(this,
> getScriptAsset().getResourceLocation());
>
> It works fine when used without ajax, a <script> tag is written to the
> HTML output.
> But when the same component is rendered in an ajax request (triggered
> by an async DirectLink), the script is not included at all.
>
> Maybe this is unsupported?
> Any ideas?
>
> Thanks in advance,
> Norbi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


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

Reply via email to