[Freedaisy-devel] template.Standard_link now uses template.Standard_node, and his API has changed
Status: Alpha
Brought to you by:
alexissoft
|
From: Alexis R. <al...@fn...> - 2005-05-28 11:53:29
|
Hi, I've commited yesterday the template.Standard_link who now uses the template.Standard_node. Now template.Standard_link is reduced to 23 lines, and the code is very clear (the older was very ugly and very long, it was a kind of hack) I've added a template.Standard_node.wrapgetcontent function for wrapping the content() function of Standard_node, if you want to return a Standard_href if you make a Standard_link.content() :) I will add a system for choosing the correct derivated class automatically, for example, you are in a Standard_node who is mapped to <head>, you use node.next(), you are in a <meta> node, but next returns a Standard_meta instead of a Standard_node, cool isn't it ? But just for the moment I must finish the porting of the classes to Standard_node. :) Thank you Alexis ROBERT |