Re: Embeding Rlib

Shannon Weyrick <weyrick-UWl7u1r57vBWk0Htik3J/[email protected]> Wed, 02 Nov 2005 15:53:55 +0100
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
Mike Greer wrote:
> I'd like to use rlib in a webapp i'm developing, and use the html output 
> to embed it in another page.  Has anyone had any experience with this?  
> The problem is that Rlib always wants to open another page, whereas i'd 
> like to use the generated HTML inside of another page.  Thank you in 
> advance.

Hi Mike,

Assuming PHP, you can tell rlib to suppress the new page tags like this:

rlib_set_output_parameter($rlib, "suppress_head", "1");

We use this to embed the reports in our app as well.

Shannon
Roadsend, Inc.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php