Class: BBMB::Html::View::Search
- Inherits:
-
HtmlGrid::DivForm
- Object
- HtmlGrid::DivForm
- BBMB::Html::View::Search
- Defined in:
- lib/bbmb/html/view/search.rb
Direct Known Subclasses
Constant Summary collapse
- CSS_ID =
'search'
- COMPONENTS =
{ [0,0] => :query, [1,0] => :submit, }
- EVENT =
:search
- FORM_NAME =
'search'
- SYMBOL_MAP =
{ :query => HtmlGrid::InputText }
Instance Method Summary collapse
Instance Method Details
#init ⇒ Object
20 21 22 23 24 |
# File 'lib/bbmb/html/view/search.rb', line 20 def init super url = @lookandfeel._event_url(event, :query => nil) self.onsubmit = "document.location.href='#{url}'+this.query.value; return false" end |