- Parent Category: Framework
- Category: Java Server Faces
ICEsoft Technologies, Inc., is a leading provider of standards-compliant, Ajax-based solutions for developing and deploying Java EE, rich Internet applications. ICEfaces is a leading open source Ajax framework for Java EE.
I search a lot in forums for resolving this small inconvenience in eclipse Helios. The solution is easier as you think:
Are you using some custom file extensions?
Name your facelets templates *.jspx if you are using any other extension, Eclipse JSP editor wont be used and you may have limited auto completion support.
if you still want to use *.xhtml, .iface
- Go to Windows – Preferences – General – Content Types – Text - JSP – and add your extensions
- into 'File Associations' and made the 'JSP editor' the default for .xhtml
Auto completion for facelets, html and core components
Use Jboss Tools which has enables content assist for f: ui: s: h:
To install JBoss Tools, start up Eclipse 3.6 then:
and add this URL:
Help > Install New Software... >
Locate your project in eclipse, right click, select configure and choose “Add JSF capabilities” as seen in the picture below
Now open any files with the HTML editor/JSP editor, in fact it will work now with any editors and for all tags
You do not need to install Jboss Tools (I recommend it through) but what about Icefaces support?
Icefaces provide a plugin 3.5.0 that support auto completion of tags in Eclipse Galileo (3.5) for icefaces 1.8.2. While Eclipse Helios is only supported with icefaces 2.0 (plugin > 3.6.2)
You might like also
The file web.xml inside the WEB-INF folder is the Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application. The file below is what I use at work. It contains better settings than the default one, plus all descriptions of parameters. <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <context-param> <description> Comma separated list of URIs of (additional) …
4373 Days ago
Trying to combine JSF and JSP is like trying to shoehorn a foot into a glove: it's possible, but it's really just a stopgap measure until something better comes along. In this article, JSF enthusiast Rick Hightower introduces you to what he likes best about Facelets: easy HTML-style templating and reusable composition components.Facelets has several compelling features: Templating (like Tiles) Composition components Custom logic tags Expression functions Designer-friendly page development Creating component librariesRead the tutorial at IBM developerworks HERE …
4956 Days ago