PDF rendering with PL/SQL dynamic region

The problem with the reporting is:
- if you want flexible, enhanced reports you can't use the report engine
- PDF output works only with the report engine
Means: At the moment you can't do enhanced, printable reports with HTML DB without using OAS & Developer.
Is there some possible way to generate custom xml from dynamic regions and pass it to the render JSP ?
Is this XmlHttp object in "htmldb_pdf.js" generating the xml output all by its self or does the HTML DB engine something in the background?
Will there be enhanced PDF support in future versions of HTML DB ?
Greetings,
Jochen

Hello,
Even though it's based on the report engine the xml feeds actually output page items and session items into the xml feed. By using these you can build some very robust/complex pdf's than just a report, it's just matter of using a different xslt.
There is no easy way to include the output of a custom region. But if you wanted to do some javascript hacking you could use javascript to splice in some custom xml,from plsql or wherever into the xml feed before it posts to fop server. When I have some time I'll post an example of this on HTML DB Studio.
HTML DB itself produces the xml it, it is just another output from our reporting engine.
XmlHttp is a javascript object it's used to pull the xml feed from the report engine without reloading a page and then posting the xml to the server to render the fop.
As for the servers used our howto is just written using the servers we have on hand, but any server that can run Apache Fop should work.
Thanks,
Carl

Similar Messages

  • Rendering pl/sql dynamic region in PDF

    Is it possible to render a region with pl/sql dynamic content to a PDF document using the htmldb_studio_fop utility ?
    I did attempt to do this but the JSP fails.

    Hello,
    Even though it's based on the report engine the xml feeds actually output page items and session items into the xml feed. By using these you can build some very robust/complex pdf's than just a report, it's just matter of using a different xslt.
    There is no easy way to include the output of a custom region. But if you wanted to do some javascript hacking you could use javascript to splice in some custom xml,from plsql or wherever into the xml feed before it posts to fop server. When I have some time I'll post an example of this on HTML DB Studio.
    HTML DB itself produces the xml it, it is just another output from our reporting engine.
    XmlHttp is a javascript object it's used to pull the xml feed from the report engine without reloading a page and then posting the xml to the server to render the fop.
    As for the servers used our howto is just written using the servers we have on hand, but any server that can run Apache Fop should work.
    Thanks,
    Carl

  • Problem with "PL/SQL Dynamic Content" and displaying rows

    hi,
    im new to APEX, and pl/sql [but not web dev or sql].
    ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
    maybe there's a better option for people who dont know pl/sql? i dont know?
    however, i think i can getting working with a little bit of help but im stumbling around in the dark a bit here.
    ok so this is the pl/sql ive come up with to show three example values on page 23 of my aplplication:
    BEGIN
    SELECT ID, NAME, OWNER
    FROM COM_MAILSHOTS
    INTO :P23_ID, :P23_NAME, :P23_OWNER;
    END;
    im getting the error:
    1 error has occurred 
    ORA-06550: line 5, column 21: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 4, column 1: PL/SQL: SQL Statement ignored
    thanks for reading!

    Metabaron wrote:
    hi,
    im new to APEX, and pl/sql [but not web dev or sql].
    ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
    maybe there's a better option for people who dont know pl/sql? i dont know?
    The easiest (and best) way to "display rows" is using a report. Dynamic PL/SQL regions are more complex and are required much less frequently.
    The Oracle® Database 2 Day + Application Express Developer's Guide tutorial explains how to create reports and other basic APEX techniques.

  • Send pdf attachment with pl/sql

    Hello,
    Does anybody has a sample code on how to send an pdf file as attachment using pl/sql?
    Thanks

    PDF file distribution via e-mail: http://plpdf.com/23-1725.html

  • Dynamic region table with binding problem

    Hi. I'm using jdev 11.1.1.3 and ADF full stack.
    My app uses single page approach with ADF libraries and a dynamic region to show content. Main page includes a menu bar which is created on session startup and is used to load task flows from libraries.
    I have a class to provide some table functionality like CRUD, multi-row delete, etc and I need to reuse with every table included in libraries.
    To do this, in main web app I have a managed bean to hold table binding and to provide this common functions to all fragments if needed.
    I think it must be in request scope as fragment changes.
    Here's the problem: when I navigate to a fragment which contains a table with binding, first time goes well,
    but next time table, when fragment changes,new table displays without header or without data.
    If I go to another fragment without binding and return to a fragment with problem, it displays well. With fragments without table binding, it works OK.
    I've tried changing scope of this 'general' managed bean, but same thing. If I put a bean for each fragment, it works OK.
    So, how can I 'share' this managed bean through every table? Any suggestions? is it possible?
    Please, help me ....
    Thanks,
    DEMR.

    I am seeing a similar problem in my app. I have a main menu that drives a dynamic region. If the task flow that gets displayed in the dynamic region also contains a dynamic region, when the inner dynamic region is refreshed to point to a second task flow, the page does not render correctly. The errors we have seen include data in tables not being displayed in some cases, and PPR errors in other cases. In both cases, if the inner dynamic region is replaced (by a single bounded task flow with navigation logic in a template, for example) the errors go away. There appears to be issues involved with including a dynamic region within a dynamic region.
    Have you made any progress on solving your issue?

  • Linking PL/SQL custom region into html db pages

    Hello,
    I have built an htmldb application with several pages, the first 7 of which contain html regions containing htmldb form items I created using the html db interface. I am able to step through the first 6 pages of my application, noting that the values of all the variables are saved when clicking from tab to tab.
    I created page 8 which contains a custom dynamic region, in which I used the PL/SQL web toolkit to create an html table, form, and several form fields in which to capture data.
    What I'd like to do is, link my custom region variables, etc. into the other pages that were generated by html db. The code snippet for my custom region is located below... After I navigate to my page with the custom region then click on Submit or even try to switch to another tab, I get the dreaded error: "The requested URL /pls/htmldb/wwv_flow.accept was not found on this server."
    I am learning this product and admittedly am just knowledgeable to be dangerous. There must be some way to link in the items on my form I created with the rest of the pages within the application.
    I am sure I'm missing an important piece. Has anyone else done something similar? Any ideas, or can you tell me if what I'm doing is not possible?
    In case you're curious, the reason I am writing my own region with PL/SQL using the WebToolkit, etc. is because our organization wanted an example of taking an html db page and porting it over for use in Portal.
    Thanks in advance for any comments.
    code snippet for my custom region:
    declare extracurtxt varchar2(500);
    worktxt varchar2(120);
    begin
    htp.htmlOpen;
    htp.headOpen;
    htp.title('Extracurricular, Community and Work Activities');
    htp.header(1,'Extracurricular, Community, and Volunteer Activities');
    htp.headClose;
    htp.bodyOpen;
    extracurtxt := 'Please list your principal extracurricular, community, church, and family activities and hobbies in order of interest to you. Include specific events and/or major accomplishments such as musical instrument played, varsity letters earned, etc. Please check those activities you hope to pursue in college';
    htp.small(extracurtxt);
    htp.formOpen(owa_util.get_owa_service_path || 'wwv_flow.accept');
    htp.nl;
    htp.nl;
    -- Test working with form elements in table now
    htp.tableOpen;
    htp.tableRowOpen;
    htp.tableHeader;
    htp.tableHeader('Grade level or','center',null,null,null,'5',null);
    htp.tableHeader('Approximate time spent','center',null,null,null,'2',null);
    htp.tableHeader('Positions held','center');
    htp.tableHeader('Do you plan','center');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableHeader;
    htp.tableHeader('post-secondary (PS)','center',null,null,null,'5',null);
    htp.tableHeader('Hours','center');
    htp.tableHeader('Weeks','center');
    htp.tableHeader('honors won,','center');
    htp.tableHeader('to participate','center');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableHeader('Activity','center');
    htp.tableHeader('9');
    htp.tableHeader('10');
    htp.tableHeader('11');
    htp.tableHeader('12');
    htp.tableHeader('PS');
    htp.fontOpen(null,null,'1');
    htp.tableHeader('per week','center',null,null,null,null,'small');
    htp.tableHeader('per year','center');
    htp.fontClose;
    htp.tableHeader('or letters earned');
    htp.tableHeader('in college?');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableData((htf.formText('PT6_EXTRACUR_1','40','65',null,'id="P6_EXTRACUR_1"')));
    htp.tableData((htf.formCheckbox('PT6_EXTRACUR_L9_1','0',null,'id="P6_EXTRACUR_L9_1"')));
    htp.tableData((htf.formCheckbox('PT6_EXTRACUR_L10_1','0',null,'id="P6_EXTRACUR_L10_1"')));
    htp.tableData((htf.formCheckbox('PT6_EXTRACUR_L11_1','0',null,'id="P6_EXTRACUR_L11_1"')));
    htp.tableData((htf.formCheckbox('PT6_EXTRACUR_L12_1','0',null,'id="P6_EXTRACUR_L12_1"')));
    htp.tableData((htf.formCheckbox('PT6_EXTRACUR_LPS_1','0',null,'id="P6_EXTRACUR_LPS_1"')));
    htp.tableData(htf.formText('PT6_HOURS_WEEK_1','3','3',null,'id="P6_HOURS_WEEK_1"'),'center'); htp.tableData(htf.formText('PT6_WEEKS_YEAR_1','3','3',null,'id="P6_WEEKS_YEAR_1"'),'center');
    htp.tableData(htf.formText('PT6_HONORS_1','25','45',null,'id="P6_HONORS_1"'),'center');
    htp.tableData(htf.formCheckbox('PT6_PARTICIPATE_1','0',null,'id="P6_PARTICIPATE_1"'),'center');
    htp.tableRowClose;
    --snip table has seven rows with associated variables.
    htp.tableClose;
    --WORK EXPERIENCE
    htp.header(1,'Work Experience');
    worktxt := 'List any job (including summer employment) you have held during the past three years.';
    htp.small(worktxt);
    htp.tableOpen;
    htp.tableRowOpen;
    htp.tableHeader; htp.tableHeader;
    htp.tableHeader('Approximate Dates','center',null,null,null,'2');
    htp.tableHeader('Approximate No.','center');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableHeader; htp.tableHeader;
    htp.tableHeader('Of Employment','center',null,null,null,'2');
    htp.tableHeader('of Hours','center');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableHeader('Specific Nature of Work','center');
    htp.tableHeader('Employer','center');
    htp.tableHeader('From','center');
    htp.tableHeader('Until','center');
    htp.tableHeader('Per Week','center');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableData(htf.formText('PT6_JOB_1','25','45',null,'id="P6_JOB_1"'));
    htp.tableData(htf.formText('PT6_JOB_EMP_1','25','45',null,'id="P6_JOB_EMP_1"'));
    htp.tableData(htf.formText('PT6_JOB_FROM_1','20','30',null,'id="P6_JOB_FROM_1"'));
    htp.tableData(htf.formText('PT6_JOB_UNTIL_1','20','30',null,'id="P6_JOB_UNTIL_1"'));
    htp.tableData(htf.formText('PT6_JOB_HOURS_1','3','3',null,'id="P6_JOB_HOURS_1"'),'center');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableData(htf.formText('PT6_JOB_2','25','45',null,'id="P6_JOB_2"'));
    htp.tableData(htf.formText('PT6_JOB_EMP_2','25','45',null,'id="P6_JOB_EMP_2"'));
    htp.tableData(htf.formText('PT6_JOB_FROM_2','20','30',null,'id="P6_JOB_FROM_2"'));
    htp.tableData(htf.formText('PT6_JOB_UNTIL_2','20','30',null,'id="P6_JOB_UNTIL_2"'));
    htp.tableData(htf.formText('PT6_JOB_HOURS_2','3','3',null,'id="P6_JOB_HOURS_2"'),'center');
    htp.tableRowClose;
    htp.tableRowOpen;
    htp.tableData(htf.formText('PT6_JOB_3','25','45',null,'id="P6_JOB_3"'));
    htp.tableData(htf.formText('PT6_JOB_EMP_3','25','45',null,'id="P6_JOB_EMP_3"'));
    htp.tableData(htf.formText('PT6_JOB_FROM_3','20','30',null,'id="P6_JOB_FROM_3"'));
    htp.tableData(htf.formText('PT6_JOB_UNTIL_3','20','30',null,'id="P6_JOB_UNTIL_3"'));
    htp.tableData(htf.formText('PT6_JOB_HOURS_3','3','3',null,'id="P6_JOB_HOURS_3"'),'center');
    htp.tableRowClose;
    htp.tableClose;
    htp.formSubmit('P6_GO');
    htp.formClose;
    htp.bodyClose;
    htp.htmlClose;
    end;

    Thank you for your reply...
    I actually was probably not very clear about what I'm trying to do. Let me try to clarify and give more background info...
    I have found it very easy to utilize html db to create my web forms, and manage all the variables and session state for me. It is so easy to make a quick form, capture info in a few fields and then post it to the DB. I have found it very difficult to use, however, in terms of getting it to format things the way I wish them to be.
    For example: I cannot seem, for the life of me, to get it to wrap field labels. This results in oddly formatted tables. I have tried to utilize the stop and start html table controls, begin on new line, new field, colspan, rowspan, etc., but what I really need is for it to let me define the tables and field labels, as I have done so successfully with the PL/SQL web toolkit (the code snipped for this is in my first post). What I did unsuccessfully with my custom dynamic region was manage to incorporate my form fields into variables and session state that will be automatically managed by html db along with the other 6 pages in my application. I was perhaps, expecting code to write itself, in retrospect. I'm sure some coding will be necessary to bind my form fields to vars in my html db appl. But, after reading a blog by a Mr. Spledoni (forgive me if spelling is wrong,) I think I messed up by overlapping <FORM> elements in my custom region. I admittedly don't understand how html db renders the form elements and processes them behind the scenes. I do remember from the Portlet classes, however, that coding was certainly necessary to process the forms once submitted.
    Am I making sense?
    I guess I need to either figure out how to format field labels the way I want them to be, OR to be able to write a custom region in PL/SQL using the web toolkit and figure out how to incorporate the values captured within the region into items or variables within my application, all other pages of which are html regions with html db items within them (not dymanic PL/SQL regions).
    Thanks for reading this, I know it's tedious...

  • Refreshing sql report region based on values from another region - 4.0

    Greetings All,
    I have a page with two regions, say region 1 and region 2. I have a before header process that fetches values from db based on criteria entered from another page. Region 2 is a sql report region with bind variables from region 1. When this page is rendered region 1 renders properly however sql report region always returns no records. What am i missing here?
    I would like to have the region 2 render a report based on the values from region 1. Region 2 has a sql query that looks something like
    select
    colum 1,
    column 2,
    column 3
    from table t1
    where t1.c1 = :p10_item1
    and t1.c2 = :p10_item2Using apex 4.0
    thanks
    Seetharaman

    If these items hidden, try making them display only .
    Also what happens when you move the items from region 1 to region 2.
    From my experience items do not have much of a dependency on the region they are attached to other than cases when the region is not rendered(when its condition fails) and then the item values become null(bcoz they themselves are not rendered).

  • SQL Report Region

    Hi,
    I am using apex 4.0.1 and I have a page with several SQL Report regions. The user can edit the data in the report regions by clicking a column that uses a href link to open a DML page in a modal window. The user can then amend some data in the modal window, press save which closes the modal window and uses the partial page refresh process to refresh the SQL report region. (Using apex.event.trigger('#SOME_REGION'),'apexrefresh')).
    If I navigate through the report to show rows 31-45 and then click on a href to edit a record. On pressing save, the report is refreshed but the rows displayed goes back to 1-15.
    How can I get the report to stay showing the rows 31-45?
    Cheers
    Paul.

    I believe this answers my question
    http://monkeyonoracle.blogspot.com/2010/11/refresh-report-region-and-pagination.html
    Edited by: pjturley on Jan 10, 2012 1:14 PM

  • PDF renderer for next release please

    I would like to add to the
    discussion
    on the old labs forum.
    AIR would be hugely more useful to me if it could display a
    pdf natively. This would mean bundling a basic pdf renderer with
    AIR. This needn't add much to the AIR runtime (e.g. FoxIt reader is
    only 2mb).
    As mentioned in the linked discussion, AIR could check for
    the presence of Adobe Reader x.x and / or full Acrobat and then
    make use of them if required. But the ability to simply display
    (and hence print) pdf's without launching an additional application
    and without worrying about what the user might have installed on
    various OS's would IMHO make AIR a more wonderful thing!
    Here's hoping..

    The release notes state that you can display a pdf natively,
    ONLY if the client has the most current 8.1 reader. Unfortunately,
    I have not yet found a method for doing this, despite having the
    most current reader...
    Regardless, I second this proposal, and I do not understand
    why Adobe would essentially leave one of the core products of AIR
    out of the 1.0 release. I would have assumed that the first alpha
    would have been able to not only render a pdf to the display, but
    also write a pdf out to the client machine. Understandably, this
    may be easier said than done, but should have been done before a
    1.0 release.
    Also, I do not understand why 2/3 of the release notes are
    known issues many of which should have been taken care of prior to
    release. I do not understand why anyone would knowingly release a
    buggy product.

  • Building a report using "PL/SQL Dynamic Content" can I have it output PDF?

    Hi,
    I build several reports using the "PL/SQL Dynamic Content" region and htp.p().
    The output is exactly what the customer wants but they would now like to have it go into PDF document.
    Is there a way to do it?
    Bill

    Bill,
    You can integrate APEX with Oracle BI Publisher and have your report generated to PDF.
    If you're just interested in saving what is on a web page in PDF, have a look at CuteFTP (Windows), which is a free print driver that allows you to "print" to a PDF file as if it were a printer. On the Mac, you can save to PDF and do not need any additional software.
    Thanks,
    &#150; Scott &#150;
    http://spendolini.blogspot.com/
    http://sumnertech.com/

  • Encountering error while working with Dynamic Regions.

    Hi All,
    I am a beginner in ADF and on a quest to learn ADF. Sometimes I am struggling in the process. Now, when I am working with Dynamic Regions, encountered problem below
    Step 1 : Created a simple department TaskFlow with Department Form
    Step 2: Created a Simple employee TaskFlow with Employee Details
    Step 3: Created a Main page with oracle 2 column layout
    Step 4 : Dragged and dropped department TaskFlow on to main page second facet as Dyanmic region . Created a bean as RegionBean
    Step 5 : Dragged and dropped department TaskFlow as Command Link on the first facet
    Step 6 : Dragged and dropped employee TaskFlow as Command Link on the first facet
    The page runs and shows department information when it renders. But when I click on employees command link, at first it shows employees table with no data and says "ACCESS DENIED ". Then if I click on either department or employee command link, it errors out with below info
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'vs' resolved to null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:345)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.decodeInternal(SimpleInputDateRenderer.java:73)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
         at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:292)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1334)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:865)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:965)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:287)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$UIXColumnFilterWrapper.processDecodes(BaseColumnRenderer.java:2108)
         at org.apache.myfaces.trinidad.component.UIXCollection.processComponent(UIXCollection.java:1087)
         at org.apache.myfaces.trinidad.component.TableUtils$1.process(TableUtils.java:238)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
         at org.apache.myfaces.trinidad.component.TableUtils.processFacets(TableUtils.java:232)
         at org.apache.myfaces.trinidad.component.TableUtils$2.process(TableUtils.java:261)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:48)
         at org.apache.myfaces.trinidad.component.TableUtils.processColumnFacets(TableUtils.java:253)
         at org.apache.myfaces.trinidad.component.UIXTable.processFacetsAndChildren(UIXTable.java:379)
         at org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:206)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:200)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at oracle.adf.view.rich.component.fragment.UIXRegion.decodeChildrenImpl(UIXRegion.java:635)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1048)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:926)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1519)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:372)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Please help me !!!!!!
    Thanks

    Hi Shay Shmeltzer ,
    Thanks for your quick reply. Below is response for your queries
    What scope did you specify for the bean? View Scope
    Also which browser are you using? Firefox
    Thanks for the link. I started to build dynamic region after taking a look at the video
    What else do you think might be the issue
    Thanks
    Edited by: User44444 on Dec 4, 2012 12:44 AM

  • Execute SQL dynamically from pdf?

    Hi,
    We'd like to fill some fields in the form dynamically, sometimes based on user input from previous field(s). With enough user input, we'd like construct, execute SQL dynamically and interpret the result and update relavent field on the pdf form.
    How do I access Oracle 9i database directly in the form? I know we can run server side scripting in presubmit event.
    I've written a custom QPAC to access database and return multiple rows in Workflow Server. But there inside Form Designer 7.1, it doesn't allow me to
    put in java code... Or, we have to use webservice to achieve the result?
    Please advise.
    Thanks!
    Scott Jiang
    Compuware Corp.
    P.S. We have Forms and Workflow 7.2.

    Strange, whenever I have installed forms I got sqlplus too without asking for it. If it is not installed, wouldn't your best bet be to install it ?

  • Problem with SQL query region source containing OLAP clauses

    Hi team,
    I believe I found a bug when HTMLDB validates the SQL Query in a report region.
    My query includes an ORDER BY clause within a windowing function and HTMLDB refuses to accept the source owing to the presence of the ORDER BY and the column heading sort preference.
    Clearly the order-by in a window function has little to do with the column heading sort, but this error prevents me from updating the conditional display item in the page definition.
    Note also that the page was imported smoothly from the 1.5 version, so probably the region source is not checked at that time, but only when you update it "manually".
    So, in the end, if I don't change anything the page works because the sql query is assumed to be correct but unfortunately I need to change the condition and I cannot.
    The problem shows up in page 126 of app 21670, SQL query region.
    Bye,
    Flavio
    PS: may be I can work around this by using the pl/sql function returning the sql query.

    Flavio,
    We're aware of this problem. For now, your workaround is described in this thread:
    HTMLDB 1.6 and "order by" in analytic functions
    Sergio

  • How to use a menu model with a dynamic region and a task flow parameter

    I am using JDeveloper/ADF 11.1.2.1
    I have a menu model that changes which task flow is displayed in a given dynamic region using a backing bean. That works fine. I would like to be able to pass parameters to that task flow based on which menu item is clicked. For example: i have a task flow which shows a page where input fields are used to filter a table. Depending on the value of the task flow parameter I want to change which input fields are displayed. So i will have multiple menu items which refer to the same task flow but have a different set of parameters. I have tried using request scope variables and setting them in the backing bean for the dynamic region which works until the query is submitted at which point the request scope has changed and the value is no longer available. I have tried a number of other 'creative' approaches but have not gotten anything to work. Anyone done this before? Or have an idea on how to solve it?

    Frank,
    I did a fair bit of digging based on your suggestions and some things I found in your Oracle Fusion Developer's Guide book and I came up with something that works really well. It is fairly elegant but requires code. It would be nice if something like a setPropertyListener could be rolled into the menu model. That would make my solution completely declarative.
    Here is my solution:
    My task flow requires a the value #{pageFlowScope.type} to be set. My application has a dynamic region that is changed on the fly using a menu model. The region uses a backing bean (mainRegionManagerBean) which is in the viewScope to manage what taskflow is shown in the region. There are multiple menu items in the menu model that point to the same task flow but pass different values to the #{pageFlowScope.type} parameter. So i wired the menu items up to different methods in the mainRegionManagerBean which set the value for me. See the relevant code below.
    I would be very interested in the feedback from someone with more experience than I on my solution. Maybe there is a more elegant way...
    In the backing bean there is a primary method that was created by generating a dynamic region link which sets the task flow id and then other methods which call it and set the relevant parameters. (JSFUtils is a helper class i wrote to centralize some common tasks):
    public String shipmentTraceMasterTaskflow()
    taskFlowId = "/WEB-INF/taskflow/master/shipmentTraceMasterTaskflow.xml#shipmentTraceMasterTaskflow";
    JSFUtils.setValue("pageFlowScope.type", "");
    return null;
    public String shipmentTraceProNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "pronumber");
    return null;
    public String shipmentTraceBOLNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "bolnumber");
    return null;
    In the menu model (notice that these reference the different methods from above):
    <itemNode id="itemNode_ProNumberTrace" label="ProNumber Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceProNumber}" focusViewId=""/>
    <itemNode id="itemNode_BOLNumberTrace" label="BOL Number Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceBOLNumber}" focusViewId=""/>
    On the page:
    <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"/>
    In the pagedef:
    <taskFlow id="dynamicRegion1" taskFlowId="${viewScope.mainRegionManagerBean.dynamicTaskFlowId}" activation="deferred" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded">
    <parameters>
    <parameter id="type" value="#{pageFlowScope.type}"/>
    </parameters>
    </taskFlow>
    Edited by: Adam Stortz on Nov 22, 2011 11:10 AM

  • Issue with refresh of task flow in dynamic region

    Hi All,
    I am using Jdeveloper version 11.1.1.6. In my fusion application I am facing an issue with the task flow refresh in the dynamic region. In my application, I have one task flow in which the side navigation command links are there and on the right side it has a dynamic region which is used to display the respective task flows on click of navigation links. Now two of the links actually call the same task flow in dynamic region but for different purpose. One for creating a record and another one for modifying the record. The default activity of that task flow has a page fragment that has couple of fields. One a drop down and another one a text field for searching the accounts against which the record is to be created or modified. On click of the navigation link, I set the task flow id to be displayed and refresh the dynamic region. Now the issue is with those two links which shows the same task flow. Let's say  I searched for a record by putting some value in input text and then went on to modify flow using the modify navigation link. Then the value that I entered in search input text in the create flow stays and does not go away. I found out the cause for the issue and this is happening because of the immediate = true on the navigation command links. Now I cannot remove that because of the obvious reason that then it will start throwing exceptions for the mandatory fields when I am in middle of any flow. Is there any way to achieve it.
    Please help as this is quite urgent. I can also upload the sample application if anyone needs it.
    Regards
    Ajay

    try to put RefreshCondition in the pageDef file for that particular task Flow and try to make that condition to true only when you switch between edit or add. While switching, make sure that the mapped bean properties should also point to respective values i.e. either empty for new or holds some value for edit.
    So, when ever the above condition returns true, task flow gets refreshes and it will holds only the current values not the old values.
    i hope this will resolve your issue.

Maybe you are looking for

  • How to open a document out side the .war file

    Hi all, I have initially stored a document outside the WEB-INF in the .war file to retrieve it from a jsp file of the same war file. But now the file has been stored at a location on the same server and outside the .war file. how can I retrieve the f

  • Com.sap.aii.utilxi.misc.api.UnexpectedException: Internal Error: An unexpec

    Hello Friends, When I want to access message monitoring, I am facing given below error. com.sap.aii.utilxi.misc.api.UnexpectedException: Internal Error: An unexpected error occurred (java.lang.NullPointerException: null) Kindly suggest for that. Rega

  • How to generate APDU to load a cap file?

    Below is a code to load a cap that I got here. public byte[] readJar(File file) throws IOException {           int BLOCK_SIZE1;           String[] xCaps;           if(installDescriptor){                xCaps = iCapsWD;           }else{               

  • PX Deq Credit: send blkd At AWR "Top 5 Timed Events"

    PX Deq Credit: send blkd At Top 5 Timed Events Hi , Below are examples of "Top 5 Timed Events" in my Staging data warehouse database. ALWAYS , at the most Top 5 Timed Events is the event : PX Deq Credit: send blkd. Oracle saids that its an idel event

  • How to install Itunes with Windows 8.1

    Having dificulties installing iTunes in Windows 8.1  The product will not burn playlists to a CD.  Any help?  Thx Further information: Warning message:  The registry settings used by the iTunes drivers for importing and burning CDs and DVDs are missi