|Re: UserRegion in non Java artifacts? [message #43611 is a reply to message #43015]
||Wed, 26 March 2008 10:08
| Paul Elder
Registered: July 2009
Yes, it does - I use it to generate JET templates :-). Typical usage:
<c:userRegion> put some unique-to-the-file marker here<c:initialCode>
... put your initial code here...
</c:initialCode>put a closing marker here - it shouldn't appear (or be
likely to appear in the user code)</c:userRegion>
Often, you use a c:get tag in the unique marker area to generate the marker.
1) Reduce the use of whitespace in the opening and closing markers. If you
do any indenting of the markers, do it befor the <c:userRegion> and
2) To minimize whitespace, use the form above.
If this works out, why not update the JET FAQ? Here's a link to the current
"Gary Pinkham" <firstname.lastname@example.org> wrote in message
> Does UserRegion and InitialCode work in non Java artifacts? Say a JSP
> file? or a properties file? If so are there any tricks? I tried with a
> template that produces a JSP file and it always regenerates the
> contents... I'm using Jet 0.8.2
Powered by FUDForum
. Page generated in 0.01556 seconds