API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web.widget. JOTWidgetNoAjaxBase View Javadoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

/*
 * JavaOnTrack/Jotwiki
 * Thibaut Colar.
 * tcolar-jot AT colar  DOT net
 */
package net.jot.web.widget;

import java.util.Hashtable;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.jot.web.JOTFlowRequest;
import net.jot.web.view.JOTView;

/**
 * Widget Base but without Ajaxa support / javascript
 * @author thibautc
 */
public abstract class JOTWidgetNoAjaxBase extends JOTWidgetBase
{

    // Disabling ajax
    public boolean isAjaxEnabled()
    {
        return false;
    }
    
    public String getAjaxCallbackJavascript()
    {
        // not ajax enabled
        return "";
    }

    public Hashtable widgetAjaxCall(JOTFlowRequest request)
    {
        // not ajax enabled
        return null;
    }

    public String getAjaxAction()
    {
        // not ajax enabled
        return null;
    }
    
}

Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar