Technical Preview of Tags for WebFacing
at Run Time

At run-time is when conversion-time generated field JSP source will interact with the tag runtime library to emit the field's HTML. Matching the tag generators described on the conversion page there are three tag classes:

WFMTFld.java This tag will act transparently to process the contents of it's body into the JSP.

WFProgDef.java This tag will use the field and record name specified to extract the appropriate field data and emit that as the HTML into the JSP for the given field.

WFUserDef.java This tag will take the user defined HTML emitted by the generator and encapsulate it inside <span></span> and emit that into the JSP.

When examining the code please note that they all extend WFFieldTagSupport. This is an extension of WFBodyTagSupport which in turn is an extension of the basic BodyTagSupport. The WFFieldTagSupport provides methods for the extraction of the field data, generation of the field's HTML Id, determining if the field is currently visible or protected and the like.

Cautions

  1. There may be the desire to present the data from one record (JSP) on the JSP for a different record. In doing this you must be very aware of when the records are written so that the data require to render a given field is available when the JSP is run.
  2. All the constraints for html elements representing fields are not yet firm. The following should be considered: It is expected that many of the constraints will be relaxed or eliminated over time.