@Name(value="suggestionActions") @Scope(value=EVENT) public class SuggestionActionsBean extends Object implements Serializable
Constructor and Description |
---|
SuggestionActionsBean() |
Modifier and Type | Method and Description |
---|---|
void |
addBoundSelectionToList(ActionEvent event)
Adds selection from selector as a list element
|
void |
addSelectionToList(ActionEvent event)
Deprecated.
use
addBoundSelectionToList(ActionEvent) which
retrieves selected value from bound method instead of
retrieving suggestion input. |
void |
addSingleBoundSelection(ActionEvent event)
Adds selection from selector as single element
|
void |
addSingleSelection(ActionEvent event)
Deprecated.
use
addBoundSelectionToList(ActionEvent) which
retrieves selected value from bound method instead of
retrieving suggestion input. |
void |
clearSingleSelection(ActionEvent event)
Clears single selection.
|
String |
getSelectedValue() |
void |
setSelectedValue(String selectedValue) |
public String getSelectedValue()
public void setSelectedValue(String selectedValue)
public void addBoundSelectionToList(ActionEvent event)
Must pass request parameter "suggestionSelectionListId" holding the
binding to model. Selection will be retrieved using the
getSelectedValue()
method.
@Deprecated public void addSelectionToList(ActionEvent event)
addBoundSelectionToList(ActionEvent)
which
retrieves selected value from bound method instead of
retrieving suggestion input.Must pass request parameters "suggestionInputSelectorId" holding the value to pass to the binding component, "suggestionSelectionListId" holding the binding to model.
public void addSingleBoundSelection(ActionEvent event)
Must pass request parameters "suggestionSelectionOutputId" holding the
value to show, and "suggestionSelectionHiddenId" holding the binding to
model. Selection will be retrieved using the getSelectedValue()
method. Since 5.5, only one of these two parameters is required.
Additional optional request parameter "suggestionSelectionDeleteId" can be used to show an area where the "clear" button is shown.
@Deprecated public void addSingleSelection(ActionEvent event)
addBoundSelectionToList(ActionEvent)
which
retrieves selected value from bound method instead of
retrieving suggestion input.Must pass request parameters "suggestionInputSelectorId" holding the value to pass to the binding component, "suggestionSelectionOutputId" holding the value to show, and "suggestionSelectionHiddenId" holding the binding to model.
Additional optional request parameter "suggestionSelectionDeleteId" can be used to show an area where the "clear" button is shown. *
public void clearSingleSelection(ActionEvent event)
Must pass request parameters "suggestionSelectionOutputId" holding the value to show, and "suggestionSelectionHiddenId" holding the binding to model. Since 5.5, only one of these two parameters is required.
Additional optional request parameter "suggestionSelectionDeleteId" can be used to hide an area where the "clear" button is shown.
Copyright © 2013 Nuxeo SA. All Rights Reserved.