incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: AW: client state saving and f:verbatim question
Date Tue, 25 Jul 2006 20:38:00 GMT
Or just use &#160;, without the CDATA, which is the
XML way of indicating a non-breaking space.

-- Adam



On 7/25/06, G√ľnther, Thorsten <Thorsten.Guenther@medocino.de> wrote:
> Hi!
>
> For your second problem:
> Your jsp-File is XML and is interpreted on the server to be compiled. The XML-parser
does not know an entity "&nbsp;". I assume your intention is to send the "&nbsp;"
to the browser so you could tell the server side XML-parser not to parse that portion:
> <![CDATA[ &nbsp;&#124;&nbsp; ]]>
>
> Regards,
> Thorsten
>
> -----Urspr√ľngliche Nachricht-----
> Von: Kuni [mailto:kuni@muschkoten-berlin.de]
> Gesendet: Montag, 24. Juli 2006 01:09
> An: adffaces-user@incubator.apache.org
> Betreff: client state saving and f:verbatim question
>
> hello,
>
> i take my first stepps with myfaces trinidad and i've some (litte) problems:
>
> 1) i  supress a myfaces error messages for client-state-saving by setting
>     <context-param>
>         <param-name>
>             org.apache.myfaces.adf.CLIENT_STATE_METHOD
>         </param-name>
>         <param-value>all</param-value>
>     </context-param>
>
> . before, the application always thrown an error for some token
> problems. what does it mean and how can i solve it in a correct way?
>
> 2)  i try to use trinidad in my application cause i need some usefull
> components. but until know, i only get some error messages like these:
> [myapp] [ERROR] 2006-07-24 00:54:37 ApplicationDispatcher.invoke():
> Servlet.service() fo
> r servlet jsp threw exception
> org.apache.jasper.JasperException: /pages/overview.jsp(29,27) The entity
> "nbsp" was referenced, but
> not declared.
>         at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86)
>         at
> org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:211)
>         at
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:196)
>         at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
>         at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
>         at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
> ava:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>         at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:
> 463)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
>         at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>         at
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalCon
> textImpl.java:416)
>         at
> org.apache.myfaces.adfinternal.context.ExternalContextDecorator.dispatch(ExternalContextD
> ecorator.java:40)
>         at
> org.apache.myfaces.adfinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(
> FacesContextFactoryImpl.java:208)
>         at
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:
> 234)
>         at
> org.apache.myfaces.adfinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
> a:175)
>         at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
>         at
> org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
> ava:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>         at
> org.apache.myfaces.adfinternal.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterIm
> pl.java:320)
>         at
> org.apache.myfaces.adfinternal.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl
> .java:289)
>         at
> org.apache.myfaces.adfinternal.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java
> :213)
>      ...
>
>
> the line of code is:
> <f:verbatim>&nbsp;&#124;&nbsp;</f:verbatim>
>
> what is the problem???  :-)  i thought f:verbatim is correct to
> encapsulate simple html commands
>
>
>
> thanks for your help,
> greeting form berlin,
> kuni
>
>
>

Mime
View raw message