Forum Replies Created
-
AuthorPosts
-
in reply to: Unable to embed document December 28, 2015 at 17:05#29366
Normally PD4ML extracts a file name from attachments URL. In your case an attachment body is passed as a base64-encoded stream of bytes with no file name hint – in such situation a description attribute with a file name is needed.
In the forthcoming v398fx3 we implemented an “auto-guess” of file extension by a mime type. If there is no description, it will extract a mime type from “data:” prefix.
For example:
<pd4ml:attachment icon="PushPin"> data:text/plain;base64,YSxiLGMsZCxlDQp2YWx1ZSAxLCB2YWx1ZSAyLCB2YWx1ZSAzLCB2YWx1ZSA0 </pd4ml:attachment>
auto-names the attachment as “attachment.txt”
in reply to: System Error: Stack Underflow December 28, 2015 at 13:01#29491I am currently testing v398fx3 pre-release and the issue is not reproducible.
v398fx2 also work flawless with the HTML. Obviously it is a bug of older versions only.
in reply to: Unable to embed document December 22, 2015 at 09:34#29364Does the attachment appear in the side bar (“Attachments” tab on the left window side of Acroread)?
in reply to: System Error: Stack Underflow December 21, 2015 at 09:41#29490yes. to be addressed by the forthcoming maintenance release.
in reply to: Generating editable PDF forms December 8, 2015 at 15:48#28825As I see you currently own PD4ML Std, however editable forms are supported by PD4ML Pro (and derived volume licenses). Please contact support pd4ml com for upgrade options.
in reply to: System Error: Stack Underflow November 24, 2015 at 10:28#29487<body>nested to<head>?in reply to: Taglib transform not working with SSL and WebLogic Server November 20, 2015 at 09:55#29806> Can we use a custom loader via TagLib?
yes. Put the compiled .class file to WEB-INF/classes and refer to it in JVM command line as described by the link
https://pd4ml.com/cookbook/custom_rc_loaders.htm
or add a reference to it with custom tags (nested to ):
BTW: what kind of SSL-relevant exception does it throw in your scenario (and writes to server’s log)? Can you publish a snippet?
in reply to: Special Characters in input tags broken with 3.98 November 20, 2015 at 09:43in reply to: which line in css caused the issue? November 10, 2015 at 13:09#29457The exception is thrown by CSS Parser open source library (ss_css2.jar), which is very sensitive to CSS syntax errors and to not supported constructs. It seems in your CSS there is an unknown pseudo-selector.
Since v398 PD4ML uses our proprietary CSS parser/cascading engine, developed to address issues like the one you reported.
If an upgrade is not possible, try to narrow down the invalid CSS code location and fix it: comment out a half of the stylesheet – test for the exception; commend out a half of the remaining half – test; and so further.
in reply to: System Error: Stack Underflow November 4, 2015 at 12:31#29485I would recommend to give a try to the just released v398fx2. If the issue persists, an HTML sample with accompanying CSS resources would help to analyze the issue.
in reply to: Pd4ml – generated pdf takes first page longer width November 3, 2015 at 23:10#29481You can define htmlWidth for the entire document (including the first page) with pd4ml.setHtmlWidth() API call.
impacts htmlWidth of subsequent pages only. So with a page break directive it is not possible to define htmlWidth for the first page.
in reply to: Losing text in the <textarea> after the conversion to pdf November 3, 2015 at 23:06#29473pd4ml.generatePdfForms() should do the trick.
https://pd4ml.com/api/org/zefer/pd4ml/PD4ML.html#generatePdfForms(boolean,%20java.lang.String)
in reply to: pd4ml:include not working as an alternative of $[page], $[to October 30, 2015 at 07:55#29829yes
in reply to: Barcode Font is Not rendered October 28, 2015 at 08:19#29549Is “bar-code 39 lesbar” mapped to code39u.ttf in pd4fonts.properties?
in reply to: tomcat log running into infinite loop,CPU spikes in 3.9.5 October 26, 2015 at 14:11#29581In one of recent versions we addressed a similar issue. Can you please test with a recent (even evaluation) version if the issue already resolved?
-
AuthorPosts
