Class MobileView

java.lang.Object
com.groiss.smartclient.mobile.MobileView

public class MobileView extends Object
Used to show some mobile view without the need for the entire mobile client.
  • Constructor Details

    • MobileView

      public MobileView()
  • Method Details

    • show

      public HTMLPage show(HttpServletRequest req)
      Servlet Method: Show view using action described in module parameter.
      Parameters:
      req -
      Returns:
      HTML page which loads the required module
    • show

      public HTMLPage show(String module)
      Parameters:
      module - action showing a view to use
      Returns:
      HTML page which loads the required module
    • show

      public HTMLPage show(String module, boolean debug)
      Parameters:
      module - action showing a view to use
      debug - set to true to force dojo debug.
      Returns:
      HTML page which loads the required module
    • show

      public HTMLPage show(String title, String module)
      Parameters:
      title - title shown in browser
      module - action showing a view to use
      Returns:
      * @return HTML page which loads the required module
    • show

      public HTMLPage show(String title, String module, boolean debug)
      Parameters:
      title - title shown in browser
      module - action showing a view to use
      debug - set to true to force dojo debug.
      Returns:
      HTML page which loads the required module
    • show

      public HTMLPage show(String title, String module, JSONObject args)
      Parameters:
      title - title shown in browser
      module - action showing a view to use
      args - given to action instance
      Returns:
      HTML page which loads the required module
    • show

      public HTMLPage show(String title, String module, JSONObject args, boolean debug)
      Parameters:
      title - title shown in browser
      module - action showing a view to use
      args - given to action instance
      debug - set to true to force dojo debug. Is taken from configuration otherwise.
      Returns:
      HTML page which loads the required module