Form Runner PDF

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Form Runner PDF

bsteuhl
Is there a way to eliminate images for deleting and adding rows to a table from appearing in the PDF generated from with form Runner.  Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner PDF

bsteuhl
I know I can put a bind on the trigger and set relevance to false within model based upon a value.  I quess a more direct question would be how to do that with form runners buttons so I would not have to include a link as part of some form text (text as a disguise as opposed to a button on the form which I would also have to hide) to make the images not relevant?  Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Form Runner PDF

Erik Bruchez-3
Brian,

You can do this in CSS. In your properties-local.xml, you can add a
link to your own CSS file. The default is:

<property as="xs:string"  name="oxf.fr.css.uri.*.*"
  value="/ops/yui/reset-fonts-grids/reset-fonts-grids.css
    /apps/fr/style/form-runner-base.css
    /apps/fr/style/form-runner-orbeon.css"/>

You can create your own property for your forms, per application, e.g.:

<property as="xs:string"  name="oxf.fr.css.uri.my-app.*"
  value="/ops/yui/reset-fonts-grids/reset-fonts-grids.css
    /apps/fr/style/form-runner-base.css
    /apps/fr/style/form-runner-orbeon.css
    /forms/my-app/my-css.css"/>

In my-app.css, use a rule like:

@media print {
    ... CSS hiding images ...
}

-Erik

On Fri, Feb 12, 2010 at 6:04 AM, bsteuhl <[hidden email]> wrote:

>
> I know I can put a bind on the trigger and set relevance to false within
> model based upon a value.  I quess a more direct question would be how to do
> that with form runners buttons so I would not have to include a link as part
> of some form text (text as a disguise as opposed to a button on the form
> which I would also have to hide) to make the images not relevant?  Thanks.
> --
> View this message in context: http://n4.nabble.com/Form-Runner-PDF-tp1478149p1478543.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws