Skip to main content
summaryrefslogtreecommitdiffstats
blob: 264a6bf7f1d866060099b1b28586b2cf0848a5d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<%@jet class="Simple" package="org.eclipse.jet.tests.tools.tempates" %>
--- before failing include with alternative >>>
<%@include file="include1.fail.jetinc" fail="alternative"%>
<%@start%>
  Alternative text to include1.fail.jetinc
  2 + 4 = <%= 2 + 4 %>
  <%@include file="include1.jetinc" fail="alternative"%>
  <%@start%>
    Fail alternative for include1.jetinc within fail alternative of include1.fail.jetinc
  <%@end%>
  <%@include file="include2.fail.jetinc" fail="alternative"%>
  <%@start%>
    Fail alternative for include2.fail.jetinc within fail alternative of include1.fail.jetinc
  <%@end%>
<%@end%>
<<< after include ---

--- before successful include with alternative >>>
<%@include file="include1.jetinc" fail="alternative"%>
<%@start%>
  Alternative text to include1.jetinc - should not be processed
  7 + 3 = <%= 7 + 3 %>
  <%@include file="include2.jetinc" fail="alternative"%>
  <%@start%>
    Fail alternative for include2.jetinc within fail alternative of include1.jetinc
  <%@end%>
  <%@include file="include2.fail.jetinc" fail="alternative"%>
  <%@start%>
    Fail alternative for include2.fail.jetinc within fail alternative of include1.jetinc
  <%@end%>
<%@end%>
<<< after include ---

--- before failing include with alternative >>>
<%@include file="include1.fail.jetinc" fail="silent"%>
<<< after include ---

Back to the top