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 "Tag Conversion Design"

 
(Overview)
Line 2: Line 2:
  
 
This design note describes a proposed design for model view conversion from JSP/JSF tags to HTML in the Visual Page Designer.  '''This document should be considered tentative and highly subject change.'''
 
This design note describes a proposed design for model view conversion from JSP/JSF tags to HTML in the Visual Page Designer.  '''This document should be considered tentative and highly subject change.'''
 +
 +
The design-time render engine for the Visual Page Designer (VPD) is an HTML/CSS visual renderer.  It relies on a transformed view of the JSP page model that approximates the HTML/CSS output that the real runtime servlet would generate to render a page.  To accomplish the conversion of the design time model, the VPD uses the concept of a ''ITagConverter''.
 +
 +
One or more factories is consulted to construct ''ITagConverter'' for each tag found in the source document.  For each tag that has an ''ITagConverter'' constructed, transforming of the tag to the corresponding HTML is delegated.
  
 
==Tag Conversion Factories==
 
==Tag Conversion Factories==

Revision as of 17:31, 8 January 2007

Overview

This design note describes a proposed design for model view conversion from JSP/JSF tags to HTML in the Visual Page Designer. This document should be considered tentative and highly subject change.

The design-time render engine for the Visual Page Designer (VPD) is an HTML/CSS visual renderer. It relies on a transformed view of the JSP page model that approximates the HTML/CSS output that the real runtime servlet would generate to render a page. To accomplish the conversion of the design time model, the VPD uses the concept of a ITagConverter.

One or more factories is consulted to construct ITagConverter for each tag found in the source document. For each tag that has an ITagConverter constructed, transforming of the tag to the corresponding HTML is delegated.

Tag Conversion Factories

Transformation-based Tag Converters

Archetype-driven Transforms

Back to the top