Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to Print only data from the form

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I am having a problem in my ADF/JSF page. I just want to print the form data of my form instead of the whole page.using javascript:print() method prints the whole page.so can you help me in solving this issue. I have JDev 10.1.3 and do not want to upgrade to JDev 11g!

Is there some java or JavaScript code to do so?

Thanks,
 
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I think you can consider using this..
 
vin gun
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Himalay Majumdar wrote:I think you can consider using this..




Thanks Himalay!!! I have never used this before. I saw the following code by googling but not sure how to use it in my ADF/JSF page:

var o = $("#divToPrint");
o.jqprint();
// or
$("#divToPrint").jqprint();

Could you please explain a little more...

Thanks again for the help.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic