Class | CGIKit::Component |
In: |
lib/cgikit/component.rb
|
Parent: | Element |
CACHE_TEMPLATE_DIR | = | 'cache' |
application | [RW] | |
context | [RW] | |
context_id | [RW] | |
declaration_name | [RW] | |
declaration_store | [RW] | |
parent | [R] | Parent component. |
path | [R] | Path for the component. |
subcomponents | [RW] |
Invoked after the component is restored to initialize. This method invokes deletage method did_restore_page() finally.
Allows a subcomponent to invoke an action method of its parent component bound to the child component.
Return true if parent component syncronizes bound attribute to self. Override this method returns false to create a non-synchronizing component.
Invoked when the component parses declarations. A hash returned by the method is used instead of declaration file.
Invoked when the component parses template. A string returned by the method is used instead of template file.
Invoked when saving the component. If the component has data can’t be saved or marshaled with FileSessionStore, you must clear the data in this method.