Monday, July 16, 2012

JDev/ADF sample - Issue with Show Printable Page Behavior in ADF 11g R2 (11.1.2.2.0)

  • Issue with Show Printable Page Behavior in ADF 11g R2 (11.1.2.2.0). You may experience strange issue in ADF 11g R2 (11.1.2.2.0, 11.1.2.1.0), related to printable page behavior. After af:showPrintablePageBehavior operation is applied, ADF fails to register Active Data for command component on runtime. It doesn't seem to break application completely, but obviously is annoying for the users. Same issue related to Active Data registration is reproduced after applying export to Excel operation. This seems to be a bug and most likely will be fixed in the next ADF versions. There are workarounds how to overcome Active Data registration bug, I will describe them at the end of this post.
    Download - PrintPageBehaviorApp.zip

3 comments:

Mahmoud A. Elsayed said...

Active Data registration is reproduced after applying export to Excel operation is raised also when page or fragment contains ADF graph DVT.
You can solve Active Data registration by change refresh policy of every iterator in binding from ppr to none

Andrej Baranovskij said...

Not always - in my case even with all iterators set to no ppr, error was reproduced.

Andrejus

hatem said...

the problem tha i find with show printable page is that it prints only the active screen when i need more information for example it's can't be printable haw can i resolve this.

second if i want to use a jasper report in adf haw can i make this
thank you and i'am very sorryu for my bad english