voyent
Messages posted by: ernest210  XML
Profile for ernest210 -> Messages posted by ernest210 [23] Go to Page: 1, 2 Next 
Author Message
Hello again.
Unfortunately I didn't resolved this problem so i'm back.
I attach file with my simple app can anyone look on it and check what I need to do to force RichText to work.

Thi is a maven application, after building go to URL
http://localhost:8080/template-editor/main/main.xhtml


IceFace 3.x
Spring 3.x
Maven 3.x
Ok, I added this tag and warning disappear but inputRichText still not showing up.
What else could be wrong?

As I said others component working fine e.g. datatable pagination, textarea ...
Hello,
I'm using IceFaces 3.3.0 (with Spring 3.2.6). Application working fine basic components showing up but not a 'inputRichText'.
I copy paste example from
http://component-showcase.icesoft.org/component-showcase/showcase.iface?rvn=1
without any effect.
There is one thing i'm getting this warning
Code:
 gru 19, 2013 10:19:02 AM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
 WARNING: JSF1064: Unable to find or serve resource, ckeditor/skins/v2/skin.js.
 
Hello.
I need to implement a export to excel and to do this i'm using poi lib.
I have simple example one button which calling servlet
the code is
Code:
 <h:commandButton value="Do" action="#{exportDetailsBean.doThis}" />  
 


java code
Code:
 public void doThis(){  
 		System.out.println("==> doThis() BEGIN");
 	    String url = "ExcelServlet";  
 	    FacesContext context = FacesContext.getCurrentInstance();  
 	    try {  
 	       context.getExternalContext().dispatch(url);  
 	    }catch (Exception e) {  
 	       e.printStackTrace();  
 	    }  
 	    finally{  
 	       context.responseComplete();  
 	    }
 	    System.out.println("==> doThis() END");
 	}
 


Servlet working fine when i call him directly from url excel file is generating.
Unfortunately when i press button on page file is not appear refreshing icon appear but file don't.
Of Course method 'doThis' is calling servlet also all method are calling from beginning to the end without any exceptions.
What could be wrong do I need some special configuration?
Now it looks like that servlet seems to be ignored.


I'm using IceFaces 3 and Spring 3.0.5
Hello
I want to use ace:tree component basing on this example and source code
http://icefaces-showcase.icesoft.org/showcase.jsf?grp=aceMenu&exp=treeBean
Unfortunately i'm getting error

Code:
 DEBUG: org.springframework.faces.support.RequestLoggingPhaseListener - Entering JSF Phase: RENDER_RESPONSE 6
 javax.el.ELException: /WEB-INF/flows/main/edycjaDefinicji.xhtml @55,43 stateCreationCallback="#{treeBean.contractProvinc
 eInit}": Cannot convert com.test.TreeBean$1@7ef4fb0c of type class com.test.
 TreeBean$1 to interface org.icefaces.ace.model.tree.NodeStateCreationCallback
         at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
         at org.icefaces.ace.component.tree.TreeBase.getStateCreationCallback(TreeBase.java:642)
         at org.icefaces.ace.component.tree.Tree.getStateMap(Tree.java:74)
         at org.icefaces.ace.component.tree.TreeRenderer.encodeRoots(TreeRenderer.java:169)
         at org.icefaces.ace.component.tree.TreeRenderer.encodeEnd(TreeRenderer.java:82)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312)
         at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
         at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
         at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:144)
         at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:183)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:981)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:390)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         at org.springframework.faces.webflow.FlowLifecycle.render(FlowLifecycle.java:80)
         at org.springframework.faces.webflow.JsfView.render(JsfView.java:89)
         at org.springframework.webflow.engine.ViewState.render(ViewState.java:296)
         at org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:186)
         at org.springframework.webflow.engine.State.enter(State.java:194)
         at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
         at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
 
         at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
         at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
         at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:
 210)
         at org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:232)
         at org.springframework.webflow.engine.ViewState.resume(ViewState.java:196)
         at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258)
         at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
         at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
         at org.springframework.faces.webflow.JsfFlowHandlerAdapter.handle(JsfFlowHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.
 java:109)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityIntercepto
 r.java:83)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:9
 7)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:9
 7)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticatio
 nFilter.java:78)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextH
 olderAwareRequestFilter.java:54)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:3
 5)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthe
 nticationProcessingFilter.java:187)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistence
 Filter.java:79)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2430)
         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2419)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
         at java.lang.Thread.run(Thread.java:744)
 lis 25, 2013 2:17:05 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
 SEVERE: Error Rendering View[/WEB-INF/flows/main/edycjaDefinicji.xhtml]
 javax.el.ELException: /WEB-INF/flows/main/edycjaDefinicji.xhtml @55,43 stateCreationCallback="#{treeBean.contractProvinc
 eInit}": Cannot convert com.test.TreeBean$1@7ef4fb0c of type class com.test.
 TreeBean$1 to interface org.icefaces.ace.model.tree.NodeStateCreationCallback
         at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
         at org.icefaces.ace.component.tree.TreeBase.getStateCreationCallback(TreeBase.java:642)
         at org.icefaces.ace.component.tree.Tree.getStateMap(Tree.java:74)
         at org.icefaces.ace.component.tree.TreeRenderer.encodeRoots(TreeRenderer.java:169)
         at org.icefaces.ace.component.tree.TreeRenderer.encodeEnd(TreeRenderer.java:82)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312)
         at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
         at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
         at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:144)
         at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:183)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:981)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:390)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         at org.springframework.faces.webflow.FlowLifecycle.render(FlowLifecycle.java:80)
         at org.springframework.faces.webflow.JsfView.render(JsfView.java:89)
         at org.springframework.webflow.engine.ViewState.render(ViewState.java:296)
         at org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:186)
         at org.springframework.webflow.engine.State.enter(State.java:194)
         at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
         at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
 
         at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
         at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
         at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:
 210)
         at org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:232)
         at org.springframework.webflow.engine.ViewState.resume(ViewState.java:196)
         at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258)
         at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
         at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
         at org.springframework.faces.webflow.JsfFlowHandlerAdapter.handle(JsfFlowHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.
 java:109)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityIntercepto
 r.java:83)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:9
 7)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:9
 7)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticatio
 nFilter.java:78)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextH
 olderAwareRequestFilter.java:54)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:3
 5)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthe
 nticationProcessingFilter.java:187)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistence
 Filter.java:79)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2430)
         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2419)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
         at java.lang.Thread.run(Thread.java:744)
 
 lis 25, 2013 2:17:05 PM org.icefaces.impl.application.ExtendedExceptionHandler handle
 WARNING: queued exception
 javax.el.ELException: /WEB-INF/flows/main/edycjaDefinicji.xhtml @55,43 stateCreationCallback="#{treeBean.contractProvinc
 eInit}": Cannot convert com.test.TreeBean$1@7ef4fb0c of type class com.test.
 TreeBean$1 to interface org.icefaces.ace.model.tree.NodeStateCreationCallback
         at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
         at org.icefaces.ace.component.tree.TreeBase.getStateCreationCallback(TreeBase.java:642)
         at org.icefaces.ace.component.tree.Tree.getStateMap(Tree.java:74)
         at org.icefaces.ace.component.tree.TreeRenderer.encodeRoots(TreeRenderer.java:169)
         at org.icefaces.ace.component.tree.TreeRenderer.encodeEnd(TreeRenderer.java:82)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312)
         at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
         at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
         at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:144)
         at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:183)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:981)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:390)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         at org.springframework.faces.webflow.FlowLifecycle.render(FlowLifecycle.java:80)
         at org.springframework.faces.webflow.JsfView.render(JsfView.java:89)
         at org.springframework.webflow.engine.ViewState.render(ViewState.java:296)
         at org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:186)
         at org.springframework.webflow.engine.State.enter(State.java:194)
         at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
         at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
 
         at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
         at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
         at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:
 210)
         at org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:232)
         at org.springframework.webflow.engine.ViewState.resume(ViewState.java:196)
         at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
         at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258)
         at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
         at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
         at org.springframework.faces.webflow.JsfFlowHandlerAdapter.handle(JsfFlowHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.
 java:109)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityIntercepto
 r.java:83)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:9
 7)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:9
 7)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticatio
 nFilter.java:78)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextH
 olderAwareRequestFilter.java:54)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:3
 5)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthe
 nticationProcessingFilter.java:187)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistence
 Filter.java:79)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2430)
         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2419)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
         at java.lang.Thread.run(Thread.java:744)
 


my class
Code:
 import java.util.Collections;
 import java.util.List;
 
 import javax.annotation.PostConstruct;
 import javax.faces.bean.CustomScoped;
 import javax.faces.bean.ManagedBean;
 import javax.faces.context.FacesContext;
 
 import org.icefaces.util.JavaScriptRunner;
 
 import com.components.tree.LocationNodeImpl;
 import com.components.tree.NodeState;
 import com.components.tree.NodeStateCreationCallback;
 import com.components.tree.NodeStateMap;
 import com.components.tree.TreeDataFactory;
 
 import context.ComponentExampleImpl;
 
 @ManagedBean(name= TreeBean.BEAN_NAME)
 @CustomScoped(value = "#{window}")
 public class TreeBean extends ComponentExampleImpl<TreeBean> implements NodeStateCreationCallback {
 	
 	/**
 	 * 
 	 */
 	private static final long serialVersionUID = 5667224910795673529L;
 	public static final String BEAN_NAME = "treeBean";
     private List<LocationNodeImpl> treeRoots = TreeDataFactory.getTreeRoots();
     private NodeStateMap stateMap;
     
     private NodeStateCreationCallback contractProvinceInit = new NodeStateCreationCallback() {
         public NodeState initializeState(NodeState newState, Object node) {
             LocationNodeImpl loc = (LocationNodeImpl) node;
             if (loc.getType().equals("country"))
                 newState.setExpanded(true);
             return newState;
         }
     };
     
     public TreeBean() {
         super(TreeBean.class);
     }
 
     @PostConstruct
     public void initMetaData() {
         super.initMetaData();
     }
 
     public List<LocationNodeImpl> getTreeRoots() {
         return treeRoots;
     }
 
     public void print(String text) {
         JavaScriptRunner.runScript(FacesContext.getCurrentInstance(),
                 "alert('"+text+"');");
     }
 
     public NodeStateMap getStateMap() {
         return stateMap;
     }
 
     public void setStateMap(NodeStateMap stateMap) {
         this.stateMap = stateMap;
     }
 
     public NodeStateCreationCallback getContractProvinceInit() {
         return contractProvinceInit;
     }
 
     public void setContractProvinceInit(NodeStateCreationCallback contractProvinceInit) {
         this.contractProvinceInit = contractProvinceInit;
     }
 
     /* Proxy method to avoid JBossEL accessing stateMap like map for method invocations */
     public List getSelected() {
         if (stateMap == null) return Collections.emptyList();
         return stateMap.getSelected();
     }
 
     public NodeState initializeState(NodeState newState, Object node) {
         LocationNodeImpl loc = (LocationNodeImpl) node;
         if (loc.getType().equals("country"))
             newState.setExpanded(true);
         return newState;
     }
 
 	   
 }
 


////EDIT
It seems that this component doesn't work properly. I download IceFaces from repository
http://anonsvn.icesoft.org/repo/icefaces3
and build showcase, all build fine.
Tree component does not react on expanding brunch.

kneringerjohann wrote:
are you using icefaces 2?

if yes, dont use ice:inputfile, this is depreciated afaik.


use ace:fileEntry instead in a normal <h:form> with a <h:commandButton> to execute file upload  


I'm using icefaces 1.8.2 (with Spring 3.0 app is running on server Jetty6).
I want to use inputFile to uploading txt and csv files and this files shouldn't be bigger then 1MB.
I have same problem like ivytutu
My code
Code:
<ice:form>
 	        <ice:inputFile id="inputFileComponent" actionListener="#{importDataBean.uploadActionListener}"/>
 	        
 	        <ice:outputText value="#{importDataBean.currentFile.physicalPath}" />
         </ice:form>


Code:
 public void uploadActionListener(ActionEvent actionEvent) {
 		LOG.debug("uploadActionListener() BEGIN");
         InputFile inputFile = (InputFile) actionEvent.getSource();
         currentFile = inputFile.getFileInfo();
         LOG.debug("uploadActionListener() END");
 	}
 


The 'uploadActionListener() BEGIN' never appear on console/log file.

And web.xml
Code:
<?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/j2ee" xmlns:web="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
 	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
 	id="WebApp_ID" version="2.4">
 	<display-name>icetest</display-name>
 	<welcome-file-list>
 		<welcome-file>index.jsp</welcome-file>
 	</welcome-file-list>
 
 	<context-param>
 		<param-name>com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP</param-name>
 		<param-value>false</param-value>
 	</context-param>
 	<context-param>
 		<description>State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2</description>
 		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
 		<param-value>server</param-value>
 	</context-param>
 	<context-param>
 		<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
 		<param-value>resources.application</param-value>
 	</context-param>
 	<context-param>
 		<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
 		<param-value>.xhtml</param-value>
 	</context-param>
 	<context-param>
 		<description>To allow multiple windows for a single application.</description>
 		<param-name>com.icesoft.faces.concurrentDOMViews</param-name>
 		<param-value>false</param-value>
 	</context-param>
 	<context-param>
 		<description>Turn on/off application-wide synchronous or asynchronous updates.	</description>
 		<param-name>com.icesoft.faces.synchronousUpdate</param-name>
 		<param-value>false</param-value>
 	</context-param>
 	<context-param>
 		<description>Google Maps API key is required if gMap component is used. Sign up for an API key from http://code.google.com/apis/maps/signup.html</description>
 		<param-name>com.icesoft.faces.gmapKey</param-name>
 		<param-value>ABQIAAAADlu0ZiSTam64EKaCQr9eTRTOTuQNzJNXRlYRLknj4cQ89tFfpxTEqxQnVWL4k55OPICgF5_SOZE06A</param-value>
 	</context-param>
 	<context-param>
 		<param-name>com.icesoft.faces.uploadDirectory</param-name>
 		<param-value>upload</param-value>
 	</context-param>
 	<context-param>
 		<param-name>com.icesoft.faces.uploadMaxFileSize</param-name>
 		<param-value>4048576</param-value>
 	</context-param>
 	<context-param>
 		<param-name>com.sun.faces.injectionProvider</param-name>
 		<param-value>com.pentacomp.vbsforms.web.common.util.annotations.InjectionProvider</param-value>
 	</context-param>
 	<context-param>
 		<param-name>facelets.LIBRARIES</param-name>
 		<param-value>
 		/WEB-INF/facelets/tags/custom.taglib.xml 
 	</param-value>
 	</context-param>
 
 	<!-- spring context -->
 	<listener>
 		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
 	</listener>
 	<listener>
 		<listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>
 	</listener>
 	<listener>
 		<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
 	</listener>
 
 	<servlet>
 		<servlet-name>Faces Servlet</servlet-name>
 		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
 		<load-on-startup>1</load-on-startup>
 	</servlet>
 
 	<servlet>
 		<servlet-name>Persistent Faces Servlet</servlet-name>
 		<servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
 		<load-on-startup>1</load-on-startup>
 	</servlet>
 	<servlet-mapping>
 		<servlet-name>Persistent Faces Servlet</servlet-name>
 		<url-pattern>*.iface</url-pattern>
 	</servlet-mapping>
 	<servlet-mapping>
 		<servlet-name>Persistent Faces Servlet</servlet-name>
 		<url-pattern>*.jspx</url-pattern>
 	</servlet-mapping>
 	<servlet-mapping>
 		<servlet-name>Persistent Faces Servlet</servlet-name>
 		<url-pattern>/xmlhttp/*</url-pattern>
 	</servlet-mapping>
 
 	<servlet-mapping>
 		<servlet-name>Persistent Faces Servlet</servlet-name>
 		<url-pattern>*.faces</url-pattern>
 	</servlet-mapping>
 
 	<servlet-mapping>
 		<servlet-name>Persistent Faces Servlet</servlet-name>
 		<url-pattern>*.jsf</url-pattern>
 	</servlet-mapping>
 
 	<servlet-mapping>
 		<servlet-name>Persistent Faces Servlet</servlet-name>
 		<url-pattern>/faces/*</url-pattern>
 	</servlet-mapping>
 
 	<servlet>
 		<servlet-name>Blocking Servlet</servlet-name>
 		<servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
 		<load-on-startup>1</load-on-startup>
 	</servlet>
 	<servlet-mapping>
 		<servlet-name>Blocking Servlet</servlet-name>
 		<url-pattern>/block/*</url-pattern>
 	</servlet-mapping>
 	<servlet>
 		<servlet-name>uploadServlet</servlet-name>
 		<servlet-class>com.icesoft.faces.component.inputfile.FileUploadServlet</servlet-class>
 		<load-on-startup>1</load-on-startup>
 	</servlet>
 	<servlet-mapping>
 		<servlet-name>uploadServlet</servlet-name>
 		<url-pattern>/uploadHtml</url-pattern>
 	</servlet-mapping>
 	<login-config>
 		<auth-method>BASIC</auth-method>
 		<realm-name>testrealm</realm-name>
 	</login-config>
 	<security-constraint>
 		<web-resource-collection>
 			<web-resource-name>all</web-resource-name>
 			<url-pattern>/*</url-pattern>
 		</web-resource-collection>
 		<auth-constraint>
 			<role-name>USER</role-name>
 		</auth-constraint>
 	</security-constraint>
 	<security-role>
 		<description>Basic rola</description>
 		<role-name>USER</role-name>
 	</security-role>
 
 
 
 	<filter>
 		<filter-name>UserLogFilter</filter-name>
 		<filter-class>com.pentacomp.vbsforms.web.common.servlet.UserLogFilter</filter-class>
 	</filter>
 	<filter-mapping>
 		<filter-name>UserLogFilter</filter-name>
 		<url-pattern>/*</url-pattern>
 	</filter-mapping>
 
 </web-app>
Hello.
I wan to create something like this:
- page with dataTable (of course with some data)
- when user click on the text (text is a inputText or outputLabel with object value) then this text changing to inputText.

No how can I detect this onclick event in my backing bean. I know that inputText have valueChangeListener but it is calling when user leave inputText and I wan to now when user click (or double click) on text.

Or maybe there is a beater solution?
Just like in subject how can I detect double-click in "SelectManyListBox". I know this component have attribute "ondblclick" but this is for JavaScript and I want to detect this double-click in java class (in my bean). I assume this will not be easy and I don't expect working code (but will by nice ;) ). Im expecting idea how can I resolve this problem.
I have servlet which name is „Servlet” and hi is in package “com.servlet”. I also added to web.xml this

Code:
<servlet>
 	<servlet-name>Servlet</servlet-name>
 	<servlet-class>com.servlet.Servlet</servlet-class>
 	<load-on-startup>1</load-on-startup>
 </servlet>
 
 <servlet-mapping>
 	<servlet-name>Servlet</servlet-name>
 	<url-pattern>/servlet</url-pattern>
 </servlet-mapping>


when I calling from my app servlet its working fine
http://localhost:8080/myapp/servlet

But now I want to include this servlet in one of my page I added this
Code:
 <jsp:include page="/servlet"></jsp:include>


but it doesn’t working I don’t get any error message (content of this servlet not showing up).

I created a simple app with this example (one page which including servlet) and it working fine servlet is including correctly (page displaying servlet content).

Why this don’t want to working in my IceFaces app (I have IceFaces 1.8.2)?
Sorry gmanupnorth but I think you don't understand me (or maybe I) I don't want to put some html to object response
I want to get html from this object and display e.g. <ice:outputText value="#{my_variable_with_html} excape="false"/>.

gmanupnorth wrote:
You will need to take the HTML and write it to the output stream.

response.setContentType("text/html");

PrintWriter pw = response.getPrintWriter();

pw.write(htmlString)
pw.close(); 


I am assuming that "htmlString" is a String variable which will be containing html from object response.

I did what you sayed but unfortunately i get a error message

Code:
16:39:33,878 INFO  [STDOUT] 16:39:33,878 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception
 java.lang.IllegalStateException: getWriter() has already been called for this response
 	at org.apache.catalina.connector.Response.getOutputStream(Response.java:573)
 	at org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:183)
 	at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.writeBody(ServletRequestResponse.java:247)
 	at com.icesoft.faces.webapp.http.common.standard.FixedSizeContentHandler.respond(FixedSizeContentHandler.java:29)
 	at com.icesoft.faces.webapp.http.common.standard.FixedXMLContentHandler.respond(FixedXMLContentHandler.java:15)
 	at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:201)
 	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
 	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:76)
 	at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:28)
 	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
 	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42)
 	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
 	at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62)
 	at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:22)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	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:230)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 	at java.lang.Thread.run(Thread.java:595)
 
How to display response(HttpServletResponse) content.

I'm using Crystal Report (Crystal working almost fine) unfortunately I have some problem with pagination
and I must to use object "CrystalReportViewer". I founded some example of code and

Code:
ReportClientDocument clientDoc = buildClientDocument(report); // This method "buildClientDocument(...)" downloading file with report, joust like with JasperReport when you must download file ".jasper".
 CrystalReportViewer viewer = new CrystalReportViewer(); 
 viewer.setReportSource(clientDoc.getReportSource());
 FacesContext facesContext = FacesContext.getCurrentInstance();
 ServletContext servletContext = (ServletContext)facesContext.getExternalContext().getContext();
 HttpServletRequest request = (HttpServletRequest) facesContext.getExternalContext().getRequest();
 HttpServletResponse response = (HttpServletResponse) facesContext.getExternalContext().getResponse();
 viewer.processHttpRequest(request, response, servletContext, null); // Ok this method is important a quotation from API "Handles the user's request to generate the HTML for the report and writes the HTML directly to the response object."
 facesContext.responseComplete();


Link to API [url]http://devlibrary.businessobjects.com/businessobjectsxi/en/en/JRC_SDK/jrc_viewersjava_api_doc/doc/jrcsdk_java_viewers_apiRef/com/crystaldecisions/report/web/ServerControl.html#processHttpRequest%28javax.servlet.http.HttpServletRequest,%20javax.servlet.http.HttpServletResponse,%20javax.servlet.ServletContext,%20java.io.Writer%29
[/url]

So all report is in HTML form and is holding in response object. Now how can I display this HTML in my page?
I have a created a chart using Crystal Reports(runs fine in Crystal). When I went to look at the report, the text objects were visible however the chart was not. I have the same situation using JasperReports.
Portal working on JBoss 4.2 and IceFaces 1.8.
Anyone know why this happening?
Hello.
Just like in subject how can I create bubble chart in IceFaces. I already tried to do this in JasperReports but unfortunately it is impossible to obtain what I want.
I tested CristalReport and this tool generate my chart perfectly but unfortunately integration with IceFaces is impossible (they writhed that you can integrate with JSF but, documentation how to do this is realy real poor).
So maybe some one of you know some tools witch I can use with IceFaces.
 
Profile for ernest210 -> Messages posted by ernest210 [23] Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team