How to add a parameterized Popup to seeded iProc page by Personalisation ?

Hi
I'm trying to add a button on the iProcurement 'Add To Cart' region (ResultsInParagraphRN), to display a standard OAF popup. Release 12.
Please let me know where I went wrong :)
1. I read the OAF Dev Guide on popups, as far as I can currently follow it ...
2. I made a region in a different project, and a test page, and successfully deployed that project so I can call the popup, so far no problem.
3. I used personalization to create a Parameterized Popup and a Button to call it, in iProc, using the same values as above.
4. When I click on the button in iProc, there is no reaction other than an 'Error on Page' indication in the browser.
In IE6 - still our standard browser :(, I get and 'Error on Page' message, which then gives a message 'object required'.
In Firefox, I see this message : 'popupdiv is null'. line 132 in popup.js - the last line of this fragment is highlighted -
*//To avoid code redundency this is commen mehtod for showpopup and showpopuponppr.*
function displayPopup()
var winW = 630, winH = 460;
t = document.getElementById(currentElement);
*if (parseInt(navigator.appVersion)>3) {*
*if (navigator.appName=="Netscape") {*
winW = window.innerWidth;
winH = window.innerHeight;
*if (navigator.appName.indexOf("Microsoft")!=-1) {*
winW = document.body.offsetWidth;
winH = document.body.offsetHeight;
width=popupDiv.style.width;_
So, either I have gone wrong somewhere, or there is an issue with the Javascript generated by Framework?
Thanks in advance for any help!

user13501968 wrote:
Hi ,
Your popup id's are not properly generated.For popups under table the id's should be generated like
tablename:popupname but in your case it is just popupname alone
thats why you get javascript error since in run time java script cannot find popup of type tablename:popupname.
Please share the page structure.
Meanwhile try adding the popup under rowlayout instead of flowlayout.
Regards,
Guru Krishnan.Hi
Here is (part of) the page structure (table is already nested inside another). The bit I added starts
at <oa:flowLayout id="CustomFlow">
              <oa:rowLayout id="ControlsRow" width="100%">
                 <ui:contents>
                    <oa:cellFormat id="AddToCartTopCell">
                       <ui:contents>
                          <oa:tableLayout id="AddToCartTableLayout">
                             <ui:contents>
                                <oa:rowLayout id="AddtoCartRow">
                                   <ui:contents>
                                      <oa:cellFormat id="QuantityFormatCell" extends="/oracle/apps/icx/icatalog/shopping/webui/QuantityFormatRN" rendered="${oa.current.IsItemAvailable}"/>
                                      <oa:cellFormat id="AddToCartSpacerCell" rendered="${oa.current.IsItemAvailable}">
                                         <ui:contents>
                                            <oa:spacer id="AddToCartSpacer" width="5"/>
                                         </ui:contents>
                                      </oa:cellFormat>
                                      <oa:cellFormat id="AddToCartButtonCell" rendered="${oa.current.IsItemAvailable}">
                                         <ui:contents>
                                            <oa:button id="AddToCart" text="Add to Cart" prompt="Add to Cart" shortDesc="Adds this item to your shopping cart." rendered="${oa.ShoppingPVO.IsIPFlow}"/>
                                            <oa:button id="AddToDocument" text="Add to Document" prompt="Add to Document" shortDesc="Adds this item to your document." rendered="${oa.ShoppingPVO.IsSicFlow}"/>
                                            <oa:flowLayout id="CustomFlow">
                                               <ui:contents>
                                                  <oa:popUp id="CustomPopup" popupType="ParameterizedPopup" popupRegion="/oracle/apps/xxfss/newcart/webui/AddToCartRN" popupParameters="pItemId={@ItemId}" popupTitle="CustomPopup" height="200" width="400" readOnly="false" shortDesc="CustomPopup" comment="Custom Popup Region"/>
                                                  <oa:button id="CustomButton" popupId="CustomPopup" popupEnabled="true" text="Custom Button" prompt="Custom Button" shortDesc="Custom Button Additional Text" comment="Custom Button Comments"/>
                                               </ui:contents>
                                            </oa:flowLayout>
                                         </ui:contents>
                                      </oa:cellFormat>
                                      <oa:cellFormat id="ItemNotAvailableCell" rendered="${oa.current.IsItemNotAvailable}">
                                         <ui:contents>
                                            <oa:formattedText id="ItemNotAvailableText" shortDesc="This item is not available." styleClass="OraTipText" text="This item is not available."/>
                                         </ui:contents>
                                      </oa:cellFormat>
                                   </ui:contents>
                                </oa:rowLayout>
                             </ui:contents>
                          </oa:tableLayout>
                       </ui:contents>
                    </oa:cellFormat>                                                           

Similar Messages

  • How to add javafx image project in my jsp page ?

    how to add javafx image project in my jsp page ?

    Create your JavaFX application as an Applet... then embed the applet object inside your html. I'm sure if you create a javafx netbeans project and hit build... you get a html file that shows you how to load the built binary output into the page.

  • Extending Seeded iProc Page - Options

    Hi,
    I need to add extra information to a table on a seeded iProc page. I have successfully added extra columns by substituting the VO and adding columns however there isn't going to be enough space width-wise to accommodate all the fields I need to add. So I am planning on altering the table by adding in a "Detail Disclosure". As far as I can see my options are as follows:
    - Alter page (PG) adding in Detail section in table - reluctant to do this as this is unsupported and subject to being overwritten by upgrades.
    - Extending controller (CO) adding in code to create Detail section in table. Is this possible? Can you extend a CO? Can you create Page objects through code?
    Any help greatly appreciated.
    Thanks,
    Jon.

    Hi,
    I need to add extra information to a table on a seeded iProc page. I have successfully added extra columns by substituting the VO and adding columns however there isn't going to be enough space width-wise to accommodate all the fields I need to add. So I am planning on altering the table by adding in a "Detail Disclosure". As far as I can see my options are as follows:
    - Alter page (PG) adding in Detail section in table - reluctant to do this as this is unsupported and subject to being overwritten by upgrades.
    - Extending controller (CO) adding in code to create Detail section in table. Is this possible? Can you extend a CO? Can you create Page objects through code?
    Any help greatly appreciated.
    Thanks,
    Jon.

  • How to add the parameters onto the reports while calling from forms

    Hi all,
    I am using oracle forms 10g. I want to call a report from the form.
    But i dont know how to add parameters to the url while using
    web.show_document();
    i have a sample code. But it does not add the forms values onto the url.
    DECLARE
    v_host varchar2(100);
    v_port varchar2(10);
    v_parameter_string varchar2(4000);
    v_username varchar2(50);
    v_password varchar2(50);
    v_database varchar2(50);
    BEGIN
    -- Get the full domain name of the server from the formsweb.cfg
    tool_env.getvar('SERVER_URL',v_host);
    -- Get the username/password and database from the .env file
    tool_env.getvar('APPLICATION_USERNAME',v_username);
    tool_env.getvar('APPLICATION_PASSWORD',v_password);
    tool_env.getvar('APPLICATION_DATABASE',v_database);
    -- If it is localhost then we are running on windows and need to use the windows port, otherwise we
    -- are on AIX and need to use the AIX port
    IF v_host = 'localhost' THEN
         v_port := '8889';
    ELSE
         v_port := '7778';
    END IF;
    -- Now build the parameter string for running the report      
    v_parameter_string := 'server=rep_fsprod';
    v_parameter_string := v_parameter_string||'&report=AAP_TOTAL_CONTRACT_VALUE_RPT.rdf';
    v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||v_password||'@'||v_database;
    v_parameter_string := v_parameter_string||'&execution_mode=batch';
    v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
    v_parameter_string := v_parameter_string||'&destype=cache';
    v_parameter_string := v_parameter_string||'&desformat=pdf';
    -- Now run the report
    web.show_document('http://'||v_host||':'||v_port||'/reports/rwservlet?'||v_parameter_string,'_blank');
    END;
    Are we able to add the text values in the form from to the URL.
    Please let me know....
    thanks in advance....
    Naveen

    hello
    read the following white paper http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    cheers
    Q

  • How to add some parameters to jfreechart?

    hello to everyone
    i am developing one application in which there ia dataseries and i have to generate the chart.i have used jfreechart
    and the chart i have already created but my problem is i want to show some parameters in the chart like the maximum ,average values of the y- axis.can anybody tell me how to add these values to the chart and how to change their location so that the plot and the parameters don't overlap.
    plzzzzzzzzzzzz help

    Use FM BKK_ADD_WORKINGDAY
      IMPORTING
         VALUE(I_DATE) TYPE  SY-DATUM = <b>30.10.2007</b> (Specify date)
         VALUE(I_DAYS) TYPE  I = <b>50</b> (Days that u want to add)
         VALUE(I_CALENDAR1) TYPE  TFACD-IDENT OPTIONAL
         VALUE(I_CALENDAR2) TYPE  TFACD-IDENT OPTIONAL
      EXPORTING
         VALUE(E_DATE) TYPE  SY-DATUM  = <b>19.12.2007</b>
         VALUE(E_RETURN) TYPE  SY-SUBRC = 0
    Best Regards,
    Vibha
    *Please mark all the helpful answers
    Message was edited by: Vibha Deshmukh

  • How to add new validation for the iProcurement web page?

    Hi,
    I am very new to OA Framework. Can you experts give me some guidance on how to proceed with the following customization?
    My requirement is in iprocurement when you open a new cart and check out on "ICX_POR_SHOPPING_CART" there is a Project Field and reference to Charge account. If the users go to charge account (ICX_POR_CHECKOUT_SUMMARY) and enter the segment values ( which includes project segment) and enters a value in project segment other than '000000' with out entering the Project Field on "ICX_POR_SHOPPING_CART" the page should give error.
    Please give me some suggestions on how to proceed.
    Thanks
    Vish

    I need the client side validation. By saying server side validation if you mean writing a triger on tables to validate then I am thinking to take that option as last resort.
    Can you please tell me what is PPR ( Is it personalization?) stands for.? In my case the Charge Account is DFF.
    Can you direct me to any documentation on how to add custom javascript to achieve my objective?.
    Thanks for your Help.
    Regards

  • How to add a frame dynamically in a jsp page.

    Hai all,
    In my application, in a particular jsp page i had the 3 links namely add.edit and delete. When click on add button, it is pointing to another jsp page where i can enter user details. But what i want now is when i click add button, the form in which we fill the user details should be added to the current page itself dynamically i.e., it should not go to another page when i click add button and that form should be displayed in the current page in a new frame dynamically.
    The same should happen when i click n edit or delete options. everything should be diaplayed in the same page in different frames.
    Can anyone suggest me about how to add a frame dynamically.

    You create a frameset with two frames. One frame you give 100% of the rows and run the JSP in this frame. The other frame you give 0% of the row so that it is hidden. In the JSP you use a JavaScript funtion to submit the form. This function will call the parent frameset to reset the row values to 50%/50% which will make the bottom frame visible and then submit the form request with the bottom frame as teh target.
    It is not so much as creating frames as using JavaScript to hide and display frames.

  • How to add video tag in office 365 master page?

    Hi All,
    I have created a branding in Office 365. Now I want to add video in the background of my master page.
    How should I achieve It. the <Video></Video> is not working. It is giving error to me.
    Any option how to add videos in background of master page in Office 365?
    Thanks in Advance.

    Hi,
    From your description, my understanding is that you want to use video tag in your Office 365.
    You should check the video type in your issue, video tag only support mp4 file which you could refer to this article:http://www.w3schools.com/tags/tag_video.asp.
    In addition, you could refer to these articles:
    Video Player for SharePoint 2013 and Office 365
    http://sharepointroot.com/2014/01/22/video-player-for-sharepoint-2013-and-office-365-2/
    how to play a video in sharepoint 2013 foundation version
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/2818becf-e132-4b9a-b50f-8990fa28cf88/how-to-play-a-video-in-sharepoint-2013-foundation-version?forum=appsforsharepoint.
    Best Regards
    Vincent Han
    TechNet Community Support

  • How to add multiple child dialog in a singel page of dialog in ms crm2013

    Hi All,
    How to add multiple child dialogs in a page in dialog in online MS CRM 2013. I am able to add dialogs one at the end of the page. I am not able to add single / multiple dialogs in between the page.
    As per my requirement there is multiple conditions , based on the outcome of condition respective child dialogs need to be linked in a page. Any solution ?
    Thanks
    Shankar.B

    Hi,
           As far as I know this is not possible with OOTB Dialoge in the current version. However there are 3rd party tools like TK Dialogs which provide this feature. Here is the link for the tool and few comparison as to when
    to use OOTB v/s TK Dialog.
    http://www.teamknowledge.co.uk/microsoft-crm.php
    http://garethtuckercrm.com/2012/07/11/tk-dialogs-vs-microsoft-crm-dialogs/
    Hope this helps.
     Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How to call the custom  code in Seeded OA pages when an event Occured.

    Hi,
    I need to call a Oracle Create Task API when User saves the data from Seeded OA Page(Sales OA Page).When User Pressed on the Save button,based on Value he selected in " Sales Methodology" Field ,I need to call Call API.
    How can I achieve it.Is it suggestable to call Custom Code in OA Page.
    Thanks
    Raju.

    hi
    extend the controller
    1.) In PFR method of controller capture the event of save button.
    2.) If the save button event ocurred capture the value of Sales Methodology.
    3.) if select Sales Methodology is required value then call the API using the below method (change it accordingly)
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    OADBTransaction txn = getDBTransaction();
    CallableStatement cs =
    txn.createCallableStatement("begin dbms_application_info.set_module(:1, :2);
    end;");
    try
    cs.setString(1, module);
    cs.setString(2, action);
    cs.execute();
    cs.close();
    catch (SQLException sqle)
    try { cs.close } catch (Exception(e) {}
    throw OAException.wrapperException(sqle);
    thanx
    Pratap

  • How to add link in subtabLayout using OA Framework page personlization

    Hi,
    how to add new link in subTabLayout using OA Framework page personalization.

    Hi Sumit,
    I am also working similar kind of requirement. In my case I tried to add new tab subtab using personalization , how ever the add new item button is not enable.
    So I created new stacklayout and tried to add this to new tab in the existing subtablayout by using co process form request code:
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OracleCallableStatement oraclecallablestatement = null;
    OracleConnection oracleconnection = (OracleConnection)oapagecontext.getApplicationModule(oawebbean).getOADBTransaction().getJdbcConnection();
    try{
    oracleconnection.setAutoCommit(true);
    oraclecallablestatement = (OracleCallableStatement)oracleconnection.prepareCall("begin GLO_TMPVIJ_PRCV(:1); end;");
    oraclecallablestatement.setString(1,"In the custom co process request");
    oraclecallablestatement.execute();
    }catch(SQLException sqlexception)
    throw OAException.wrapperException(sqlexception);
    OASubTabLayoutBean subTabLayout =
    (OASubTabLayoutBean)oawebbean.findChildRecursive("ApplicationDetsTabLayout");
    OASubTabBarBean subtabbar = (OASubTabBarBean)oawebbean.findIndexedChildRecursive("subTabBar");
    OALinkBean link = (OALinkBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,
    OAWebBeanConstants.LINK_BEAN, null,
    "link");
    OAStackLayoutBean commentsRN =
    (OAStackLayoutBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,
    "/xxhr/oracle/apps/irc/candidateManagement/webui/CommentsRn",
    "CommentsRn", // always specify name
    true); // region created in Oracle9i JDeveloper OA Extension
    subTabLayout.addIndexedChild(commentsRN);
    subTabLayout.addIndexedChild(link);
    in this I am not ale to add the new tab.
    Regards,
    Vijay Reddy.

  • How to add a Picklist/Drop down in a page with values (Without Personaliz)

    hi,
    i am very very new to OAF ....please help me out on the below requirement....
    Please suggest me how to add a pick list/drop down field to a page, with some values. (without personalization)
    And the second one is when ever i'll chose a value from the drop down the page will reload and display a message on the page.(messages are different for the different values)
    Thanks
    Prakash

    Prakash
    As mentioned by Anil you can use the above link for new poplist generation through extension. As far as reloading the page in that case you need to make use of PPR for that item.Do refer dev guide for more details
    You can use below code for creating poplist in processRequest of your extended controller
    OAMessageChoiceBean mcb = (OAMessageChoiceBean) createWebBean(pageContext, MESSAGE_CHOICE_BEAN);
    mcb.setPickListViewUsageName("TestVO");
    mcb.setListValueAttribute("LookupCode");
    mcb.setListDisplayAttribute("Meaning" );
    mcb.setID("test");
    mcib.setFireActionForSubmit ("event1",null,null,false, false);//This is event that cause reload of pageYou can handle the event in pfr method
      if("event1".equals(pageContext.getParameter("event")))
    }Thanks
    AJ

  • How can I make multiple popup links on one page?

    I was wondering if anyone had a simple code that will allow me to have multiple popup links on one page? I have no idea what to do.  Any help would be greatly appreciated.

    Give each an individual id like:
    <SCRIPT language="JavaScript1.2">
    function openwindow1()
    window.open("score_popup/wbc_slalom_running_order.html",
    "mywindow","location=1,status=1,scrollbars=1,width=600,height=525");
    .......... etc.
    and then:
    <p><a href="javascript: openwindow1()">WBC Invitational Slalom Event Running Order</a></p>
    View actual working page here:
    http://www.worldbarefootcenter.com/
    scroll to bottom of page to see pop-up links. View source code for complete details:
    Best wishes,
    Adninjastrator

  • How to add custom VO in a seeded AM?

    Hi,
    I know we can use substitution to replace seeded VO with custom VO after extending it, But I have to add customer VO and create view links with this VO. Is it possible? how it can be achieved?
    Appreciate your help and thanks in advance.
    Thanks,
    Hitesh

    Hitesh,
    You can even extend a seeded AM and add your Custom VOs, then use Substitution to replace seeded AM with Custom AM. Please note that when your AM is the root AM, this approach will have problems with Lovs. So let me know if this approach is helpful to you. Or I overlooked over something.
    Sumit

  • How to add custom parameters in LDB.

    Hi,
    i have to add my own parameters for e.g. plant in standard report RFUMSV00.
    This report uses LDB 'BRF'.
    How it is possible.
    if i have to make Z report then also plz tell me in details.
    its urgent.
    Regrds,
    Santosh.

    Hi santosh,
    You can add any parameter at the end of the LDB selection screen, by declaring parameters in your custom report.
    In the attributes, define the name of the LDB you want to use.
    Regards,
    Jayant

Maybe you are looking for

  • IPHOTO CHANGES ALL PICS TO A HEADING WRITTEN FOR ONE.  HOW DOES ON CHANGE THE NAMES BACK?

    I changed the name of a picture and all pictures in the folder were changed to the new name I gave to one picture.  Can I restore the original names?

  • Broadband noise/ drop out/ speed issues

    Am starting a new post because last one has become too long. See http://community.bt.com/t5/BB-Speed-Connection-Issues/Broadband-dropping-out-noise-high-speed-slow/m... if you would like the history. Here is the summary.  Long distance from the excha

  • Creation of Import Control/commodity codes and Language translation

    Dear All, My requirement is to maintain new control codes for country India for the different Custom duty rates and to maintain the condition records for all the condition types associated with Customs Duty. 1) I have already maintained chapter-ids i

  • Duplicate posting of Payment Draft

    Hi We are surprised Outgoing Payment Draft is not refreshed automatically or become Closed until we manually tick or untick Open to refresh. There is high risk of mistaking it as open and post again yet the system does not prohibit posting of this Dr

  • Can't use any tools from the toolbar

    I'm running  InDesign CS6 ver. 8.0.1 on a Windows 7 64-bit pc. InDesign has been running perfectly for about two years on this pc until about a month ago when I suddenly couldn't use the tools from the toolbar any longer. I have searched for a soluti