RE: dynamic javascript
Rajesh Poddar <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your reply. I forgot to add model with BTemplate. Now it is working. Rajesh -----Original Message----- From: Jacob Kjome [mailto:[email protected]] Sent: Tuesday, June 10, 2003 1:13 PM To: [email protected] Subject: Re: [Barracuda] dynamic javascript I think you need to provide a little more information. Did you bind BTemplate to a View on a node containing these nodes and did you add the "script" model to the BTemplate and does the "script" model return something for the keys "JSFiles" and "JSOnPageLoad"? Jake At 11:48 AM 6/10/2003 -0700, you wrote: Hi, I want to create javascript at runtime to include a number of javascript files and a dynamic function to call at onloading of a html page. I wrote the following code in html to do so. <script type="text/javascript" language="JavaScript" class="Dir::Get_Data.script.JSFiles" > </script> <script type="text/javascript" language="JavaScript" class="Dir::Get_Data.script.JSOnPageLoad"> </script> Unfortunately, this does not work. Does anyone have any idea? Thanks. Rajesh _______________________________________________ Barracuda mailing list [email protected] http://barracudamvc.org/lists/listinfo/barracuda <http://barracudamvc.org/lists/listinfo/barracuda>