[Dojo-interest] Templates and Dynamic Content

Peter Cooper pfc at xisltd.demon.co.uk
Fri Aug 11 04:54:04 MDT 2006


Never mind
found it myself

just change the 
templatePath: dojo.uri.dojoUri("../acme.Menu.html")
to
templatePath: dojo.uri.dojoUri("some live content.aspx")

cool !!

Peter

  ----- Original Message ----- 
  From: Peter Cooper 
  To: dojo-interest at dojotoolkit.org 
  Sent: Friday, August 11, 2006 11:14 AM
  Subject: [Dojo-interest] Templates and Dynamic Content


  Hi All

  Have been playing with dojo and (finally) got to understand the memo widget
  http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book61

  I am now exploring the possibility of making the html template file dynamic (asp,,aspx,php or whatever)
  Main rational behind this is the possibility to generate the template in multiple languages or render other dynamic content

  so I still have the static files Menu.css and Menu.js
  but need to change the Menu.html to Menu.aspx and get the server to generate the content

  Is this possible?
  if so how

  Peter




------------------------------------------------------------------------------


  _______________________________________________
  Dojo FAQ: http://dojo.jot.com/FAQ
  Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
  Dojo-interest at dojotoolkit.org
  http://dojotoolkit.org/mailman/listinfo/dojo-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20060811/793a3ed1/attachment.html


More information about the Dojo-interest mailing list