[Seaside] inHeadDo:
Nevin Pratt
nevin at smalltalkpro.com
Tue Mar 25 18:38:49 CET 2003
Avi Bryant wrote:
>
>If you look at the implementation of WAHtmlBuilder>>title:, you'll see
>that it simply adds a node directly to the document's "head" element.
>You can model a #meta: method after this. My assumption is that there
>will be a small finite number of such methods, which will quickly get
>added to Builder; #inHeadDo: had a really ugly implementation and I don't
>see the need for the generality, so it's gone.
>
>Avi
>
>
Like this?:
metaTagNamed: aName content: aString
document head
add: (WAHtmlElement named: #meta attributes: {'NAME' -> aName.
'CONTENT' -> aString}
More information about the Seaside
mailing list