JSF-Spring

de.mindmatters.faces.taglib.facelets
Class HtmlSimpleOutcomeActionSourceComponentHandler

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by com.sun.facelets.tag.MetaTagHandler
          extended by com.sun.facelets.tag.jsf.ComponentHandler
              extended by com.sun.facelets.tag.jsf.html.HtmlComponentHandler
                  extended by de.mindmatters.faces.taglib.facelets.HtmlSimpleOutcomeActionSourceComponentHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

public class HtmlSimpleOutcomeActionSourceComponentHandler
extends com.sun.facelets.tag.jsf.html.HtmlComponentHandler

HtmlSimpleOutcomeActionSourceComponentHandler is a TagHandler for ActionSource components .

Author:
Andreas Kuhrwahl
See Also:
ActionSource

Field Summary
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
HtmlSimpleOutcomeActionSourceComponentHandler(com.sun.facelets.tag.jsf.ComponentConfig config)
          Default facelet constructor.
 
Method Summary
protected  com.sun.facelets.tag.MetaRuleset createMetaRuleset(java.lang.Class type)
          Extend this method in order to add your own rules.
protected  void setActionProperty(com.sun.facelets.FaceletContext ctx, ActionSource actionSource, com.sun.facelets.tag.TagAttribute actionAttribute)
          Sets the action property on the associated ActionSource actionSource.
protected  void setAttributes(com.sun.facelets.FaceletContext ctx, java.lang.Object instance)
          Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
 
Methods inherited from class com.sun.facelets.tag.jsf.ComponentHandler
apply, applyNextHandler, createComponent, getId, onComponentCreated, onComponentPopulated
 
Methods inherited from class com.sun.facelets.tag.TagHandler
findNextByType, getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HtmlSimpleOutcomeActionSourceComponentHandler

public HtmlSimpleOutcomeActionSourceComponentHandler(com.sun.facelets.tag.jsf.ComponentConfig config)
Default facelet constructor.

Parameters:
config - The component configuration
Method Detail

createMetaRuleset

protected com.sun.facelets.tag.MetaRuleset createMetaRuleset(java.lang.Class type)
Extend this method in order to add your own rules.

Overrides:
createMetaRuleset in class com.sun.facelets.tag.jsf.html.HtmlComponentHandler
Returns:

setAttributes

protected void setAttributes(com.sun.facelets.FaceletContext ctx,
                             java.lang.Object instance)
Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.

Overrides:
setAttributes in class com.sun.facelets.tag.MetaTagHandler

setActionProperty

protected void setActionProperty(com.sun.facelets.FaceletContext ctx,
                                 ActionSource actionSource,
                                 com.sun.facelets.tag.TagAttribute actionAttribute)
Sets the action property on the associated ActionSource actionSource.

Parameters:
ctx - the FaceletContext
actionSource - the ActionSource
actionAttribute - the action TagAttribute

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG