Figure 1 is an example of specifying the "remarks" item as a text area.By default, three lines of input fields are prepared.
Remarks item is a character string type.
Opens the model item detail definition dialog.Specify "Text area" in "Input control> Input item type".
Figure 3 shows an example in which the number of lines in the text area is 10 lines and the number of characters per line (70 characters).
Specify "number of lines" and "number of characters per line" in "text area> normal" in the input control tab respectively.
If you specify a text area (rich), you can specify character qualification and layout.(FIG. 5, FIG. 6)
Even on the detailed display screen after saving, it will be qualified.(FIG. 7)
Opens the model item detail definition dialog.Specify "Text area (rich)" in "Input control> Input item type".
You can set the "height" and "width" of the rich text area.
In the width setting, you can set px, em,% in units.As for height setting, it is not possible to set the relative value for the parent element, so you can only set px, em.
When only numerical values are set, the unit is "px".
You can embed images.The target image must be specified by URL.
You can also specify a file under Wagby's img folder in the image file.Please specify "./img/ image file name" as URL.
On the input screen, you can check the HTML source directly.
Of six types of plugins, you can choose what to use.By default, "style" "font size" "color" "list" "indent" "layout" is selected.
When using text area (rich), please pay attention to the following points.
On the detail display screen, text area items are displayed as "read only".(FIG. 14)
By setting to display text area as label, you can erase the frame in the text area.(FIG. 15)
Opens the "Output control" tab of the model item detail definition dialog.Enable "Display by text area> Label".
The number of text area lines on the list update screen can be specified separately. For details, please read "Screen> Update List> Number of lines and number of characters in text area".
Wagby may modify the table definition of the related model if you change the text type item to the text area (or vice versa, canceling the text area designation).For example, if MySQL is used as the external database, varchar type is applied for normal character string type, text type is used for text area.
There is an upper limit of "number of characters that can be stored" in the item where the text area is specified.This varies depending on the database. To change this, please specify "type of table definition" directly.
|Database||String||String (text area)|
|HSQLDB (embedded database)||varchar(4000)||varchar(4000)|
Depending on the Web browser you use, the behavior of the text area changes.
The text area resizing function can not be used depending on the web browser.Figure 18 shows Google Chrome when using Windows 7, and Figure 19 shows an example using Internet Explorer 11.
For text areas that are not rich, hold the line feed character "LF" (\ n).