org.chenillekit.tapestry.core.components
Class Button
java.lang.Object
org.chenillekit.tapestry.core.components.Button
- All Implemented Interfaces:
- ClientElement
@SupportsInformalParameters
@IncludeJavaScriptLibrary(value={"../Chenillekit.js","CkOnEvents.js"})
public class Button- extends Object
- implements ClientElement
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.
- Version:
- $Id: Button.java 682 2008-05-20 22:00:02Z homburgs $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Button
public Button()
getClientId
public String getClientId()
- Returns a unique id for the element. This value will be unique for any given rendering of a
page. This value is intended for use as the id attribute of the client-side element, and will
be used with any DHTML/Ajax related JavaScript.
- Specified by:
getClientId in interface ClientElement
Copyright © 2008-2009 ChenilleKit. All Rights Reserved.