public class ExportTableButtonView extends BaseCompositeViewControlPageBean
BaseViewBean.ClientIdsContentProvider
Modifier and Type | Field and Description |
---|---|
protected ISelectItemGroupProvider |
fCharacterEncodingSelectItemGroupProvider |
protected String |
fExportCharacterEncoding |
protected String |
fExportExcludeComponentsCSV |
protected String |
fExportFileName |
protected String |
fExportFor |
protected ITableContentProvider |
fExportProvider |
protected Boolean |
fExportShowEncodingDialog |
fCompositeNamingContainer
clientIds, initialized
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
ExportTableButtonView() |
Modifier and Type | Method and Description |
---|---|
void |
doExportButton_actionListener(ActionEvent actionEvent)
Action Listener for the control with id='doExportButton'
|
ISelectItemGroupProvider |
getAvailableExportCharacterEncodings() |
HtmlCommandButton |
getDoExportNowButton()
Getter method for the control with id='doExportNowButton'
|
String |
getExportCharacterEncoding()
Return the character encoding to use for the table export
|
String |
getExportExcludeComponentsCSV() |
String |
getExportFileName() |
String |
getExportFor() |
ITableContentProvider |
getExportProvider() |
HtmlOneWayToggleButton |
getShowExportDialogButton()
Getter method for the control with id='showExportDialogButton'
|
protected UIData |
getTableControl()
Returns the table control this export button is for or null.
|
protected List<UIComponent> |
hideExcludedComponents()
Hides the components specified by the
getExportExcludeComponentsCSV() property. |
boolean |
isExportShowEncodingDialog() |
void |
setExportCharacterEncoding(String exportCharacterEncoding)
Sets the character encoding to use for the table export
|
void |
setExportExcludeComponentsCSV(String excludeComponentsCSV) |
void |
setExportFileName(String exportFileName) |
void |
setExportFor(String tableComponentID) |
void |
setExportProvider(ITableContentProvider exportProvider) |
void |
setExportShowEncodingDialog(boolean showEncodingDialog) |
protected void |
showExcludedComponents(List<UIComponent> excluded)
Re-shows the specified list of components.
|
findComponentInRoot, getClientIds, getCompositeViewAbsoluteControlId, getCompositeViewControlId, getCompositeViewNamingContainer, getPropertyOrBindingValue, setCompositeViewNamingContainer
afterApplyRequestValues, afterInvokeApplication, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRenderResponse, beforeRestoreView, beforeUpdateModelValues, callInitialize, findComponent, getApplicationScope, getPhaseId, getRealPath, getRequestParam, getRequestScope, getSessionScope, gotoPage, gotoPage, initialize, isAsyncRequest, preRenderResponse, release, resetPageFlowStorage, streamFileDataToResponse
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
createMethodBinding, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
protected String fExportFor
protected String fExportExcludeComponentsCSV
protected String fExportCharacterEncoding
protected ISelectItemGroupProvider fCharacterEncodingSelectItemGroupProvider
protected String fExportFileName
protected ITableContentProvider fExportProvider
protected Boolean fExportShowEncodingDialog
public boolean isExportShowEncodingDialog()
public void setExportShowEncodingDialog(boolean showEncodingDialog)
public ITableContentProvider getExportProvider()
public void setExportProvider(ITableContentProvider exportProvider)
public String getExportFileName()
public void setExportFileName(String exportFileName)
public ISelectItemGroupProvider getAvailableExportCharacterEncodings()
public String getExportCharacterEncoding()
public void setExportCharacterEncoding(String exportCharacterEncoding)
exportCharacterEncoding
- The character encoding to set.public String getExportFor()
public void setExportFor(String tableComponentID)
public String getExportExcludeComponentsCSV()
public void setExportExcludeComponentsCSV(String excludeComponentsCSV)
public void doExportButton_actionListener(ActionEvent actionEvent)
protected UIData getTableControl()
protected List<UIComponent> hideExcludedComponents()
getExportExcludeComponentsCSV()
property.
Returns the list of components actually hidden.protected void showExcludedComponents(List<UIComponent> excluded)
public HtmlOneWayToggleButton getShowExportDialogButton()
public HtmlCommandButton getDoExportNowButton()