This type of box is a data block composed of a text box that allows data entry. This block is generally used to enter, modify and display data of CLOB types, which may contain a large amount of code. This element is very useful for displaying programming languages since the system is responsible for colorizing the text contained depending on the type of language selected.

1 Parameters

Structure

Loading...

1.1 Main box


1.1.1 Box parameters

wic_jrep_box_formedit
Label Description
Box ID Box id.
Colname Column name of the BLOB field
Rows
Cols
Type Box type

  • Default: 0
  • Values:
    • 0: HTML.
    • 1: SQL.
    • 2: XML.
    • 3: XSL.
    • 4: JS.
    • 8: JSON.
    • 5: JSP.
    • 6: PLAIN.
    • 7: CSS.
    • 10: FreeMaker.
    • 200: XSQL-SELECT.
    • 210: XSQL-SCHEMA.
    • 215: XSQL-SCHEMA-CONV.
    • 220: XSQL-SCRIPT.
    • 230: XSQL-UDFUNC.
    • 240: XSQL-UDFUNC-INCL.
    • 250: XSQL-UDPROC.
    • 260: XSQL-UDPROC-INCL.
    • 270: XSQL-TRIGGER.
    • 280: XSQL-TRIGGER-INCL.
    • 300: XML-TRANSFORM.
    • 310: STUDIO-DOC.
Wrap Wrap type for textarea HTML tag:

  • OFF: Wordwrapping is disabled. The lines appear exactly as the user types them.
  • SOFT: Text is displayed with wordwrapping and submitted without carriage returns and line feeds.
  • HARD: Text is displayed with wordwrapping and submitted with soft returns and line feeds.


  • Default: 0
  • Values:
    • 0: OFF.
    • 1: SOFT.
    • 2: HARD.
DTD Column Column name which contains the DTD code
XSL Column Column name which contains the XSL code
Created by

  • Default: USER
Date created

  • Default: CURRENT
Modified by

  • Default: USER
Date updated

  • Default: CURRENT

2 Example

In the Form Edit maintenance, an edit box is added where you can enter, modify and display data of CLOB types.

2.1 Object definition

Sentencia SQL:

Copy
<select>
    <columns>
    	<rowid table='ejb_edit_example' />,
        ejb_edit_example.edit_id,
    	ejb_edit_example.edit_data,
        ejb_edit_example.edit_name,
    	ejb_edit_example.edit_size,
    	ejb_edit_example.edit_type
    </columns>
    <from table='ejb_edit_example'/>
</select>

2.2 Form Layout

Form Editor:

An EJB-EDIT type box is created where you can enter, modify and display data of CLOB types.

EJB-EDIT Box parameters:

  • Colname: edit_data.
  • Rows: 50
  • Cols: 0
  • Type: XML
  • Wrap: OFF

2.3 Result

This element is very useful for displaying programming languages, since the system is responsible for colorizing the text contained depending on the language type selected.