Fb:editor-button

From Facebook Developer Wiki

Revision as of 05:38, 17 September 2009 by Gomathi Hariharan (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Description

Renders a button of type submit inside an fb:editor tag.

This tag can be a child of an fb:editor-buttonset container to render multiple buttons next to each other. If the button is not in a fb:editor-buttonset, the button still renders, but is not styled as an editor-button.[possible bug?]

Attributes

RequiredNameTypeDescription
required value string The text label for the button.
optional name string The variable name that is sent in the POST request when the form is submitted.

Examples

<fb:editor action="?do-it"> <fb:editor-buttonset> <fb:editor-button value="Add" name="add"/> <fb:editor-button value="Recommend" name="recommend"/> </fb:editor-buttonset> </fb:editor>
fbeditorbuttonhe0.gif
reference