Doubt in Opening a OA page as a popup from OA page on click of a button

Hi All,
I need a help.
I have a OApage,
from the OA page i want to open one more OA page as an popup on click of a button, So a took the button as normal button not a submit button
So in the buttons Destination URI property I have set the property as
javascript:window.open('OA.jsp?page=/oracle/apps/misibe/cust/webui/MisibePOPCreateCustomerPG&retainAM=Y', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
So when I am clicking the button on the base page to open the pop up I am getting the following error:
You have insufficient privileges for the current operation. Please contact your System Administrator.
You cannot run a page which is not SelfSecured when the MAC fails.
Can you please help in this.
Regards!
Smarajeet

Hi, not sure if this is still relevant to you Lakshman; if not it can perhaps help someone else.
I solved this by copying the JavaScript
function addrSearchDialog(fieldId,searchStr,multiSelect)
from the include CRM_EMAIL_ADDRESS_INPUT into the .htm of the mail component, changing its name to addrSearchDialogZZZ and telling the 'To', 'CC' and 'BCC' buttons to execute addrSearchDialogZZZ onClientClick instead of addrSearchDialog.
In my function, addrSearchDialogZZZ, I simply told the select option for Exchange Addresses to be selected:
I changed the line
'<option value=\"OUTLOOKGALID\" id=\"OUTLOOKGALID\">'
to
'<option selected value=\"OUTLOOKGALID\" id=\"OUTLOOKGALID\">'
I hope this helps,
Patrick.

Similar Messages

  • Opening a new page on click of a button

    Hello Everybody,
    I have a small requirement. i need to open a new web page on click of a buttton on a bsp application. How do I achieve this technically?
    Thanks,
    Paul

    Hi!
    By impelemntign a litte javascript with window.open(...) that is called when button is clicked (onClientClick).
    Does that solve your issue?
    Regards,
    Volker

  • An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery or directly typing its URL

    I apply theme before singing all users into application ,now  visitor/member are not affected color text so we are reapplying themes 
    I am not able to reapplying SPColor /my site Host template "  An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery
    or directly typing its URL" while applying theme i am getting error
     

    is it your public site/ community site or team site?
    what level of subscription you have?i would say try to delete the site and try to create a new.
    http://community.office365.com/en-us/forums/154/t/147705.aspx
    are you able to open the site in the sharepoint designer?
    or try to send them the private message to the support team.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Include a jsp file in the same page by click on a button

    Hello Everybody
    I'd like to control "my.jsp" page by clicking on some buttons. So if I click on Button1, f1.jsp go to be includeing in "my.jsp" or Button2 to include f2.jsp on "my.jsp" and so on
    Thank you in addvance

    In my.jsp you could put a form with n submit buttons whith different values of parameter "name", like this:
    ---My.jsp------
    <form method="yourMethod" action="My.jsp">
    <input type="submit" value="Button1" name="button1">
    <input type="submit" value="Button1" name="button2">
    <input type="submit" value="Buttonn" name="buttonn">
    </form>
    <%if(request.getParameter("button1")!=null){%>
    <jsp:include page="f1.jsp">
    <%}%>
    <%if(request.getParameter("button2")!=null){%>
    <jsp:include page="f2.jsp">
    <%}%>
    <%if(request.getParameter("buttonn")!=null){%>
    <jsp:include page="fn.jsp">
    <%}%>
    I didn't try it but it might work.

  • Opening a HTML page on clicking of button .

    i created a button under menuItem help , i want to open a HTML page in other window (that is save inside my project folder ) when i click that button.
    for this i created jeditorpane and passing the URL in to its constructor but i m getting exception when i m using URL like "D:/x/y.html" exception is protocol not find and in the case of "http://localhost/d:/x/y.html" exception is java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method
    my code is
    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    import java.awt.Color;
    import java.awt.Container;
    import java.io.IOException;
    public class HelpDialog {
    * height of frame in pixels
    private static final int height = 1000;
    * width of frame in pixels
    private static final int width = 1000;
    private static final String TITLE_STRING = "Help";
    * URL of page we want to display
    private static final String URL = "http://localhost/D:/SVGcode/javaApplet/src/com/Documentation.html";
    // --------------------------- main() method ---------
         public HelpDialog()
         SwingUtilities.invokeLater( new Runnable()
         public void run()
         System.out.println( "Starting" );
         final JFrame jframe =
         new JFrame( TITLE_STRING );
         Container contentPane = jframe.getContentPane();
         jframe.setSize( width, height );
         contentPane.setBackground( Color.WHITE );
         contentPane.setForeground( Color.BLUE );
         jframe.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE);
         try
         System.out.println( "acquiring URL" );
         JEditorPane jep = new JEditorPane(URL);
         System.out.println( "URL acquired" );
         JScrollPane jsp =
         new JScrollPane( jep,
         JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
         JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
         contentPane.add( jsp );
         catch ( IOException e )
         System.err.println( "can't find URL" );
         e.printStackTrace();
         contentPane.add( new JLabel( "can't find URL" ) );
         jframe.validate();
         jframe.setVisible( true );
    plz help me

    Hi Sandy,
    Instead of giving url in the constructor. Paste the code below the JEditorPane. Remove the url from the JEditorPane constructor.
    try{
                        /** Files from system */
                        java.net.URL helpURL = new URL ("file:///" + "C:\\thread.jspa.htm");     
                        /** Files from inter net */
                         helpURL = new URL ("http://forums.sun.com/thread.jspa?threadID=5421146&tstart=0");
              if(helpURL!=null)     
               jHelp.setPage(helpURL);
              else
                   System.out.println("Couldnt find file");
               }catch(MalformedURLException exp){
                    System.out.println("Exception in page loading---"+exp);
               }catch(IOException ioexp){
                    System.out.println("Exception in page loading"+ioexp);
               }

  • Open all html pages in one window w/button

    I'm trying to figure out how to have all of my pages for my
    site open under one browser window instead of opening up a new
    window when each button is clicked.
    I built Flash buttons for the pages and they work fine...they
    just open up the pages in individual windows.I'm new at this and
    haven't figured out how to get the pages to open up in the main
    (index.html) browser window. I've tired doing it using in
    Dreamweaver the Add Behaviors, GoToURL selection but it doesn't
    work...
    Also, I'm not using frames within Dreamweaver....
    Here is the code for the flash button that I tried and it
    didn't work....
    The 2nd block of code is what I used to open the pages and it
    does work...
    Any help would be appreciated and well worth a cold pint when
    we meet!
    Bob Davis
    dp Davis Productions....
    =

    Strangely yes you do.
    iChat invokes the same A?V protocols from any Buddy list.
    If the person at the other end is on iChat or AIM on a PC then it will be able to Video or Audio chat to them.
    It will not be able to Video chat to MSN or Yahoo or Jabber only Buddies (those clients that can't Video chat or don't use the same protocols as iChat and AIM).
    The exception is to people on a OS X server network with the iChat server which is actually a Jabber server - but the individual users will be using the iChat Client.
    9:59 PM Thursday; November 1, 2007

  • Can't see video on my web page, just click to play button...

    Hello!
    I just made my first video tutorial and created a Quicktime video. I also made it web ready, which created a folder with the "how to," a poster image, etc. I read the directions and viewed the code for adding it to my web site, but I am new to HTML, etc. and seem to be doing something wrong. All I get is the "Click to Play Button" when I view my page in the browser.
    I want to add a link on my blog that will open the page with the video on it in a browser window so it can be viewed. Like this one:
    http://cdn.libsyn.com/cspodcast/podcast-BR-flatview.mp4
    If anyone can help, here is the link to the page where I have the code:
    http://robenmariesmith.com/psactionstutorial.htm
    Much appreciated!!
    RM

    Here is what I did...
    1. I created the video in Snapz Pro. Then I saved it to my desktop.
    2. Next, I uploaded the image file, which is a .mov file to my web site. I put mine in a folder called img.
    3. Now this is the best part, go to this web site:
    http://cit.ucsf.edu/embedmedia/step2_qtv2.php?mediatype=QuickTime
    4. I selected Web Server and then went to the next screen. On the next screen, add the web server name and the file path. I am a newbie so I made the mistake of adding the entire file path. You only need to add the info. after the web name. Example:
    My web server is: http://www.robenmariesmith.com
    My file path is: img/tutorials/PSActionsTutorial.mov
    Select the pixel image size for your largest image for width and height.
    Make the other selections that it requests and click Submit.
    5. On the next screen you can actually test your media. If all is working, copy and paste the code into your web site.
    Let me know if you need any more help and I will help if I can!
    Cheers,
    RM

  • Why does the browser window change colour when I bookmark a page or click the Downloads button?

    Using Firefox 20 on MacOS - when I click the Downloads button or Cmd-D to bookmark a page, the browser window changes from looking like this:
    https://dl.dropboxusercontent.com/u/35912963/01-firefox-before.png
    to looking like this:
    https://dl.dropboxusercontent.com/u/35912963/02-firefox-after.png
    Any thoughts would be welcome.
    Dan

    Hi there,
    Wow, that looks odd! I have no idea why that would happen, but I wonder if it's related to one of the add-ons you have installed? I see a red icon in the status bar that I'm not familiar with, which leads me to believe that you may have other add-ons installed. One thing to try is to start Firefox Firefox with add-ons disabled (you can do this from the Help menu). If you don't see this problem in that mode, the issue is caused by one of the add-ons. From the Tools menu, you can access the add-ons and disable them one by one. Remember to restart each time and then test it out.
    If none of that takes care of this, my other suggestion would be Firefox Reset: [[Reset Firefox – easily fix most problems]]
    Hope any of this helps.
    Cheers,
    David

  • Opening a New page on click of a link in Struts PDK portlet

    Hi All,
    Please help me to sort out my issue..
    I created a portlet(say P1) using struts Portlet.That portlet is added to a portal page..which has some other portlets already(p2,p3,p4)...So my portal page has 4 portlets p1,p2,p3,p4..In Portlet P1 There is JSP which has a link inside...When i click on the link..I need to open a new JSP page with some prepopulated data inside it..Now the problem is..it is opening a page with data..but in the new page i am seeing all the remaining portlets as well..P1(with new data),P2,P3,P4 portlet..
    But i need to see only the JSP page with my new content..please help me with this..
    Here is the code...what i have written
    INDEX.JSP
    <%@ page contentType="text/html; charset=windows-1252"
    import="java.io.File, java.io.FilenameFilter"
    %>
    <%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
    <html>
    <head>
    <title>
    Struts Sample Portlet - Hello World...
    </title>
    <body>
    <html:link action="/sayActionHello" target="_blank">My Link</html:link>
    </body></html>
    ACTION CLASS
    public class SayHelloAction extends Action {
         public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    System.out.println("Inside execute ................................");
    PortletRenderRequest pReq = (PortletRenderRequest)
         request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    ProviderSession pSession = pReq.getSession();
    if(null != pSession){
         System.out.println("Inside---pSession...........................");
         pSession.setAttribute("sample","Sample Data for Testing");
    return mapping.findForward("success");
    Provider.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>samstruts</name>
    <title>samstruts</title>
    <description>sample struts Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
    <defaultAction>/sayHello.do</defaultAction>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    Strutss-config
    PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <action-mappings>
    <action path="/sayHello" scope="session" type="com.up.tey.SayHelloAction">
    <forward name="success" path="/jsp/index.jsp"/>
    </action>
    <action path="/sayActionHello" scope="session" type="com.u p.tey.SayHelloAction1" input="/htdocs/jsps/index.jsp">
    <forward name="success" path="/jsps/indexsample.jsp"/>
    </action>
    </action-mappings>
    </struts-config>
    Indexsample.jsp
    <%@ page contentType="text/html; charset=windows-1252"
    import="java.io.File, java.io.FilenameFilter"
    %>
    <%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
    <html>
    <head>
    <title>
    Struts Sample Portlet - Hello World...
    </title>
    <body>
    <h1>HELLO WORLD Sample using Struts !!!!!!<%=session.getAttribute("sample")%></h1>
    </body></html>
    In new window i am cing Indexsample.jsp inside my P1 portlet..But the remaining 3 portlets(p2,p3,p4) are also there..Which i dont want..Please Help..this is really very urgent for me..

    HI
    i am also facing same problem with session but in simple portlet with ajax implementation.
    i am setting session in portlet jsp with following code using oracle application server portal 10g.
    (here portlet jsp means which is included from portlet.)
    session.setAttribute("map",map);(here session is implicit object )
    i want to call ajax jsp from portlet jsp with below code.(i.e setting session in portlet jsp and accessing in ajax jsp)
    var url = "<%=renderRequest.getContextPath()%>/AjaxProcessRequest.jsp?q=" + random;
    var pars = '&namespace=<portlet:namespace/>' +'&imagesPath=' + '<%=imagesPath%>';
    var myAjax = new Ajax.Updater(
    {success: 'emailbody'},
    url,
    method: 'get',
    parameters: pars,
    onFailure: reportError,
    evalScripts: true
    i am accessing map object from session in my AjaxProcessRequest.jsp as shown in below code.
    Map map=(Map)session.getAttribute("map"); (here session is implicit object )
    here map object is getting null from session.
    Please help on this if u know about this session.
    Regards
    Raju

  • Open a custom page on click of a result from Search Result screen

    Hi,
    We are in process of designing the architecture of our sharepoint application. We have a tweeky requirement.
    From the default search results page, if user click on one of the result, a custom page should open which not only display the actual result text but this page should have the concatenated string of text from some other items.
    For instance:
    there are 2 lists:
    List A with an item with text "Design: Complex hierarchy"
    and List B with an item with text "Design: Hello"
    If user searched "Complex" then a click on the result on search results page should open a page with this content
    "Design: Complex hierarchy (tab)(tab...) Design:Hello"
    Any solution or direction is welcome.

    Hesham Saad Aly:
    You are making a mistake that is common among people new to the forums.
    The idea of the Propose as Answer button is that you propose the good posts of other people.
    It is not something that you automatically click (for your own post) the moment after you have posted a reply in the forum.
    Please in future help the Moderators by only proposing good answers from other people and do not propose your own posts as you have done several times already.
    A Moderator 
    Note: Clayton Cobb - also a Moderator here - told you in this thread
    http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/359a2b6f-60b9-4fba-b447-99a7d9b90017 not to propose your own posts.
    I found it hard to believe that you have continued to ignore Moderator guidance in this matter.
    Please follow this instruction NOW or face the consequences.
    SP 2010 "FAQ" (mainly useful links):
    http://wssv4faq.mindsharp.com/default.aspx
    WSS v3 FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
    Both also have links to extensive book lists and to (free) on-line chapters

  • Redirecting to the Home Page when clicking on close button of the Item in a list

    Hi all,
    I have a SPD Workflow configured in a site to show a link to the current item view form from the autogenerated mail, so that when a user clicks on the link , it gets redirected to the list item as a Viewform.aspx. on closing t hat the user will be redirected
    to the list and shown the allitems.aspc view of the list. But the user now wants to redirect to the Home page of the site. I have created and deployed the SPD WF using Designer 2010 and deployed to the production. But Now I am fearing that to achieve
    this requirement do I need to change the entire approach of SPD Workflow? If anyone has pointers please share with me.
    Thanks,
    K.V.N.PAVAN

    No, I said to set the Source parameter of the URL to the home page.  You have to do this in order for the browser to know where to send the user upon closing or updating the item.  This is how all redirects work in SharePoint.  If you go browse
    around and click on an item, you will see a Source parameter in the address bar.  The URL that comes after "&Source=" is the URL your browser will be sent to after you click "close."  This is how SharePoint remembers the context of where you
    were.  If you don't provide a Source parameter, then it defaults to the list where the item lives.  That's what you're currently doing, so you need to add a Source parameter to the URL you provide in the workflow email.
    http://sitename/list/DispForm.aspx?ID=[Current item: ID]&Source=http://sitename
    Something like that.
    SharePoint Architect || Microsoft MVP ||
    My Blog
    Planet Technologies ||
    SharePoint Task Force

  • How to go to a particular field of the same page by clicking the radio button.

    Hello All ,
               I am working on a form which is designed by some one else . There is a Page - 8 . And there is a question at the first which is in another subform.
               At the end there are several radio buttons . If some one is clicked as yes then the focus should be on Question which is present at the beginning of the form.
    My code goes like this .
    if(TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntSt ate[0].this.rawValue ==true)
    xfa.host.setFocus(' TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm');
    Form hierarchy for Q9 _ProgramNm is -- TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm
    Form hierarchy for radio button is -- TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntStat e[0]
    The event should be click event on JavaScript.
    Please someone help !!!!

    Hi
    In the second screen, for field empno, set the attribute Output only as X and set group1 for empname as 'INP'.
    In PBO of second screen, write this code.
    loop at screen.
    case screen-group1.
       when 'INP'.
         if sy-ucomm = 'DISP' .  "sy-ucomm value when you click display
           screen-input = '0'.
           modify screen.
       endif.
    endcase.
    endloop.
    regards
    Navneet
    Message was edited by:
            Navneet Saraogi

  • Close the IE page on click of a button in the transaction

    Hi All,
    I have a button on the transaction and once I click the button it should log off from the SAP WEB AS and close the Internet Explorer page.
    Can anyone guide me through the process?
    Thanks in advance,
    Sudhi

    from your earlier Passing data through URL i understand that you use integrated ITS, so my answer is going to be based on that.
    in your program add the following :
    include AVWRTCXM .
    and write the following code for button click.
    field-set '~OkCode' 1 '/NEX' .
    its-browser_redirect 'XXX'.
    now go to SICF
    navigate to your service under sap/bc/gui/sap/its/
    double click on the service
    choose error pages tab
    then choose logoff page tab
    make sure "explicit response time" radio button is selected.
    Click on the create icon next to "Body" in the resulting window enter the following text
    Thanks for using ITS
    <a href="#" anclick="windaw.clase();">
    click here to close this window
    </a>
    in this line (anclick="windaw.clase();) change the alphabet 'a' to 'o' .
    Save the service.
    and test the same.
    Regards
    Raja
    Message was edited by:
            Durairaj Athavan Raja

  • Calling a http page from applet? on click of one button

    i want to make a http request in address bar of my internet explorer from my applet which is running in the browser

    check showDocument(....) method in AppletContext interface.

  • Can not open any open any web pages. Receive the following error message (Error code: sec_error_library_failure)

    I can not open any websites using Mozilla browser. I have attached a screen shot of the error message that I receive. You will also find it below: .
    Secure Connection Failed
    An error occurred during a connection to www.google.com. security library failure. (Error code: sec_error_library_failure)
    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.
    This error appears on all pages that I try to browse to. All other browsers work fine on my computer.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

Maybe you are looking for