Class | CGIKit::DynamicElement |
In: |
lib/cgikit/element.rb
lib/cgikit/lang/ja.rb |
Parent: | Element |
The super class of dynamic element classes. Dynamic elements convert themselves to HTML. These are very important in development with CGIKit.
Element objects, including components, are usually instantiated by Element.instance. This method loads elements/components and creates element objects. In this method, some paths are searched to require files.
The searched paths:
The latter two paths are for extention elements or components. It is recommended that your own elements or components are installed in the 1st path.
DELETE_KEYS | = | [] |
application | [RW] | |
context_id | [RW] | |
name | [RW] | |
parent | [RW] | |
root | [RW] | |
values | [RW] |
Invoked when encode_string() raised an error. This method should be return string.