Hi,
With the form builder, we can add an "export pdf" button, with this line in properties-local.xml : <property as="xs:string" name="oxf.fr.detail.buttons.*.*" value="pdf"/> But it doesn't work when you try to modify the structure of the xhtml (by adding a column on the left of the "builder zone" for example). Is there a trick to manage this case, or (more interesting for me) another way to call the same service with a custom button of my own ? Thanks. Lomobob -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Lomobob,
What do you mean by "adding a column to the left of the builder zone"? And in case you want to call them directly, the services to generate the PDF are declared in the Form Runner page flow: https://github.com/orbeon/orbeon-forms/blob/4.1-ce/src/resources/apps/fr/page-flow.xml#L107 Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi,
I mean that I edited the source in form builder, and instead of <xh:body> <fr:view> <fr:body> <[ORBEON CODE]> </fr:body> </fr:view> </xh:body> I modify the structure: <xh:body> <xh:table> <xh:tr> <xh:td id="left"> <[XHTML CODE]> </xh:td> <xh:td id="right"> <fr:view> <fr:body> <[ORBEON CODE]> </fr:body> </fr:view> </xh:td id="right"> </xh:tr> </xh:table> </xh:body> So I can display something else on the left that is unrelated and can be fixed (like a menu in my case). I hadn't enough time to look at your link yet, but thanks again ! Lomobob
On Wed, May 15, 2013 at 8:44 PM, Alessandro Vernet <[hidden email]> wrote: Hi Lomobob, -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Lomobob,
Don't ;). If you expect to still be able to edit your form in Form Builder, and expect it to still be runnable by Form Runner, avoid that type of structural changes. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |