CKGenericElement generates generic HTML tags.
Required attributes: tag
tag: | Name of the HTML tag. If the attribute is nil, body enclosed by the element or "string" attribute are displayed. |
enabled: | Enables or disables the tag. If the attribute is false, body enclosed by the element or "string" attribute are displayed. |
string: | String to display if body enclosed by the element isn’t exist. |
option: | String to append for the open tag. For example, "checked" or "selected". |
form_value: | If the element is form, the attribute is setted form datas as a string. |
form_values: | If the element is form, the attribute is setted form datas as an array. |
invoke_action: | If the element is executable ( hyperlink, button, etc. ), the method is called when clicked. |
You can define other voluntary attributes. The attributes is appended to the tag in format as "attribute=value".
bind_request
own_attributes
run
to_s