Adding new region to Standard page

Hello,
I need to add new region to display added details to the Paid Off Balance Screen.
In Jdev, i was able to create a new messageComponentLayout Region and added the correspnding datapoints.
Should i always create it as flexibleLayout only, i read through the forums this is the method to follow.
Is my approach wrong, please suggest.
Thanks!

Hello,
I created a new page and during personalization i was able to create Flexible Layout but during creation of flexible content region , i get the error,
Error in getting element definition of page
values passed are
ID : YTDRg
Extends:/xbol/oracle/apps/xbol/selfservice/loa/webui/YTDAccrualPG
The foll. is the page
<?xml version='1.0' encoding='UTF-8'?>
<page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="9.0.3.8.12_1330" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad"
file-version="$Header$">
<content>
<oa:pageLayout id="YTD" controllerClass="xbol.oracle.apps.xbol.selfservice.loa.server.webui.YTDAccrualCO" amDefName="xbol.oracle.apps.xbol.selfservice.loa.server.YtdAccAM" title="Year to Date Accruals and Time Taken (total hrs.):">
<ui:corporateBranding>
<oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
</ui:corporateBranding>
<ui:contents>
<oa:messageComponentLayout id="YTDRg" rows="5" columns="2">
<ui:contents>
<oa:messageStyledText id="VaPlAc" prompt="US Vacation Plan Accrual" viewName="TestVO1" viewAttr="LastName"/>
<oa:messageStyledText id="SiPlAc" prompt="US Sick Plan Accrual"/>
<oa:messageStyledText id="FlPlAc" prompt="US Floating Holiday Plan Accrual"/>
<oa:messageStyledText id="PePlAc" prompt="US Personal Leave Plan Accrual"/>
<oa:messageStyledText id="item1" rendered="true"/>
<oa:messageStyledText id="VaTk" prompt="Vacation Taken"/>
<oa:messageStyledText id="SiTk" prompt="Sick Taken"/>
<oa:messageStyledText id="FlTk" prompt="Floating Holiday Taken"/>
<oa:messageStyledText id="PeTk" prompt="Personal Taken"/>
<oa:messageStyledText id="AcBaTk" prompt="Accrual Bank Taken"/>
</ui:contents>
</oa:messageComponentLayout>
</ui:contents>
</oa:pageLayout>
</content>
</page>
Please let me know.
Thanks !

Similar Messages

  • Adding new button to Standard Page and Launching CP when clicked

    Hi,
    I have a requirement to add a new button to a standard OAF page and when it is clicked, I need to launch a Concurrent Program. Can you please let me know any links/pointers/documents where I can get the details as how this can be accomplished.
    TIA.

    anyone?

  • New region in a page

    Hi,
    I was trying to create a new region in a page. For that i create a region RG1 in Jdeveloper and in that page, i created FlexLayout and Flex Content using personalization. Before i extend the RG1 region in Flex Content i have imported the RG1 region into database using the following command.
    java oracle.jrad.tools.xml.importer.XMLImporter \
    $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/webui/DsdPerInfoRG.xml \
    -username apps \
    -password pass1 \
    -rootdir $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/webui \
    -dbconnection "(description = (address_list = (address =(protocol = tcp) (host =XXXX)(port = XXX))) (connect_data = (sid = xx)))"
    I see that i get a message saying that the page is imported. Now when i try to extend the region RG1 through Flex content using personalization, i get an error saying that
    cannot be found. (oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /abc/oracle/apps/per/selfservice/personalinformation/webui/AbcPerInfoRG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.)
    Can someone please help me on this. I am really tired with this error. I also have placed the VO and AM Class and xml files in the $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/server.
    Thanks a lot in advance
    PK

    The following import command worked for me.
    java oracle.jrad.tools.xml.importer.XMLImporter /ts01/u00/app/ts01/common/java/abc/oracle/apps/per/selfservice/personalinformation/webui/abcPerInfoRG.xml \
    -username apps -password pass1 -rootdir /ts01/u00/app/ts01/common/java/abc/oracle/apps/per/selfservice/personalinformation/webui \
    -rootPackage /abc/oracle/apps/per/selfservice/personalinformation/webui -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp) \
    (host =<XXX>)(port = <xxx>))) (connect_data = (sid = <xxx>)))"
    Thanks
    PK
    Edited by: user539616 on Jan 20, 2009 8:25 PM

  • How To Create New Region in standerd Page?

    Hi Friends,
    i got the requirement in OAF. i am in new oaf pl z any one help to me..
    My requirement is in SSH R Responsibility add the new custom region how to add the custom Region in Standered Page.
    Thanks.
    Srini

    Hi,
    Thank full for replaying...And i have one more doubt in SSHR Page having Table RN in Competences Region my requirement is here Table get the 1.FUNC Values and 2 BEHV Values so we split the both things how?
    i am approaching in this way first i create the 2 view objects through vo extension because it will came the same vo so i create the 2 vo's now how to add the competences RN.
    plz help me this is urgent......

  • Adding New Data To Same Page - HELP

    I am trying to put together a invoice on the fly, the products are added to the invoice by selecting the disired product from a drop down menu and hitting the add button. You SHOULD then be able to select more products from the same drop down menu and htting add again will include it in the invoice.... simple?? Well the problem i have is that when i hit the add button to add another item it just replaces the one i have already added.... this is very annoying... i cannot think of a way to take the product data through the form submission ready for adding too.
    Any Ideas this is really bugging me, and the more time i spend on it, the worse its getting. Code Below
    <%@ page buffer="32kb" %>
    <%@ page import="java.sql.*, javax.servlet.ServletException, java.io.IOException, com.stock_control.*" %>
    <%!
    String convertResultsToSelect ( ResultSet rs, String selectName, String idCol, String descCol ) throws SQLException
    StringBuffer sb = new StringBuffer ( "<select name=" + selectName +">" );
    if (rs != null) {
    while (rs.next()) {
              sb.append ( "<option value=" );
    sb.append ( rs.getString(idCol) );
    sb.append ( ">" );
    sb.append ( rs.getString(descCol) );
    sb.append ( "</option>" );
    sb.append ( "</select>" );
    return sb.toString ();
    %>
    <html>
    <head>
    <title>Members Area - Stock Check</title>
    </head>
    <body bgcolor="#CCCCCC" topmargin="0">
    <%@ include file="topConn.jsp" %>
    <%
              String msg = "";
              String name = "";
              String address1 = "";
              String address2 = "";
              String town ="";
              String postcode = "";
              String country = "";
              String phone = "";
              String mail = "";
              String comments = "";
              float total = 0;
              int nextFree = 0;
              String prodResults;
              int numberOfItems = 0;
         String shop = (String)session.getValue("SHOP");
         String selectProd = "SELECT ProductID, ProductName FROM product WHERE ShopID=";
         rs1 = stmt.executeQuery(selectProd+shop);
         prodResults = convertResultsToSelect( rs1, "product","ProductID","ProductName");
         rs = stmt.executeQuery("SELECT COUNT(*) AS stockLevel FROM product WHERE ShopID ="+shop);     
    while(rs.next())
         numberOfItems = rs.getInt("stockLevel");
         Product[] products = new Product[numberOfItems];
    if (request.getParameter("add")!=null)
              // get values from all text boxes....
              name = request.getParameter("name");
              address1 = request.getParameter("address1");
              address2 = request.getParameter("address2");
              town = request.getParameter("town");
              postcode = request.getParameter("postcode");
              country = request.getParameter("country");
              phone = request.getParameter("phone");
              mail = request.getParameter("mail");
              comments = request.getParameter("comments");
                   // add data from dropdown
              String newProduct = request.getParameter("product");
              //connect to database and put product data into array + increment
                   int thenewid = 0;
                   String theName = "";
                   float thePrice = 0;
                   String nono = "0";
              String getProd = "SELECT * FROM product WHERE ProductID=";
              rs = stmt.executeQuery(getProd+newProduct);
              if(rs.next())
                   thenewid = Integer.parseInt(newProduct);
                   theName = rs.getString("ProductName");
                   thePrice = rs.getFloat("SalePrice");
                   Product addProduct = new Product(thenewid, theName, thePrice, nono);
                   products[nextFree] = addProduct; //PROBLEM
                   nextFree++;
    // reload page with new data in form
    //for loop arround array     
    %>
    <form method="GET">
    <div align=center>
    <p>
    <%=prodResults%>
    <input type="submit" value="Add" name="add"></p>
    <TABLE width=100% height="1">
    <TBODY>
    <tr>
    <td width="4%" height="19"> </td>
    <td width="96%" height="19"> 
    </td>
    </tr>
    <tr>
    <td width="4%" height="198"> </td>
    <td width="96%" height="198">
    <div align="center"></div>
    <table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
    <tr>
    <td width="4%"> </td>
    <td width="15%"><font face="Verdana" size="2">Customer Name</font></td>
    <td width="30%"><input type="text" name="name" size="30" value="<%=name%>"></td>
    <td width="19%"><font face="Verdana" size="2">Customer Phone #</font></td>
    <td width="26%"><input name="phone" type="text" size="30" value="<%=phone%>"></td>
    <td width="6%"> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font face="Verdana" size="2">Address Line 1</font></td>
    <td><input type="text" name="address1" size="40" value="<%=address1%>"></td>
    <td><font face="Verdana" size="2">Customer E-mail</font></td>
    <td><input name="mail" type="text" size="30" value="<%=mail%>"></td>
    <td> </td>
    </tr>
    <tr>
    <td height="32"> </td>
    <td><font face="Verdana" size="2">Address Line 2</font></td>
    <td> </td>
    <td><font face="Verdana" size="2">Comments</font></td>
    <td width="26%" rowspan="5"><p>
    <textarea name="comments" cols="29" rows="5"><%=comments%></textarea>
    </p>
    <p>  </p></td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="2" face="Verdana">Town/City</font></td>
    <td><input name="town" type="text" size="40" value="<%=town%>">
    <input name="address2" type="text" size="40" value="<%=address2%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="2" face="Verdana">Post Code</font></td>
    <td><input type="text" name="postcode" size="10" value="<%=postcode%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="2" face="Verdana">Country</font></td>
    <td><input type="text" name="country" size="40" value="<%=country%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="24"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="23"> </td>
    <td><strong><font size="2" face="Verdana">Product Code</font></strong></td>
    <td><strong><font size="2" face="Verdana">Name</font></strong></td>
    <td><strong><font size="2" face="Verdana">Price</font></strong></td>
    <td> </td>
    <td> </td>
    </tr>
    <%
    if (request.getParameter("add")!=null)
    for(int i=0; i<nextFree; i++)
    Product temp = products;
    int prodID = temp.getid();
    String prodName = temp.getname();
    float prodPrice = temp.getprice();
    total = total + prodPrice;
    // work out total on the fly
    %>
    <tr>
    <td height="23"> </td>
    <td> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=prodID%> </font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=prodName%></font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">&pound;<%=prodPrice%></font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    <td> </td>
    </tr>
    <%
    %>
    <tr>
    <td width="4%" height="23"> </td>
    <td width="15%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    <td width="30%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    <td width="19%"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Total:</font></strong></td>
    <td width="26%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=total%></font></td>
    <td width="6%"> </td>
    </tr>
    </table>
    <p align="center">
    <input type="submit" value="Continue" name="continue">
              </form>
    </p>
    </td> </tr> </TBODY></table>
    <%@ include file="bottomConn.jsp" %>
    </body>
    </html>

    anyone?

  • Adding new  column to LOV Page , from  extended VO

    Hi All,
    I did a vo extension regarding a LOV (in maintainence user),to add extra columns required. VO Extension is done and able to see that extended vo in page But iam unable to add those extra fields in my LOV page through personalization .
    i.e iam trying to add those columns by giving view instance and view attribute ....and apply .....return to application .......HERE IAM NOT ABLE TO SEE MY ADDED FILED . Can any one please help .
    Thanks.

    Hi Hussein,
    I tried the above link, but i did not get the answer for my requirement..
    Is it possible to add a new column in the LOV using forms personalization?
    Currency Code - This is the only column i have it in the LOV for now.. I just wanted to add one more column Currency Code, Currency Name...
    So when the user click the LOV, they can see both Currency Code and Currency Name...and select one of the Currency in the field.
    Please let me know.
    Thanks,
    Genoo

  • Adding new field to OAF Page

    Hi All,
    I am beginner in OAF. We want to add a new field in a OAF page. We wanted to do it by extending Standard VO i.e. present already. Now will it be sufficient if I download only View Object and XXPG.xml related to the OA Page or should I download all the class files and xml files from APPL_TOP to deploy the environment in Jdeveloper
    As I want to add a field to VO to reflect the change in OA Page, does it mean I am extending OA Page or just extending VO. Iis there any better way of doing it.
    Please advice.
    Thanks,
    Abhishek.
    Edited by: 853343 on Jan 11, 2012 6:36 AM

    Abhishek.
    please post your question in the forum {forum:id=210}
    Timo

  • Display Link in New Region on Same Page

    Hi,
    I am trying to figure out how to make a page link within a region post to a different region on the same page or at least in a new window instead of the same window.
    Thanks In advance,
    Emily

    Pedro,
    Here's a little bit more information about what I am trying to do because the idea with the HTML portlet isn't going to work due the application I am developing.
    The idea is this:
    I have about 100 or so images that report server statistics in png format that are already automatically updated every 10 minuets. What I would like to have is a situation where you have region 1 and region 2 right next to each other. In region 1 are all of the links to the locations of the images (which like I said are already automatically updated with PERL). When you click on the link in region 1, I would like it to show up in region 2. similar to old html frames or iFrames.
    Any Suggestions? I am having a hard time with trying to figure out (despite all the "official" oracle books at my disposal) how to have one region display into a different one to suit this need.
    Thanks in advance
    Emily

  • Adding new field to the page when the field source not available

    Hi,
    I have a requirement to add vendor_serial_number (manufacturer's serial number) to the page /oracle/apps/csi/instance/general/webui/InstanceDetailsPG. This column is available in mtl_serial_numbers_all_v table. I don't see any VO in that page has access to this. What is the best approach to add this field in the page.
    Create a new VO with the query to get the vendor_serail_number based on the item_number, serial_number.
    Attach the VO to the AM InstanceDetailsAM or create a new custom AM as we can't attach the new VO to the seeded AM.
    Add a item to the page that gets the column value from this new VO.
    Please suggest.
    Thanks,
    HC

    1. Create the textfield item using personalization.
    2. Create a View Object to get the field
    3. Extend the InstanceDetailsCO and attach the VO to AM programatically in the extended CO.
    Any suggestions.
    Thanks,
    HC

  • DB Utility (SE14) when adding new fields on standard dictionary table

    Hi all,
    we're searching of an official SAP document (or OSS Note) that certifies the mandatory use of DB utility (SE14) when we add one or more custom fileds on an append structure of a standard table (i.e. like VBAP).
    Note: The custom append Structure already exists.
    Thanks in advance,
    Gianluca

    Here is some info pointing to the same..[SAP Help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/cf/21f1ab446011d189700000e8322d00/frameset.htm].
    Regards
    Narasimhan

  • New Region does not appear in standard page (Please Your Help).

    Hi Experts,
    I tried to create in javadeveloper a region to have descriptive flexfields shown in standard page with the following structure :
    Region (stacklayout)
    Region (messageComponentLayout)
    Item (messageLayout)
    Item (flex)
    Then I used import command to move XML file to the sever .
    Afterthat in self service I created an item of stacklayout type with specifying the required fields like Application module and extend field but I am not able to
    see the region in standard page , is there any anything missing please your help?
    Thanks,
    Kind Regards,

    Please try this > Make the AM property of your new region to be blank . Also check if your custom controller of your region has correct logic.
    Repeat the deployements steps and bounce the server.
    All the Best.

  • Adding ADF task flow to page as region fails on first request

    Using JDeveloper 11.1.1.1.0, I've created a simple task flow that executes a method call (to set some bind variables and issue a SQL query), then forwards to a jsff page. I've then added a region to another page and dragged this task flow onto my region.
    When I run the page, I see the following in the log:
    <24-Jul-2009 14:22:29 o'clock BST> <Error> <HTTP> <BEA-101020> <[ServletContext@19304275[app:pipeline module:pipeline path:/pipeline spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:234)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         Truncated. see log file for complete stacktraceAnd the Page Loading animation continues indefinitely. If I make a second request to the same page, the same NullPointerException appears in the log but the page loads successfully. It seems that the first request from any new session doesn't complete, but subsequent requests do.
    Can anyone give me any hints about what might cause the oracle.adfinternal.view.faces.renderkit.rich.FormRenderer to throw a NullPointerException at line 234?

    Hi Branislav.
    Since I don't have the source code for oracle.adf.* and oracle.adfinternal.*, it's very difficult to do any meaningful debugging. Debugging the code that I do have access to (apache packages), appears to show that the oracle rendering class fails when it gets to closing my af:form tag. I've removed the af:form and the page is now working correctly.
    At some point I'm going to have to reinstate this form though :-\

  • Add a new SubmitButton on a Page

    Hi,
    I need to add a new submitButton on a page, so I have doen the following:
    1) created a new stacklayout and submitbutton under it.
    2) assigned the page's AM to this region.
    3) assigned a new controller to this region.
    4) using personalization added the region to the page.
    However, when I press the button, I get an error :
    My Controller code is :
    public void processFormRequest(OAPageContext oapageContext, OAWebBean oawebBean)
    super.processFormRequest(oapageContext, oawebBean);
    if(oapageContext.getParameter("xxPrintReqButton") != null)
    {    OAApplicationModule am = oapageContext.getApplicationModule(oawebBean);
    MyReqsVOImpl vo = (MyReqsVOImpl) am.findViewObject("MyReqsVO");
    OARow row = (OARow) vo.getFirstFilteredRow("select","Y");
    String reqno = (String) row.getAttribute("RequisitionNumber");
    // For testing only
    OAMessageStyledTextBean fieldTest = (OAMessageStyledTextBean)oawebBean.findChildRecursive("PrintText");
    fieldTest.setText(oapageContext,reqno );
    My error stack is :
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT prh.requisition_header_id,
    prh.segment1 requisition_number,
    prh.preparer_id,
    hre.full_name preparer_name,
    prh.description,
    prh.authorization_status auth_status,
    prh.cancel_flag,
    NVL(prh.closed_code,
    'OPEN'
    ) closed_code,
    apc.card_number,
    prh.creation_date,
    prh.transferred_to_oe_flag placed_on_so_flag,
    prh.emergency_po_num,
    NVL(prh.change_pending_flag,
    'N'
    ) change_pending_flag,
    prh.contractor_status,
    prh.contractor_requisition_flag,
    prh.supplier_notified_flag,
    NVL(prh.active_shopping_cart_flag, 'N') active_shopping_cart_flag,
    'POR_VIEW_MY_REQS' view_mode,
    prh.wf_item_type,
    prh.wf_item_key
    FROM po_requisition_headers prh,
    ap_cards apc,
    per_all_people_f hre
    WHERE prh.authorization_status<>'SYSTEM_SAVED' AND
    prh.preparer_id = hre.person_id AND
    TRUNC(sysdate) BETWEEN hre.effective_start_date AND
    hre.effective_end_date AND
    apc.card_id (+) = prh.pcard_id AND
    prh.preparer_id = :1
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:107)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2559)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2950)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:656)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:582)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:538)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2369)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStartWithRefresh(ViewRowSetIteratorImpl.java:2327)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(ViewRowSetIteratorImpl.java:2318)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.getFirstFilteredRow(OAViewObjectImpl.java:4726)
         at xx.oracle.apps.icx.por.reqmgmt.webui.xxPrintRequisitionsCO.processFormRequest(xxPrintRequisitionsCO.java:52)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:107)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-01008: not all variables bound
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2559)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2950)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:656)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:582)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:538)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2369)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStartWithRefresh(ViewRowSetIteratorImpl.java:2327)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(ViewRowSetIteratorImpl.java:2318)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.getFirstFilteredRow(OAViewObjectImpl.java:4726)
         at xx.oracle.apps.icx.por.reqmgmt.webui.xxPrintRequisitionsCO.processFormRequest(xxPrintRequisitionsCO.java:52)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:107)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    All I need to do is , when the button is processed , get the current row selected in the table using the single selection attribute and find the value of the attribute RequisitioNumber in that row. I plan to use this reqno as a parameter later. The table uses the VO MyReqsVO.
    It appears the fwk is trying to bind the variables for the above VO and errors. Can i not simply refer to the VO instance which has already executed and displays the results in the advanced table ?
    Any help is much appreciated.
    Thanks
    Shankar

    Thanks Avaneesh.
    how does fwk know which VO to use for am.findRowByref() ?
    Currently I write in my PFR :
    OAApplicationModule am = oapageContext.getApplicationModule(oawebBean);
    String rowReference = oapageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow row = (OARow) am.findRowByRef(rowReference);
    String reqno = (String) row.getAttribute("RequisitionNumber");
    throw new OAException(reqno,OAException.INFORMATION); --- to test only
    but it gives Null Pointer exception on line
    String reqno = (String) row.getAttribute("RequisitionNumber");
    because i think it does not know which VO 's get method to use ?
    Thanks
    see error stack below :
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:107)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at xx.oracle.apps.icx.por.reqmgmt.webui.xxPrintRequisitionsCO.processFormRequest(xxPrintRequisitionsCO.java:82)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:107)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at xx.oracle.apps.icx.por.reqmgmt.webui.xxPrintRequisitionsCO.processFormRequest(xxPrintRequisitionsCO.java:82)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:107)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

  • Adding a dynamic region/dataset after page loads

    I am trying to dynamicaly add a new spry driven select box
    after the page has loaded to allow n select boxes to be displayed.
    My initial spry select is as below and works fine.
    <div id="orgDiv">
    <div id="orgDiv0" spry:region="dsOrg[0]">
    <select id="selOrg0"
    onchange='_addOrg(this.options[this.selectedIndex].value);'>
    <option>--- Select --- </option>
    <option spry:repeat="dsOrg[0]"
    value="{CHILD_ID}">{STR_TEXT} </option>
    </select>
    </div>
    </div>
    The onchange for the select triggers a JS function to add a
    new spry region div and select box to the page. All fine so far,
    the only problem is I need to initialise the new spry region as it
    has been inserted after the initial Spry.Data.initRegions();
    Theinitial spry region renders correctly but the javascript
    added node (second one) hasn't been initialised by spry:
    <div id="orgDiv0" class="">
    <select id="selOrg0"
    onchange="_addOrg(this.options[this.selectedIndex].value);">
    <option>--- Select --- </option>
    <option value="2">Group PLC </option>
    <option value="3">GSD </option>
    <option value="4">Country </option>
    </select>
    </div>
    <div id="orgDiv1" spry:region="dsOrg[1]">
    <select id="selOrg1"
    onchange="_addOrg(this.options[this.selectedIndex].value);">
    <option>--- Select --- </option>
    <option value="{CHILD_ID}"
    spry:repeat="dsOrg[1]">{STR_TEXT} </option>
    </select>
    </div>
    If I call Spry.Data.initRegions(); it just zaps the contents
    of my dynamically added div:
    <div id="orgDiv1" class=""/>
    Not so good...
    Is there a way to use the API to initialiase a new spry
    region using a new dataset after the page has loaded?

    Are you getting the error in jdeveloper or in the envrionment? If you are getting the error in the environment verify whether the region is present in the MDS repository. You can use the exec jdr_utils.printdocument('/oracle/apps/ar/cusstd/localizationExt/webui/SiteTabsRN') for verifying. try adding the region to the project if you get the issue in Jdeveloper.

  • After substituting the new AM a LOV in the standard page stopped work (R12)

    I extended an AM in one of the standard Oracle Apps Page. After substituting the new AM, a LOV in the standard page stopped working.
    Do someone have a solution for this?
    thanks
    Lou

    Hi,
    thanks for all replies.
    Recap:
    In a std OAF page I need to add a image-link for each row to go to a custom OAF page and show a custom table contents details of linked master id.
    I added an image with personalization and create a dyanmic URI in extension of CO to pass id in a new page.
    Since here all works fine.
    Now, the problem is that I also need to call the procedures from DB to execute DML before access to the custom page.
    I added in AM extension of standard page, a code like this below:
    +public HashMap defPopulateDetails(String invoiceId, String checkrunId) {+
    CallableStatement st = null;
    HashMap returnValues = new HashMap(2);
    try
    +{+
    String stmt = "BEGIN XXLOUIS_PKG.ON_INSERT_DETAIL(P_INVOICE_ID  => :1," +
    +"P_CHECKRUN_ID => :2); END;";+
    OADBTransaction tr = getOADBTransaction();
    st = tr.createCallableStatement(stmt, 1);
    +// Bind the input parameters+
    st.setString(1, invoiceId);
    st.setString(2, checkrunId);
    st.execute();
    st.close();
    OAExceptionUtils.checkErrors(tr);
    +}+
    catch (SQLException sqle)
    +{+
    throw new OAException("ICX", "FWK_TBX_OBJECT_NOT_FOUND");
    +}+
    return returnValues;
    +}+
    Can I move it to the Controller ?
    My doubt is due to the fact that I thought was a good practice place validation logic in to CO
    and place all calls to DB procedures and VO into AM.
    If I can move this piece of code from AM in to the CO I belive have not other problems.
    thanks
    Lou

Maybe you are looking for

  • Why is my Week view in calendar only showing 3 days on one screen?

    When I go online to check this out, I see that everyone else's week view (in portrait mode) has the full 5 days on one screen. Mine only shows 3 days at once and I have to swipe to the next screen to see the rest of the week. Any help appreciated! Th

  • Oracle 9i installation on XP Pro.

    Hi everyone; I installed Oracle 9i (Enterprise) as it's default settings on my laptop (which has XP Professional (SP2)). But after installation when it starts to create new TEST db it fails at %41 with error: null -new -sid TEST -startmode m error=2

  • Movement type for updating RG1 register.

    Hi Gurus! i want to transfer material from "Returned Blocked stock" to "Unrestricted stock"(Storage location X to Storage location Y) Storage location X :-For Returned from customer Blocked Stock to Storage location Y:- For Unrestricted Stock what is

  • ECC6 - Line item display and Open item management Questions.

    Hi All, For SAP ECC6, although I do not maintain line item display and open item management for Recon GL (for Debtor), I still can use FAGLB03 to view the GL balances and even Drill down to line item level by double click the value from FAGLB03 until

  • Eap-tls configuration assistance

    I am trying to get eap-tls working on my wireless network, with machine authentication. I have followed the numerous configuration guides on CCO but seem to be running around in circles. So can someone please give me a sanity check. Scenario MS CA (W