source: ether_2012/work/org/apache/jsp/visualization/visu_005fplateform_002dclasses_jsp.java @ 319

Last change on this file since 319 was 319, checked in by vmipsl, 12 years ago

Import du projet Ether pour le nouveau look 2012

File size: 5.3 KB
Line 
1package org.apache.jsp.visualization;
2
3import javax.servlet.*;
4import javax.servlet.http.*;
5import javax.servlet.jsp.*;
6
7public final class visu_005fplateform_002dclasses_jsp extends org.apache.jasper.runtime.HttpJspBase
8    implements org.apache.jasper.runtime.JspSourceDependent {
9
10  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
11
12  private static java.util.List _jspx_dependants;
13
14  private javax.el.ExpressionFactory _el_expressionfactory;
15  private org.apache.AnnotationProcessor _jsp_annotationprocessor;
16
17  public Object getDependants() {
18    return _jspx_dependants;
19  }
20
21  public void _jspInit() {
22    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
23    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
24  }
25
26  public void _jspDestroy() {
27  }
28
29  public void _jspService(HttpServletRequest request, HttpServletResponse response)
30        throws java.io.IOException, ServletException {
31
32    PageContext pageContext = null;
33    HttpSession session = null;
34    ServletContext application = null;
35    ServletConfig config = null;
36    JspWriter out = null;
37    Object page = this;
38    JspWriter _jspx_out = null;
39    PageContext _jspx_page_context = null;
40
41
42    try {
43      response.setContentType("text/html");
44      pageContext = _jspxFactory.getPageContext(this, request, response,
45                        null, true, 8192, true);
46      _jspx_page_context = pageContext;
47      application = pageContext.getServletContext();
48      config = pageContext.getServletConfig();
49      session = pageContext.getSession();
50      out = pageContext.getOut();
51      _jspx_out = out;
52
53      out.write("<script type=\"text/javascript\">\n");
54      out.write("/* ************************************************** */\n");
55      out.write("/* ****************** LISTS ************************* */\n");
56      out.write("/* ************************************************** */\n");
57      out.write("\n");
58      out.write("var ListPlatforms = Class.create(ListItem, {\n");
59      out.write("\n");
60      out.write("    createItemDiv: function( itemHash, objectParameter )\n");
61      out.write("    {\n");
62      out.write("        return new Plateform(itemHash, objectParameter);\n");
63      out.write("    }\n");
64      out.write("});\n");
65      out.write("\n");
66      out.write("var ListParameters = Class.create(ListItem, {\n");
67      out.write("\n");
68      out.write("    createItemDiv: function( itemHash, objectParameter )\n");
69      out.write("    {\n");
70      out.write("        return new Parameter(itemHash, objectParameter);\n");
71      out.write("    }\n");
72      out.write("});\n");
73      out.write("\n");
74      out.write("\n");
75      out.write("/* ***************************************************** */\n");
76      out.write("/* ****************** ELEMENTS ************************* */\n");
77      out.write("/* ***************************************************** */\n");
78      out.write("var Plateform = Class.create(Item, {\n");
79      out.write("\n");
80      out.write("    display : function( parentNode, className )\n");
81      out.write("    {\n");
82      out.write("        this.createContainer(\"containerPlateform\",\"containerPlateform \"+className);\n");
83      out.write("        this.addName(\"plateform_name\");\n");
84      out.write("        this.appendContainer(parentNode);\n");
85      out.write("        this.addObservers();\n");
86      out.write("    },\n");
87      out.write("\n");
88      out.write("    select: function()\n");
89      out.write("    {\n");
90      out.write("        this.selectWithParameter(\"plateform_selected\");\n");
91      out.write("    },\n");
92      out.write("\n");
93      out.write("    unselect: function()\n");
94      out.write("    {\n");
95      out.write("        this.unselectWithParameter(\"plateform_selected\");\n");
96      out.write("    }\n");
97      out.write("});\n");
98      out.write("\n");
99      out.write("var Parameter = Class.create(Item, {\n");
100      out.write("\n");
101      out.write("    display : function( parentNode, className )\n");
102      out.write("    {\n");
103      out.write("        this.createContainer(\"containerParameter\",\"containerParameter \"+className);\n");
104      out.write("        this.addName(\"parameter_name\");\n");
105      out.write("        this.appendContainer(parentNode);\n");
106      out.write("        this.addObservers();\n");
107      out.write("    },\n");
108      out.write("\n");
109      out.write("    select: function()\n");
110      out.write("    {\n");
111      out.write("        this.selectWithParameter(\"parameter_selected\");\n");
112      out.write("    },\n");
113      out.write("\n");
114      out.write("    unselect: function()\n");
115      out.write("    {\n");
116      out.write("        this.unselectWithParameter(\"parameter_selected\");\n");
117      out.write("    }\n");
118      out.write("});\n");
119      out.write("</script>");
120    } catch (Throwable t) {
121      if (!(t instanceof SkipPageException)){
122        out = _jspx_out;
123        if (out != null && out.getBufferSize() != 0)
124          try { out.clearBuffer(); } catch (java.io.IOException e) {}
125        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
126      }
127    } finally {
128      _jspxFactory.releasePageContext(_jspx_page_context);
129    }
130  }
131}
Note: See TracBrowser for help on using the repository browser.