1 <?xml version="1.0"?>
\r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">
\r
6 JHTML mode by Will Sargent <wsargent@atg.com>
\r
11 <PROPERTY NAME="commentStart" VALUE="<!--" />
\r
12 <PROPERTY NAME="commentEnd" VALUE="-->" />
\r
13 <!-- Indent droplets and oparams -->
\r
14 <PROPERTY NAME="indentNextLines"
\r
15 VALUE="\s*(<\s*(droplet|oparam))\s+.*" />
\r
16 <!-- Sadly, there doesn't seem to be a way to
\r
17 undent when we see a /oparam> tag... -->
\r
19 <RULES IGNORE_CASE="TRUE">
\r
20 <!-- Allow for Dynamo SSI -->
\r
22 <BEGIN><!--#</BEGIN>
\r
26 <!-- SGML comment -->
\r
27 <SPAN TYPE="COMMENT1">
\r
28 <BEGIN><!--</BEGIN>
\r
32 <!-- markup tags -->
\r
33 <SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
\r
38 <!-- Embedded Java -->
\r
39 <SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
\r
40 <BEGIN><java></BEGIN>
\r
41 <END></java></END>
\r
44 <!-- Don't know how to do this correctly.
\r
45 <SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
\r
46 <BEGIN><java type=</BEGIN>
\r
47 <END></java></END>
\r
52 <SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT">
\r
53 <BEGIN><SCRIPT</BEGIN>
\r
54 <END></SCRIPT></END>
\r
58 <SPAN TYPE="MARKUP" DELEGATE="html::CSS">
\r
59 <BEGIN><STYLE</BEGIN>
\r
60 <END></STYLE></END>
\r
63 <!-- DTD instructions -->
\r
64 <SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
\r
65 <BEGIN><!</BEGIN>
\r
69 <!-- All markup defaults to JHTML. -->
\r
70 <SPAN TYPE="MARKUP" DELEGATE="JHTML">
\r
75 <!-- SGML entities -->
\r
76 <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
\r
77 <BEGIN>&</BEGIN>
\r
82 <RULES SET="JHTML" DEFAULT="MARKUP">
\r
83 <!-- SGML comment -->
\r
84 <SPAN TYPE="COMMENT1">
\r
85 <BEGIN><!--</BEGIN>
\r
89 <SPAN TYPE="LITERAL1" DELEGATE="ATTRVALUE">
\r
94 <SPAN TYPE="LITERAL1" DELEGATE="ATTRVALUE">
\r
99 <SEQ TYPE="MARKUP">/</SEQ>
\r
102 <KEYWORD1>importbean</KEYWORD1>
\r
103 <KEYWORD1>droplet</KEYWORD1>
\r
104 <KEYWORD1>param</KEYWORD1>
\r
105 <KEYWORD1>oparam</KEYWORD1>
\r
106 <KEYWORD1>valueof</KEYWORD1>
\r
107 <KEYWORD1>setvalue</KEYWORD1>
\r
108 <KEYWORD1>servlet</KEYWORD1>
\r
109 <KEYWORD2>bean</KEYWORD2>
\r
110 <KEYWORD2>submitvalue</KEYWORD2>
\r
111 <KEYWORD2>declareparam</KEYWORD2>
\r
112 <KEYWORD2>synchronized</KEYWORD2>
\r
113 <KEYWORD2>priority</KEYWORD2>
\r
115 <!-- standard converters -->
\r
116 <KEYWORD2>converter</KEYWORD2>
\r
117 <KEYWORD2>date</KEYWORD2>
\r
118 <KEYWORD2>number</KEYWORD2>
\r
119 <KEYWORD2>required</KEYWORD2>
\r
120 <KEYWORD2>nullable</KEYWORD2>
\r
121 <KEYWORD2>currency</KEYWORD2>
\r
122 <KEYWORD2>currencyConversion</KEYWORD2>
\r
123 <KEYWORD2>euro</KEYWORD2>
\r
124 <KEYWORD2>locale</KEYWORD2>
\r
125 <KEYWORD2>symbol</KEYWORD2>
\r
127 <!-- Can't use this because of image src... -->
\r
128 <!-- <KEYWORD2>src</KEYWORD2> -->
\r
132 <RULES SET="ATTRVALUE" DEFAULT="LITERAL1" HIGHLIGHT_DIGITS="TRUE">
\r
133 <!-- backticks are java -->
\r
134 <SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
\r
139 <!-- Allow param: and bean: properties to be marked up -->
\r
140 <SEQ TYPE="LABEL">param:</SEQ>
\r
141 <SEQ TYPE="LABEL">bean:</SEQ>
\r