Class SelectModelRenderer
java.lang.Object
org.apache.tapestry5.internal.util.SelectModelRenderer
- All Implemented Interfaces:
SelectModelVisitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginOptionGroup(OptionGroupModel groupModel) Invoked once for eachOptionGroupModel, just before invokingSelectModelVisitor.option(OptionModel)for each embedded option within the group.voidendOptionGroup(OptionGroupModel groupModel) Invoked after all options within the group have been visited.protected booleanisOptionSelected(OptionModel optionModel, String clientValue) If true, then the selected attribute will be written.voidoption(OptionModel optionModel) Invoked for each option within a group, and at the end, for each ungrouped option.
-
Constructor Details
-
SelectModelRenderer
-
-
Method Details
-
beginOptionGroup
Description copied from interface:SelectModelVisitorInvoked once for eachOptionGroupModel, just before invokingSelectModelVisitor.option(OptionModel)for each embedded option within the group.- Specified by:
beginOptionGroupin interfaceSelectModelVisitor
-
endOptionGroup
Description copied from interface:SelectModelVisitorInvoked after all options within the group have been visited.- Specified by:
endOptionGroupin interfaceSelectModelVisitor
-
option
Description copied from interface:SelectModelVisitorInvoked for each option within a group, and at the end, for each ungrouped option.- Specified by:
optionin interfaceSelectModelVisitor
-
isOptionSelected
If true, then the selected attribute will be written. This implementation always returns false.
-