Dynamic Tabs in Form

Hi,
I have created a Form with a Tab containing few fields and two Buttons(AddTab, Delete Tab),
1) My problem is when ever i click on 'Add Tab' button, a new tab should get added to the existing tabs with the same fields as main tab.
2) When ever i click on 'Delete Tab' Button the current tab should get deleted.
pls help me out

That is what I am trying to do, but I am unsure of how to pass the appropriate string with the values of the foreign/primary key.
I am using the following URL, but the form doesn't seem to be populating based on the primary key
<!--
edit
-->
Message was edited by:
dsn0wman

Similar Messages

  • Dynamic Tabs & PDF form display cause IE CPU up and PC hang

    Hi Experts,
    I create dynamic tabs and inside each tab I create interactive form with PDF data inside to display PDF. After running for a while,  the CPU goes up and PC hang. What could be the problem for this? (I'm  using IE7)
    Thanks,
    - Anthony -

    Hi Thomas,
    Thank you for your reply!
    I've re-designed it in a way that only one instance of Adobe Reader in the current selected tab. Whenever user choose another tab, I remove Adobe Reader from that tab and create in the new selected tab. The problem still exists. I don't know what and where exactly problem is. This is excerpt code in WDDOMODIFYVIEW to remove interactive form first and all tabs later. Do you see any problem with this piece of code?
    Be noted that the IE get hang only (CPU 100%) when I run it for a while, meanings select selecte items in view1 and pdf preview in view2, back to view 1 to select other items go to view2 to preview pdf....
    data: lo_f             type ref to cl_wd_interactive_form,
             lo_tabstrip  type ref to cl_wd_tabstrip,
             lo_tab        type ref to cl_wd_tab,
            ls_pdftab    type wd_this->element_pdftab.
    if lo_tabstrip->has_tabs( ) = 'X'.
        " Remove adobe reader in the old tab
        if ls_pdftab-old_tab is not initial.
          lo_tab  = lo_tabstrip->get_tab( id = ls_pdftab-old_tab ).
          if lo_tab is not initial.
            lo_f ?= lo_tab->get_content( ).
            if lo_f is not initial.
              lo_f->unset__parent( ).
              lo_f->unregister_from_view( ).
              free lo_f.
            endif.
          endif.
        endif.
        " Remove all tabs
        lo_tabstrip->remove_all_tabs( ).
      endif.
    Thanks,
    - Anthony -

  • Tabbed User Form Fields

    Hi,
    I modified Tabbed User Form and Assigned it to an ADmin who is under Configurator, with limited capabilities. This admin has to be able to create an organization, so i assigned him Organization Admin capability. However, this assignment also shows up New Directory Junction in the drop down, which i do not need. I tried creating a new capability, but looks like nothing related to org is specified, where i can pick and choose.
    Is there any other way i can make this field "New Directory Junction" disappear only for this adminsitrator.
    Any help is appreciated.
    Thanks,

    Hi,
    What I understand from what you write here is you're trying to develop a "custom LDAP" form rather than a fields iterator. A good starting point to look at will be to check the /sample/ directory located in your idm instance. There are several sample forms namely "Dynamic Tabbed User Form" and "Dynamic Reosurce Form". The latter has a genereic field iterator logic (if the resource is not among the predefined resources it siply iterates schema fields. You can add your own logic in there. Also there are custom forms. There's one "LDAP User Form". All there forms are in XML format you shoud read them in using the lh config. then save in the repository.
    I hope it helps.
    Cheers,
    Kerem ERSOY

  • Spry Dynamic Tabs - reCAPTCHA is missing when loading external php file

    Hello,
    I have solved all my problems lately on this forum.
    But now im converting my site to use Dynamic tabs, and something goes wrong.
    The dynamic tabs load content from external files. It loads html but i think something goes wrong with php and my buttons.
    You need to know ALL is working perfect on the old site.
    2 problems;
    I dont know how to convert my buttons to this new style.
    I dont know why the reCAP suddently is missing.
    Why is reCAPTCHA missing?
    SOURCE HTML (index.html);
    <?php include("PHP/form.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
         <title>Wientjes Voegwerk &amp; Renovatie - Home</title>
        <meta http-equiv="Content-Language" content="NL" />
         <meta http-equiv="imagetoolbar" content="no" />
         <meta name="MSSmartTagsPreventParsing" content="true" />
        <meta name="description" content="Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie. Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie. Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!"/>
        <meta name="keywords" content="Voegwerk, Renovatie, Reinigen, Impregneren, Muur, Voegen, Steen, Woning, Garage, Schoorsteen, Bedrijf, Gevel, Wientjes, Uitslijten, Kappen, Fundering, Vorstschade, Metselen, Metselwerk, Vocht" />
        <meta name="author" content="Rob Nijlaan" />
        <link href="CSS/Style2.css" rel="stylesheet" type="text/css" />
        <script src="JAVASCRIPT/SpryTabbedPanels.js" type="text/javascript"></script>
        <script src="JAVASCRIPT/SpryEffects.js" type="text/javascript"></script>
         <script src="JAVASCRIPT/SpryData.js" type="text/javascript"></script>
        <script src="JAVASCRIPT/xpath.js" type="text/javascript"></script>
         <script type="text/javascript">
         <!--
         function FadeAndUpdateContent(ele, url){
              try {
                   Spry.Effect.DoFade(ele,{
                        duration: 500, from: 100, to: 0, finish: function() {
                             Spry.Utils.updateContent(ele, url, function() {
                                  Spry.Effect.DoFade(ele,{ duration: 500, from: 0, to: 100 });
              catch(e){ alert(e); }
         -->
         </script>
    </head>
    <body>
    <div id="WContainer">
      <div id="WHeader" align="center"> <img src="Art/VoegenRenLos.png" width="540" height="58" alt="Voeg en Renovatiebedrijf" /><br />
        <img src="Art/WientLogo.png" width="600" height="136" alt="Wientjes Voegwerk &amp; Renovatie" /> </div>
      <script type="text/javascript">
         var dsTabs = new Spry.Data.XMLDataSet("data/data.xml", "tabs/tab");
         function loadContent(panel,url){
              Spry.Utils.updateContent(panel,url);
         Spry.Data.Region.addObserver("example1Region",dateLoadedCallback);
         function dateLoadedCallback(notificationType, notifier, data){
              if (notificationType =="onPostUpdate"){    
                   row= dsTabs.getRowByRowNumber(0)
                   if(row){
                        loadContent('0',row.url)
         </script>
      <div id="example1Region" spry:region="dsTabs">
        <div id="dynamicTabs" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup" >
            <li spry:repeat="dsTabs" class="TabbedPanelsTab" onclick="loadContent('{ds_RowID}','{url}');" tabindex="0">{title}</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
            <div spry:repeat="dsTabs" id="{ds_RowID}" class="TabbedPanelsContent"></div>
          </div>
        </div>
        <script type="text/javascript">
                var t1 = new Spry.Widget.TabbedPanels("dynamicTabs");
                 </script>
      </div>
      <div id="WFooter" align="center">
        <p class="footer">Wientjes Voegwerk &amp; Renovatie     ,    03- '02       »      Site by ;    <b>Rob Nijlaan</b></p>
      </div>
    </div>
    </body>
    </html>
    Dont mind the extra javascripts they are not used for now (like SpryEffects.js) its for future use.
    SOURCE XML (data.xml);
    <?xml version="1.0" encoding="UTF-8"?>
    <tabs>
        <tab>
            <title>
              tab 1
              </title>
            <url>../data/HOME.html</url>
        </tab>
        <tab>
            <title>Tab2</title>
            <url>examples/tab2.html</url>
        </tab>
         <tab>
            <title>Tab3</title>
            <url>examples/tab2.html</url>
        </tab>
         <tab>
            <title>Tab4</title>
            <url>../PHP/form.php</url>
        </tab>
    </tabs>
    The html file loads like it should be, but the php form has problems.
    See it yourself: http://www.wientjesvoegwerk.nl/index2.html
    The tab 1 displays a html file like it should.
    The tab 4 displays the contact form but you will see the reCAPTHCA is missing.
    I have really no clue why it happens, exept maybe its a PHP issue.
    Maybe the script isnt compatible with non-html documents...
    Can someone please tell me whats the problem and if there is a solution????
    How do i change this button?
    I used this in my previous site:
    <table class="Button"  >
         <tr>
         <td style="padding-right:0px" title ="Home">
         <a href="#" title="Home" style="background-image:url(/Buttons/Home.png);width:172px;height:75px;display:block;"><br/>
         </a></td>
         </tr>
    </table>
    But the dynamic script uses {title} to get the <title> out of the xml.
    I tryd to put this straight into the title tags in the xml but obviously it wont work.
    And i really dont have a clue how to change this.
    My button has a mouseover img. Basicly its 2 buttons in 1 img stacked on top of each other.
    Like this: http://www.wientjesvoegwerk.nl/Buttons/contact.png
    Because of the CSS script it hovers to the right position.
    Part of SOURCE CSS (Style.css)
    .Button a{display:block;}
    .Button a:hover{background-position:left bottom;}
    a.Button {display:none}
    How can i change the xml and the script so "title" can be replaced with the button.
    Or how can i change the button so the mouseover works and the script still takes the button-img from the xml???
    Any help would be nice, because im finnaly in a postition to finish this site, and this is the only blockade left to conquer...

    Maybe it is not liking that the index page is an HTML page and not a PHP page. Try this way:
    In your form.php, remove the following code:
    <?php
    require_once('recaptchalib.php');
    $publickey = "6LfKNwwAAAAAAEdS6PjiDSHRQBDOYrGcM8R1eQQm"; // you got this from the signup page
    echo recaptcha_get_html($publickey);
    ?>
    Replace it with:
    <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6LfKNwwAAAAAAEdS6PjiDSHRQBDOYrGcM8R1eQQm"></script>
        <noscript>
              <iframe src="http://api.recaptcha.net/noscript?k=6LfKNwwAAAAAAEdS6PjiDSHRQBDOYrGcM8R1eQQm" height="300" width="500" frameborder="0"></iframe><br/>
              <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
              <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
        </noscript>
    The replacement code is the same code that is outputted from the recaptchalib.php file.

  • How to populate Dynamic tab page details depending upon tab details.

    I have developed a dynamic tab, using two tables, Employees and Deaprtments. using the Department table i dynamically created tab based on Department Names, and in each tab want to
    display the relevent employees.
    I am able to even run the page when it opens it displays the first department tab as "Administrator" and also displays it's employees in that tab but when i click on other tab
    i get's error "
    java.lang.NullPointerException
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1 "
    Can any one please tell me what to do. as i am am using af:iterator.
    Thanks.

    Below is the code :
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelStretchLayout topHeight="50px" id="psl1">
    <f:facet name="top"/>
    <f:facet name="center">
    <af:panelTabbed id="pt1">
    <af:iterator id="i1"
    value="#{bindings.Departments_Inst1.collectionModel}"
    var="deptrow">
    <af:showDetailItem text="#{deptrow.DepartmentName}" id="sdi1"
    disclosureListener="#{GraphBean.onTabDisclosure}">
    <f:attribute name="rowKey" value="#{deptrow.makeCurrent}"/>
    <af:table value="#{bindings.Employees_Inst.collectionModel}"
    var="row"
    rows="#{bindings.Employees_Inst.rangeSize}"
    emptyText="#{bindings.Employees_Inst.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.Employees_Inst.rangeSize}"
    rowBandingInterval="0" id="t1">
    <af:column sortProperty="EmployeeId" sortable="false"
    headerText="#{bindings.Employees_Inst.hints.EmployeeId.label}"
    id="c2">
    <af:inputText value="#{row.bindings.EmployeeId.inputValue}"
    label="#{bindings.Employees_Inst.hints.EmployeeId.label}"
    required="#{bindings.Employees_Inst.hints.EmployeeId.mandatory}"
    columns="#{bindings.Employees_Inst.hints.EmployeeId.displayWidth}"
    maximumLength="#{bindings.Employees_Inst.hints.EmployeeId.precision}"
    shortDesc="#{bindings.Employees_Inst.hints.EmployeeId.tooltip}"
    id="it1">
    <f:validator binding="#{row.bindings.EmployeeId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Employees_Inst.hints.EmployeeId.format}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="FirstName" sortable="false"
    headerText="#{bindings.Employees_Inst.hints.FirstName.label}"
    id="c3">
    <af:inputText value="#{row.bindings.FirstName.inputValue}"
    label="#{bindings.Employees_Inst.hints.FirstName.label}"
    required="#{bindings.Employees_Inst.hints.FirstName.mandatory}"
    columns="#{bindings.Employees_Inst.hints.FirstName.displayWidth}"
    maximumLength="#{bindings.Employees_Inst.hints.FirstName.precision}"
    shortDesc="#{bindings.Employees_Inst.hints.FirstName.tooltip}"
    id="it7">
    <f:validator binding="#{row.bindings.FirstName.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="LastName" sortable="false"
    headerText="#{bindings.Employees_Inst.hints.LastName.label}"
    id="c5">
    <af:inputText value="#{row.bindings.LastName.inputValue}"
    label="#{bindings.Employees_Inst.hints.LastName.label}"
    required="#{bindings.Employees_Inst.hints.LastName.mandatory}"
    columns="#{bindings.Employees_Inst.hints.LastName.displayWidth}"
    maximumLength="#{bindings.Employees_Inst.hints.LastName.precision}"
    shortDesc="#{bindings.Employees_Inst.hints.LastName.tooltip}"
    id="it4">
    <f:validator binding="#{row.bindings.LastName.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="Email" sortable="false"
    headerText="#{bindings.Employees_Inst.hints.Email.label}"
    id="c1">
    <af:inputText value="#{row.bindings.Email.inputValue}"
    label="#{bindings.Employees_Inst.hints.Email.label}"
    required="#{bindings.Employees_Inst.hints.Email.mandatory}"
    columns="#{bindings.Employees_Inst.hints.Email.displayWidth}"
    maximumLength="#{bindings.Employees_Inst.hints.Email.precision}"
    shortDesc="#{bindings.Employees_Inst.hints.Email.tooltip}"
    id="it5">
    <f:validator binding="#{row.bindings.Email.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="Salary" sortable="false"
    headerText="#{bindings.Employees_Inst.hints.Salary.label}"
    id="c6">
    <af:inputText value="#{row.bindings.Salary.inputValue}"
    label="#{bindings.Employees_Inst.hints.Salary.label}"
    required="#{bindings.Employees_Inst.hints.Salary.mandatory}"
    columns="#{bindings.Employees_Inst.hints.Salary.displayWidth}"
    maximumLength="#{bindings.Employees_Inst.hints.Salary.precision}"
    shortDesc="#{bindings.Employees_Inst.hints.Salary.tooltip}"
    id="it3">
    <f:validator binding="#{row.bindings.Salary.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Employees_Inst.hints.Salary.format}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ManagerId" sortable="false"
    headerText="#{bindings.Employees_Inst.hints.ManagerId.label}"
    id="c7">
    <af:inputText value="#{row.bindings.ManagerId.inputValue}"
    label="#{bindings.Employees_Inst.hints.ManagerId.label}"
    required="#{bindings.Employees_Inst.hints.ManagerId.mandatory}"
    columns="#{bindings.Employees_Inst.hints.ManagerId.displayWidth}"
    maximumLength="#{bindings.Employees_Inst.hints.ManagerId.precision}"
    shortDesc="#{bindings.Employees_Inst.hints.ManagerId.tooltip}"
    id="it2">
    <f:validator binding="#{row.bindings.ManagerId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Employees_Inst.hints.ManagerId.format}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="DepartmentId" sortable="false"
    headerText="#{bindings.Employees_Inst.hints.DepartmentId.label}"
    id="c4">
    <af:inputText value="#{row.bindings.DepartmentId.inputValue}"
    label="#{bindings.Employees_Inst.hints.DepartmentId.label}"
    required="#{bindings.Employees_Inst.hints.DepartmentId.mandatory}"
    columns="#{bindings.Employees_Inst.hints.DepartmentId.displayWidth}"
    maximumLength="#{bindings.Employees_Inst.hints.DepartmentId.precision}"
    shortDesc="#{bindings.Employees_Inst.hints.DepartmentId.tooltip}"
    id="it6">
    <f:validator binding="#{row.bindings.DepartmentId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Employees_Inst.hints.DepartmentId.format}"/>
    </af:inputText>
    </af:column>
    </af:table>
    </af:showDetailItem>
    </af:iterator>
    </af:panelTabbed>
    <!-- id="af_one_column_header_stretched" -->
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    -- Below is the log :
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at org.apache.myfaces.trinidad.component.UIXShowDetail.broadcast(UIXShowDetail.java:154)
         at oracle.adf.view.rich.component.rich.layout.RichShowDetailItem.broadcast(RichShowDetailItem.java:192)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         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:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         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:136)
         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)
    Caused by: java.lang.NullPointerException
         at view.GraphBean.onTabDisclosure(GraphBean.java:40)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 46 more
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at org.apache.myfaces.trinidad.component.UIXShowDetail.broadcast(UIXShowDetail.java:154)
         at oracle.adf.view.rich.component.rich.layout.RichShowDetailItem.broadcast(RichShowDetailItem.java:192)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         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:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         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:136)
         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)
    Caused by: java.lang.NullPointerException
         at view.GraphBean.onTabDisclosure(GraphBean.java:40)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 46 more

  • UI Dynamic Tabs Shell - Child Taskflow not rendering / instantiated

    Hi All,
    I have had this problem, ever since rebuilding my application using Jdev 11.1.2, although I am not convinced this is a problem with Jdveloper verison.
    Basically, I have developed the UI to open new task flows as dynamic tabs, making use of the tab context API as published. The application works perfectly and I can create new dynamic tabs and close them fine.
    Once I add a data control af:table to the child taskflow however and display this, the taskflow opens fine. The weird behavior begins, after I close this, using the standard UI removecurrent tab icon (the little x to the far right of the form), I cannot re-open another task flow. A new tab is created, however the taskflow within this (one being called) does not render or instantiate.
    If I remove the table from the page fragment, normal behavior resumes.
    I am at a complete loss as to why this is occurring.
    Any insights would be great.
    I would also like to point out... no errors are written to the log, even at the Finest level. The launch method also completes successfully. If I don't close, I am only able to open a maximum of 3 tabs before the render issue occurs.
    Cheers,
    Simo
    Edited by: Simo on Oct 30, 2011 10:38 PM

    Hi Frank,
    Well you were right, this was an implementation issue, but one being caused by some different behaviour in 11.1.2. I was actually setting the tab_id dynamically after the user has selected a row, via clicking a link. The ID was returning null hence the weird tab behaviour.
    Ironically, it was actually another recent note that you have posted http://blogs.oracle.com/jdevotnharvest/entry/jdeveloper_11_1_2_command that led me to the solution!!
    So thanks inadvertently !!
    Cheers,
    Simo

  • How to create Dynamic Tab in ADF, to achive multiple transaction at a time

    Hi,
    I want to create Dynamic tab in ADF, to achieve Multiple transaction at a time by opening new tab for a transaction.
    For Example: User can order multiple product at the same time by opening the order form in multiple TAB.
    Scenario:
    i) When user will click on addNewTab, new tab will be added.
    ii) If user Click on close btn on Tab, Tab will be closed (Transaction will be removed).
    iii) user can save all transaction( can save multiple product Order in different tab.)
    iv) when user select any product in form, Rename the Tab name as well.
    Need Help on this :(
    Thanks & Regards
    Pratap Rudra

    Hi Rudra,
    You can implement all your problem using Tab API .
    When you are closing the tab you can roll back transaction which you want.
    Tab API will give control over closing and opening tab.
    And also you can give tab name while opening the tab.
    Thanks
    Prateek

  • Dynamic tab not showing data

    JDev 11.1.1.4, JHS 11.1.1.3
    I have a table with a groupLink field that opens another group in a dynamic tab. When I put in some debug output I can see that the underlying view for the new dynamic tab is querying up the correct data, but when the tab opens up it says "No rows found". I have a couple of other groupLinks on other pages, one of which works, one of which gives the same result as this one. They are all setup according to the directions in the JHS developer's guide. Any insight anyone has would be appreciated.
    Here's the output from the JDev console (lines beginning with "Debug" are my output inserted into executeQuery method):
    <BreadcrumbManager> <processBreadcrumbs> Executing processBreadcrumbs for null
    <BreadcrumbManager> <loadBreadcrumbConfig> loadBreadcrumbConfig: pagePath is null
    <SetCurrentRowBean> <execute> Calling queryByKeyValue on app module with voUsage MyView1 and rowKeyValue 1028
    <JhsApplicationModuleImpl> <queryByKeyValueInternal> executing queryByKeyValueInternal(value=1028) for MyView1
    <JhsApplicationModuleImpl> <queryByKeyValueInternal> executing queryByKeyValueInternal(key=Id, value=1028) for MyView1
    Debug - execute query
    Debug - [SQL Statement]
    Debug - 1 rows found
    Debug - id of found row = 1028
    <JhsPageLifecycle> <validateRegion> Executing validateRegion for region com_pq_tracs_view_pageDefs_AccountsPageDef_WEB_INF_adfc_config_Accounts_xml_AccountsTaskFlow
    <JhsPageLifecycle> <refreshRegion> Executing refreshRegion for region com_pq_tracs_view_pageDefs_AccountsPageDef_WEB_INF_adfc_config_Accounts_xml_AccountsTaskFlow current page fragment: /AccountsTaskFlow/Accounts
    <JhsApplicationModuleImpl> <applyBindParams> Executing applyBindParams for Lookup1
    <JhsApplicationModuleImpl> <applyBindParams> ViewObject Lookup1: bind parameter values have not changed, NO Requery performed
    <JhsApplicationModuleImpl> <applyBindParams> Executing applyBindParams for Lookup2
    <JhsApplicationModuleImpl> <applyBindParams> ViewObject Lookup2: bind parameter values have not changed, NO Requery performed
    <JhsApplicationModuleImpl> <applyBindParams> Executing applyBindParams for Lookup3
    <JhsApplicationModuleImpl> <applyBindParams> No query Bind parameters passed into applyBindParams for Lookup3, do nothing
    <JhsApplicationModuleImpl> <applyBindParams> Executing applyBindParams for Lookup4
    <JhsApplicationModuleImpl> <applyBindParams> ViewObject Lookup4: bind parameter values have not changed, NO Requery performed
    <BreadcrumbManager> <processBreadcrumbs> Executing processBreadcrumbs for /AccountsTaskFlow/Accounts
    <BreadcrumbStack> <add> Adding breadcrumb to stack: "null" (/AccountsTaskFlow/Accounts)
    <BreadcrumbManager> <processBreadcrumbs> Executing processBreadcrumbs for /UIShell

    Steve,
    I think you are hitting an issue we solved in the upcoming release.
    Can you try replacing the GROUP_HAS_ROW and PARENT_GROUP_HAS_ROW macros in common.vm with the code below?
    #macro (GROUP_HAS_ROW)
    ## we need to get current row through viewObject instead of directly from iter binding
    ## otherwise a full-table query will still be performed when auto query switched off!
    ## but we only do this when auto-query switched off, otherwise in form alyout, the
    ## switcher element shows "no rows"!
    #if ($JHS.current.group.databound) #if ($JHS.current.group.autoQuery)#ITERATOR().currentRow!=null #else(#ITERATOR().viewObject!=null and #ITERATOR().viewObject.currentRow!=null)#end#else(true)#end#end
    #macro (PARENT_GROUP_HAS_ROW)
    #if ($JHS.current.group.databound && $JHS.page.group!=$JHS.current.group)#if (${JHS.current.group.parentGroup} && ${JHS.current.group.parentGroup.databound})#if ($JHS.current.group.parentGroup.autoQuery) #PARENT_ITERATOR().currentRow!=null #else (#PARENT_ITERATOR().viewObject!=null and #PARENT_ITERATOR().viewObject.currentRow!=null)#end#else true#end#else(true)#end#end
    Steven Davelaar,
    Jheadstart team.

  • Dynamic Tabs Shell : issue with taskflows using pages

    Hi,
    We use the Dynamic tabs shell page template in our application.
    It works fine when used with taskflows with page fragments.
    However it errors when trying to render a taskflow with pages instead of fragments as:
    <FormRenderer><encodeAll> Multiple forms detected on viewId: /starter. Rich client currently has some limitations in dealing with multiple forms.
    <Jul 27, 2010 9:42:23 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@32152418[app:calcmgr module:calcmgr path:/calcmgr spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:233)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1071)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Is this a known issue or constaint with Dynamic Tabs Shell page template?

    Actually I don't think the answer is as clear cut as the dynamic tab shell template (aka. UI Shell) doesn't support task flow with pages, as, we have an application that uses it that calls out to a BTF using pages and it works fine. The catch is that BTF itself doesn't use the UI Shell. So it really depends what you mean.
    Can you be more specific what you're attempting to achieve? Are you trying in one page that uses the UI Shell, to embed a BTF in a region where the BTF uses pages rather than page fragments? Or, do you simple want lots of pages in your overall applications unbounded task flow to include the UI Shell template? As Alex has asked, we don't really have information of what you're trying to put in what at this stage.
    For the record, the better forum to ask such questions about the dynamic tab shell template is the ADF UI Patterns & Best Practices OTN forum:
    ADF UI Patterns & Best Practices
    ...however given you've started this thread here, you might as well continue.
    CM.

  • Printable Behavior , Dynamic Tab Shell, Tree

    hi,
    1). I have a Adf readonly table in a panel collection. I added 'show printable behavior' in menu item. When i press print button it is displaying only 25 records, where as i have 700 records displayed in the adf read only table.
    2). I am using Oracle dynamic tab shell for Menu. How do i remove 'oracle logo' and 'navigation shell' from the top of the page.
    3). what is the java equivalent number format for '999,999,999.99'. I use this format in Forms10g, but in adf this format is not working.
    4). I have 2 input filed in a panel form layout. I am unable to change the width of the filed.
    5). How to change the funnel graph color conditionally.

    3). what is the java equivalent number format for '999,999,999.99'. I use this format in Forms10g, but in adf this format is not working.The formatter used is not valid.
    Use the right formatter as follows:
    <af:form id="f1">
    <af:outputText value="123456789.1234" id="ot1">
    <af:convertNumber type="number" pattern="###,###,###.##"/>
    </af:outputText>
    </af:form>
    For more details regarding formatting, look into the following:
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_convertNumber.html
    http://download.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html
    Thanks,
    Navaneeth

  • Dynamic generation of form to show table entries

    Dear experts,
    I am aware of how to dynamically program for form generation when the layout static and is already defined in transaction SFP.
    However I have a requirement wherein the form layout is not available . But the form should get generated dynamically and display values from a table in a simple field - value format. ( Just the way SE16 displays table content , the only difference being output should be in a PDF)
    Any pointers how I can progress on this.
    Appreciated your inputs.
    Thank you.
    With regards,
    Sahir.

    How does default checked checkboxes work for checkboxes of type String[]?
    The following code works, but it is for form property of type String, instead of String[]:
    <form-property name="prop" type="java.lang.String" />
    form.set("prop", "true");
    <html:checkbox property="prop" value="true"> // checked by defaultThis is what I tried for type String[], modelling it off the ideas of the above code, but it does not work:
    <form-property name="prop" type="java.lang.String[]" />
    String[] propArray = {"1", "4"};
    form.set("prop", propArray[]);
    <html:checkbox property="prop" value="1">  //should be checked by default, but is not
    <html:checkbox property="prop" value="2">
    <html:checkbox property="prop" value="3"> 
    <html:checkbox property="prop" value="4"> //should be checked by default, but is notWhy does it work for String but not String[]? How do I make it so that they are checked by default for type String[]?

  • How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    What do you mean by dynamically? When yo set up a 2D bar code field you specify which field name/value pairs you want to include, along with other parameters. But be aware that they won't work with Reader unless you Reader-enable the document with LiveCycle Reader Extensions and include the bar code usage right. It will work with Acrobat Standard/Pro.

  • Dynamic SQL in Form Builder 6.0

    Hai,
    I would like to know how to create Dynamic SQL in Form Builder 6.0. I'am using oracle 9i database...Please help me.....

    I studied the EXEC_SQL and i wrote these syntax(below), but it gives me error...Could you help me please......:
    PROCEDURE Dynamic_sql IS
    connection_id EXEC_SQL.CONNTYPE;
    cursorID EXEC_SQL.CURSTYPE;
    sql_string VARCHAR2(1000);
    v_pc varchar2 (4);
    v_pd varchar2 (30);
    v_poc varchar2(4);
    v_pvd DATE;
    v_pid DATE;
    exec_id PLS_INTEGER;
    out_file TEXT_IO.FILE_TYPE;
    linebuf varchar2(7000);
    vchFileName VARCHAR2(100);
    Vchfolder VARCHAR2(100);
    AppID      PLS_INTEGER;
    nmbAlert          varchar2(50);
    BEGIN
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
    vchFileName := 'dynamic_sql_'||sysdate||'.txt';
    Vchfolder := 'D:\KONS\Damar\';
    host('mkdir '||Vchfolder,NO_SCREEN);
    out_file := text_io.fopen(vchfolder||vchFileName,'w');
    TEXT_IO.PUT_LINE (out_file,'PRODUCT CODE PRODUCT DESC PRODUCT OBJECT CODE PRODUCT VALID DATE PRODUCT INVALID DATE ');
    connection_id := EXEC_SQL.OPEN_CONNECTION('FIFDBA/F1FDBA@REPL_DAILY');
    cursorID := EXEC_SQL.OPEN_CURSOR(connection_id);
    sql_string := 'SELECT PROD_CODE, PROD_DESC, PROD_OBJT_CODE, PROD_VALID_DATE, PROD_INVALID_DATE
    FROM HOUS_PRODUCT_TYPE ';
    EXEC_SQL.PARSE(connection_id, cursorID, sql_string, exec_sql.V7);
    --EXEC_SQL.BIND_VARIABLE(connection_id, cursorID, '', input_empno);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 1,v_pc, 4);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 2, v_pd, 30);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 3, v_poc, 4);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 4, v_pvd);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 5, v_pid);
    exec_id := EXEC_SQL.EXECUTE(connection_id, cursorID);
    WHILE (EXEC_SQL.FETCH_ROWS(connection_id, cursorID) > 0 ) LOOP
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 1, v_pc, 4);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 2, v_pd);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 3, v_poc);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 4, v_pvd);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 5, v_pid);
    TEXT_IO.PUT_LINE(out_file,v_pc || v_pd ||v_poc||v_pvd||v_pid);
    --Forms_DDL('INSERT INTO TEMP VALUES('||''''||nRows||' '||v_state_id||''''||')');
    --COMMIT_FORM();
    END LOOP;
    EXEC_SQL.CLOSE_CURSOR(connection_id, cursorID);
    EXEC_SQL.CLOSE_CONNECTION(connection_id);
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
    TEXT_IO.FCLOSE(out_FILE);

  • Using Dynamic Tabs in 11gR2 doesn't seem to work.

    Hi there,
    I'm trying to use the Dynamic Tabs Template in an ADF 11.1.2.3 application using JHeadstart 11.1.2.1.28.
    According to the developerguide section 9.3.1. (Enabling Dynamic Tabs) it should be rather easy to do this.
    Set PageTemplate to : /common/pageTemplates/JhsDynamicTabsPageTemplate
    Set datacontrolscope to : Isolated
    Set Default group Usage to : Region with Page Fragments.
    Set Default group Region Access to : Common UI Shell Page.
    I use facelets as viewtechnology.
    Generating the application works fine.
    Running the application results in an error at startup :
    Error 500--Internal Server Error
    java.io.FileNotFoundException: /common/regions/DynamicTabs.jsff Not Found in ExternalContext as a Resource
    The pagetemplate can't find the reference. The file is nowhere near /common/regions/DynamicTabs.jsff. I actually cannot find it at all.
    I can reproduce this behavior on two different workstations.
    All of the above works smoothly in 11gR1.
    I think it's a bug, at least it looks like it.
    What do you think ?
    Regards Luc

    Hi Steven,
    it is time for "Ripley's believe it or not" I guess....
    I am definitely able to reproduce the behavior.
    1) Create new ADF fusion webapp
    2) Create new ADF BC.
    2a) Connection = HR.
    2b) create EO, VO for Employees and Departments and also create default AM.
    No adjustments, everything default.
    3) Refresh Datacontrol palette to have new DC available
    4) Enable JHeadstart on ViewController project
    5) Create new Service Definition. Accept all the defaults.
    6) Go to application Definition and make the following adjustments
    6a) Set PageTemplate to : /common/pageTemplates/JhsDynamicTabsPageTemplate
    6b) Set datacontrolscope to : Isolated
    7) Apply, Save all and generate.
    During generation the /common/regions/DynamicTabs.jsff is not added to the project.
    Running the new application results in
    Error 500--Internal Server Error
    java.io.FileNotFoundException: /common/regions/DynamicTabs.jsff Not Found in ExternalContext as a Resource
    Versions :
    ADF 11.1.2.3
    JHeadstart 11.1.2.1.28
    Windows 7 64bit
    And I also have the OraFormsFaces extension installed. Could that be causing the problem ??
    I do not use it in this project, but the fact that it is there and that it is available as in the New gallery ....--> JHeadstart --> JHeadstart OFF Generator indicates that OFF does influence JHS in some way ?
    Regards
    Luc
    Edited by: lucbors on Jan 18, 2013 7:17 PM

  • Actions tab for form field properties

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WSDFC888F9-219C-4b55-90E6-D316E2A85F08.w.htm l

    I am working in Acrobat. I trying to create a form dealers will complete and submit. There will be no licensing issues. I have created a button and named it SUBMIT. In the Actions tab I have selected “Submit a form.” I have entered “mailto:[email protected]” under “Enter a URL for this link”. I have also selected “PDF The complete document” as the Export Format.
    I saved the file but when I go to the Preview Mode and click the new “Submit” button, I am asked to “Save PDF as” from a menu. Even if I rename the file and click save, nothing happens. I am back in the Preview mode. If I click “Submit” again, I get the same “Save PDF as” routine.
    I am baffled.
      Lloyd Doolittle
    Re:  Actions tab for form field properties
    [Personal information deleted]

Maybe you are looking for