org.chenillekit.tapestry.core.components
Class Button
java.lang.Object
org.chenillekit.tapestry.core.components.Button
- All Implemented Interfaces:
- ClientElement
@SupportsInformalParameters
@Import(library={"../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 parameter pageName is given the component act like a PageLink
to the page corresponding to the logical name pageName.
- Version:
- $Id: Button.java 674 2010-07-29 12:47:25Z 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-2011 ChenilleKit. All Rights Reserved.