java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
com.opensymphony.module.sitemesh.tapestry.SiteMeshBase
com.opensymphony.module.sitemesh.tapestry.Property
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent

public abstract class Property extends SiteMeshBase
Because Tapestry templating works differently than JSP taglibs, the writeEntireProperty feature is not implemented here. The built-in
 
   @Body component is most frequently used, to do something like this taglib example:
       <p>
       <body bgcolor="White"<decorator:getProperty property="body.onload" writeEntireProperty="true" />>
       <p>
       it would be done like this in Tapestry:
       <p>
       <body jwcid="@Body" bgcolor="White" onload=
       "ognl:@org.opensymphony.module.sitemesh.tapestry@Util.getProperty('onload', requestCycle)"/>
 
 
Author:
Erik Hatcher
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract String
    Gets the default.
    abstract String
    Gets the property.
    Gets the value.

    Methods inherited from class com.opensymphony.module.sitemesh.tapestry.SiteMeshBase

    getSiteMeshPage

    Methods inherited from class org.apache.tapestry.BaseComponent

    addOuter, finishLoad, renderComponent

    Methods inherited from class org.apache.tapestry.AbstractComponent

    addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString

    Methods inherited from class org.apache.hivemind.impl.BaseLocatable

    getLocation, setLocation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.tapestry.IComponent

    addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty

    Methods inherited from interface org.apache.tapestry.IRender

    render

    Methods inherited from interface org.apache.hivemind.Locatable

    getLocation

    Methods inherited from interface org.apache.hivemind.LocationHolder

    setLocation
  • Constructor Details

    • Property

      public Property()
  • Method Details

    • getProperty

      public abstract String getProperty()
      Gets the property.
      Returns:
      the property
    • getDefault

      public abstract String getDefault()
      Gets the default.
      Returns:
      the default
    • getValue

      public String getValue()
      Gets the value.
      Returns:
      the value