Class: SWS::Content
- Defined in:
- lib/sws/Core/components/Content/Content.rb
Overview
Represents content that has been wrapped in another Component - eg. the Form usually has some fields like TextField or SubmitButton contained within. This is very special component.
Instance Attribute Summary
Attributes inherited from Component
#action_components, #definition_component, #encoding, #html_attrs, #method_to_call, #name, #parameters, #parent, #request, #request_number, #slots, #subcomponents, #tokens
Instance Method Summary collapse
Methods inherited from Component
#api_filename, #app, #append_to_response, #awake, create, #create_component_tree, #definition_filename, #initialize, #page, #perform_action, #process_bindings, #process_parameters, #process_request, #remove_subcomponents, #session, #set_request_subcomponents, #sleep, #slot_bound?, #subcomponent_for_name, synchronize_slot, #synchronize_slot?, #synchronize_slots, #template_filename, #tokenize_binding, #update_binding, #url_string
Constructor Details
This class inherits a constructor from SWS::Component
Instance Method Details
#container? ⇒ Boolean
12 13 14 |
# File 'lib/sws/Core/components/Content/Content.rb', line 12 def container? () return false end |
#content? ⇒ Boolean
8 9 10 |
# File 'lib/sws/Core/components/Content/Content.rb', line 8 def content? () return true end |