Personal responsibility - Restrictions imposed via the JSP page

Hello

We have a responsibility custom, what gives administrative access to a Workflow Notifications of type "Réquisitions" the user who is assigned the role. Here are the details for the personal responsibility.

Responsibility: PO requests Admin workflow
Menu: PO requisition WF Admin top Menu
Function: Find the Notification to the Admin for iProcure
Function type: function SSWA jsp
HTML call: OA.jsp?page=/oracle/apps/fnd/wf/worklist/webui/NotifSearchPG

The version of the EBS is R12.1.1

But the problem is, it displays all types of notifications with request for an opinion. Guidance on how can I limit notifications other than the Type REQAPPRV internal, prevented to display?

I am new to OAF, so I have no idea about where at first. Any help would be appreciated.

I understand you need at first glance.

You must expand the controller class and get the personalized name of responsibility from which you access this page using above method
I mentioned.

String cust_resp = pageContext.getResponsibilityName ();

Of the PFR:

If (yourCustRespName.equalsIgnoreCase (cust_resp)
{
your logical business here will get the type of notification - purchase requisitions.
Get your instance of the View object, pass the value to the place where the VO clause attached to your table area you can filter the
records displayed

}

You must extend the controller class

Had

Tags: Oracle Applications

Similar Questions

  • How to customize the JSP page in iSupport

    Hello

    I worked on the OA framework. But I have a requirement to customize page iSupport in oracle applications. There is a button on the page, I want to call a DB function passing 2 parameters for this function. The result of this function and display the error message to user based in the result of the function.

    This is the JSP page. I got the name of page JSP of URL in the browser. I discovered the source of this page and found after statement...

    onclick = "JavaScript:document.identifyproblem.JTFValidateFlag.Value = 'Yes'; * Next * ('identifyproblem', 'NEXTFROMIP');" "return false" type = "button" > next < / button > < img src="/OA_HTML/cabo/images/swan/t.gif" width = "10" height = "10" > < table > < /tr > < / table >

    "next" function is available in a .js file that is imported in above file.

    function next (shape, opcode)
    {
    If (opcode == 'NEXTFROMCI' | opcode == "NEXTFROMIP") {}
    If (! checkContactPoint (form)) return;
    }

    If (checkRequiredField (form)) {}
    document. Forms [form]. IBU_CF_SR_OPCODE. Value = opcode.
    document. Forms [form]. Submit();
    }
    else {}
    return;
    }
    }


    If I want to change the functionality can I add my code and more to have a "next"?

    Or I have to change something in the file of the page controller?

    Hi Paraq,

    My mistake, I'm not familiar with iSupport pages, but do a search on google I see that they are standard JSP and not OSTEOARTHRITIS.

    I'm not sure if this will help iSupport Extension

    I'm sure there are many examples of how to extend the iSupport OTN pages

    Keith

  • Can users change their schedules to ring remote Destination via the web page of user ccmuser?

    For employees who change of shifts from one week to another, or for users to go on vacation, can a login from the final user to ccmuser and adjust the timing of their own? Pouvez user number SNR on show and hide them too?

    Hello.

    Are you able to see 'Other numbers' section on the main page of the user?

    If so, click on edit in the "Actions" section and there you go set ring times and active period SNR.

    HTH

    Concerning

    Carlo

  • Restrict access to the error page

    Recently, I created two pages based on the same template within two minutes apart and added access to Server page both behaviors.
    Created one page the following code:

    "< %@LANGUAGE="JAVASCRIPT "CODEPAGE ="65001"% >
    < %
    Restrict access to Page: grant or deny access to this page
    var MM_authorizedUsers = "Administrators";
    "var MM_authFailedURL ="... / index.html ";
    var MM_grantAccess = false;
    If (String (Session("MM_Username"))! = 'undefined') {}
    If (false |) (String (Session("MM_UserAuthorization")) == "") | ((MM_authorizedUsers.indexOf (String (Session("MM_UserAuthorization"))) > = 0)) {
    MM_grantAccess = true;
    }
    }
    If (!.) MM_grantAccess) {}
    var MM_qsChar = '? ';
    If (MM_authFailedURL.indexOf("?") > = 0) MM_qsChar = "&";
    var MM_referrer is Request.ServerVariables ("URL");.
    If (String (Request.QueryString () .length > 0) MM_referrer = MM_referrer + "?" + String (Request.QueryString ());
    MM_authFailedURL = MM_authFailedURL + MM_qsChar + "accessdenied =" + Server.URLEncode (MM_referrer);
    Response.Redirect (MM_authFailedURL);
    }
    % >

    ---------------------------------------
    The second product this code:
    "< %@LANGUAGE="JAVASCRIPT "CODEPAGE ="65001"% >
    < %
    ' * Restrict access to Page: grant or deny access to this page
    MM_authorizedUsers = "Administrators".
    "MM_authFailedURL ="... / index.html.
    MM_grantAccess = false
    If Session("MM_Username") <>"" then
    If (false or CStr (Session("MM_UserAuthorization")) = "") or _
    (InStr (1, MM_authorizedUsers, Session("MM_UserAuthorization")) > = 1) Then
    MM_grantAccess = true
    End If
    End If
    If not MM_grantAccess then
    MM_qsChar = '? '.
    If (InStr(1,MM_authFailedURL,"?") (> = 1) then MM_qsChar = "&".
    MM_referrer = Request.ServerVariables ("URL")
    If (Len (Request.QueryString ()) > 0) then MM_referrer = MM_referrer & "?" & Request.QueryString)
    MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied =" & Server.URLEncode (MM_referrer)
    Response.Redirect (MM_authFailedURL)
    End If
    % >

    The latter has failed with an error:

    Microsoft JScript compilation (0x800A03F7)
    Unfinished string constant
    / fEBC/MJ/Odd code/aprecdeleted.asp, line 3, column 64
    ' * Restrict access to Page: grant or deny access to this page
    ---------------------------------------------------------------^

    Delete and re this coding, even copy the code from the first to the second had little effect.
    I deleted the file and repeat the procedure and the correct code has been entered and worked perfectly. It seems strange that in seemingly identical circumstances, CS3 should produce a different code.

    Someone else had this problem?

    It seems that you have selected the wrong type of page - ASP-javascript rather
    that VBScript-ASP.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "whatalotofrubbish" wrote in message
    News:fjok2f$RCO$1@forums. Macromedia.com...
    > I recently created two pages based on the same template in two minutes
    > of
    > each other and added the restriction of access to page server behavior to
    > both.
    > A single page created the following code:
    >
    >< %@LANGUAGE="JAVASCRIPT » CODEPAGE = « 65001 » % > %@language="">

    > < %=""> < br=""> > / / * restrict access to Page: grant or deny access to this page < br=""> > var MM_authorizedUsers = "Administrators"; "" < br=""> > var MM_authFailedURL = "... index.html";
    > var MM_grantAccess = false; < br=""> > if (String (Session("MM_Username"))! = 'undefined') {< br=""> > if (false |)} (String (Session("MM_UserAuthorization")) == "") | < br=""> > (MM_authorizedUsers.indexOf (String (Session("MM_UserAuthorization"))) > = 0)) < br=""> > {< br=""> > MM_grantAccess = true;} < br=""> >} < br=""> >} < br=""> > if ( ! MM_grantAccess) {< br=""> > var MM_qsChar = '? ';} < br=""> > if (MM_authFailedURL.indexOf("?") > = 0) MM_qsChar = "&";. " < br=""> > var MM_referrer = Request.ServerVariables ("URL"); < br=""> > if (String (Request.QueryString () .length > 0) MM_referrer = MM_referrer < br=""> > + < br=""> > "?" + String (Request.QueryString ()); < br=""> > MM_authFailedURL = MM_authFailedURL + MM_qsChar + "accessdenied =" + < br=""> > Server.URLEncode (MM_referrer); < br=""> > Response.Redirect (MM_authFailedURL); < br=""> >} < br=""> > %>
    >
    > ---------------------------------------
    > The second product this code:
    >< %@language="JAVASCRIPT » CODEPAGE = « 65001 » % >
    > < % < br / > > ' *** restreindre l’accès à la Page : subvention ou refuser l’accès à cette page < br / > > MM_authorizedUsers = « administrateurs » < br / > > MM_authFailedURL = »... /index.html">
    > MM_grantAccess = false < br=""> > Session("MM_Username") If <> "" then < br=""> > if (false or CStr (Session("MM_UserAuthorization")) = "") or _ < br=""> > (InStr (1, MM_authorizedUsers, Session("MM_UserAuthorization")) > = 1) < br=""> > then < br=""> > MM_grantAccess = true < br=""> > End If < br=""> > End If < br=""> > If Not MM_grantAccess then < br=""> > MM_qsChar = '? '. < br=""> > if (InStr(1,MM_authFailedURL,"?") (> = 1) then MM_qsChar = "&" < br=""> > MM_referrer = Request.ServerVariables ("URL") < br=""> > if (Len (Request.QueryString ()) > 0) then MM_referrer = MM_referrer & "?" < br=""> > & < br=""> > Request.QueryString () < br=""> > MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied =" & < br=""> > Server.URLEncode (MM_referrer) < br=""> > Response.Redirect (MM_authFailedURL) < br=""> > End If < br=""> > %>
    >
    > Last operation failed with an error:
    >
    > Microsoft JScript compilation (0x800A03F7)
    > Unfinished string constant
    >/febc/mj/odd code/aprecdeleted.asp, line 3, column 64
    > ' * Restrict access to Page: grant or deny access to this page
    > ---------------------------------------------------------------^
    >
    > Remove and re this coding, even copy the code from the first to the
    > second have little effect.
    > I deleted the file and repeat the procedure and the correct code has been
    > inserted
    > and worked perfectly. It seems strange that, in what appear to be identical
    > circumstances, CS3 should produce a different code.
    >
    > Anyone else had this problem?
    >
    >

  • Error when I import classes using the JSP page directive

    Hi all!

    I installed JDeveloper 11 g (11.1.1.3.0)

    My applications are found in the C:\dir (JDEV_USER_DIR = C:\dir)
    I created the application "Appliation1". In it, I created 2 projects (Project1, inside session entity beans and other classes of java;) Project2, inside JSP).
    I want to import classes of Project1 in Project2 using the following directive:
    ----------------------------------------------------------------------------------------
    < % @ page contentType = text/html"; charset = windows-1252 ".
    import="Project1.*"% >
    ----------------------------------------------------------------------------------------
    so in Project2 project properties set the way to classes in Project1.
    When I run JSP, an error has occurred:
    Error (4.9): the Project1 to import cannot be solved.

    Maybe that I am not correctly defined the path to classes

    Thanks in advance.

    Hello
    Try the project properties/project source paths/resources
    or
    Properties/project dependencies

    then restart

    concerning

  • restrict access to the php page problems

    I'm trying to use the dreamweaver php restrict access server behavior and will have success on both my local maching and my own host. However, the same script does not work on the server of a customer hosted by Verio on a Windows shared hosting plan.

    index.php = login page
    Login.php = forwarding connection failed
    client.php = page with a script to restrict access.

    If I remove the script of restricted access, I was able to connect fine and see page client.php. However, if I understand the access restricted in the client.php script, I get kicked to the login.php page. I only check the username and password, not the user level.

    Here is a brief overview of the two assemblies

    localhost:
    MacBook pro running apache
    PHP 5.2.0, mysql 5.0.22
    register_globals = Off

    Client server:
    Host = verio
    Windows shared hosting plan
    PHP 5.2.0, mysql 5.0.24a
    register_globals = Off

    Session settings are the same as the file phpinfo.php (with the exception of the local value of the session.save_path to the verio server)

    I can return the value of the username (and pass) using the {print $_SESSION ['MM_Username'] ;} on client.php page when I comment on the script to access restricted on the client files.}

    I wonder if there is a php setting that is causing the problem?

    Any help is greatly appreciated.

    Kind regards

    Mike

    According to media, the current windows has limited hosting plan supports for php scripts.

  • Google maps will still be available via the start page for firefox 1 nov

    iGoogle will disappear 1 nov.2013 can currently access cards Classic glasses through the firefox start page. the cards will remain available through the firefox start page after that igoogle goes?

    Maps will be available

  • Virtual Firesight Management Center (Sourcefire_3D_Device_Virtual64_VMware - 5.3.0 - 571) inaccessible via the web page

    Hi, I installed Sourcefire_3D_Device_Virtual64_VMware - 5.3.0 - 571 on vmware ESXi 5.0, installation was ok, I can ping and ssh Sourcefire_3D access but I am not able to access via Internet Explorer or Firefox.

    I see with wireshark who receive the Sourcefire_3D package from the client browser, but is not full 3 - way handshake.

    I use my laptop with Windows 7 64-bit, with vmware workstation v. 10.0.4 and ESXi 5.0.0.

    any suggestion?

    concerning

    Antonio

    You are welcome.

    Please take a moment to assess your question as answered.

    See you soon!

  • Form Distribution via the web page.

    Now that I've created my form, I want to display on a web page so that the public can download a copy and fill it.  I have set up with a button 'Send' oriented toward the target e-mail address.  Tips or concerns, that I should be aware of?

    No tricks - just download it on the server and link to it. The only thing you need to know is that not all browsers show the form correctly and allow the user to fill out the form and send it by e-mail: If the browser uses the Adobe Acrobat or Adobe Reader plug-in to view the PDF file, there is no problem, but if you're dealign with a browser that is not no default viewer PDF from Adobe (for example Firefox) , or does not allow the Adobe plug-in to display PDF file, things will not work in the best: the user will most likely download the PDF file and open it in Acrobat or Reader so that your form can work properly. And, if someone opens the form on a mobile device, all bets are off regarding what will work.

    I would like to add to the download link instructions that tell your users need to download the file to your desktop and use Adobe Acrobat or Reader free to complete and submit the form.

  • My internal microphone does not work. I tried to configue it via the help page for computers. It would not be registered on the recorder when I performed the test of the voice. Can someone please help?

    I have an Acer Atom Intel (r) CPU N450. Windows XP Home Edition 2002, Service Pack 3. The microphone is a Realtek HD Audio Input.

    Hi jbarnett1st,

    • Did you the latest changes on the computer?

    Method 1

    Try the method below and see if it helps.

    (a) open the control panel.

    (b) double-click on sounds and Audio devices.

    (c) on sounds and audio devices Properties, click volume tab and under "volume of the device" , click on the button "Advanced".

    (d) on the main volume, click options, and then click Properties.

    (e) under "playback" option, where it says "show following volume controls", make sure that the box is checked which corresponds to the place you plug your phone microphone.

    To configure the microphone

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/speech_sr_microphone_configure.mspx?mfr=true

    Method 2

    If the previous step fails, then reinstall the latest audio drivers from the Web to Realtek website and check if that helps.

    http://www.Realtek.com.tw/downloads/

  • Special characters are not displayed in the ADF jsp page

    Hi all
    Using the controller view ADF, I get the data from the database table, but when I view the data in the jsp page after a special character < what ever the data is there, it is not moved. Provide suggestions.


    Thanks in advance
    Mani

    Hello

    Have you tried to use a simple outputText (instead of outputFormatted?)? If this does not work even with af:outputText, try to escape from the false outputText property definition (attention: http://docs.oracle.com/cd/E15051_01/apirefs.1111/e12419/tagdoc/af_outputText.html).

    Arun-

  • Export the current page - configuration

    Hello

    I created a page of dashboard with 8 reports on this subject.

    Some of these reports may have more than 25 results, so I get a menu drop-down:

    dropdown.jpg

    Now when I want to export the entire dashboard via the option page: 'Export to Excel - export current Page', I get the dashboard with all my reports, but only the first 25 results page.

    When I lay my lines manually in the report so I have all the lines on my screen, I also get them in my Excel export.

    I was wondering if there is a way to change this export feature, so it will export all results, not just those shown on the screen? (like normal export function on a single report)

    Thanks for your help,

    Sander

    Go to Edit dashboard - > print options-> print all lines (by default, this will be the visible lines).

    You can find this option in the dashboard menu which is located just after the option remove from the dashboard page (X symbol in red).

    Thank you

    AJ

  • Unable to find server jsp pages

    Hi all

    When present on a java page click a button called (.jsp), but I am not able to findout the location of the page in WINSCP, Pls look at my URL of the page below

    http://10.60.53.153:7003/ManagedAttachmentOPM-ManagedAttachmentOPM-context-root/ManagedAttachmentOPM.jsp?sample No. = 100001 & Description = Oil_BLK_NEUTRALISED of soybean, OIL of SOYBEAN REFINED & Obj_type = quality & B_Group = IFFCO UAE & Op_Unit is ERC_OU:Emirates Refining Co. Ltd. & Org_ID = 121 & Org_Desc = Sharjah ERCO & sample = 100001 n & Description = Oil_BLK_NEUTRALISED of soybean, OIL of SOYBEAN REFINED & Obj_type = quality & B_Group = IFFCO UAE and Op_Unit ERC_OU : Emirates Refining Co. Ltd. & Org_ID = 121 & Org_Desc = ERCO Sharjah

    I searched $OA_HTML in this way, my page is not available there at - it another way to findout my page.

    Pls help someone it is very urgent for me.

    Thank you

    Mannala.

    Hi Mannala,

    I'm not sure what you're trying to achieve and what is your real goal for the jsp page.

    in any case, if nothing works why not give you a search/search on the top level directory.

    Please post version of the operating system, applications, and DB. Assuming that it Linux you use WINSCP, please run command:

    find - name .jsp

    Thank you &

    Best regards

  • JavaScript Cancel... stay on the current page.

    Hi all..

    Please help with this question.
    I have a page where there are 2 buttons, I don't want users
    leaving the page by clicking one of the links of the breadcrumbs or tabs.
    I want to show a confirmation message.

    I created a dynamic action with an event "' Unload' ' with the following code
    var req = $v('p_request');
    if (req == 'CANCEL' || req == 'GET_NEXT_DOC_ID')
      {
       alert('ok');
      }
    else
      {
    
       var r=confirm("Are you sure you want to navigate away from this page?");
        if (r==true)
        {
        // They need to go the page that they clicked
        }
       else
        {
        // They need to stay on the current page.
         }
    
      }
    Please let me know, how can I do this.

    Thank you

    Kumar,

    Unfortunately, the unload event means the page closes and there is nothing you can do to change that. However, there is a beforeunload event that allows you to order or not actually leaving the page. In order to use it you need to change your action Dynamics event page load and bind the beforeunload event to the window yourself. Also, in the other post I was referring to obtain the request on behalf of the entry and not the ID. The reference ID is much better, my apologies.

    $(window).bind('beforeunload', function(event){
      var req = $v('pRequest');
    
      if(req === 'CANCEL' || req === 'GET_NEXT_DOC_ID'){
      }else{
          return 'Are you sure you want to navigate away from this page?';
      }
    });
    

    beforeUnload works slightly differently from other events because it can be abused by the person who is to create the Web page. For this reason, all you can do is return a message if you want the user to confirm to leave the page or return nothing to let the user to leave the page. Each browser handles this event in a slightly different way, but the end result will be the user see the message that you return.

    Good luck
    Janet Tyson

  • JSP page problem

    I'm trying to run a relatively simple jsp page, but I get the following error:
    HTTP Status 500 -
    
    type Exception report
    
    message
    
    description The server encountered an internal error () that prevented it from fulfilling this request.
    
    exception
    
    org.apache.jasper.JasperException: /dateBean.jsp (line: 7, column: 4) The value for the useBean class attribute com.apress.projsp.DateFormatBean is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1234)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1182)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3490)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:250)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:644)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.19 logs.
    The jsp page is the following:
    <html>
        <head>
          <title>Professional JSP 2, 4th Edition</title>
          <link rel="stylesheet" href="projsp.css">
        </head>
      <body>
        <jsp:useBean id="date" class="com.apress.projsp.DateFormatBean"/>
        <h2>Today's Date is <%= date.getDate()%></h2>
      </body>
    </html>
    and the class source code is as follows:
    package com.apress.projsp;
    
    import java.util.Date;
    import java.text.*;
    
    public class DateFormatBean implements java.io.Serializable{
      private DateFormat dateFormat;
      private Date date;
    
      public DateFormatBean() {
        dateFormat = DateFormat.getInstance();
        date = new Date();
      }
    
      public String getDate() {
        return dateFormat.format(date);
      }
    
      public void setDate(Date date) {
        this.date = date;
      }
    
      public void setFormat(String format) {
        this.dateFormat = new SimpleDateFormat(format);
      }
    }
    All files are in their correct position and Ant was used to compile the project.
    Version 7 of Tomcat is also used.

    Thank you.

    Because you have already told him to do

    here

     
        
            
            
            
    
        
    

    and here

     
                
                    
                    
                
            
    

    I would say that empty the build.xml that you and start with something more simple, there is a lot of unwanted things there. Bottom line is, you need to compile your classes once, put in one place and pull in your WAR file when build you. The WAR file is not only necessary for tomcat, it is one of the ways that you can deploy your web application to any application server.

Maybe you are looking for