IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JSF Java Discussion :

PrimeFaces linechart erreur


Sujet :

JSF Java

  1. #1
    Membre confirmé
    Inscrit en
    Août 2007
    Messages
    55
    Détails du profil
    Informations forums :
    Inscription : Août 2007
    Messages : 55
    Par défaut PrimeFaces linechart erreur
    Bonjour ,

    J'essaie d'implémenter PrimeFaces avec Tomahawk et myfaces pour générer des graphes ,or j'obtiens l'erreur suivante:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
     
     
    16:33:30,691 ERROR _ErrorPageWriter:460 - An exception occurred
    javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /resultat.jsp][Class: org.primefaces.ui.component.chart.line.LineChart,Id: j_id_jsp_1205016988_1]}
    	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
    	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
    	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
    	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
    	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
    	at org.primefaces.ui.component.chart.line.LineChartRenderer.encodeLocalData(LineChartRenderer.java:68)
    	at org.primefaces.ui.component.chart.line.LineChartRenderer.encodeChartScript(LineChartRenderer.java:48)
    	at org.primefaces.ui.component.chart.BaseChartRenderer.encodeEnd(BaseChartRenderer.java:38)
    	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
    	... 25 more
    dans ma page jsf le chart est renvoyé comme suit

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    <p:lineChart value="#{ChartDisplayBean.chart}" var="chart" xfield="#{Chart.year}">
                 <p:chartSeries label="Avec Cas" value="#{Chart.acas}" />
                 <p:chartSeries label="Sans Cas" value="#{Chart.scas}" />
         </p:lineChart>
    voici mon web.xml
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
     
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>Bdcenter</display-name>
      <welcome-file-list>
     
        <welcome-file>resultat.jsp</welcome-file>
        <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
     
     
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
     
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
      </servlet-mapping>
      <servlet>
    <servlet-name>Resource Servlet</servlet-name>
    <servlet-class>org.primefaces.ui.resource.ResourceServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Resource Servlet</servlet-name>
    <url-pattern>/primefaces_resources/*</url-pattern>
    </servlet-mapping> 
      <filter>
    	<filter-name>MyFacesExtensionsFilter</filter-name>
    	<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <init-param>
            <param-name>uploadMaxFileSize</param-name>
            <param-value>20m</param-value>
             
        </init-param>
    </filter>
     
     
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
         
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
     
     
     
     
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
     
    <context-param>
       <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
       <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
     <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS</param-name>
     <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.RENDER_VIEWSTATE_ID</param-name>
     <param-value>true</param-value>
    </context-param>
     
    <context-param>
    <param-name>org.apache.myfaces.STRICT_XHTML_LINKS</param-name>
     <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.CONFIG_REFRESH_PERIOD</param-name>
     <param-value>2</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
     <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
     <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
     <param-value>org.apache.myfaces.renderkit.html.util.DefaultAddResource</param-value>
    </context-param>
     
    <context-param>
    <param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name>
     <param-value>/faces/myFacesExtensionResource</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
     <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON</param-name>
     <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE</param-name>
     <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.VIEWSTATE_JAVASCRIPT</param-name>
     <param-value>false</param-value>
    </context-param>
     
     
    </web-app>
    pouvez vous m'aider svp

    merci d'avance

  2. #2
    Rédacteur

    Profil pro
    Inscrit en
    Juin 2003
    Messages
    4 184
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2003
    Messages : 4 184
    Par défaut
    NullPointerException est souvent générée quand tu fais appel dans la jsp à un attribut ou une liste qui est null..

  3. #3
    Membre confirmé
    Inscrit en
    Août 2007
    Messages
    55
    Détails du profil
    Informations forums :
    Inscription : Août 2007
    Messages : 55
    Par défaut
    J'arrive toujours pas à trouver le problème,j'ai enlevé un view qui englobe le llinechart et j'obtiens un nullPointer exception sur autre chose

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    GRAVE: "Servlet.service()" pour la servlet jsp a lanc� une exception
    java.lang.NullPointerException
    	at org.primefaces.ui.component.chart.line.LineChartTag.setProperties(LineChartTag.java:55)
    	at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:1019)
    	at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:434)
    	at org.apache.jsp.test_jsp._jspx_meth_p_005flineChart_005f0(test_jsp.java:112)
    	at org.apache.jsp.test_jsp._jspService(test_jsp.java:76)
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:341)
    	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:486)
    	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:337)
    	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
    	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    	at java.lang.Thread.run(Thread.java:619)
    voici le contenu de /work/test_jsp.java

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    package org.apache.jsp;
     
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
     
    public final class test_jsp extends org.apache.jasper.runtime.HttpJspBase
        implements org.apache.jasper.runtime.JspSourceDependent {
     
      private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
     
      private static java.util.List _jspx_dependants;
     
      private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fp_005flineChart_0026_005fxfield_005fvar_005fvalue;
      private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fp_005fchartSeries_0026_005fvalue_005flabel_005fnobody;
     
      private javax.el.ExpressionFactory _el_expressionfactory;
      private org.apache.AnnotationProcessor _jsp_annotationprocessor;
     
      public Object getDependants() {
        return _jspx_dependants;
      }
     
      public void _jspInit() {
        _005fjspx_005ftagPool_005fp_005flineChart_0026_005fxfield_005fvar_005fvalue = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
        _005fjspx_005ftagPool_005fp_005fchartSeries_0026_005fvalue_005flabel_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
        _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
      }
     
      public void _jspDestroy() {
        _005fjspx_005ftagPool_005fp_005flineChart_0026_005fxfield_005fvar_005fvalue.release();
        _005fjspx_005ftagPool_005fp_005fchartSeries_0026_005fvalue_005flabel_005fnobody.release();
      }
     
      public void _jspService(HttpServletRequest request, HttpServletResponse response)
            throws java.io.IOException, ServletException {
     
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        JspWriter _jspx_out = null;
        PageContext _jspx_page_context = null;
     
     
        try {
          response.setContentType("text/html; charset=ISO-8859-1");
          pageContext = _jspxFactory.getPageContext(this, request, response,
          			null, true, 8192, true);
          _jspx_page_context = pageContext;
          application = pageContext.getServletContext();
          config = pageContext.getServletConfig();
          session = pageContext.getSession();
          out = pageContext.getOut();
          _jspx_out = out;
     
          out.write("\r\n");
          out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
          out.write("\r\n");
          out.write(" \r\n");
          out.write("\t\t\t\r\n");
          out.write("\r\n");
          out.write("<html>\r\n");
          out.write("<head>\r\n");
          out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\r\n");
          out.write("<title>Insert title here</title>\r\n");
          out.write(" \r\n");
          out.write("</head>\r\n");
          out.write("<body>\r\n");
          out.write(" \r\n");
          out.write("<div id=\"divresult\" >\r\n");
          out.write("      ");
          if (_jspx_meth_p_005flineChart_005f0(_jspx_page_context))
            return;
          out.write("\r\n");
          out.write("     graphe non desine\r\n");
          out.write(" \r\n");
          out.write("\r\n");
          out.write("</body>\r\n");
          out.write("</html>");
        } catch (Throwable t) {
          if (!(t instanceof SkipPageException)){
            out = _jspx_out;
            if (out != null && out.getBufferSize() != 0)
              try { out.clearBuffer(); } catch (java.io.IOException e) {}
            if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
          }
        } finally {
          _jspxFactory.releasePageContext(_jspx_page_context);
        }
      }
     
      private boolean _jspx_meth_p_005flineChart_005f0(PageContext _jspx_page_context)
              throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  p:lineChart
        org.primefaces.ui.component.chart.line.LineChartTag _jspx_th_p_005flineChart_005f0 = new org.primefaces.ui.component.chart.line.LineChartTag();
        org.apache.jasper.runtime.AnnotationHelper.postConstruct(_jsp_annotationprocessor, _jspx_th_p_005flineChart_005f0);
        _jspx_th_p_005flineChart_005f0.setPageContext(_jspx_page_context);
        _jspx_th_p_005flineChart_005f0.setParent(null);
        // /test.jsp(17,6) name = value type = javax.el.ValueExpression reqTime = false required = true fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
        _jspx_th_p_005flineChart_005f0.setValue(new org.apache.jasper.el.JspValueExpression("/test.jsp(17,6) '#{birthsDisplayBean.births}'",_el_expressionfactory.createValueExpression(_jspx_page_context.getELContext(),"#{birthsDisplayBean.births}",java.lang.Object.class)));
        // /test.jsp(17,6) name = var type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_p_005flineChart_005f0.setVar("birth");
        // /test.jsp(17,6) name = xfield type = javax.el.ValueExpression reqTime = false required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
        _jspx_th_p_005flineChart_005f0.setXfield(new org.apache.jasper.el.JspValueExpression("/test.jsp(17,6) '#{birth.year}'",_el_expressionfactory.createValueExpression(_jspx_page_context.getELContext(),"#{birth.year}",java.lang.Object.class)));
        _jspx_th_p_005flineChart_005f0.setJspId("jsp_1117041490_0");
        int _jspx_eval_p_005flineChart_005f0 = _jspx_th_p_005flineChart_005f0.doStartTag();
        if (_jspx_eval_p_005flineChart_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
          if (_jspx_eval_p_005flineChart_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
            out = _jspx_page_context.pushBody();
            _jspx_th_p_005flineChart_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
            _jspx_th_p_005flineChart_005f0.doInitBody();
          }
          do {
            out.write("\r\n");
            out.write("              ");
            if (_jspx_meth_p_005fchartSeries_005f0(_jspx_th_p_005flineChart_005f0, _jspx_page_context))
              return true;
            out.write("\r\n");
            out.write("              ");
            if (_jspx_meth_p_005fchartSeries_005f1(_jspx_th_p_005flineChart_005f0, _jspx_page_context))
              return true;
            out.write('\r');
            out.write('\n');
            int evalDoAfterBody = _jspx_th_p_005flineChart_005f0.doAfterBody();
            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
              break;
          } while (true);
          if (_jspx_eval_p_005flineChart_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
            out = _jspx_page_context.popBody();
          }
        }
        if (_jspx_th_p_005flineChart_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
          _jspx_th_p_005flineChart_005f0.release();
          org.apache.jasper.runtime.AnnotationHelper.preDestroy(_jsp_annotationprocessor, _jspx_th_p_005flineChart_005f0);
          return true;
        }
        _005fjspx_005ftagPool_005fp_005flineChart_0026_005fxfield_005fvar_005fvalue.reuse(_jspx_th_p_005flineChart_005f0);
        return false;
      }
     
      private boolean _jspx_meth_p_005fchartSeries_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_p_005flineChart_005f0, PageContext _jspx_page_context)
              throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  p:chartSeries
        org.primefaces.ui.component.chart.series.ChartSeriesTag _jspx_th_p_005fchartSeries_005f0 = new org.primefaces.ui.component.chart.series.ChartSeriesTag();
        org.apache.jasper.runtime.AnnotationHelper.postConstruct(_jsp_annotationprocessor, _jspx_th_p_005fchartSeries_005f0);
        _jspx_th_p_005fchartSeries_005f0.setPageContext(_jspx_page_context);
        _jspx_th_p_005fchartSeries_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_p_005flineChart_005f0);
        // /test.jsp(18,14) name = label type = javax.el.ValueExpression reqTime = false required = true fragment = false deferredValue = true expectedTypeName = java.lang.String deferredMethod = false methodSignature = null
        _jspx_th_p_005fchartSeries_005f0.setLabel(new org.apache.jasper.el.JspValueExpression("/test.jsp(18,14) 'Boys'",_el_expressionfactory.createValueExpression("Boys",java.lang.String.class)));
        // /test.jsp(18,14) name = value type = javax.el.ValueExpression reqTime = false required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
        _jspx_th_p_005fchartSeries_005f0.setValue(new org.apache.jasper.el.JspValueExpression("/test.jsp(18,14) '#{birth.boys}'",_el_expressionfactory.createValueExpression(_jspx_page_context.getELContext(),"#{birth.boys}",java.lang.Object.class)));
        _jspx_th_p_005fchartSeries_005f0.setJspId("jsp_1117041490_1");
        int _jspx_eval_p_005fchartSeries_005f0 = _jspx_th_p_005fchartSeries_005f0.doStartTag();
        if (_jspx_th_p_005fchartSeries_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
          _jspx_th_p_005fchartSeries_005f0.release();
          org.apache.jasper.runtime.AnnotationHelper.preDestroy(_jsp_annotationprocessor, _jspx_th_p_005fchartSeries_005f0);
          return true;
        }
        _005fjspx_005ftagPool_005fp_005fchartSeries_0026_005fvalue_005flabel_005fnobody.reuse(_jspx_th_p_005fchartSeries_005f0);
        return false;
      }
     
      private boolean _jspx_meth_p_005fchartSeries_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_p_005flineChart_005f0, PageContext _jspx_page_context)
              throws Throwable {
        PageContext pageContext = _jspx_page_context;
        JspWriter out = _jspx_page_context.getOut();
        //  p:chartSeries
        org.primefaces.ui.component.chart.series.ChartSeriesTag _jspx_th_p_005fchartSeries_005f1 = new org.primefaces.ui.component.chart.series.ChartSeriesTag();
        org.apache.jasper.runtime.AnnotationHelper.postConstruct(_jsp_annotationprocessor, _jspx_th_p_005fchartSeries_005f1);
        _jspx_th_p_005fchartSeries_005f1.setPageContext(_jspx_page_context);
        _jspx_th_p_005fchartSeries_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_p_005flineChart_005f0);
        // /test.jsp(19,14) name = label type = javax.el.ValueExpression reqTime = false required = true fragment = false deferredValue = true expectedTypeName = java.lang.String deferredMethod = false methodSignature = null
        _jspx_th_p_005fchartSeries_005f1.setLabel(new org.apache.jasper.el.JspValueExpression("/test.jsp(19,14) 'Girls'",_el_expressionfactory.createValueExpression("Girls",java.lang.String.class)));
        // /test.jsp(19,14) name = value type = javax.el.ValueExpression reqTime = false required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
        _jspx_th_p_005fchartSeries_005f1.setValue(new org.apache.jasper.el.JspValueExpression("/test.jsp(19,14) '#{birth.girls}'",_el_expressionfactory.createValueExpression(_jspx_page_context.getELContext(),"#{birth.girls}",java.lang.Object.class)));
        _jspx_th_p_005fchartSeries_005f1.setJspId("jsp_1117041490_2");
        int _jspx_eval_p_005fchartSeries_005f1 = _jspx_th_p_005fchartSeries_005f1.doStartTag();
        if (_jspx_th_p_005fchartSeries_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
          _jspx_th_p_005fchartSeries_005f1.release();
          org.apache.jasper.runtime.AnnotationHelper.preDestroy(_jsp_annotationprocessor, _jspx_th_p_005fchartSeries_005f1);
          return true;
        }
        _005fjspx_005ftagPool_005fp_005fchartSeries_0026_005fvalue_005flabel_005fnobody.reuse(_jspx_th_p_005fchartSeries_005f1);
        return false;
      }
    }

Discussions similaires

  1. [PrimeFaces] Erreur à l'exécution
    Par benza dans le forum JSF
    Réponses: 2
    Dernier message: 16/02/2013, 13h00
  2. Réponses: 0
    Dernier message: 10/10/2012, 23h41
  3. Réponses: 2
    Dernier message: 05/09/2012, 21h26
  4. Réponses: 2
    Dernier message: 04/05/2012, 16h50
  5. Erreur de rendu de PrimeFaces
    Par Saber2009 dans le forum JSF
    Réponses: 2
    Dernier message: 05/04/2012, 07h58

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo