You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2005/06/12 01:44:13 UTC
svn commit: r190183 -
/forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml
Author: thorsten
Date: Sat Jun 11 16:44:12 2005
New Revision: 190183
URL: http://svn.apache.org/viewcvs?rev=190183&view=rev
Log:
Fixed the css tag in the dsl howto.
Modified:
forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml
Modified: forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml?rev=190183&r1=190182&r2=190183&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml Sat Jun 11 16:44:12 2005
@@ -211,7 +211,7 @@
<p>
We know now how to place contracts and hooks in our view, till this stage we only used the default.css.
CSS-support of views is as easy as placing contracts/hooks. To override the default.css
- stylesheet we use another tag within our view <code><![CDATA[<forrest:hook name="default.css"/>]]></code>.
+ stylesheet we use another tag within our view <code><![CDATA[<forrest:css url="default.css"/>]]></code>.
</p>
<p>
We will now create a file in <code><![CDATA[{project:skins-dir}{path}/{name}.css]]></code>. In our case
@@ -229,10 +229,10 @@
<p>
We just changed the border-style to 'solid' and the color to '#000000'. In our we we have to add
a new tag to tell that we want to override the default.css. We are doing this by adding the tag
- <code><![CDATA[<forrest:hook name="howTo.css"/>]]></code> to our view.
+ <code><![CDATA[<forrest:css url="howTo.css"/>]]></code> to our view.
</p>
<note>
- <code><![CDATA[<forrest:hook name="howTo.css"/>]]></code> has to be direct son of
+ <code><![CDATA[<forrest:css url="howTo.css"/>]]></code> has to be direct son of
<code><![CDATA[<forrest:view type="xhtml">]]></code>!!!
</note>
<fixme author="thorsten">This section is next to be writen</fixme> <!--