sf.net.kayestry.components.linksubmitscript
Class LinkSubmitScript

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.form.AbstractFormComponent
              extended by sf.net.kayestry.components.linksubmitscript.LinkSubmitScript
All Implemented Interfaces:
org.apache.tapestry.form.IFormComponent, org.apache.tapestry.IComponent, org.apache.tapestry.ILocatable, org.apache.tapestry.ILocationHolder, org.apache.tapestry.IRender

public abstract class LinkSubmitScript
extends org.apache.tapestry.form.AbstractFormComponent

Basado en LinkSubmit, de Tapestry. TODO: documentar


Field Summary
static java.lang.String ATTRIBUTE_FUNCTION_NAME
          The name of an IRequestCycle attribute in which the link submit component that generates the javascript function is stored.
static java.lang.String ATTRIBUTE_NAME
          The name of an IRequestCycle attribute in which the current submit link is stored.
 
Constructor Summary
LinkSubmitScript()
           
 
Method Summary
abstract  org.apache.tapestry.IActionListener getListener()
           
abstract  org.apache.tapestry.IBinding getSelectedBinding()
           
abstract  java.lang.Object getTag()
           
abstract  boolean isDisabled()
           
protected  void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
           
abstract  void setDisabled(boolean disabled)
           
abstract  void setListener(org.apache.tapestry.IActionListener listener)
           
abstract  void setSelectedBinding(org.apache.tapestry.IBinding value)
           
abstract  void setTag(java.lang.Object tag)
           
 
Methods inherited from class org.apache.tapestry.form.AbstractFormComponent
getDisplayName, getForm, getForm, getName, setForm, setName
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
Methods inherited from class org.apache.tapestry.spec.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, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

ATTRIBUTE_NAME

public static final java.lang.String ATTRIBUTE_NAME
The name of an IRequestCycle attribute in which the current submit link is stored. LinkSubmits do not nest.

See Also:
Constant Field Values

ATTRIBUTE_FUNCTION_NAME

public static final java.lang.String ATTRIBUTE_FUNCTION_NAME
The name of an IRequestCycle attribute in which the link submit component that generates the javascript function is stored. The function is only required once per page (containing a form with a non-disabled LinkSubmit)

See Also:
Constant Field Values
Constructor Detail

LinkSubmitScript

public LinkSubmitScript()
Method Detail

renderComponent

protected void renderComponent(org.apache.tapestry.IMarkupWriter writer,
                               org.apache.tapestry.IRequestCycle cycle)
Specified by:
renderComponent in class org.apache.tapestry.AbstractComponent

isDisabled

public abstract boolean isDisabled()

setDisabled

public abstract void setDisabled(boolean disabled)

getListener

public abstract org.apache.tapestry.IActionListener getListener()

setListener

public abstract void setListener(org.apache.tapestry.IActionListener listener)

getTag

public abstract java.lang.Object getTag()

setTag

public abstract void setTag(java.lang.Object tag)

setSelectedBinding

public abstract void setSelectedBinding(org.apache.tapestry.IBinding value)

getSelectedBinding

public abstract org.apache.tapestry.IBinding getSelectedBinding()


Copyright © 2006 Kaya. All Rights Reserved.