Package org.openxava.web.dwr
Class Tab
java.lang.Object
org.openxava.web.dwr.Tab
For accessing to the Tab from DWR.
- Author:
- Javier Paniza
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidcheckSecurity(javax.servlet.http.HttpServletRequest request, String application, String module) protected voidfilterColumns(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, String searchWord) protected static ModuleContextgetContext(javax.servlet.http.HttpServletRequest request) protected voidinitRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module) voidmoveProperty(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String tableId, int from, int to) voidremoveProperty(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, String property, String tabObject) voidsetColumnWidth(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String columnId, int index, int width) voidsetFilterVisible(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, boolean filterVisible, String tabObject) updateValue(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, int row, String property, String value) Updates a cell value in an editable list.
-
Constructor Details
-
Tab
public Tab()
-
-
Method Details
-
setFilterVisible
-
updateValue
public String updateValue(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, int row, String property, String value) Updates a cell value in an editable list.- Parameters:
request- The HTTP requestresponse- The HTTP responseapplication- The application namemodule- The module namerow- The row number (0-based)property- The property namevalue- The new valuetabObject- The tab object name- Returns:
- Confirmation or error message
-
removeProperty
-
moveProperty
public void moveProperty(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String tableId, int from, int to) - Since:
- 5.2
-
setColumnWidth
public void setColumnWidth(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String columnId, int index, int width) -
filterColumns
-
getContext
-
initRequest
protected void initRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module) - Since:
- 5.4
-
cleanRequest
protected void cleanRequest() -
checkSecurity
-