Defining JWL source for content assist
Content assist helps you insert or finish a tag or function or finish a line of code in the text editor. The placement of the cursor in the source file provides the context for the content assist to offer suggestions for completion.
Creating Faces enabled Web projects.
To define content assist for a Web project:
- Right-click your Web project and select
Properties. The Properties for your project dialog opens.
- Click
Java Build Path from the Properties list.
- Click the
Libraries tab then expand
Web App Libraries in the JARS and class folders on the build path list.
- Expand your library.
- Click
Source attachment then click
Edit. The Source Attachment Configuration dialog opens.
- Click
External File and select your library's source in the file system. To define content assist for the JSF Widget Library (JWL), select the source files:
where <install_dir> is the directory where the shared plugins are installed, and <ver> is the plugin version.
- <install_dir>/plugins/com.ibm.etools.jsf.extended.<ver>/runtime/jsf-ibmsrc.zip
- <install_dir>/plugins/com.ibm.etools.jsf.client.<ver>/runtime/runtime/odc-jsfsrc.zip
Related concepts