You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by James McGill <ja...@ableengineering.com> on 2010/03/03 01:11:20 UTC

A "Screen" with no display output.

 My question probably sounds strange, but please let me explain:

I have a Screen.xml that renders a PDF via xsl-fo.

In the <action> for that screen, I set some fields from parameters, and then
execute a <script>


-- 
James McGill
Able Engineering
2920 E. Chambers St.
Phoenix AZ 85040
602-304-1227 x1239
480-559-0249 24/7

Re: A "Screen" with no display output.

Posted by James McGill <ja...@ableengineering.com>.
Hit "Send" in my earlier message, oops.


My question probably sounds strange, but please let me explain:
I have a Screen.xml that renders a PDF via xsl-fo.
In the <action> for that screen, I set some fields from parameters, and then
execute a <script>

Then it renders the PDF.  Now I just want to run that script (which drives a
label printer) but I don't want
to actually display the PDF now.  So basically I want the user to select a
link which runs the script in a Screen,
but I don't want the user's screen to change and I don't want to popup the
PDF anymore.  Does that make sense?

I realize there is probably a way to do this without even calling a
view-map, but I don't know how to set fields and call
a script in the request map.

FTL that just pops up a confirmation dialog instead of the PDF might work
also.  Just looking for different ideas.


James McGill
Phoenix AZ