You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by alvaro tovar <al...@gmail.com> on 2009/06/10 19:11:22 UTC

Re: trinidad: how to add javascript/style/body onload programmatically

for the 1 you can use ${}
for the 2
<body onload="callJS()">

2009/6/10 Dave <ja...@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
>
>
>
>
>
>
>
>
>
>
>