Interface DynamicActionAttributes

All Known Subinterfaces:
ListColumnAction<I,V>
All Known Implementing Classes:
AbstractJspActionFactory, AbstractJspFactory, AbstractJspRendererFactory, AbstractListColumnBean, AnyLinkColumn, AnyLinkColumnActionFactory, Body, Button, Button, Button.ButtonActionWrapper, ButtonBean, ButtonGroup, CalendarButton, ColumnDef, ColumnSubtitles, CompactButtonRendererFactory, Data, DebugOnSaveActionFactory, DynamicActionAttributeSupport, FieldInfo, FixedButtonFactory, FixedMenuItemFactory, FixedSkinActionFactory, FixedSkinActionFactory.MySkinAction, FixedStartPageFactory, FixedTabFactory, Form, Header, HeaderRow, Headers, Help, HideableSection, Icon, IncludeContentSectionFactory, IncludeContentTabFactory, Input, Label, LoginFormBean, MAPlotFactory, Menu, Menuitem, MenuItemBean, Menuseparator, Navigator, Panel, PasswordLoginFormFactory, Path, PathElement, PermissionButtonFactory, PermissionMenuItemFactory, PresetSelector, PropertyPathActionFactory, PropertyPathActionFactory.PropertyPathAction, RelatedItemAnnotationColumn, RelatedItemColumn, RelatedItemColumnActionFactory, RelatedItemErrorColumn, RelatedItemExtensionColumn, RelatedItemListColumn, RelatedItemMultiHopColumn, RelatedItemPropertyColumn, Row, Rows, Select, StylableTag, Submenu, SubtypeSelector, Tab, TabBean, TabControl, Table, Toolbar, ToolbarButtonRendererFactory, ViewAndDownloadActionFactory, Zoom

public interface DynamicActionAttributes
Supplementary interface for actions that need to be able to support dynamic attributes that are not pre-defined by the actual Action. Typcially, dynamic attributes are rendered (in HTML pages) as extra attributes in the main tag. For example:
<div ... data-extra-attribute="extra-value">...
For this to work, a Renderer implementation need to check if this interface is implemented by the action and then use this information for furthere processing. A few helper classes exists:
Since:
3.3
Author:
nicklas
  • Method Details

    • getDynamicActionAttributes

      Iterator<DynamicActionAttribute> getDynamicActionAttributes()
      Get an iterator that return all dynamic attributes. If no dynamic attributes have been defined, the method may return null or an iterator that doesn't return any elements.
      Returns:
      An iterator or null