view the different buttons based on the logged in user

I have 2 buttons on page 8, HOUSE and ended UP, I'd like to display only one or the other of the user to the application-based.

This arrangement allows the user to be directed to the appropriate page by right button display based on who the user is, guest or mhamil. Therefore, if the comments connects to the 101 page, then on page 8 the HOME button displayed for them to click to access the 2010 page. If mhamil connects to page 101, then to page 8 so the button COMPLETE poster for them to click on go to page 2001.

I tried to create the two buttons like URL redirection with a target like this Application Page as an option. Then I put a condition.

For the button COMPLETE, the condition type is 'value in the expression 1 = expression 2'. In the field of the Expression 1 I tried to: APP_USER and the value of the Expression 2 is mhamil. It did not work. The button FINISH were not demonstrating. I also tried setting in Expression 1: P101_USERNAME and the Expression 2 mhamil, but it did not work. The button FINISH were not demonstrating.

The two buttons display unconditionally placed on them.

Any ideas on what I'm doing wrong on my terms, I create?

Thank you
Maggie

Published by: mjhamilton on December 8, 2008 10:16

Maggie:

Check if you are using an expression of type "pl/sql" condition works with the expression being

Upper(:APP_USER) = "MHAMIL";

CITY

Tags: Database

Similar Questions

  • PowerEdge 2950 Server error message: I1912 SALT full - how do I VIEW the log

    I have the error message scroll on the LCD screen. I know that I can go to the OpenManage Server Administrator and clear the log, but how do I SEE what is in the famous log before clearing it? And if I clean it without viewing that is in it, how can I check in a day or two to see if something happens? I can't find and answer to this anywhere on the web...

    Thank you!

    Hello

    You can use the DSET utility to create a report and it will be the newspaper. http://www.Dell.com/support/contents/us/en/19/article/product-support/self-support-knowledgebase/Enterprise-Resource-Center/Enterprise-Tools/Dell-system-e-support-tool

    You can also go to ctrl + E for the post to view the log.

  • Failed to connect to the JMX service (209,1046) when you try to view the logs in PeopleTools 8.55

    I am trying to use the new functionality of Log Viewer PeopleTools 8.55.

    It is a great improvement that allows developers/testers/support team members to display the application server logs, process scheduler logs and newspapers PIA; with a regular account of the PeopleSoft Application.

    You have no need to create a system account on the server (Linux or Windows) for users to view the logs.

    I managed to configure the Web server log viewer, but when I try to Application I can see message failed to connect to the JMX service (209,1046).


    When I configure the JMX for APPDOM user, I tried PTADMIN with no success.


    Could someone describe the process to change the JMX user for Tuxedo domain?


    Thank you

    Stéphane.

    the default installation of DPK password is password.

    Kind regards

    / Stéphane.

  • Show/hide menu based on the logged in user

    Hello

    12.1.3 Jdev

    I want to show/hide some menu items based on the logged in user.

    I will explain the current design:

    In my application, I created a menu as below. (It is created using 'Create or Update ADF Menu' file adfc_config).

    ibis_menu. XML

    <?xml version="1.0" encoding="windows-1252" ?>
    <menu xmlns="http://myfaces.apache.org/trinidad/menu">
      <itemNode id="itemNode_home" label="Home" action="goHome" focusViewId="/home"/>
      <itemNode id="itemNode_transaction" label="Transaction" action="goTransaction" focusViewId="/transaction"/>
      <itemNode id="itemNode_customer" label="Customer" action="goCustomer" focusViewId="/customer"/>
      <itemNode id="itemNode_upload" label="Upload" action="goUpload" focusViewId="/upload"/>
      <itemNode id="itemNode_profile" label="Profile" action="goProfile" focusViewId="/profile"/>
      <itemNode id="itemNode_serviceRequest" label="Service Request" action="goServiceRequest"
                focusViewId="/serviceRequest"/>
      <itemNode id="itemNode_report" label="Report" action="goReport" focusViewId="/report"/>
    </menu>
    

    I have a navigation pane in my Pages that use this menu as below:

    <af:navigationPane hint="bar" id="np1" value="#{ibis_menu}" var="menuInfo">
                            <f:facet name="nodeStamp">
                                <af:commandNavigationItem id="ni1" text="#{menuInfo.label}"
                                                          destination="#{menuInfo.destination}"
                                                          action="#{menuInfo.doAction}"/>
                            </f:facet>
                        </af:navigationPane>
    

    Now, I want to hide some items on the menu, depending on the Type of user loggedIn. I have the userType stored in the managed bean.

    How can I get this feature.

    An approach which I think is as below:

    Define a variable for each itemNode in a managedbean(session scope) and who associate with the property ' visible ' / ' rendering ' of the itemNode in the Menu xml.

    Please let me know is a good way to do it or is there another solution better?

    See you soon

    AJ

    So, maybe this can help:

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/48-sitemenu-protection-169190.PDF

  • How to view the log with the identifier of Eloqua UI/API?

    I am trying to import customer contact Eloqua system using a restful api in Java.

    He got 500 Internal Server Error when call POST Api/rest/1.0/data/contact.

    In fiddler, we know that answer pleased as below:

    Internal server error

    There was an internal server error.

    The error was logged with log identifier 551654381.

    Please provide this identifier to log technical support.

    I want to know how to view the log of 551654381 ?

    Anyone who has the experience to import contacts using the Restful API or API bulk?

    Screenshot of Fiddler:

    eloqua.gif

    Hi Tim,.

    The API error log is not available through the UI Eloqua, is accessible by Eloqua support only.  If you supply the ID error when you connect to a service request with the support of Eloqua, it will make it easier for them to diagnose your problem.

  • What are the causes of the log of user account on missing cursor in Windows XP? I have two trays of office that they have this same problem. If you restart them the cursor returns?

    What are the causes of the log of user account on missing cursor in Windows XP? I have two trays of office that they have this same problem. If you restart them the cursor returns?

    Hi DaddyJeff,

    1. don't you make changes before the show?
    2. are you referring to the cursor in the area of user password on the login screen of Windows?
    3. when the cursor goes missing, the mouse pointer works on screen?

    It is difficult to say what is causing this problem. If the mouse pointer freezes or stops working, then we recommend you to reinstall the mouse. To do this, try the following steps:
    a. sign in to Windows.
    b. Click Start, click Run, type devmgmt.msc, and then click ok.
    c. in the list of objects, expand mice and other pointing devices.
    d. right click on the sub element and click on uninstall.
    e. unplug the mouse and plug it back.
    f. the Device Manager, select an item in the list, click the Action menu, click scan for hardware changes.
    g. check if the mouse is detected, if so, then install it.

    See mouse USB which is connected to a USB 2.0 hub is not detected by Windows XP


    Note:
    if the problem persists, restore the computer to an earlier time. See How to restore Windows XP to a previous state

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I get the ENTERPRISE_ID of the logged-on user?

    Hello

    Is there a PL/SQL function that I could use to get the ENTERPRISE_ID of the user logged on so that I can use it in a report query for example as below.

    SELECT package.function

    FROM DUAL;

    "package.function" must be able to return to the ENTERPRISE_ID of the logged in user.

    Kind regards

    Santhosh Jose

    I think that you can access the ENTERPRISE_ID with:

    • SYS_CONTEXT ('FND_VPD_CTX', 'ENTERPRISE_ID')

    Assuming that the ApplCore session has been initialized or alternatively:

    Note that since it is related to the VPD implementation, that you can't question simply through companies, rather restrictions are applied at the level of the table. Also note that since its code internal, it is subject to change without notice.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • view the log by using the time field a date of last year start date

    As the new year begins, I notice that if I try to do a 'show log beginning December 28 00:00:00 ' to get all the logs that surrounds an event of last week, I get no results. Most likely because the router's view I want newspapers beginning December 28, 2016, who has not yet arrived.  This command must be modified to use the * last * appearance of the starting date, not the date of beginning of this calendar year.

    This has been fixed in 5.2.3 and 5.3.0 increase CSCud91074

    Thank you

    Sam

  • [ADF, JDev 12.1.3] How to hide menu items based on the logged in user

    Hallo,

    When the user logs on successfully, the applitacions led him to the main.jspx page.

    The main.jspx page has a menu bar that contains all of the available menus, submenus and menu items.

    After the connection, when the main.jspx page loads I would hide all the menus, submenus and menu items that the user is not qualified to see/use (I read the database).

    You kindly tell me which is the way the cleaner to achieve?

    Thank you

    Federico

    user10709360 wrote:

    Hello rohanwalia,

    Sorry, but I need more help

    I guess that the solution is to create a method in the AM who - reading form the database - returns a structure that indicates for each menu item should be visible or hidden.

    • How can I use the data returned by this method?
    • I call in a managed bean specifically dedicated to the management of the menu? Can I also use the already existing media bean, I created for the page?
    • What scope should have the bean?
    • Don't you think that it is better to define a 'visible' variable Boolean (initilized depending on the result of the AM method) for each menu item and how to bind the Visible property of each menu item to the variable respective in the bean in the bean?
    • Or I can loop the result of the method AM setting the Visible property of the menu items? In this case, I guess that all the menu items must be mapped into the bean by user interface variable. Am I wrong?
    • Is it not possible to write a method which, of the AM directly, hide the menus not necessary on the page (so without using a bean)?
    • In general, which are the correct always to hide menu items:
      • (1) before the page is sent to the browser (as "I can do it with PHP);
      • (2) once the page is loaded in the browser (as I can do it with JavaScript)?

    If you could give me some more detailed advice... I would be very happy.

    Thank you

    Federico

    (1) its best to make the treatment inside the method. You can return the parameters as normal java method.

    (2) Yes, you can use bean already exists in the project. But better to create a separate bean for this task of menu.

    (3) scope should be request unless you need to persist the attributes between requests.

    (4) Yes it is possible. You can define and initialize a Boolean variable with the results you get from the table based on the menu items should be made visible.

    (5) If you use the approach to point 4, then also you have to loop through the table menu items and set Boolean variables of bean. Yes you are right for the second part.

    (6) I'm not sure about this approach. How will you map it to your menu mode. It takes research.

    (7) before the page is loaded. I share with you links in above post with which you can do this.

    I hope this helps.

    Thank you

  • is this allowed? materialized view the log for the remote database (via db lin

    : Hi guys.

    try to do

    create materialized view log on user@xxx with sequence, rowid (col1, col2), including the new values;


    where xxx is a remote db link
    ------

    had this error

    ORA-00949 - illegal reference to the remote database

    Google but do not know whelther this error is an internal error or not allowed for mviews characteristic.

    help pleaase!

    Rgds,
    Noob

    do you mean that the materialized log should be created in the same location where the main table

    YES. Of course, it must be there! Any update to the main table should also update the MV log that is created against it!

    Hemant K Collette

  • view the log file

    Hello world.

    IM using APEX 4.2

    Im trying to view the workspace saves files and I been looking for this in admin account and I find how to purge or delete but not the display.

    Can someone help me with this?

    Thanks in advance and it concerns everyone.

    Thanks for your reply. I went exploring after the post and I solved the problem with a code similar to this.

    Thanks again.

  • [ADF, JDev12.1.3] That is the approach recommended to store the information of the logged-on user?

    Hallo,

    I would like to know which are:

    • approaches possible and advised to store the main information (which will be used throughout the application) of the user that is logged;
    • for each of the approaches that are the main advantages and disadvantages.

    For example

    I have my doubts if store info in variables private module request or if I'd better use the HttpSession.

    The use of HttpsSession back to store the information in a range session bean?

    A scope session bean should be used only to store information?

    Sorry if these question may be stupid but I'm starting to take care of the security of my application and I am a bit confused about the available possibilities.

    I use ADF Essentials, so I can't use ADFSecurity.

    Thank you

    Federico

    I have my doubts if store info in variables private module request or if I'd better use the HttpSession.

    Never use app module variables to store data. If you need to store data in the model project, you can use the UserData card, but you must implement the serialization/deserialization.

    Read this blog post for more information: http://andrejusb.blogspot.com/2012/05/solution-for-sharing-global-user-data.html

    The use of HttpsSession back to store the information in a range session bean?

    They are similar.

    Difference is that you can put data directly to the session http (as an attribute) and if you use managed bean then keep you data in the attributes of bean and framework will put bean in scope of the session.

    A scope session bean should be used only to store information?

    Well, do not store the amount of data in session bean because it will influence the performance of the server (if the number of users increases you need more RAM, if you assign more RAM to the server it will be time for garbage collection, will also increase if you have clustering then great session bean (s) will increase the time of synchronization of the session) ", etc...)

    Dario

  • Could not view the logs in the Console of the AAS - AAS crashes

    Hello experts,

    In the case of ASA, we click with the right button on an application and then click on view - journal. We run display log and aas crashes. This happens every time. Any help is appreciated more.

    Kind regards
    Sonu

    How big are the files of newspapers you? If you look at the server under Hyperion\analyticserver\app\yourapplicaton you can find the journal. If you are on a version pre-operating system analyticserver change Essbase with Essbase 9.
    If they are old, they will take a while to load. Then you might get a message on the screen by truncating.
    I recommend that you keep the papers to a reasonable size by making a copy of them and then delete.

  • How to view the log file of Disk Defragmenter?

    After I run disk defragmentation, I can't find a recording that said it was over. How will I know if the defragmentation has been completed or a record that it has been completed?

    Hello

    In addition, the following command will run the defragmentation and create the requested such appropriate log file.

    "C:\Windows\Syste32\Defrag.exe c: /V>c:\log.log."

    You can specify another argument if you want that the logfile to be placed in a different location.  I hope that this information is beneficial.

    Thank you

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • View the log files and message tracking

    Just our ES3300 running. Looked through the Administrator's guide and searched a bit, is there not another way to view a log of what happened through the system of having to download log files?

    Message tracking would be done in the audit.

    Is not necessary to download and browse through the newspapers unless your train to solve a problem.

Maybe you are looking for

  • It will be possible to disable startup secure on a new Windows 8 laptop (HP Envy dv6t)?

    I'm planning a purchase of a new HP dv6t envy. It comes with Windows 8. I also intend to dual boot it with CentOS. I just need to know if there is a way to disable startup secure UEFI to allow me to start Linux.

  • LaserJet 1200: Laserjet 1200 printer drivers / Windows 10

    Greetings, My HP Laserjet 1200 worked properly without any problem when I downloaded and installed Windows 10 (64 bit) in early November 2015.  I upgraded to Windows 7.  16 December 2015, there was an important 10 Windows update that is automatically

  • HP 15-g092sa Notebook PC: my laptop won't boot

    My partner has a laptop HP which is experiencing problems, it was about this yesterday loaded no problem, but then while working it seemed that its windows is crushed, so he tried to restart it, and now it does not start, it gets as much to "prepare

  • 5.8 multi-band N wireless router?

    Cisco offers a small business 5.8 GHZ multi-band N wireless router? I was looking to put a customer on the RV180W, but it seems that it is only a single band 2.4 GHZ N router. My client was missing a 5.8 GHZ multi-band N router for his small business

  • How can I view the dimensions of the text boxes?

    The MUSE toolbar (if it is the correct name for it) to view the size - width and height of the text boxes, while I was working on page layout. This is very important with presentations of several columns that are not complying with the grid column -