Apex, language of login page set after the connection based on the user pref browser lang and application-based

Hello

Request Express 4.2.3.00.08

I created an application of multi languaguage in which the language is defined by setting: FSP_LANGUAGE_PREFERENCE

But the login page, I would like to than the login page to be displayed in the browsers language.

The url of the application connection looks like as shown below but the & BROWSER_LANGUAGE. product always (English).

f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE: & BROWSER_LANGUAGE.


LOGIN_DESKTOP is an intermediate page that has one before branch header for the page of real connection if the FSP_LANGUAGE_PREFERENCE is set prior to the loading of the page.

If I set the language set in this URL, it works as expected:

f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE:nl - page Login Show in NL

f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE:-see the login page in EN

When I put the application to choose the language based on the browser language that it works, but then I am not able to have users to save their preferences for the next time they are connected.

Any ideas on why & BROWSER_LANGUAGE. translates by "in" even though the language in the browser is different?

See you soon

Bottom

OK, he stares at me

For all those interested, this is how.

Create a page additional empy (with alias page LOGIN_FORWARD_PAGE) and set the url to connect to the application of this new page and set the value of the application on BRANCH_TO_PAGE_ACCEPT:

f? p = & APP_ID.: LOGIN_FORWARD_PAGE: & SESSION. : BRANCH_TO_PAGE_ACCEPT:

On the page to create a pl/sql process submit before calculations similar to one below which affect the en language, if the browser is not NL (in Dutch):

If upper (substr (owa_util.get_cgi_env ('HTTP_ACCEPT_LANGUAGE'), 1, 2)) = "NL" then

: FSP_LANGUAGE_PREFERENCE: = "nl";

on the other

: FSP_LANGUAGE_PREFERENCE: = 'en ';

end if;

And create a branch to submit before the treatment which redirects to the current login page (the value of FSP_LANGUAGE_PREFERENCE is then already set and the application is configured to use this setting).

After that loging in you can extract the FSP_LANGUAGE_PREFERENCE based on the user.

BTW, I had to switch to 4.2.5 there in 4.2.3 is a bug preventing to set session state when you use BRANCH_TO_PAGE_ACCEPT!

Tags: Database

Similar Questions

  • Can score us some mandatory page setting when the user creates a page

    Hi all

    We have a requirement where we want to store some information in the field of page_desc available in the page.

    But we noticed that this field is added to the page def only when the user provides some information in the Description field when the Page itself was created.

    So my question is, can get us somehow the description during the creation of the page itself.

    OR, we can use service page to add the parameter pag_desc to def page somehow, if it is not present?

    Pointers?

    Kind regards

    Siddharth

    Found.

    Us can seed customize D:\Oracle\Middleware\Oracle_WC1\webcenter\modules\oracle.webcenter.framework_11.1.1\creat-page-view.jar! createpagewizard - of the profile. XML or related to achieve this files.

    -Siddharth

  • Is it far from creating a portal secure for each representative commercial? For example, you have one login page which redirects the user to their own page private (such as a bank account opening)?

    How can I create a portal secure to each individual sales representative. For example (site of the Bank connection), there is a common page connect to which redirects you to your private account.

    Hello

    Please refer to this topic

    Re: Can I create a login/password in the Muse for a HTML5 page or two?

  • After the connection to connect to a page depending on the user - cache problem?

    Hello

    In my application I want to have the branching page after login: according to the user and registration data must load another page.

    Is what I did in the login page 101:
    -J' created a hidden element P101_GOTO_PAGE.
    -J' created an after submit processes Login_page_switch (Seq.Nr. 15) with source code:
    DECLARE
     v_bestand_rec apex_bestand_v%ROWTYPE; -- Datensatz Bestand
    
    BEGIN
     SELECT * INTO v_bestand_rec
     FROM apex_bestand_v
     WHERE id = (SELECT max(id)
         FROM apex_bestand_v
         WHERE kstyp = 'Einwohnergemeinde');
     
     IF (lower(:P101_USERNAME) = 'fstberts') THEN
          :P101_GOTO_PAGE := '3';
     ELSE
          IF v_bestand_rec.retyp = 'Voranschlag' THEN
               :P101_GOTO_PAGE := '1';
          ELSIF v_bestand_rec.retyp = 'Rechnung' THEN
               :P101_GOTO_PAGE := '11';
          END IF;
     END IF;
    
    END;
    -J' changed the source builtin login process (Seq.Nr 20) code, to:
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => :P101_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        --P_FLOW_PAGE   => :APP_ID||':1'
        P_FLOW_PAGE   => :APP_ID||':'|| :P101_GOTO_PAGE
        );
    In general, it seems to work. But the behavior is erratic, branching seems to be influenced of the last logged-on user. So I assumed a cache problem.

    I have created a process clear page (s) Cache (Seq.Nr. 20) for the 101 page, which did not help. This process before others (e.g. Seq.Nr. 20) I can not connect more of the school (invalid credentials).

    Someone has any idea how to solve this problem?

    Thanks in advance,
    Roger

    To disable the links deep (to ignore the page requested by the user), that in the process of connection before calling the API of connection:

    apex_util.set_session_state ('FSP_AFTER_LOGIN_URL', null);

    Scott

  • All of a sudden, I can't print any web page. After the print command, she wants to save it to an XPS file.

    All of a sudden, I can't print any web page. After the print command, he wants me to save a file in XPS, and I can't spend.

    This has happened

    Each time Firefox opened

    Is a few weeks ago

    In the print dialog box, change the selected Microsoft XPS Document Writer printer in your printer you want.

  • The camera page blank after the first use

    Hi all

    I'm having a problem with getting a QR scanner works properly. The weird part is that, after that I scan once, the viewfinder of the camera no longer appears on the screen.

    Here is the flow of the page that I currently have:

    When the user opens the app first...

    1 splash screen

    2 splash screen opens automatically the screen of landing page when the user is presented with buttons.

    3. the user selects that they would use the QR scanner

    4 QR scanner page opens, the camera turns on and appears on the screen of BB.

    5 QR code is scanned, decoded, and a results page. (QR page is popped immediately pushes forward the results page)

    6. the user presses return and returns to the landing page

    7. the user selects the QR button again

    8. the user will see a blank screen, but the camera lights.

    I'll have to clean up the code before I post. I use the BarcodeScanDemo example in the JDK BB

    I think I've figured this out.

    I expect that the QRPage would have pushed first when I ran this code:

    UiApplication.getUiApplication () .pushScreen (new QRPage());

    But really what was going on, it was that inside the QRPage I also called pushScreen method. These screens have been rushed first and when finally returned to new QRPage() call, it was pushed on top of all the other screens.

  • I always get requests to update on my office home page. After the most recent, most of my quick start icons are badges of adobe. Except a few functions are not open. When I right click on Firefox (for example) it says 'READ' instead of 'OPEN' and t

    I always get requests to update on my office home page. After the most recent, most of my quick start icons are badges of adobe. Except a few functions are not open. When I right click on Firefox (for example) it says 'READ' rather than 'OPEN' and then displays the Adobe error box. The only other answer I received (from Ask.com) is that the update was a virus. I'm not computor savy and my pc is quite old. I just want to come an hour before this recent action, but I can't open Norton power eraser or even the ability of the computer to return to an earlier point in time to cancel the action. Each of these attempts of task appears Adobe error box. I am currently showing Adobe Reader X 10,0

    Hi deanrlh,

    I apologize for the inconvenience caused. Please follow the steps in the below article mentioned: Application, file icons change in Acrobat/Reader icon

    Thank you

    Abhishek

  • Do independent myRIO after the user has defined guidelines

    Greetings,

    I have a labVIEW VI that I write instructions in a text file on the myRIO and then the myRIO executes these instructions.

    I have seen tutorials that start the myRIO as a standalone application. But I need only become independent once the user writes information in the text file.

    Currently the user written instructions, and then click send to myRIO running then all tasks, even if the USB is still attached. After the user sets the instuctions, when they click on the instructions for sending, a message should then say rather unplug the USB of myRIO (this could be set to 10 seconds or something), then the myRIO performs the tasks as a standalone application.

    My project is the starter kit OR using the myRIO. I write instructions in the text file then the robot performs the tasks. The user never interfere with tasks, that the robot made, so the instructions are only sent once.

    Please note that I have a face before poster, I don't know how these screens still work?

    Thanks in advance for your help.

    Hello

    What you have said I think exactly as you want to do is not quite possible but you should be able to achieve the same thing by doing something like the following:

    A start-up executable running on the myRIO would allow him to run separate to the computer. You could then open communication to the myRIO of a separate VI on the PC to send instructions, and then close the communication for you to unplug the myRIO

    These links may help with some other reading on the executables to start on real-time targets:

    http://zone.NI.com/reference/en-XX/help/370622N-01/lvrthowto/rt_building_rt_app/

    http://digital.NI.com/public.nsf/allkb/E2F8C8D4270CCC62862574440054E894?OpenDocument

    Best regards

  • I followed the instructions to set up the home between my Mac and iPhone sharing 6, but I don't understand all the music on my iPhone

    I followed the instructions to set up the home between my Mac and iPhone sharing 6, but I don't understand all the music on my iPhone

    I have confirmed:

    (1) devices are on the same network

    (2) I am connected to my AppleID with the same account

    3) are my OS up to date (Mac 10.11.2) (9.2 iPhone)
    (3) I closed iTunes and the App has reopened

    (4) I turned my iPhone off and rebooted (and confirms the foregoing)

    On my iPhone, I see in my music library, different ' kind' listed (e.g., classic, recently added, music of the 1990s, etc.) but they are all empty.

    Im hoping to see the music I have in iTunes on my Mac and play these songs on my iPhone.

    IM thinking, music that would be shared from my computer to my phone will be on the cloud?

    (I did not all default to add my music in the cloud at the moment).

    Post edited by: abbeyinor

    Did you go into settings > music on your phone and sign in home sharing?

    See you soon,.

    GB

  • Cannot read iphoto library stored in an external drive, after the installation of el capitan and photos

    I can't read iphoto library stored in an external drive, after the installation of el capitan and photos, can anyone help?

    What size is the drive? How are you connected to it?

  • My right click menu is missing after the use of security of Kaspersky application control settings.

    Right click menu disabled

    My right click menu is missing after the use of security of Kaspersky application control settings.

    My right click menu is missing after the use of security of Kaspersky application control settings.

    This tutorial will help?

    Context menu - enable or disable

    http://www.Vistax64.com/tutorials/140508-context-menu-enable-disable.html

    Option One is the easiest.

  • where are my data after the use of Dell backup and recovery

    Three check marks displayed on a Dell backup and recovery, which, I suppose, finishing meant that my backup was successful (using Windows on a Dell Inspiron 8.1).  Where my data is sent to after the use of Dell backup and recovery?

    Click on the 02:22 mark of the video.

    www.YouTube.com/watch

  • I bought a genuine product Adobe Creative Suite 6 Design Standard about 3 years ago. After the initial installation (with serial number) applications worked well (Photoshop, Illustrator, Acrobat, etc.). However, I could only use Acrobat to a fe

    I bought a genuine product Adobe Creative Suite 6 Design Standard about 3 years ago. After the initial installation (with serial number) applications worked well (Photoshop, Illustrator, Acrobat, etc.). However, I could only use Acrobat a few weeks before the software did not react more. After this time all pdf files can be manually opened with Adobe Reader, but not with Acrobat. Because Acrobat seems to be the default program to open pdf files, nothig happens if I double click on a pdf file, or if a pdf file to be generated from a site Web etc. At the beginning, I was able to reinstall Acrobat from the CD and it would work for a few weeks yet. This has been the case for the past three years. Now, even the resettlement option no longer works and the error message "Is not a real product from Adobe" is displayed during installation. As I said, all the other parts (Illustrator, Photoshop...) work fine and I don't have a product code, serial number etc. What could be the problem and how can I solve this problem? When I uninstall Acrobat, all PDFs open automatically via the Adobe Reader software. But I need more than just to read a PDF file. Help, please!

    Hi Andreas,

    Try the fix mentioned in the KB: https://helpx.adobe.com/creative-suite/kb/acrobat-failed-launch-30-days.html

    Kind regards
    Rave

  • I signed up for the basic acrobat reader conversion program, but he won't let me not convert PDF to Word.  I looked at troubleshooting tips and how advice but after I connect it just says this is not supported and directs me back to sign

    I signed up for the basic acrobat reader conversion program, but he won't let me not convert PDF to Word.  I looked at troubleshooting tips and how advice but after I connect it just says this is not supported and directs me back to register for the conversion program.  I would rather talk to someone, but I can't find a phone number or the option for a cat.  I have a PC.  Any help would be appreciated.

    Hi dianar30180588,

    Try to use the service to export to PDF Online https://cloud.acrobat.com/exportpdf

    Kind regards
    Nicos

  • any user defined function in the rule set by the user

    Hello

    I wonder if I can use a function defined by the user in a rule set by the user in oracle sem... I've seen examples of user defined function the used in sparql query filter clause in this guide to dev... However, I don't know if I can define a function in oracle database SEM. and use it in the body rule or the head. For example, I want to define a function of the length that allow to calculate the difference between two dates.  So, I want to set a rule as follows: event1: d1 and event1 has_start_date: has_end_date d2 and duration (24, d1, d2) then event1:date_satisfiable 'yes '. Oracle supports this type of rule? Thank you very much.

    Hong

    Salvation Hong,

    User-defined in 12 c inference can be a good choice for your condition. Please see the following document.

    Defined by the user and querying inference

    Thank you

    Zhe Wu

Maybe you are looking for

  • Cannot open the .jar files more

    Hey everybody. Recently, I can open is more .jar files more I am running OSX El Capitan 10.11.4 I am trying to install a mod for a game that is in a .jar file and have recently been unable to do so due to this message: ' The Jar Java file could not b

  • I WANT TO REMOVE THE PROGRAM

    My dam nephwe install this crappy program without my permission. I WANT NOT Firefox, I was very happy with my program of the olf. FIREFOX IS NOTHING BUT TROUBLE FOR ME!

  • Satellite L10 - could not get the wireless operation

    Hello I reformatted my Satellite L10 and managed to pull the best of drivers to use, but I can't seem to get the wireless working. I installed the Realtek driver http://aps2.toshiba-tro.de/wlan/?page=downloads I also tried to install the InProComm dr

  • Z3 case double

    Hello. I'm new here. I can't find any accessories for my new Z3 double due to the difference in design between her and the Z3. Not even on the official site of Sony. All cases on Amazon are z3 to z3 compact.Any suggestions? Thank you.

  • External drive detected as a Bus controller.

    Original title: my friend gave me an external driver and yet my computer ran assessment and he's calling a "BUS CONTROLLER", which is a bus controller? Windows refuses to allow "on board"? name of the company on the product: Western Digital product I