Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Facelet Functional Test"

(Content Assist)
(Content Assist)
Line 3: Line 3:
 
==Content Assist==
 
==Content Assist==
  
For all these tests, start with a Dynamic Web Project with the JSF 1.2/Facelet facets.  Create an xhtml 1.0 Transitional file in the WebContent root directory.
+
For all these tests, start with a Dynamic Web Project with the JSF 1.2/Facelet facets.  Ensure that JSF runtime, JSTL 1.2 and the facelet jars in the classpath.  Create an XHTML 1.0 Transitional file in the WebContent root directory.
  
 
===Namespace Assist===
 
===Namespace Assist===
 +
 +
====Basic insertion====
 +
 +
# Place the cursor inside the html tag.
 +
# Add the text ''xmlns:f=''.  Verify that content assist activates after the equals sign.
 +
# With the cursor after the ''='' sign, and Ctrl-Space.
 +
# Verify again the content assist is activated with the following options:
 +
[[Image:FaceletNamespaceContentAssist.png]]
 +
  
 
===Tag Assist===
 
===Tag Assist===

Revision as of 17:39, 21 May 2008

Feature Test

Content Assist

For all these tests, start with a Dynamic Web Project with the JSF 1.2/Facelet facets. Ensure that JSF runtime, JSTL 1.2 and the facelet jars in the classpath. Create an XHTML 1.0 Transitional file in the WebContent root directory.

Namespace Assist

Basic insertion

  1. Place the cursor inside the html tag.
  2. Add the text xmlns:f=. Verify that content assist activates after the equals sign.
  3. With the cursor after the = sign, and Ctrl-Space.
  4. Verify again the content assist is activated with the following options:

FaceletNamespaceContentAssist.png


Tag Assist

Attribute Name Assist

Static Attribute Value Assist

EL Content Assist

Validation

Hover Help

Hyperlink

Back to the top