Class: Lapillus::Pager::FirstButton

Inherits:
PagerButton show all
Defined in:
lib/lapillus/pager.rb

Instance Attribute Summary

Attributes inherited from Container

#components

Attributes inherited from Component

#behaviours, #identifier, #model, #property, #visible

Instance Method Summary collapse

Methods inherited from PagerButton

#initialize

Methods inherited from AjaxLink

#initialize, #on_click_handler=, #render_component, #render_to_element

Methods inherited from Container

#[], #add, add_component, #component, fileuploadfield, image, #initialize, label, listview, panel, password_textfield, #post, #render_container, textarea, textfield

Methods inherited from Component

#add_behaviour, #behaviour, #has_behaviour?, #has_model?, #has_parent?, #initialize, #on_render, #parent, #path, #render_component, #response_page=, #session, #value, #visible?, #webpage

Constructor Details

This class inherits a constructor from Lapillus::Pager::PagerButton

Instance Method Details

#on_clickObject



61
62
63
# File 'lib/lapillus/pager.rb', line 61

def on_click
  @pager.current = 1
end