org.chenillekit.tapestry.core.components.Button

Render a button tag element and bind to it's "click" event an event on the server side. The event name is customizable and it defaults to "CLICKED". If button is typed as "page", you must fill the parameter "pageName" with an existing logical page name.

[JavaDoc]

Component Parameters

Name Type Flags Default Default Prefix Description
clientId String NOT Allow Null prop:componentResources.id literal The id used to generate a page-unique client-side identifier for the component. If a component renders multiple times, a suffix will be appended to the to id to ensure uniqueness.
context java.util.List NOT Allow Null prop The context for the link (optional parameter). This list of values will be converted into strings and included in the URI. The strings will be coerced back to whatever their values are and made available to event handler methods.
disabled boolean NOT Allow Null false prop dis-/enable the button.
event String NOT Allow Null clicked literal wich event should your application receiving.
pageName String NOT Allow Null literal The logical name of the page to link to.
type String NOT Allow Null button literal type of button. possible value are "button", "submit" and "cancel".

Informal parameters: supported


Back to index