How to Print the whole view content  from a button on the view

Dear All,
Good Morning All
I am New to WebDynPro.Solution  needed Urgently
How to take print whole view content(lay out) in
webdynpro application.i.e whatever it may be tablecontent or label or inputfield .
Could you  send the coded part briefly  step by step from the beginning itself i.e
i put the button in the view lay out below the printed parts(label or inputfield) name like show preview .
Now my Question is what should i write in show preview function to take the print in label fields in the webdynpro view lay out
B'cos i am new to webdynpro.Help me
Thx in advance
Regards
Dhinakar

Web Dynpro by default does not provide the option of printing the view content.
However still you have a round about way of doing it. Create the an html page similar to the Web Dynpro page. Store the code into a String variable.
String html="<html> ....<scripts>window.print()</scripts></html>";
bytes[] source=html.getBytes();
try{
byte[] b=new byte[1];
IWDCachedWebResource res=WDWebResource.getWebResource(b,WDWebResourceType.HTML);
String url=res.getURL();
}catch (WDURLException e) {
          // TODO: handle exception
Now open the url in a new window and that would print the content of the html page.
Regards,
Noufal

Similar Messages

  • How to Print the whole view content from a button on the View Layout

    Dear All,
    Good Morning All
    I am New to WebDynPro.Solution needed Urgently
    How to take print whole view content(lay out) in
    webdynpro application.i.e whatever it may be tablecontent or label or inputfield .
    Could you send the coded part briefly step by step from the beginning itself i.e
    i put the button in the view lay out below the printed parts(label or inputfield) name like show preview .
    Now my Question is what should i write in show preview function to take the print in label fields in the webdynpro view lay out
    B'cos i am new to webdynpro.Help me
    Thx in advance
    Regards
    Dhinakar

    Web Dynpro by default does not provide the option of printing the view content.
    However still you have a round about way of doing it. Create the an html page similar to the Web Dynpro page. Store the code into a String variable.
    String html="<html> ....<scripts>window.print()</scripts></html>";
    bytes[] source=html.getBytes();
    try{
    byte[] b=new byte[1];
    IWDCachedWebResource res=WDWebResource.getWebResource(b,WDWebResourceType.HTML);
    String url=res.getURL();
    }catch (WDURLException e) {
              // TODO: handle exception
    Now open the url in a new window and that would print the content of the html page.
    Regards,
    Noufal

  • HOW TO VIEW CONTENT FROM MY iPad ON APPLE TV

    How do I view content from my iPad on the Apple TV. I have checked the trouble shooting list and attempted find access instructions in the guide.

    You can do it wirelessly by AirPlay if you have one of those Apple TV. If your relatives or you don't have one, I suggest to buy a iPad AV Adapter or one of those composites one found here http://store.apple.com/us/product/MC748ZM/A/apple-composite-av-cable

  • ADF - Accessing view object from a button in a window

    Hi
    I am using Jdeveloper 10.1.3.2.0 to build a Swing/ADF application.
    I added a method to a view class to call a database procedure.
    I use that view as a base of a jTable to display data in a window.
    Now I need to call the method that I created in the view class from a button on the same window where I display the data, ideally using the same db connection.
    I am quite new to ADF and I have no idea how to get a reference to the view instance in the button method to call my new method. How can I do that? Is there another way to achieve this?
    Thanks!
    Luis

    You usually do this by creating the method at the application module level and then exposing it as a client method. You can then drag and drop it onto your form as a button.
    See details in the ADF Developer Guide chapters 8.3-8.5:
    http://download.oracle.com/docs/html/B25947_01/bcservices003.htm#sm0206

  • My iMac is authorised to play iTunes content, but my Apple TV keeps asking for me to authorise. I am unable to view content from my iTunes Library. How can I convince my Apple TV that I am authorised?

    My iMac is authorised to play iTunes content, but my Apple TV keeps asking for me to authorise and I am unable to view content from my iTunes Library. How can I convince my Apple TV that I am authorised?

    I am not exactly sure what you mean by "authorised", but I am experiencing a similar problem...or the same, in that Apple TV keeps telling me to enable home sharing in my MacBook Pro. It does not seem to recognize that home sharing is already enabled on my Laptop.
    Is home sharing and "authorised" one in the same? It used to work just fine before these recent Apple TV updates.
    Apple TV, Mac OS X (10.7.2)

  • I have a 120gb Classic that has no space left on it. i am going to buy a larger gb capacity ipod as soon as i get clearer instruction on how to get the old ipod content to the new ipod. How do you get content from one ipod to the other?

    how do you get content from one ipod to the new one? my content is on an external hard drive not on my pc and i have run out of space on my 120gb classic. can you get old ipod content to new? my itunes has only got short cuts, the real content is on an external drive? can this be done?? please help

    If the content is on an external drive, but your library knows where to find it, then it should all work. Connect your device, make some selections for what to put on it, and sync. If, on the other hand, your current iPod is the only place holding some of your media then see this user tip: Recover your iTunes library from your iPod or iOS device.
    tt2

  • How can I acess my ipad content from the pc, without enter the security code on ipad? I broke the screen and it doesn´t work. theres a way to enter the code on the pc?

    how can I acess my ipad content from the pc, without enter the security code on ipad? I broke the screen and it doesn´t work. theres a way to enter the code on the pc? thank you

    No. Get it fix by making an appointment with the Apple genius bar.

  • How to transfer the whole address book from one no...

    Dear friend,
    Could you please advise me "how to transfer the whole address book from one nokia to another nokia phone via blue tooth connectivity. (move one by one is not convenience for my hundreds of contact.
    Thank and waiting for advice...
    victor

    If your phones have the built-in "Transfer" (sometimes called "Switch") application, try it.
    Otherwise, depending on the model(s) you can also copy all contacts to/from the memory card, and get them over that way.
    And you can also synchronize both programs to the same service (e.g., Outlook on a Windows PC using Nokia PC Suite).
    And newer versions of Nokia PC Suite can also be used to make a backup of one phone, and then restore to another.
    PC Suite you can find here: http://www.nokia.com/pcsuite

  • How to I delete all contact on my iPhone at once. These are contacts ABOVE the contact folder that says From My Mac. I do not want to erase all of the other settings and content from my iPhone -- just the contacts.

    How to I delete all contact on my iPhone at once? These are contacts ABOVE the contact folder that says, "From My Mac."
    Someone said create a new empty folder on the computer and sync to that -- didn't work .
    Another person said, "Reset information in settings to restore to the default." That would erase ALL of the conetent I have on the phone and I do not want to erase all of the other settings and content from my iPhone -- just the contacts.
    There has to be a better way than gong through and deleting one-by-one.

    Go into Settings...Mail, Calendar and Contacts and siwtch off the Contacts section from the account in question.
    The phone should ask you if you want to keep or erase the contacts stored on you phone.
    However, if they aren't synched to anything and only exist on your iPhone, you'll have to delete them all one by one

  • How to install my WVC210 Wireless-G PTZ Internet Camera so I can view it from any where in the world.

    Hi guys I just bught a
    WVC210 Wireless-G PTZ Internet Camera
    I need to install it so that I can view it from any where in the world. I have no Idea how to do this.
    I would like if some one can send me a video tutorial on how to do it.
    I have a website that I am runing so I guess I can use that if I need something like Hosting and Domain things.
    I want to know if it is posible that I can some how configure it so I can view the camera on one of my websites page.
    For exaple: www.example.com/mycamera???
    If not well I would love to here the options I have.
    Thank you very much in advance!

    Rogerio,
    I have never seen a router like you have and I wouldn't dare advise you about changing the settings. It appears that it is a router/modem that was provided by your ISP. If this is the case, I recommend that you call your ISP and ask them for Port Forwarding assistance. You need to forward port 80 to the LAN IP address of your camera. The LAN IP address of your camera is the IP address that you use to log into the web interface. You should not need to change any settings on the camera. After you have had the ISP help you forward the port to the camera, go to ipchicken.com and you will see your WAN IP address. Write that address down and then go to a remote location and type it into your web browser. You should get the login page of the camera. Note that your WAN IP is subject to change. You can ask your ISP to provide you with a static IP address which will be an additional charge each month but your IP address will not change. Another option is to use a service such as dyndns to create a unique URL that you can use to access the camera remotely even if your WAN IP address changes. We can discuss that after you get access to the camera if you have further questions.

  • TS1424 I just wanted to download ONE song Joy to the World from Merry Axemas album; the whole album had to be purchased, then the only song I really wanted to buy didn't fully download; rip-off; please fix ASAP

    I need a refund of $8 bucks the Merry Axemas album cost because I just wanted one song that wouldn't download OR
    just the one song in it's ENTIRETY instead of just half of it. 
    The beauty here is I only wanted one song but iTunes would NOT allow download of just one song making the user - ME- attempt to download the whole album which of course was short the ONLY song I desired downloaded.
    Would you please remedy this situation pronto?

    Please be aware that you are not communicating with Apple when you post in these forums. The people who will reply to your posts are, like me, in almost all cases your fellow users.
    If the track you wanted was only available when purchasing the entire album, as I see most on that album are, then that was how the content owner insisted it be done and there's nothing Apple can do about it. If you then chose to purchase the entire album, that was your choice. It's unlikely that Apple will now refund your money on that basis.
    As to a defective track, delete the problem track(s) from the iTunes library, allowing iTunes to move the track file(s) to the Trash. Then download the track(s) again from the iTunes Store via this procedure:
    http://support.apple.com/kb/ht2519
    That fixes the problem for many people. If problems with the tracks persist, go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • How do I get text to flow from one page to the next in Pages 5?

    How do I get text to flow from one page to the next in Pages 5 with the Maverick system?

    What may be overlooked in Pages v5 is the notion of combining Text Boxes via the Menu > View > Show Arrange Tools. When you select two Text Boxes, an extra panel unfolds at the bottom of the Arrange Tools window. Uncheck one Text Box and this panel abruptly disappears.
    One can achieve text flow effects between Text Boxes differently based on how one positions the Text Box overlap, and choice of effect above. Though not the accustomed flow found in Pages ’09 v4.3, flow does occur. Consider the possibilities of combining a Shape and a Text box to cut an irregular Text box.
    If I create two Text Boxes and position them side by side with outline touching and choose Unite, this creates one larger Text Box and text flows across and down. On the otherhand, if I overlap the upper left corner of a lower Text Box over one above and to the left, then choose Union, pasted text fills the first Text Box and then flows across and down into the other box. Here is a Union example:
    Intersect will leave a small Text Box where the two overlap, so not much value there. Subtract will cut a chunk out of one Text Box that is the size of the overlapping piece of the second Text Box:
    And Intersect will leave an island in the center where the two Text Box overlap, with flow jumping over this bridge.
    Clearly, this is not what we were accustomed to in the past, but with imagination, style, and layout tuning, it does offer alternative Text Box creativity and layout. Of course, there is the option of simply returning to the previous Pages version for true Text Box linking that most will want to use.

  • I am able to download all the album I bought from itune store. The album contains 13 songs but 4 of them would not load up into my ipod. How can I fix that?

    I am not able to download all the album I bought from itune store. The album contains 13 songs but 4 of them would not load up into my ipod. An error code will pop up notified me that "my Ipod cannot convert some of the file" How can I fix that?

    Hi there mayway3000,
    You may find the troubleshooting steps in the article below helpful.
    iPod does not play content purchased from the iTunes Store
    http://support.apple.com/kb/TS1510
    -Griff W.

  • How can iTune-synched photos be deleted from iOS devices if the iTunes computer is no longer available?

    How can iTunes-synched photos be deleted from iOS devices if the iTunes computer is no longer available?
    This can happen because the iOS device is on travels distant from the iTunes computer, because the iTunes computer is on travels distant from the iOS device, because the iTunes computer has failed permanently, because the iTunes computer has been stolen, etc.

    KRDHarris-
    The only possibility I can think of, is to consult with an Apple Store Genius.  See if there is some kind of Apple proprietary software or diagnostic tool that can do it.
    I do not think you want to, but you could go to Settings-General-Reset-Erase All Content and Settings.  If you decided to do that, you might be able to restore from a previous backup when you get home.
    Fred

  • How do we move i tunes content from a windows computer to our new macbook pro

    how do we move i tunes content from a windows computer to our new macbook pro

    The Apple store will do this for you.
    You can call Apple support and they will help you do it.
    You can type "move itunes library from pc to mac" into the google search bar.

Maybe you are looking for

  • CUE 8.6.1 Language issue

    I am building a new CME/CUE system. It is running CUE 8.6.1 and the only option for languate is English(UK). There used to be more of them. Right now, the gal on the voicemail system has a British Accent. Can that be changed and if so, how?

  • In which transaction can i find the Order acknowledgement field?

    Hi All, In which transaction Can i get the Order acknowledgement field ? i tried in VL10B and VL10D but i could not get it. And also tell me what is the field (order acknowledgement) and in which table can i find it? Thanks in Advance. Pallavi

  • Incompatible types in assignment

    Hello everyone, I'm quite new to objective-c programming. So far, i pretty much solved everything either on my own with the documentation, and with some googling. One problem i haven't solved was how to detect a swipe on a uiscrollview, but i thought

  • Indesign trail in unresponsive just after launch

    I just downloaded a trial version of indesign cs6. The app will launch but will become unresponsive (spinning pinwheel) before I am able to do anything. I uninstalled and reinstalled the app. Running mac with os10.7.4.

  • How many GB do I need

    Hello - how far might the 16GB size take me if I am mostly a word processing, booke reading video conferencing and music user?  Some video and photos, but not intensive? thanks!