Forum Replies Created

Viewing 15 posts - 346 through 360 (of 4,234 total)
  • Author
    Posts
  • in reply to: fmt library is ignored
    #27765

    So is interpreted (and does not appear in the HTML, passed to PD4ML), but the resulting numeric data format is invalid?

    Does depend on Locale settings of user session? If so, you need to propagate the session ID with https://my_server/ctx/struts_action.do?arg=val1 and other URLs.

    Here is some info how to do that:
    http://pd4ml.com/support/post500.html?hilit=jsessionid#p500

    in reply to: fmt library is ignored
    #27766

    Hi !
    Thanks for your response.

    It’s exactly that: is interpreted (and does not appear in the HTML, passed to PD4ML), but the resulting numeric data format is invalid.

    You were right ! It was a problem about the Locale.

    But I can’t understand why. Sessions are correctly propagated. I’m sure of this since I use them in my struts action. I use pd4Ml.setSessionId(), I put explicitly the sessionid in the url, I use pd4ml.setCookie("JSESSIONID", sessionId) but nothing works, numeric datas aren’t formatted !

    Finally, I ‘ve added the definition of locale directly in my JSP:
    <fmt:setLocale value="FR_fr"/> and now it works fine !!!

    I don’t understand why I need to do that since Sessions are correctly propagated ….
    Anyway, It works fine now.

    Thank you very much for your help.
    Best Regards,

    in reply to: fmt library is ignored
    #27767

    cookie format requires path information, so the value should look like “9034657927465;path=/”

    pd4ml.setSessionID() does not add session ID to the original document URL, but to referenced resource URLs only (images, CSS).

    You need to add the session ID to the document URL manually:

    http://pd4ml.com/document.jsp;jsessionid=9034657927465?other=params&if=any

    in reply to: Troubleshooting
    #26314

    I use css or html where images or css are declared by relative path like “../img/toto.png” .
    But when i render the html, some of pictures and css are not found because the parser read a relaitve url ( ../img/ ) and go up for all search and not just for this specified url .

    is it exist a workaround ?
    is it exist a bug fix ?

    Trace :
    version: PD4ML 360b1 Pro (eval)<br /> using content encoding from HTTP header: UTF-8<br /> loading CSS file http://gaiactact.ira.appli.impots/gaia-agent/ctact/styles/posteAgent.css<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/styles/posteAgent.css<br /> Warning: Invalid syntax in CSS declaration. "filter:"<br /> Warning: CSS selector "*.inputParcourir" has error(s) in declaration (see above)<br /> Warning: Invalid syntax in CSS declaration. Missing colon after "width220px"<br /> Warning: CSS selector "*.LargColDetLibel" has error(s) in declaration (see above)<br /> Warning: Invalid syntax in CSS selector: ""<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_stats.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_stats.gif<br /> image size: 85<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_traces.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_traces.gif<br /> image size: 107<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_aide.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_aide.gif<br /> image size: 118<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_fermer.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_fermer.gif<br /> image size: 107<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/top_deployable_info.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/top_deployable_info.gif<br /> image size: 187<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_deployer_info.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_deployer_info.gif<br /> image size: 845<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/mid_deployable_info.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/mid_deployable_info.gif<br /> image size: 190<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_memento.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/ico_memento.gif<br /> image size: 72<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_off_gauche_blanc.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_off_gauche_blanc.gif<br /> image size: 67<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_off_droite_blanc.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_off_droite_blanc.gif<br /> image size: 67<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_gauche_blanc.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_gauche_blanc.gif<br /> image size: 217<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_droite_blanc.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/bt_droite_blanc.gif<br /> image size: 174<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/ico_titre.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/ico_titre.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/ico_titre.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/ico_titre.gif not found.<br /> can not load image: ../images/ico_titre.gif<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> can not load image: ../images/bt_off_fond.gif<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> can not load image: ../images/bt_off_fond.gif<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> can not load image: ../images/bt_off_fond.gif<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif not found.<br /> can not load image: ../images/bt_fond.gif<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg not found.<br /> can not load image: ../images/form_ctact_titre1.jpg<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg not found.<br /> can not load image: ../images/form_ctact_titre1.jpg<br /> image not yet in cache: java:/resources/icons/arrow-up.gif<br /> not yet in cache: java:/resources/icons/arrow-up.gif<br /> image size: 664<br /> image not yet in cache: java:/resources/icons/arrow-dn.gif<br /> not yet in cache: java:/resources/icons/arrow-dn.gif<br /> image size: 660<br /> image not yet in cache: java:/resources/icons/cb-on-big-g.gif<br /> not yet in cache: java:/resources/icons/cb-on-big-g.gif<br /> image size: 3753<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> can not load image: ../images/bt_off_fond.gif<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/bt_off_fond.gif not found.<br /> can not load image: ../images/bt_off_fond.gif<br /> image not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif<br /> not yet in cache: http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif<br /> resource http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif not found.<br /> image http://gaiactact.ira.appli.impots/gaia-agent/images/bt_fond.gif not found.<br /> can not load image: ../images/bt_fond.gif<br /> done in 3281ms.

    in reply to: trouble with relative path for img or css
    #27776

    OK, you specify

    ../images/form_ctact_titre1.jpg

    PD4ML resolves it to

    http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre1.jpg

    As for me if the source HTML is located in http://gaiactact.ira.appli.impots/gaia-agent/ctact/ it is correct.

    What should be the URL from your perspective?

    in reply to: trouble with relative path for img or css
    #27775

    the initial ur is “http://gaiactact.ira.appli.impots/gaia-agent/ctact/afficherEvenement.do&#8221;

    when pd4ml try to catch the image ” ../images/form_ctact_titre1.jpg ”
    The base url becomes “http://gaiactact.ira.appli.impots/gaia-agent/&#8221;

    after that pd4ml try to get another image located at
    http://gaiactact.ira.appli.impots/gaia-agent/images/form_ctact_titre2.jpg
    but this images is located at
    http://gaiactact.ira.appli.impots/gaia-agent/ctact/images/form_ctact_titre2.jpg “

    in reply to: trouble with relative path for img or css
    #27774

    From my perspective the relative image link should be

    images/form_ctact_titre1.jpg

    instead of

    ../images/form_ctact_titre1.jpg

    “../” prefix in the image link leads out of ctact directory.

    in reply to: trouble with relative path for img or css
    #27773

    in fact this url “../images/form_ctact_titre1.jpg” is defined in css .
    the url of the css is
    http://gaiactact.ira.appli.impots/gaia-agent/ctact/styles/posteAgent.css

    so
    ../images/form_ctact_titre1.jpg is needed to go out of the directory “css” for the directory “images” .

    But, it’s the base url which is modified .

    in reply to: trouble with relative path for img or css
    #27777

    ok, now I see your point.

    Obviously it is a bug in our code. Would be a temporal workaround for you?

    (if so you would also need to adjust stylesheet references)

    in reply to: trouble with relative path for img or css
    #27778

    ok just for more precision the css is
    .btBleuLien {background:url(../images/bt_fond.gif) repeat-x; padding:0.2em 4px 0.2em 0;}

    I will try the workaround, you gave me
    When do you think this bug would be fix ?

    in reply to: trouble with relative path for img or css
    #27779

    We plan to publish a new beta on Monday; it is currently under QA, so it is too late to add the bugfix there. I guess the fix will be available with the next beta in 2-4 weeks.

    If you own or plan to purchase one of our volume licenses, hopefully we’ll be able to provide you with the fix next week.

    in reply to: trouble with relative path for img or css
    #27780

    yes, we plan to buy a volume and source licence .

    in reply to: trouble with relative path for img or css
    #27781

    We’ve just published a new beta (v360b2), which workarounds the issue. Please give a try.

    in reply to: Automatically open print dialog
    #27652

    @PD4ML wrote:

    The missing mapping custom tags (, , ) for the method will be available with the final release v360.

    Thanks! although i think that the tags are and

    The following code works for me:
    <br /> <pdf:transform screenWidth="800" adjustScreenWidth="true" pageFormat="LETTER" pageOrientation="portrait"<br /> pageInsets="3,3,3,3,mm" enableImageSplit="false" inline="true"<br /> fileName="file.pdf" interpolateImages="false"><br /> <pdf:parameters><br /> <pdf:parameter key="pd4ml.print.dialog.popup" value="true"></pdf:parameter><br /> </pdf:parameters><br /> <html><br /> <head><br /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br /> <title>JSP Page</title><br /> </head><br /> <body><br /> <h1>Hello World!</h1><br /> </body><br /> </html><br /> </pdf:transform><br />

    in reply to: Automatically open print dialog
    #27653

    Any chance to send the converted document directly to the printer?
    I mean, do not open a viewer and display the print dialog box, but print it directly.

Viewing 15 posts - 346 through 360 (of 4,234 total)