Remove a flag from the HTML (if found)
Parameters: - flag -
public void
setContent
(String newContent)
[Inherited From JOTViewBlock]
If a content is defined(not null), then the "HTML element" block content will be replaced by
the value of newConetnt.
If a content is defined(not null), then the "HTML element" block content will be replaced by the value of newConetnt. ie:
xyzxyz
If newParam is set to "aaaaa", the rendered HTML page will show: aaaaaa If newParam is set to null, the rendered HTML page will show: xyzxyz
Parameters: - newContent - default:null
Used to set a FLAG on an html element. A flag is a property that as no value: for example things like "DISABLED" or "CHECKED"
Parameters: - flack -
public void
setTagProperty
(String name, String value)
This allows to redefine (or add new) HTML tags to the block.
This allows to redefine (or add new) HTML tags to the block. For example say you have this block: You have added the following htmlTags using setHtmlTags: ["class","css1"] ["border","2"] The htmnl output will look like this:
public void
setVisible
(boolean visible)
[Inherited From JOTViewBlock]
If set to false, the elemnt will be hidden "removed" from the generated HTML.
If set to false, the elemnt will be hidden "removed" from the generated HTML.
Parameters: - visible - default:true