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

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

public interface HasAction

$Id: HasAction.java 601107 2007-12-04 22:12:14Z 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-2008 Apache Software Foundation. All Rights Reserved.