Attachment 'templates.xml'

Download

   1 <?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="xml_new" deleted="false" description="Tapestry Application Specification" enabled="true" name="app spec">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
   2 &lt;!DOCTYPE application PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0//EN" &#13;
   3 	"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"&gt;&#13;
   4 &lt;application name="TapestryApp"&gt;&#13;
   5 	&#13;
   6     &lt;description&gt;TapestryApp&lt;/description&gt;&#13;
   7 	&#13;
   8 	&lt;!-- uncomment to define a search path for page classes	&#13;
   9 	&lt;meta key="org.apache.tapestry.page-class-packages" value="com.mypackage,com.mypackage2"/&gt;&#13;
  10 	--&gt;&#13;
  11 	&#13;
  12 &lt;/application&gt;&#13;
  13 </template><template autoinsert="true" context="xml_new" deleted="false" description="Tapestry Component Specification" enabled="true" name="component spec">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
  14 &lt;!DOCTYPE component-specification PUBLIC  "-//Apache Software Foundation//Tapestry Specification 4.0//EN" &#13;
  15 	"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"&gt;&#13;
  16 &lt;component-specification class="com.package.ClassName" allow-body="yes" allow-informal-parameters="yes"&gt;&#13;
  17 		&#13;
  18 &lt;/component-specification&gt;&#13;
  19 </template><template autoinsert="true" context="xml_new" deleted="false" description="Tapestry Library Specification" enabled="true" name="library spec">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
  20 &lt;!DOCTYPE library-specification PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0//EN" &#13;
  21 	"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"&gt;&#13;
  22 &lt;library-specification&gt;&#13;
  23 	&#13;
  24 &lt;/library-specification&gt;&#13;
  25 </template><template autoinsert="true" context="xml_new" deleted="false" description="Tapestry Page Specification" enabled="true" name="page spec">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
  26 &lt;!DOCTYPE page-specification PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0//EN" &#13;
  27 	"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"&gt;&#13;
  28 &lt;page-specification&gt;&#13;
  29 	&#13;
  30 &lt;/page-specification&gt;&#13;
  31 </template><template autoinsert="true" context="xml_all" deleted="false" description="Tapestry Script Scpecification" enabled="true" name="script spec">&lt;!DOCTYPE script PUBLIC&#13;
  32 	"-//Apache Software Foundation//Tapestry Script Specification 3.0//EN"&#13;
  33 	"http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd"&gt;&#13;
  34 &lt;script&gt;&#13;
  35 	&lt;include-script resource-path=""/&gt;&#13;
  36 	&lt;body&gt;&#13;
  37 &lt;![CDATA[&#13;
  38 	&#13;
  39 ]]&gt;&#13;
  40 	&lt;/body&gt;&#13;
  41 	&lt;initialization&gt;&#13;
  42 		&#13;
  43 	&lt;/initialization&gt;&#13;
  44 &lt;/script&gt;&#13;
  45 </template><template autoinsert="true" context="xml_new" deleted="false" description="Tapestry Web Application Deployment Descriptor" enabled="true" name="web.xml 2.4">&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
  46 &lt;web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" &#13;
  47 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" &#13;
  48 	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;&#13;
  49 	&#13;
  50 	&lt;display-name&gt;TapestryApp&lt;/display-name&gt;&#13;
  51 	&#13;
  52 	&lt;servlet&gt;&#13;
  53 		&lt;servlet-name&gt;TapestryApp&lt;/servlet-name&gt;&#13;
  54 		&lt;servlet-class&gt;org.apache.tapestry.ApplicationServlet&lt;/servlet-class&gt;&#13;
  55 		&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;&#13;
  56 	&lt;/servlet&gt;&#13;
  57 	&#13;
  58 	&lt;servlet-mapping&gt;&#13;
  59 		&lt;servlet-name&gt;TapestryApp&lt;/servlet-name&gt;&#13;
  60 		&lt;url-pattern&gt;/app&lt;/url-pattern&gt;&#13;
  61 	&lt;/servlet-mapping&gt;&#13;
  62 &#13;
  63 	&lt;filter&gt; &#13;
  64 		&lt;filter-name&gt;redirect&lt;/filter-name&gt;&#13;
  65 		&lt;filter-class&gt;org.apache.tapestry.RedirectFilter&lt;/filter-class&gt;&#13;
  66 	&lt;/filter&gt;&#13;
  67 	&#13;
  68 	&lt;filter-mapping&gt;&#13;
  69 		&lt;filter-name&gt;redirect&lt;/filter-name&gt;&#13;
  70 		&lt;url-pattern&gt;/&lt;/url-pattern&gt;&#13;
  71 	&lt;/filter-mapping&gt;&#13;
  72 	&#13;
  73 	&lt;welcome-file-list&gt;&#13;
  74 		&lt;welcome-file&gt;index.html&lt;/welcome-file&gt;&#13;
  75 		&lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;&#13;
  76 		&lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;&#13;
  77 		&lt;welcome-file&gt;default.html&lt;/welcome-file&gt;&#13;
  78 		&lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;&#13;
  79 		&lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;&#13;
  80 	&lt;/welcome-file-list&gt;&#13;
  81 &lt;/web-app&gt;&#13;
  82 </template></templates>

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-02-05 07:43:53, 0.0 KB) [[attachment:ContentAssistPageSpec.gif]]
  • [get | view] (2010-08-13 09:42:03, 0.0 KB) [[attachment:HelloWorld.gif]]
  • [get | view] (2008-04-22 02:02:04, 75.6 KB) [[attachment:ServerArguments.jpg]]
  • [get | view] (2007-08-01 19:42:40, 4.6 KB) [[attachment:templates.xml]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.