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
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
setType
(int type)
Manually set/update an element type
Manually set/update an element type
Parameters: - type -
Easy way to set the value of an element
for example for most fields it's the value="" property
but for a textarea it will be the content
and for a checkbox a SELECTED flag etc...
Easy way to set the value of an element for example for most fields it's the value="" property but for a textarea it will be the content and for a checkbox a SELECTED flag etc...
Parameters: - htmlValue -
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
public void
unsetTagProperty
(String name)
[Inherited From JOTViewTag]
Unset a tag property, so that it will be left alone.
Unset a tag property, so that it will be left alone.
Parameters: - name -
- value -