@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(javax.faces.event.ActionEvent event)
Adds selection from selector as a list element
|
void |
addSelectionToList(javax.faces.event.ActionEvent event)
Deprecated.
use
addBoundSelectionToList(ActionEvent) which retrieves selected value from bound method
instead of retrieving suggestion input. |
void |
addSingleBoundSelection(javax.faces.event.ActionEvent event)
Adds selection from selector as single element
|
void |
addSingleSelection(javax.faces.event.ActionEvent event)
Deprecated.
use
addBoundSelectionToList(ActionEvent) which retrieves selected value from bound method
instead of retrieving suggestion input. |
void |
clearSingleSelection(javax.faces.event.ActionEvent event)
Clears single selection.
|
String |
getSelectedValue() |
void |
setSelectedValue(String selectedValue) |
public String getSelectedValue()
public void setSelectedValue(String selectedValue)
public void addBoundSelectionToList(javax.faces.event.ActionEvent event)
Must pass request parameter "suggestionSelectionListId" holding the binding to model. Selection will be retrieved
using the getSelectedValue()
method.
@Deprecated public void addSelectionToList(javax.faces.event.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(javax.faces.event.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(javax.faces.event.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(javax.faces.event.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 © 2015 Nuxeo SA. All rights reserved.