Hi Hamilton,
Thank you for the answer. I can understand know a little bit more about the new templates, but I guess we have a major problem here.
I've managed to put your new blank-master to work, but the dotlrn toolbar and the ds where being repeated forever. Checking your code I could see that blank-master.adp has the following lines:
list name="header">
@header;noquote@
/list>
slave>
list name="footer">
@footer;noquote@
/list>
This list tag makes no sense to me, and it was making the header and footer to be repeated. I've removed this tag and the page loaded OK. The new lines where like this:
@header;noquote@
slave>
@footer;noquote@
Anyway, my Ajax still don't work. I'm facing this error right now:
$(form) has no properties
getElements("catalog")prototype.js (line 2649)
serialize("catalog", undefined)prototype.js (line 2645)
onkeyup(keyup charCode=0, keyCode=65)add-edit (line 1)
[Break on this error] return $A($(form).getElementsByTagName('*')).inject([],
Firebug tells me that this error comes from the prototype.js file in line 2649. My JavaScript knowledge is poor, but can we use dolar quoting to indicate that it's a var (I mean $var) as we do in TCL? Do you think this issue has something to do with this error or are we facing another problem?
I still have another concern. Checking out HEAD version of OpenACS template files, I can see your files and OpenACS files are very different and it affects the entire system. Take a look at this diff (I know it's a little messy, but you can get my point from there):
http://www.softwarepublico.gov.br/dotlrn/file-storage/download/blank-master.diff?file%5fid=2925174
There are a lot of vars in OpenACS version wich are not in your file and your files also have big differences, mostly in blank-master.tcl. So, my doubt is: wich one should I use? It seems to me that your file has some problems about Xinha loading, but I can't say this for sure.
There's also a big difference in head-procs.tcl and acs-integration-procs.tcl (from the files in ajaxhelper and the other ones in acs-templating/tcl HEAD). Wich ones are the best for use? I guess I'm a little lost here.
Thank you very much for your help and all your work on this.