Skip to Content
author's profile photo
Former Member

Using javascript

Hello everybody!

I need to create a report to my app, and my idea was create a popup window and use the "window.print()" function to print it...

The problem is: Where can I put this script in my View ( or another place ), and how to fire this using a button event.

Sorry if my doubt is quite simple, but Im realy newbie in WebDynpro World!

Tks for everybody

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Dec 27, 2004 at 12:23 PM

    Hi Alexandre,

    nothing to be sorry about. There's no way to include custom Javascript in Web Dynpro, so you simply can't do this.

    Hope that helps.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Alexandre,

      How can I print the whole view content

      from a button on the view.

      I have written a Printable implemented java class

      and calling that from print button on my view, but it is not working