RE: [htmltmpl] HTML Template in C++
Brought to you by:
samtregar
From: Philip S T. <phi...@gm...> - 2002-08-27 05:17:17
|
On Mon, 26 Aug 2002, Kenny Smith wrote: > I probably wouldn't use it without the global_vars option. I use the > global_vars option all the time, it's too useful to be without. I really feel that it should be done some other way - with some kind of namespaces or something similar to DOM objects. HTML designers are already familiar with the document.myform.txtName.value syntax, don't think they'd mind a document.loop1.loop2.var1 style syntax. Advantage is that you can access a global var from any level of the loop. An imposed restriction could be that only elements from the current loop stack can be called, ie, you can't access vars across loops, only upwards from the current location. Thoughts? -- Reality continues to ruin my life. -- Calvin |