Dashboard > FarCry 3.0 Developers Guide > ... > widgets tags > typeadmin > typeadminbutton
FarCry 3.0 Developers Guide
typeadminbutton
Added by Geoff Bowers , last edited by Geoff Bowers on Mar 04, 2007  (view change)
Labels: 
(None)

DESCRIPTION

$Description: Button definitions for generic administration screen for content types, by typeadmin. $

USAGE
<cf_typeadminbutton
	buttontype="method"
	name="name of button"
	value="some value, doubles as label"
	onclick="some javascript for event" 
	url="some url"
	permission="some permission to check" 
	class="some html to passthrough on the input tag" />

Button types:
default button types including add, delete, unlock, dump, requestapproval, approve, sendtodraft
custom; must have accompanying method or url attribute
todo: hidden; input type=hidden

ATTRIBUTES
-> [buttontype]: type of button (required); 
-> [name]: name of the button (required);
-> [value]: value of the button, doubles as label (required);
-> [onclick]: onClick javascript event for button;
-> [FCDEV40:url]: url of action page;
-> [permission]: permission to check for button display;
-> [class]: class to assign to button;
-> [method]: required if buttontype="method"

Powered by a free Atlassian Confluence Open Source Project License granted to FarCry CMS. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators