i don't know flex or any of that.....but can you call those tools that
generate the HTML from your controller, get the HTML back and return
that from the controller?

def get_spiffy_html():
  html = my_call_to_magic_stuff_that_makes_html()
  return html

or if you want to embed it in a layout:

def get_spiffy_html():
  html = my_call_to_magic_stuff_that_makes_html()
  return dict(thecode = XML(html))

does something like that work for you?


On Aug 25, 10:13 am, mart <[email protected]> wrote:
> Hi All,
>
> I was thinking that should have any problems here... but I am :(...
> So, I have an app that generates templates for the younger violinists.
> These templates are based on their violin scale length (distance
> between nut & bridge). It will calculate the position makers (those
> striped pieces of tape they put on the finger board that tell them
> where exactly they put their fingers). The output is a PDF file (pdf
> because with a good pdf client, they should be able to turn off
> "scaling" for printing purposes - the printed pdf needs to be exact).
> I use flex & iFrames, which gives me a html file which I can display
> as a separate page, but I really want that page embedded within the
> app's layout (if that makes any sense?).... . Because I am using
> iFrames with Flex (which embeds the PDF), I need to embed the
> resulting HTML (not the .swf)....
>
> I have tried quite a few things (which you know... broke the app,or
> made it do silly things, etc...). Can someone help? :) I'm sure I am
> missing something really silly.... but, I'm not seeing it :(
>
> Thanks,
> Mart :)

Reply via email to