myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alvaro tovar <alvaro.to...@gmail.com>
Subject Re: trinidad: how to add javascript/style/body onload programmatically
Date Wed, 10 Jun 2009 17:11:22 GMT
for the 1 you can use ${}
for the 2
<body onload="callJS()">

2009/6/10 Dave <javaone9@yahoo.com>

> For trinidad,
>
> 1. how to add javascript/style inside html head programmatically? For example,
>
> <link rel="stylesheet" href="/my.css" type="text/css" />
>
> <script type="text/javascript" src="/my.js">
>
>
>
> 2. how to add body onload script?
>
>
>
> Thanks for
>  help.
>
> Dave
>
>
>
>
>
>
>
>
>
>
>

Mime
View raw message