Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

<c:initialCode>

Standard JET2 Control Tags

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>


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire