initialCode
A child tag of the 'userRegion' tag containing the initial code to write. See 'userRegion' for more information.
Tag Summary |
required |
<c:initialCode>
content to be written
</c:initialCode>
|
full tag |
<c:initialCode unmodifiedMarker="value">
content to be written
</c:initialCode>
|
Optional Attributes |
unmodifiedMarker |
A string that when present in the content of the existing code indicates that the code has not been modified by the user, and should be replace with the contents of this initial code block. |
Example |
|
<%-- Define user region 101. Code in block will never be updated by subsequent executions --%>
<c:userRegion>
// BEGIN region 101
<c:initialCode>
default code
</c:initialCode>
// END region 101
</c:userRegion>
<%-- Define user region 102. Code in block will be updated by subsequent
executions only if @generated is found in block --%>
<c:userRegion>
// BEGIN region 102
<c:initialCode unmodifiedMarker="@generated">
// @generated
default code
</c:initialCode>
// END region 102
</c:userRegion>
|