Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The "Tapestry5JSPEditorEclipse" page has been changed by Laurent Guerin.
http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse?action=diff&rev1=9&rev2=10

--------------------------------------------------

- = How to use the built in JSP Eclipse Editor and a custom tld file to get 
code completion in Eclipse 3.4 and Tapestry5 =
+ = How to use the built in JSP Eclipse Editor and a custom tld file to get 
code completion in Eclipse 3.4+ and Tapestry5 =
  
  I have been looking for a method to get "code" completion while editing *.tml 
files in Eclipse. 
  
- The method I have come up with is using the Eclipse JSP editor to edit *.tml 
files, and a TLD file I've created based on the Tapestry 5 Version 5.0.18 
Component documentation.
+ The method I have come up with is using the Eclipse JSP editor to edit *.tml 
files, and a TLD file.
  
- Attached are 3 documents:
+ Attached are 5 documents:
  
   * [[attachment:INSTALL.txt]]
-  * [[attachment:t5.tld]]
+  * [[attachment:t5.0.19.tld]]
+  * [[attachment:t5.1.0.7.tld]]
   * [[attachment:t5.2.0.tld]]
   * [[attachment:NewTMLTemplate.xml]]
  
@@ -18, +19 @@

  
  UPDATE!!! This will not work on Eclipse 3.3. The JSP Editor by default does 
not appear to easily support the xmlns declarations.
  
- Let me know your thoughts on this method, and if anyone has any ideas on 
improving on this! It would be great to come up with an automated method to 
generate the tld files based on the code documentation used to create the 
component docs. 
+ TLD files have been generated by tapestry-tldgen Maven plugin 
(http://github.com/exanpe/tapestry-tldgen).
+ You can also use this plugin to generate TLD associated to your own Tapestry 
5 components library.
+ Please have a look at http://exanpe.free.fr/tapestry-tldgen/ for advanced 
information and usage explanation.
  
- Regardless, this has really helped out when using Eclipse and Tapestry 5. 
+ Regardless, this really helps out coupling Eclipse and Tapestry 5. 
  
  
  #-- Installing and configuring Eclipse for Tapestry 5 tml file editing. 
@@ -34, +37 @@

        * Enter *.tml
        * Apply and Save. 
        
- 2. Install the t5.tld ( Tag Libraray Definition ) and associate it with the 
default Tapesty 5 Name Space.             
+ 2. Install the TLD associated to your Tapestry 5 version ( Tag Library 
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 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 
        * 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 TLD file, and select 
it. 
        * 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 for 5.0 Version and 
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd for others
        * Save the entry.       
  
  3. Install the default *.tml template in the JSP template provider: 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to