How to get settings regional user of business components

Hello

How can I get the settings regional user in business components?

For example, I want to use the locale in a vo query where clause:

Select location_id
sites
where country_id = local

is there an expression for the locale of the user?

Thank you.

You can create a connection variable: countries with this groovy expression:

adf.context.locale.country

And in the query:

where country_id = :country

AP

Tags: Java

Similar Questions

  • Application file (regardless of settings regional user)

    Hello

    I am creating an application file that accepts the query

    Date of masks in two formats: JJ/MM/AA e MM/DD/YY. I do the query as follows:

    xDataVigencia = "< $formatDateWithPattern (dateCurrent (2)," MM/dd/yy") $ >" < OR > xDataVigencia = "<$ $formatDateWithPattern (dateCurrent (2)," dd/MM/yy") >".

    However got the error: could not parse date 18 December 15 '...

    I need a query who answer correctly regardless of the settings regional user...

    Does anyone know how to do?

    Thank you

    Hello

    As shown below, try to build your query to particular use cases.

    This could probably be done using a custom component that performs a query SQL-based xCollectionId an elements in the table DocMeta

    To sum up, one is going to be question marks for the dcollectionid of the folder (in the table Collections) which corresponds to the folder whose size is to be determined. Note that dcollectionid Collections of table is the same as xCollectionID of DocMeta table. This is followed by asking all the elements that have this value because it is in the field of xCollectionID (from DocMeta table) and then query the dFileSize (in the table of Documents) to find the size of each of these elements. Finally, add them together to get the size.

    However, it works for ONLY the items that are in the folder directly. He does not account items in subfolders under this folder

    Here is an example:

    -Table Collections query for the specific folder whose size is to be determined
    Select dCollectionID in COLLECTIONS where DCollectionName = "[FolderName]";

    -The query table DocMeta for DID
    Select DID from DocMeta where xCollectionID = '[dCollectionID] ';

    Ref: (Doc ID 1395663.1)

    Thank you
    Amey

  • How to get disabled login user (without password) at startup, so NOT to SHOW at all and so after the switch, go to desktop directly

    Vista Ultimate 64-bit

    How to get disabled login user (without password) at startup, so NOT to SHOW it to all (and needed clicked) and so after the switch, go to desktop directly?

    Also after inactivity, how to not go to sleep mode and press "power on" to bring back?

    Hello

    If you want to start directly on the desktop?

    How to automatically connect at startup in Vista
    http://www.Vistax64.com/tutorials/66966-logon-automatically.html

    Or

    How to make Vista require a user name and password when connecting
    http://www.Vistax64.com/tutorials/89812-logon-username-password.html

    =========================================

    Start - Control Panel - Power Options - upper left - require a password on wake up
    tick her do not require a password - save the changes.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • How to get current Login user in Oracle Forms?

    Hi friends...

    How to get current Login user in Oracle Forms?

    using the PL/SQL Editor on triggers.

    Please tell me...

    You have plsql function USER.

    For example:

    CURRENT_USER: = USER;

    Concerning

  • How to get all the users of the IOM, whose field Manager is not null or empty

    Hello world

    How to get all the users of the IOM, whose field Manager is not null or empty (using java code)

    Thank you

    Published by: user11205212 on January 18, 2010 12:38 AM

    Hey beginner,.

    I come to write this line where he can put his sql query... in the next post I provided the example sql also...

    Concerning
    VM

    Published by: user12280771 on January 18, 2010 22:11

  • How to get the top users page?

    Hello

    How to build the top users page with which users are more recently logged_in to the application? Similar to the picture here

    at.bmp

    --

    Thank you.

    Venky_prs wrote:

    How to build the top users page with which users are more recently logged_in to the application? Similar to the picture here

    Create a report of region using a query like:

    select
        user_name
      , max(access_date) most_recent
    from
        apex_workspace_access_log l
    where
        authentication_result = 'AUTH_SUCCESS'
    and application_id = :app_id
    group by
      user_name
    

    Use of the ' 16 hours ago" number / Date Format MOST_RECENT column.

  • How to get to the user of the current connection

    I apologize if this is not a question that should be asked here.

    I'm working on a plugin vCO which has an inventory. The inventory shows some backend data only the logged-on user to see. So before loading of the inventory, I will need to get the current user.

    So my question is, in the IPluginFactory class, where all finder methods are defined, how can I obtain the current user that I can find the items in the inventory by the current user?

    Thanks in advance!

    You should have the implementation of IPluginAdaptor or ITokenPluginAdaptor (since the 5.1). Implement you createPluginFactory (...) and create your own plugin factories. This method receives as credentials setting (saml or name of user and password token) and is called server of vCO.

  • Settings regional user

    Hi all

    Can someone tell me what table in the database stores the values of parameters regional user?, which is also the name of the metadata for the parameters regional user in Java Applet window that is displayed to the Admin user?

    Published by: 850810 on April 7, 2011 21:52

    Ah, who are in the static table 'LocaleConfig' (resource file not a database table).

    This can be found in 10g @ $UCM_HOME/shared/config/resources/std_locale.htm
    This can be found in 11g @ $ECM_HOME/ucm/idc/resources/core/tables/std_locale.htm

    In Java, you should be able to load and use this table by the practice (not tested):

    final DataResultSet resultSet = SharedObjects.getTable( "LocaleConfig" );
    for ( resultSet.first() ; resultSet.isRowPresent() ; resultSet.next() ) {
       final String localeId = resultSet.getStringValue( "lcLocaleId" );
       // do with the locale id what you want
    }
    

    or if you want to use in a template, simply create a service with in its definition the following line (again, not tested) [in the editor, add the method java 'loadSharedTable', set 'LocaleConfig, LocaleConfig' and check "Verify non-empty result"] to add the resultset to the workbook to your service without Java code:

    3:loadSharedTable:LocaleConfig,LocaleConfig:2:null
    

    Published by: fscherpe on April 8, 2011 02:30

  • How to get a region by a mouse click

    Hello

    I use c# .net. I want to use the mouse to select an area of the image source for mask. How can I get the left, top, width, height values of mouse selected on the source image.

    axCWIMAQViewer.Regions.RemoveAll ();

    axCWIMAQViewer.Region.GetRegionData (); //????

    Greetings.

    Search in google and search for the coordinates of the mouse - you will find something like that

    http://www.mycsharp.de/wbb2/thread.php?ThreadId=61761

    Private Sub Form2_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove
    Dim x, y As Integer

    Me.MousePosition.X - (Me.Location.X + 4) = x ' + 4 wegen den randern der shape
    y = Me.MousePosition.Y - (Me.Location.Y + 30) ' + 30 wegen der titelleiste und dem rahmen foods

    Form1.pictureBox1.location = New System.Drawing.Point (x, y)
    End Sub

    Or use this:

    Control.PointToScreen und Control.PointToClient

    When I create a mouse event in my Visual Studio 2005 c# project I can work with x and y values:

    private void axCWIMAQViewer1_MouseDownEvent (object sender, AxNationalInstruments.CWIMAQControls._DCWIMAQViewerEvents_MouseDownEvent e)

    {

    provable //x coordinated

    }

    Please give me your comments if help suggestions help you work with the coordinates of the mouse

  • How to get feedback from users in the model layer?

    Hello

    I have a page with a table and a commandButton control. User can select several rows in the table and press the button. By pressing the button, I call a method in AppModuleImpl.java and pass the selected lines. inside the method I iterate over the selected lines and do something on each line. To do my job, I need a field, for example the date of birth field, has a value, but for certain lines of this field is empty and I want to get the value of the user. Now my question is how can I get user feedback in the model layer? (don't forget that I am inside the AppModuleImpl.java)

    Is it possible to open a dialog by program and get the value of the user if needed (i.e. If the row has the value)? If Yes, how should I do?

    JDev version: 11.1.1.4

    Thank you
    Will do

    In both cases the execution does not stop to view the context menu and the popup is displayed when the called managed bean method is completed

    Execution does not stop. That is right.

    "Modal dialog box" in terms of web simply means 'a dialogue box that blocks (more or less) user input until the dialog box is closed'. You think that a modal dialog is a dialog box that stops execution of your code until the dialog box is closed and then execution continues where you left it. There is no such thing in the web. Enforcement must continue, the demand must fill. When the user closes the dialog box, then it is a new application in.

    Thus, it is not as a modal dialog in Swing. You need to stop running yourself when you open the modal dialog box and continue your code when the next request comes, for example:
    You determine that a dialogue must be shown, you open the pop-up window and return. The listener to the dialog box, you then call a method that continues to do what you need to do according to the result of the dialog box.

    Sascha

  • How to get rid of user name lists in the Gmail window. Access Gmail with Firefox.

    It's a small but annoying problem. I have and sometimes friends, use my Gmail account to check your emails. In the window of Gmail user, who can I access with Firefox 3.6.9, a list of all the old users name when I click in the window. I disabled Google cookies and history, but the list remains! I can hide the list, but not to delete it, if I check "form and search history". But the list is indeed alive, when I uncheck this option! Is there a way to get rid of the list?

    See https://support.mozilla.com/en-US/kb/Form+autocomplete#Deleting_individual_form_entries

  • How to get hexadecimal entry user?

    'Interrogate the entered user' function gets decimal number as input. Is it possible to get a hexadecimal entry from the user during execution?

    Hi Mike,.

    You can write your own entry dialog box. Use a new vi with a chain (hexadecimal display) control, a structure of the event and the transformation of the Cod. Connect to an indicator to write the new value in your specified control.

    Mike

  • How to get the system user-defined font

    Hi all

    I'm looking for a way to get the font defined by the user in the features of the device.

    My requirment is to check if the user sets the size of the police over 11 or not.

    If the user sets above 11, say to 13 or 14, in my application, I need to change it to 11 vice versa.

    But the application must support the change in size of the font up to 11.

    Please help me through this, if someone has an idea.

    Thank you

    Abhishek

    http://www.BlackBerry.com/developers/docs/6.0.0api/NET/rim/device/API/UI/FontManager.html#setApplica...

  • Linux Guest: How to get to single-user/recovery mode

    I'm under Windows 7 Pro/64 bit VMWare Workstation 7.1.2 build 301548 host and guest Kubuntu 10.04 and need make it appear the prompt in single-user/recovery mode, like privileges of suite/etc have been changed so that I cannot sudo.  As a result, I can't edit /boot/grub/grub.cfg or files that are used in its construction, put on the kernel line alone or to get rid of the projection.   Press < esc >, F2, F10, space bar once zillion failed and splash of VMWare happens so fast that I can't see if it offers options, nor have I been able to find the text on this screen to search on the net.

    My apologies in advance if it's there, but I've spent hours Googling and prick...

    Thank you

    John Leibacher

    JohnLeibacher wrote: by pressing , F2, F10, space bar a zillion times did not work

    The definition of do the same thing over and over again expect a different result is insanity.

    Seriously, good that start the virtual machine and click in the display when you see the BIOS of VMware screen then press and hold the SHIFT key and the Grub boot Menu should appear.

    Also if you have the ISO Image, you can start directly from that, you don't need to burn it to optical to start the VM of the ISO Image.

  • How to get all the users of lookupfield IOM

    Hello world
    I have a field list choices in my process form, now by clicking on this field of research, should give me all the users of the IOM. How can we achieve this?

    Thank you
    Sam

    Sam
    Nothing should be done before you set up the search query. Just follow it,

    -Define the field in the form of your object
    -LookupQuery, Select usr_login, usr_first_name, usr_last_name, usr
    -Options column, the user ID, first name, family name
    -Column Names, usr_login, usr_first_name, usr_last_name
    -The column name search, usr_login
    -Column width 10 100
    Save it.

    Try this and tell me if you no problem doing this.

    ---
    Oleti

Maybe you are looking for