Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by Dean Murphy: http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse ------------------------------------------------------------------------------ 1. Associate any *.tml file with the JSP Editor. - Window -> Preferences -> General -> Content Types + * Window -> Preferences -> General -> Content Types - Expand Text + * Expand Text - Select JSP + * Select JSP - Click "Add" + * Click "Add" - Enter *.tml + * Enter *.tml - Apply and Save. + * Apply and Save. 2. Install the t5.tld ( Tag Libraray Definition ) and associate it with the default Tapesty 5 Name Space. - Save the t5.tld project file to a static location on your system. This will be a known location that will not be removed. + * Save the t5.tld project file to a static location on your system. This will be a known location that will not be removed. - Window -> Preferences -> XML -> XML Catalog + * Window -> Preferences -> XML -> XML Catalog - Under "User Specified Entries", create a new association by clicking "Add" + * Under "User Specified Entries", create a new association by clicking "Add" - Click on the "File" Icon to browse to the saved t5.tld file, and select it. + * Click on the "File" Icon to browse to the saved t5.tld file, and select it. - Leave the key type as : "Public ID" + * Leave the key type as : "Public ID" - Set the key field to: - http://tapestry.apache.org/schema/tapestry_5_0_0.xsd + * Set the key field to: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd - Save the entry. + * Save the entry. 3. Install the default *.tml template in the JSP template provider: - Window -> Preferences -> Web -> JSP Files -> Editor -> Templates + * Window -> Preferences -> Web -> JSP Files -> Editor -> Templates - Click the "import" button and browse to the provided file in this project: + * Click the "import" button and browse to the provided file in this project: "NewTMLTemplate.xml" - "NewTMLTemplate.xml" - Selecting it will import the template. + * Selecting it will import the template. - Click "Apply", "Save" + * Click "Apply", "Save" Once all steps are completed, you can create a new *.tml file by creating a new JSP File, and selecting the TML Template. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
