org.apache.tapestry5.corelib.components
Class Any

java.lang.Object
  extended by org.apache.tapestry5.corelib.components.Any
All Implemented Interfaces:
ClientElement

@SupportsInformalParameters
public class Any
extends Object
implements ClientElement

Renders an arbitrary element including informal parameters.

Parameters:
NameTypeFlagsDefaultDefault PrefixSinceDescription
clientIdjava.lang.Stringprop:componentResources.idliteralThe desired client id, which defaults to the components id.
elementjava.lang.Stringliteral

Constructor Summary
Any()
           
 
Method Summary
 String getClientId()
          Returns the client id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Any

public Any()
Method Detail

getClientId

public String getClientId()
Returns the client id. This has side effects: this first time this is called (after the Any component renders its start tag), a unique id is allocated (based on, and typically the same as, the clientId parameter, which defaults to the component's id). The rendered element is updated, with its id attribute set to the unique client id, which is then returned.

Specified by:
getClientId in interface ClientElement
Returns:
unique client id for this component


Copyright © 2003-2012 The Apache Software Foundation.