org.apache.tapestry5.corelib.components
Class Submit
java.lang.Object
org.apache.tapestry5.corelib.components.Submit
- All Implemented Interfaces:
- ClientElement
@SupportsInformalParameters
@Events(value="selected by default, may be overridden")
public class Submit
- extends Object
- implements ClientElement
Corresponds to <input type="submit"> or <input type="image">, a client-side element that can force the
enclosing form to submit. The submit responsible for the form submission will post a notification that allows the
application to know that it was the responsible entity. The notification is named "selected" and has no context.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Submit
public Submit()
getClientId
public String getClientId()
- Returns the component's client id. This must be called after the component has rendered. The id is allocated
lazily (first time this method is invoked).
- Specified by:
getClientId in interface ClientElement
- Returns:
- client id for the component
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.