Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-09-19 17:04:06 -0400
committerpelder2006-09-19 17:04:06 -0400
commitaeb93b9c181c1f74f6be80a34d0de86a1caf1b8f (patch)
tree958814f381b6d39fa8dae7c54c92cb374a5c3a6c /doc/org.eclipse.jet.doc/references/taglibs/javaTags/resourceTag.html
parentf88eda1772801fea03435713b9063fb49740a4d3 (diff)
downloadorg.eclipse.jet-aeb93b9c181c1f74f6be80a34d0de86a1caf1b8f.tar.gz
org.eclipse.jet-aeb93b9c181c1f74f6be80a34d0de86a1caf1b8f.tar.xz
org.eclipse.jet-aeb93b9c181c1f74f6be80a34d0de86a1caf1b8f.zip
[157811] Add examples to javaTags
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/javaTags/resourceTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/javaTags/resourceTag.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/javaTags/resourceTag.html b/doc/org.eclipse.jet.doc/references/taglibs/javaTags/resourceTag.html
index c0c6985..6f86413 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/javaTags/resourceTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/javaTags/resourceTag.html
@@ -92,7 +92,17 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin resource example -->
- &lt;java:resource name=&quot;<I>value</I>&quot; template=&quot;<I>value</I>&quot;/&gt;<br>
+ &lt;%-- create resource Messages.properties in package org.example in source folder myProject/src --%><BR>
+ &lt;java:resource name=&quot;Messages.properties&quot; package="org.example" srcFolder="myProject/src" template=&quot;myprops.jet&quot;/&gt;<br><BR>
+
+ &lt;%-- resource Messages.properties in package org.example in source folder myProject/src --%><BR>
+ &lt;ws:project name="myProject"&gt;<BR>
+ &nbsp;&nbsp;&lt;ws:folder path=&quot;src&quot;&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&lt;java:package name="org.example"&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;java:resource name="Messages.properties" template="myprops.jet"/&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&lt;/java:package&gt;<BR>
+ &nbsp;&nbsp;&lt;/ws:folder&gt;<BR>
+ &lt;/ws:project&gt;<BR>
<!-- End resource example -->
</SPAN></TD>
</TR>

Back to the top