Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html
index 32e1d25..212c417 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html
@@ -38,7 +38,6 @@
</TR>
</TBODY>
</TABLE>
-<exists node="tag/attribute use='required'">
<HR>
<TABLE border="1" width="100%">
<TBODY>
@@ -54,7 +53,6 @@
</TR>
</TBODY>
</TABLE>
-</exists>
<HR>
<TABLE border="1" width="100%">
<TBODY>
@@ -84,8 +82,14 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin file example -->
-
- &lt;ws:file path=&quot;<I>value</I>&quot; template=&quot;<I>value</I>&quot;/&gt;<br>
+ &lt;%-- write a file about.html to myProject after evaluating template about.html.jet--%&gt;<br>
+ &lt;ws:file path=&quot;myProject/about.html&quot; template=&quot;templates/about.html.jet&quot;/&gt;<br><br>
+
+ &lt;%-- alternative way of doing the about--%&gt;<br>
+ &lt;ws:project name="myProject"&gt;<br>
+ &nbsp;&nbsp;&lt;ws:file path=&quot;about.html&quot; template=&quot;templates/about.html.jet&quot;/&gt;<br>
+ &nbsp;&nbsp;<i>... other ws:file tags writing to the same project ...</i><br>
+ &lt;/ws:project&gt;<br>
<!-- End file example -->
</SPAN></TD>
</TR>

Back to the top