Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/controlTags/userRegionTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/controlTags/userRegionTag.html32
1 files changed, 19 insertions, 13 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/userRegionTag.html b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/userRegionTag.html
index 1d302a5..6fc52db 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/userRegionTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/userRegionTag.html
@@ -42,15 +42,6 @@
</TR>
</TBODY>
</TABLE>
-<exists node="tag/attribute use='required'">
-<HR>
-<TABLE border="1" width="100%">
- <TBODY>
- <TR>
- <TH colspan="2" align="left">Required Attributes</TH></TR>
- </TBODY>
-</TABLE>
-</exists>
<HR>
<TABLE border="1" width="100%">
<TBODY>
@@ -60,10 +51,25 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin userRegion example -->
-
- &lt;c:userRegion&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be written</I><BR>
- &lt;/c:userRegion&gt;
+ &lt;%-- Define user region 101. Code in block will never be updated by subsequent executions --%&gt;<BR>
+ &lt;c:userRegion&gt;<BR>
+ // BEGIN region 101<BR>
+ &nbsp;&nbsp;&lt;c:initialCode&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>default code</I><BR>
+ &nbsp;&nbsp;&lt;/c:initialCode&gt;<BR>
+ // END region 101<BR>
+ &lt;/c:userRegion&gt;<BR><BR>
+
+ &lt;%-- Define user region 102. Code in block will be updated by subsequent
+ executions only if @generated is found in block --%&gt;<BR>
+ &lt;c:userRegion&gt;<BR>
+ // BEGIN region 102<BR>
+ &nbsp;&nbsp;&lt;c:initialCode unmodifiedMarker="@generated"&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;// @generated<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>default code</I><BR>
+ &nbsp;&nbsp;&lt;/c:initialCode&gt;<BR>
+ // END region 102<BR>
+ &lt;/c:userRegion&gt;<BR>
<!-- End userRegion example -->
</SPAN></TD>
</TR>

Back to the top