Forum Replies Created
-
AuthorPosts
-
in reply to: Looking For PD4ML.NET Serve side Header/Footer Display Code February 16, 2011 at 16:11#28408
Couldn’t find a place to attach the documents….
in reply to: initialPageNumber February 14, 2011 at 09:14#28391Hey…
Thank you very much for your reply.
It would be really great, if you could add that feature.Looking forward to testing the new version!
Kind regards
Niels Göranin reply to: initialPageNumber February 11, 2011 at 16:18#28388Hello,
one more question:
I’m using the smarttablesplit option and it works fine, with one exception:
It is not repeating the<th>section on the next page.Is there a reported problem with that function or is there another way to make this work? It would be really helpful !
Kind regards
Niels Göranin reply to: initialPageNumber February 11, 2011 at 16:14#28387Hey…
Thank you for your answer…
The idea to add the feature myself sounds good.Could give me some advice regarding the general structure of such an implementation?
Do I understand you correctly, that I would need to modify the source code for pd4ml_demo.jar, so that the Pd4Cmd sections is able to pass a new parameter to the Java API?
In addition, what is the difference between Pd4Cmd and Pd4Php ?
Thank you for your help!
Kind regards
Niels Göranin reply to: Performance issue January 12, 2011 at 16:50#28113Thanks for your reply.
I started analyzing with yourkit tool. I will keep posting my response.-Sundar
in reply to: sun.awt.image.ImageFormatException: Unsupported color conver January 12, 2011 at 16:25#28364Oh, thank you so much! It works so fine for me for now
in reply to: sun.awt.image.ImageFormatException: Unsupported color conver January 10, 2011 at 08:27#28362did you achieve something?
in reply to: sun.awt.image.ImageFormatException: Unsupported color conver January 5, 2011 at 13:02in reply to: sun.awt.image.ImageFormatException: Unsupported color conver January 5, 2011 at 09:05#28359Hello,
I am investigating it… I did some tests and when I check the next condition:img.getColorModel().getColorSpace().getType() == ColorSpace.TYPE_CMYK
I get always false. Debugging my code, I see that the color space is returned as RGB, so this condition cannot be true.
To arrive to this point, I get the image from the external server and I save it in my local server. It is recommended that the final solution doesn’t do that and work always in memory without save temp files.
The picture saved in my hard drive has wrong colours.
I’m a bit lost.
in reply to: sun.awt.image.ImageFormatException: Unsupported color conver January 4, 2011 at 15:17#28357Oh, ok… so I cannot do anything now because the picture URL is in an external server and I cannot manage it. The image will change depending the user selection so I cannot save and modify the picture in my own server.
Thank you so much and I will try it again in some months.
Thank you again.
in reply to: sun.awt.image.ImageFormatException: Unsupported color conver January 4, 2011 at 14:46in reply to: sun.awt.image.ImageFormatException: Unsupported color conver January 4, 2011 at 14:36#28353Yeah… but by privacy rules of my company I cannot publish the HTML and/or the image in a public topic.
Can I send you an e-mail with them?
in reply to: IllegalStateException December 16, 2010 at 13:37#28337@PD4ML wrote:
My first suspect is that the PDF bytes are sent to the browser not in bin, but in text mode. The content has grown because of newline conversion from “n” to “nr”. But I cannot be sure about that before I took a look to your code.
I dont know if that was what you meant. But i had some line breaks before the transform tag.
thanks
in reply to: IllegalStateException December 15, 2010 at 21:12#28336We are using struts2 web tier.
I am able to see the pdf without any problem, but I am getting following error in the log, while adding the pd4ml tag in jsp.
Without pd4ml tag in my jsp, I am not getting any error.
Any thoughts???... 38 more aused by: org.apache.tiles.util.TilesIOException: JSPException including path ' pages/common/footer.jsp'. at org.apache.tiles.servlet.context.ServletTilesRequestContext.wrapServl tException(ServletTilesRequestContext.java:298) at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesR questContext.java:82) at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTiles equestContext.java:73) at org.apache.tiles.context.TilesRequestContextWrapper.dispatch(TilesReq estContextWrapper.java:72) at org.apache.struts2.tiles.StrutsTilesRequestContext.dispatch(StrutsTil sRequestContext.java:88) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer. ava:283) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttribute ag.java:140) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttribute ag.java:117) at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport java:154) at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecur tyTagSupport.java:75) at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTag upport.java:80) at org.apache.jsp.pages.common.mainLayout_jsp._jspx_meth_tiles_005finser Attribute_005f3(mainLayout_jsp.java:397) at org.apache.jsp.pages.common.mainLayout_jsp._jspService(mainLayout_jsp java:144) ... 50 more aused by: java.lang.IllegalStateException: getOutputStream() has already been c lled for this response at org.apache.catalina.connector.Response.getWriter(Response.java:608) at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade java:200) at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper java:101) at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper java:101) at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper java:101) at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:12 ) at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.jav :118) at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:296) at java.io.PrintWriter.write(PrintWriter.java:382) at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.jav :119) at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.jav :181) at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(J pFactoryImpl.java:122) at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactor Impl.java:79) at org.apache.jsp.pages.common.footer_jsp._jspService(footer_jsp.java:32 ) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper java:376) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 0) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl cationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF lterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp tcher.java:674) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD spatcher.java:579) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis atcher.java:516) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary java:930) at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.j va:674) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.jav :668) at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesR questContext.java:80) ... 61 more
in reply to: PD4ML failed to load Servlet Dynamically generated JPG File November 19, 2010 at 23:59#28303I am haviing a similar issue. I am tryeing to load images served by a servlet….this is what i see…
image not yet in cache: http://localhost:8080/tb/image/loadByFileName.htm?fileName=2009_4R30.jpg&method=getFromDb&type=2&id=1000086 not yet in cache: http://localhost:8080/tb/image/loadByFileName.htm?fileName=2009_4R30.jpg&method=getFromDb&type=2&id=1000086 image size: 2644 image type of http://localhost:8080/tb/image/loadByFileName.htm?fileName=2009_4R30.jpg&method=getFromDb&type=2&id=1000086 is unknown. can not load image: /tb/image/loadByFileName.htm?fileName=2009_4R30.jpg&method=getFromDb&type=2&id=1000086 done in 1305ms.
-
AuthorPosts
