Class Wee::Brush::ImageButtonTag
In: lib/wee/html_brushes.rb
Parent: Brush::ActionInputTag

NOTE: The form-fields returned by a image-button-tag is browser-specific. Most browsers do not send the "name" key together with the value specified by "value", only "name.x" and "name.y". This conforms to the standard. But Firefox also sends "name"="value". This is why I raise an exception from the value method. Note that it‘s neccessary to parse the passed form-fields and generate a "name" fields in the request, to make this image-button work.

Methods

new  

Constants

HTML_TYPE = 'image'.freeze

Public Class methods

[Source]

# File lib/wee/html_brushes.rb, line 405
    def initialize
      super(HTML_TYPE)
    end

[Validate]