Forum Replies Created

Viewing 15 posts - 1,336 through 1,350 (of 1,410 total)
  • Author
    Posts
  • in reply to: not showing second header in PDF
    #27602

    Is the problem reproduceable with the most recent version of PD4ML (v351)?

    in reply to: PDF page headers/footers definition options
    #27267

    First, try to make sure that it tries to render the footer: add border=”1″ to footer’s <table> and ispect if the borders are in the PDF output.

    in reply to: Any way to repeat table headers?
    #27608

    For the time being it is only possible with pd4ml.enableTableBreaks() API call (or its JSP taglib mapping – a corresponding atribute of <pd4ml:transform>).

    The mode forces PD4ML to repeat all table rows built with <th> only.

    in reply to: Using taglib in other language than JSP or Coldfusion ?
    #27445

    You (may) specify the default page format, orientation etc with PD4ML API calls.

    <pd4ml:page.break> attributes allow to change the default settings on-a-fly.

    in reply to: IMG tag with SRC – HTTPS://
    #27592

    Sorry for the delay with the reply.

    > External resource loader: CustomFileResourceProvider not found. Make sure “pd4ml.extra.resource.loaders” value is correct

    Obviously the classloader cannot find CustomFileResourceProvider class (which is expected to be in the classpath)

    Well, your idea to add the class to the pd4ml_demo.jar is not that bad. But before you re-packed the JAR and deployed it to the Domino environment, try to debug CustomFileResourceProvider offline. You may run PD4ML in GUI mode:

    java -Xmx512m -cp .;pd4ml_demo.jar;ss_css2.jar -Dpd4ml.extra.resource.loaders=CustomFileResourceProvider org.zefer.pd4ml.tools.PD4Browser

    (The application will auto-create pd4browser.properties. In the file you may set debug.info.enable=true to allow the debug output)

    You would also need to add to the classpath the specific domino SSL lib(s)

    in reply to: IMG tag with SRC – HTTPS://
    #27589

    By the way: as I see, the images are located on “www.reachsuite.com”. Very often servers have different external (Internet) and internal (intranet) names. “www.reachsuite.com” looks like an external name.

    It is not always true, that the servers within intranet are able to resolve the external names or to establish a connection using the external name.

    Just to make sure that it is not your case, try to temporarily substitute “www.reachsuite.com” in the image URL with its local IP address.

    Also pd4ml.enableDebugInfo(); forces PD4ML to dump connection statistics to STDOUT (or server’s log), which could be also useful to analyze the problem.

    in reply to: IMG tag with SRC – HTTPS://
    #27588

    The Java code seems to be correct. Now it would be helpful if you post code of your version of CustomFileResourceProvider.

    Of course if you use the original CustomFileResourceProvider sample, it cannot load SSL resources. You need to add SSL connection/loading code there.

    First I would recommend to add

    System.out.println( "resource request: " + resource );
    to the class and inspect the server’s log to make sure the loader is called.

    in reply to: IMG tag with SRC – HTTPS://
    #27585

    I guess you use pd4ml_demo.jar pre-installed in the demo lotus notes database.

    The custom resource loaders support feature is relatively new, so I would recommend you to download the most recent version v351b17 from PD4ML download area and install it instead of the default one.

    in reply to: IMG tag with SRC – HTTPS://
    #27583

    “Officially” PD4ML does not support SSL, however it tries to load SSL resources with the standard SSL interfaces of JDK.

    Often it works well, but there are some application servers (Weblogic, WebSphere,…), which implement proprietary SSL classes, not derived from the standard ones. If PD4ML is deployed to a such server it fails to load external HTTPS resources (internally it throws ClassCastException).

    It it is your case, as a workaround we would recommend to develop a custom SSL resource loader, which consumes the proprietary SSL classes.

    Some info about PD4ML custom resource loaders:
    pd4ml-html-css-pdf-tips-tricks-f7/a-definition-of-custom-resource-loaders-t40.html

    Please contact PD4ML support by email if you need further assistance with the loaders.

    in reply to: CSS Issues – possible other java css parser?
    #27398

    PD4ML can read source HTML from file, URL or Stream (Reader). Any of the methods works well. If you stream HTML, you may

    • define CSS style inline with <style> tag
    • use fully specified stylesheet URL (in <link> tag)
    • use reletive path to stylesheet (in the case you need to use render() method with URL base parameter or to specify the base with <base> tag in HTML)
    • explicitly pass style with addStyle() API call
    in reply to: Attach another PDF document in the resulting one
    #27559

    For the time being the only way to merge PD4ML output with an existing PDF is to use a third party tool: for example, great open source iText library.

    in reply to: font-size=x-large
    #27551

    Just-published v351b17 should fix the problem.

    in reply to: font-size=x-large
    #27550

    We’ll address the issue on Monday.

    in reply to: Background Image
    #27553

    The issue is introduced in one of v351 betas. It is going to be fixed with the forthcomming release.

    in reply to: page-break-inside: avoid Not Working
    #27555

    It should work. Howerver there are some exceptions. For example if a row height is greater than page height. Of course, in the case it splits.

    Please send to support email an HTML and PDF samples, which illustrate the issue. Thanks.

Viewing 15 posts - 1,336 through 1,350 (of 1,410 total)