How do I create a printer friendly page in a popup window for a JSF page

I have a JSF page that displays a table that shows the inventory level of a particular garment style. The table is like a matrix with each row representing a color of the style and each column representing a size of the garment. So the data in the table cell is for the inventory level of a particular color/size combination (e.g. navy blue of medium size ) for the particular style. The page also allows you to dynamically select a warehouse from a dropdown to see the inventory matrix of that warehouse.
Now everything has been working fine except that the matrix table is not printer-friendly. So we need to have a Print button or link on the page that will generate a popup window that displays the same matrix table in a printer-friendly format (with different style sheet etc.). What is the best way to populate the matrix table in the popup? The data in the matrx table is stored in a hashmap in a InventoryManageBean of session scope.
Also, shoud I use window.open to get the new window and if so what do I pass in the URL parameter?
Any advice is appreciated. It would be great if you can include a code sample as I would think someone else must have had this done before.

Any one please? This is urgent. Thanks a ton!

Similar Messages

  • Why does firefox keep allowing popup windows for Local Yellowbook Pages by Yellowbook even tho I have popups disabled on my computer?

    this pop up comes up any old time, not when i'm clicking another link or anything - i can just be reading a page, or be on facebook, anything, and it comes up and suggests something out of the blue, like "search for your local state college doctors on yellowbook". (example: here is a URL it just brought up in a popup while i was just reading facebook: http://ypeek.yellowbook.com/yellow-pages/?what=doctors&where=state+college%2C+pa)
    I definitely did NOT download anything from Yellowbook and in fact NEVER use it, so that makes this very strange. Also, my brother-in-law (a computer programmer) ran software checks on my computer and cleaned everything up, and there were no viruses, etc. but this still happens.
    can you help or advise? thank you!

    this pop up comes up any old time, not when i'm clicking another link or anything - i can just be reading a page, or be on facebook, anything, and it comes up and suggests something out of the blue, like "search for your local state college doctors on yellowbook". (example: here is a URL it just brought up in a popup while i was just reading facebook: http://ypeek.yellowbook.com/yellow-pages/?what=doctors&where=state+college%2C+pa)
    I definitely did NOT download anything from Yellowbook and in fact NEVER use it, so that makes this very strange. Also, my brother-in-law (a computer programmer) ran software checks on my computer and cleaned everything up, and there were no viruses, etc. but this still happens.
    can you help or advise? thank you!

  • How do I create a print button to print a specific range of the document.

    How do I create a print button to print a specific range of the document.  I've found JavaScript to print a specific page, but a range or even multiple ranges.  Form is created in Adobe 9 Pro.  Any help would be truly appreciated! 

    Sure, I'll give it a test.  Its just that I have a 128 page form that not all of it needs to be printed.
    Currently,  I have an index page where I want to set up a print button queues per form, however there are several form scattered throughout the document that make up a specific section, but it does not require printing the entire document.  Does that make sense?
    I did find this JavaScript during my reseach, but have not be able to get it to work.
    var pp = event.target.getPrintParams() ;
    pp.interactive = pp.constants.interactionLevel.full;
    pp.printRange=[[1, 1], [3, 4]];
    event.target.print(pp);

  • I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?  Next in Elements 11, how do I load and print different pictures and different sizes options on the same page?

    I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?  Next in Elements 11, how do I load and print different pictures and different sizes options on the same page?
    Thanks,
    Shir

    sbmgrams wrote:
    I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?
    See here:
    Reading PhotoDeluxe PDD Files

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • Using macbook pro, how do I create and print labels

    how do I create and print labels using macbook pro

    Do you mean address labels ? Please check out this link
    http://smallbusiness.chron.com/can-print-address-labels-macbook-pro-58714.html
    http://support.apple.com/kb/ht3952

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • How do i create a PDF, or convert a jpeg to PDF for export?

    How do i create a PDF, or convert a jpeg to PDF for export?

    Oped the .jpg image in Preview    HD > Applications > Preview
    Then from the Preview menu bar click > File > Export
    Select PDF from the Format pop up menu then click Save.

  • My Firefox start page had a check box for searching Canadian pages which was lost when I upgraded to 4.0. How can I get this back?

    My Firefox start page had a check box for searching Canadian pages which was lost when I upgraded to 4.0. How can I get this back?

    The default about:home page in Firefox 4 doesn't give such features. You can set the home page to http://www.google.ca to get that possibility. The results page has a "Pages from Canada" link in the side menu at the left.

  • How can we create a popup window for confirmation while clicking of button

    HI Friends,
    I am creating a application, In which I want to create a popup window for confirmation on clicking of a button.
    I also need two buttons on popup window i.e. 'Yes' & 'No'.
    On yes i want to perform some operation and on No i want to cancel that operation.

    Hi Narendra,
    try using the following code in ONACTION of ur button for popup :
    * Popup
       *  Generate Popup
        DATA lo_window_manager TYPE REF TO if_wd_window_manager.
        DATA lo_api_component  TYPE REF TO if_wd_component.
        DATA lo_window         TYPE REF TO if_wd_window.
        lo_api_component  = wd_comp_controller->wd_get_api( ).
        lo_window_manager = lo_api_component->get_window_manager( ).
        lo_window         = lo_window_manager->create_window(
          window_name          = 'W_POPUP'
         window_position = if_wd_window=>co_center
          message_display_mode = if_wd_window=>co_msg_display_mode_selected
          button_kind          = if_wd_window=>co_buttons_yesno
          message_type         = if_wd_window=>co_msg_type_none
          default_button       = if_wd_window=>co_button_yes
        DATA:  l_api TYPE REF TO if_wd_view_controller.
        l_api = wd_this->wd_get_api( ).
        " subscribe action for Ok button
        lo_window->subscribe_to_button_event(
                     button            = if_wd_window=>co_button_yes
                     action_name       = 'OK_POPUP'
                     action_view       = l_api
                     is_default_button = abap_true ).
        lo_window->open( ).
    regds,
    amit

  • How do I create a 4 second long loop that is repeated for say a minute long on garage band, I'm sure it can done, please help

    How do I create a 4 second long loop that is repeated for say a minute long on garage band, I'm sure it can done, please help, I now own a new mac book.

    Rachel Dalby wrote:
    How do I create a 4 second long loop that is repeated for say a minute long
    drag the top right corner of the region for as long as you want it

  • How do I create new folders in mail on IPad and IPhone for saving emails?

    How do I create new folders in mail on IPad and IPhone for saving emails?

    You can't do it on the iPad you would need to do it on your computer and the folder will be seen by your account on the iPad and iPhone only if they are IMAP and Exchange accounts. POP accounts are not supported for folders. 

  • How can I configure a printer which is connected to a Windows PC

    How can I configure a printer which is connected to a Windows PC.
    I have a I-Mac with OSX lion ver 10.7.2 installed.
    The printer is a Canon IP4200.

    The first thing you need to ensure is that the printer is being shared by Windows. Hopefully you know how to do that but if not, reply with the version of Windows you are using.
    With the printer shared by Windows you then add the printer on the iMac by opening Print & Scan and clicking the plus button under the Printers list. With the Add Printer browser displayed you can select the Windows icon. A window appears showing three columns. The first column is for the workgroup name. You may already see a names here such as Workgroup or MSHome. Selecting the workgroup the Windows computer is using will then show the computer name. And selecting the computer name will show the shared printer, although you may need to enter your Windows user name and password to see this printer share. Select this printer share name will then let you select the printer driver to be used on the Mac. Note that you will not be able to use Canon's driver for this, as it is not designed to work with a shared printer from Windows. Instead you will need to download and install Gutenprint. This will provide you with another iP4200 printer in the Print Using menu and this version will let you print via the Windows share.
    If you don't see the workgroups on your local network or the computer name, or something else does not function as described above then please reply with details of what is not happening.

  • Page footer information is missing for the first page alone.

    Hi All,
    After exporting to text format, Page footer information is missing for the first page alone. Any reasons?
    Thanks for any help !!
    Rgds,
    Shriram

    If you search the Business Objects Articles (see the link to the left on this page) for Export Limitations documents you'll see that page footers/headers are not supported when exporting to Text format (same for Page N of M.
    If you open up a text file in Notepad - you'll notice that there is no Insert | Page Break (as there is in MS Word).
    CR can't possibly know in advance where the page breaks will occur in a text document (or the application in which the document is opened) so most anything in CR having to do with pagination is not supported when exporting to Text.
    The Export Limitations document is a handy item if you do a lot of exporting.

  • How to close a popup window for system events?

    Hi,
    I have a screen 110 which shows several input field in popup mode.
    The Cancel button can close the screen.
    But my question is how to close the popup window for the following system events?
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close" or "Stop Session"
    The PAI subroutine of the screen has not been triggered for the above system events.
    Thanks for the coming help.
    Best Regards,
    David

    Hi Siddharth,
    I did check with another very experienced ABAP developer.
    The solution was the same as what Arunima Rudra provided.
    And I got a sample program which did work properly.
    The headache is that the system events in my program still cannot be triggered even after I have all the same changes.
    Anyway, I suggest you to try the solution as provided by Arunima Rudra.
    It should work for 2 system events:
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close"
    For "Stop Session", it should not be handled by popup.
    You can observe the same behavior in ALV sorting configuration popup.
    Good luck!
    Regards,
    David

Maybe you are looking for

  • SWF embedded in PPT not playing back

    I'm new to Breeze, but very experienced with PPT and fairly experienced with Flash. When I import a SWF file (Flash player 8) it will playback happilty in PPT Slideshow, but does nothing when published in Breeze, either on my machine or over a server

  • IPod keeps resetting while playing an album

    I recently purchased the new Kings of Leon album, Only by the Night, on iTunes. However, when I try to listen to it on my iPod, after certain songs the iPod will reset itself and show the black screen with the white apple. This is the only album that

  • Budgetting

    Dear Experts, One of my client has a requirement that they need to display the budget allocated for the capital goods, consumption of budget as on date and available budget in hand. please provide menu path and the T code. Its an urgent requirement.

  • Value Mapping replication from SAP

    Hi I have gone thru the Blogs and threads related to value mapping replication from SAP. Inmy observervation  http://sap.com/xi/XI/System of SAP BASIS 7.00 still I have some doubts... 1)what is the differnce between ValueMappingReplication(Asynchrono

  • How can I delete a template

    The envelope templates provided generate a "media not loaded correctly".  I made my own that works, but in the process I made and saved one that also generates the  "media not loaded correctly" error.  I would like to get rid of that one (or at least