Class Tab

java.lang.Object
org.openxava.web.dwr.Tab

public class Tab extends Object
For accessing to the Tab from DWR.

Author:
Javier Paniza
  • Constructor Summary

    Constructors
    Constructor
    Description
    Tab()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static void
    checkSecurity(javax.servlet.http.HttpServletRequest request, String application, String module)
     
    protected void
     
    filterColumns(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, String searchWord)
     
    protected static ModuleContext
    getContext(javax.servlet.http.HttpServletRequest request)
     
    protected void
    initRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module)
     
    void
    moveProperty(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String tableId, int from, int to)
     
    void
    removeProperty(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, String property, String tabObject)
     
    void
    setColumnWidth(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String columnId, int index, int width)
     
    void
    setFilterVisible(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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Tab

      public Tab()
  • Method Details

    • setFilterVisible

      public void setFilterVisible(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, boolean filterVisible, String tabObject)
    • 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 request
      response - The HTTP response
      application - The application name
      module - The module name
      row - The row number (0-based)
      property - The property name
      value - The new value
      tabObject - The tab object name
      Returns:
      Confirmation or error message
    • removeProperty

      public void removeProperty(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, String property, String tabObject)
    • 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

      public String filterColumns(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String application, String module, String searchWord)
    • getContext

      protected static ModuleContext getContext(javax.servlet.http.HttpServletRequest request)
    • 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

      protected static void checkSecurity(javax.servlet.http.HttpServletRequest request, String application, String module)