org.apache.myfaces.tobago.taglib.decl
Interface HasAction

All Known Subinterfaces:
ButtonTagDeclaration, CommandTagDeclaration, LinkTagDeclaration, MenuCheckboxTagDeclaration, MenuCommandTagDeclaration, MenuRadioTagDeclaration, MenuSelectBooleanTagDeclaration, MenuSelectOneTagDeclaration, ToolBarCommandTagDeclaration, ToolBarSelectBooleanTagDeclaration, ToolBarSelectOneTagDeclaration
All Known Implementing Classes:
ButtonTag, CommandTag, LinkTag, MenuCheckboxTag, MenuCommandTag, MenuRadioTag, MenuSelectBooleanTag, MenuSelectOneTag, SelectBooleanCommandTag, SelectOneCommandTag, ToolBarCommandTag, ToolBarSelectBooleanTag, ToolBarSelectOneTag

public interface HasAction

$Id: HasAction.java 395244 2006-04-19 13:39:34Z bommel $


Method Summary
 void setAction(String action)
          Action to invoke when clicked.
 

Method Detail

setAction

void setAction(String action)
Action to invoke when clicked. This must be a MethodBinding or a String representing the application action to invoke when this component is activated by the user. The MethodBinding must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. The String is directly passed to the Navigationhandler.



Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.