Apex 4.0 Cascading list Select: ajax with umlaute German problem

Hello world

Apex 4.0
Papa PlsqlNLSLanguage: GERMAN_GERMANY. WE8MSWIN1252

I have problems with German umlaute and selection in ajax cascade (cascade LOV Parent article) lists.
Data are filled in the selection list without a page refresh when the parent select list of changes, but specific signs such as the German umlaute are also weird characters.
Looks like there is a problem of charset with ajax.

It is the only part of the application where the specific signs such as umlaute are messy. Everything else is fine.

I already tried to figure out if I can escape the umlaute in javascript (file apex_widget_4_0.js) but without success here.

Can someone help me with this problem?

Thanks in advance,
Markus

Hi Markus,.

your character specified in your DAD won't. As mentioned in the http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/otn_install.htm#CHDHCBGI installation instructions, APEX Oracle always requires AL32UTF8.

>
3. look for the line containing PlsqlNLSLanguage.

The PlsqlNLSLanguage determines the language setting of the DAD. The character portion of the PlsqlNLSLanguage value set must be set to AL32UTF8.
Although the character of database set AL32UTF8. For example:

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • Cascading list of values with a many-to-many relationship

    Hi all

    I have three paintings; semester, subject and half of subject. Each semester has a lot of topics and a subject can be taught in several semesters.

    create table semester(
         id number not null,
         name varchar2(50) not null,
         primary key(id)
    );
    create table subject(
         id number not null,
         name varchar2(50) not not null,
         primary key(id)
    );
    create table semester_subject(
         id number not null,
         semester_id number not null,
         subject_id number not null,
         primary key(id),
         foreign key(semester_id) references semester(id),
         foreign key(subject_id) references subject(id),
         constraint semester_subject_uq unique(semester_id, subject_id)
    );
    
    

    EDIT: I have a page with a report that shows all students who are currently enrolled in the selected for the selected session object.

    There are two selection lists at the top of the report, one for the half and the other for the subject.

    What I try to do is when you select a semester in the half selection list, the topic selection list should contain only the subjects for the half of some (not all) in the subject of the painting.

    h

    If the relationship was of 1 to many that I could write to see half of value

    select name, id
    from semester
    order by 1
    
    

    and for the purpose of value list

    select name, id
    from subject
    where semester_id = :PX_SEMESTER
    
    

    But now that the relationship depends on the table of semester_subject, I can't find a way to achieve this and Googling has not helped.

    Thanks in advance for any help.

    I believe that this issue has also been implemented on stack overflow plsql - list of values cascading with many-to-many relationship - stack overflow and received a very wide response. If the OP has not yet verified, he may want to.

    (FYI: I'm not the person who answered there.)

  • Apex 4.0 tabular, list selection and Firefox problem

    I created a form in a table by using the wizard, and then I changed the first column displayed in a selection list. In this case, the Department only.

    In Firefox 3.6.6 and 4.0b1, everytime I refresh the page, the value of the selection list changes. It's weird. Does not occur in IE8.

    To reproduce the problem, load the following link in firefox, click on the Refresh button 10 times slowly and watch the Dept select list.

    Example here, http://apex.oracle.com/pls/apex/f?p=34847:4

    Hi PC,.

    This is bug # 9885538. We are currently working on it. To work around the problem, modify the security settings under page attributes and attribute set 'auto-complete form' on 'Off '. This should correct the problem in FF.

    Concerning
    Patrick

  • Cascading - HELP selection lists

    I still missed something in the samples I've seen on the internet at cascading selection lists
    I just need a selection list to determine the choice of another selection list, use simple terms.
    Thanks for your help. Please need as soon as possible.

    Hello

    OK - first of all you must have an item hidden on page 2 that will receive the country code (I'll stick with my example, if that's ok)-say P2_COUNTRY_CODE.

    Now create two selection lists - say P2_STATE_CODE and P2_CITY_CODE.

    It helps if you check that the P2_STATE_CODE list is defined with a default value to ensure that the list can be filtered properly. Create a calculation, to run in the point of process "Before Header" and the conditional on P2_STATE_CODE is null (Type of Condition: the point in 1 Expression is NULL;) Expression 1: P2_STATE_CODE). The value of a "static allocation" of something that will not appear in the list (for example, ZZ for strings) or - 1 for numerical values. You can do this on the list of cities as well if you wish. The two lists must be defined to display null values and have something like - Select - like display null text.

    Your list of States should be created as a Select list with Submit with a list of values based on a SQL statement:

    SELECT STATE_NAME d, STATE_CODE r FROM STATES WHERE COUNTRY_CODE = :P2_COUNTRY_CODE
    

    Your list of cities is a list of select normal with a list of values based on a SQL statement:

    SELECT CITY_NAME d, CITY_CODE r FROM CITIES
    WHERE COUNTRY_CODE = :P2_COUNTRY_CODE
    AND (:P2_STATE_CODE = 'ZZ' OR STATE_CODE = :P2_STATE_CODE)
    

    Now, when the user selects a country from page 1, the country code is spent in P2_COUNTRY_CODE before the loading of page 2. The default values for P2_STATE_CODE and P2_CITY_CODE are defined and the lists are generated - cities list will display all cities for the country selected as the list of States shows only the default value of ZZ and cela "corresponds to" all cities of the country. Then, when the user selects an item in the list of the States, the page is sent and the value of P2_STATE_CODE is updated in the session. As the list of cities is based on this value, when the page is reloaded, it will be updated to filter based on the P2_COUNTRY_CODE and P2_STATE_CODE values.

    The only thing you need to ensure is that P2_STATE_CODE and P2_CITY_CODE are deleted from the cache when you have more page - you can do in the branch back to page 1.

    Andy

  • "Cannot select"[Gmail]"on the IMAP server. You could try refreshing your folder list to synchronize with the IMAP server. »

    Original title: "error message"

    I get this error message whenever I try to download my gmail account

    Header for the file download "[Gmail]" has not completed. Cannot select "[Gmail]" on the IMAP server. You could try refreshing your folder list to synchronize with the IMAP server. Account: 'imap.tools.sky.com', server: 'imap.tools.sky.com', Protocol: IMAP, server response: ' unknown mailbox: [Gmail] (failure)', Port: 993, secure (SSL): Yes, error number: 0x800CCCD2

    Please repost your question on the Forum of GMail at: http://www.google.com/support/forum/p/gmail/label?lid=745896f193361992&hl=en where the experts to GMail will be happy to help you.  You can also try technical assistance tohttp://mail.google.com/support/.  It is a GMail problem, not a problem of Vista.  If you use an e-mail program rather than online access, then it is possible that the e-mail program settings are incorrect. We do not know these settings but people to GMail.  That said, here's the IMAP settings for a number of e-mail programs (generic parameters - obviously not including your specific account):http://mail.google.com/support/bin/topic.py?hl=en&topic=12806.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • APEX 5 dynamic navigation list

    I created a list based on a SQL query. I want to replace the list of navigation 5 APEX. How do I do that? When I go to the navigation menu or navigation bar list I see Create or copy, I don't see the option to use my list.

    Hello

    1 - create a navigation list

    go to your application components shared-> browsing-> Menu of Navigation

    Create a new list from scratch of dynamic type, and then click SQL QUERY as the source of your query type

    Enter your query which should have the following columns 'level', 'label', 'target', 'is_current', 'image '.

    example:

    Select LEVEL 'level. "

    PRV_NAME 'label. "

    Decode (connect_by_isleaf, 0, ",'f? p = & APP_ID.)  :'|| To_char (PRV_APEX_PAGE) |': &. session:') "target."

    "YES'"is_current. "

    Decode (NVL (PRV_ICON_IMG, 'A'), 'A', ", PRV_ICON_IMG) 'the image.

    of ADMN_PRIVILEGES

    start with "PRV_ID_PRNT" = 10000

    connect prior "PRV_ID" = "PRV_ID_PRNT."

    siblings arrested by PRV_NAME desc

    then select do not create list of regions.

    2 - in your designer of the page go to the Navigation Menu->override level of User Interface

    and Yes, change

    the next option is enabled

    LIST, select the navigation created in step 1

    then

    Position in the LIST: side

    Model LIST: your model

    Hope this will help you

    Salim

  • Dynamics of stocks & value (Exception thrown and not caught cascading list

    I have a really strange question in my Apex 4.0 environment where I'm building of dynamic actions and cascading list of values.

    I'm currently developing new features in an existing application, (original application developed using HTMLdb 1.6 and phased to Apex update 4.0.1), to add a dynamic action that sets a value in another field, using SQL. Dynamic action fails with "Exception thrown and not caught - jquery - 1.4.2.min.js line: 28 Char: 162'.» However, when I create a new application in the same workspace, and develop the same functionality is running smoothly.

    I assured that the models for each page/region are one exact copy of the other.

    < b > when I run the application in Firebug, I get the following: < /b >
    Day Friday, December 31, 2010 14:20:03 GMT
    Server Oracle-Application-Server - 11g
    X DB-Content-length 87
    Set-Cookie HTMLDB_IDLE_SESSION = December 31, 2010 23:20:03. path = /.
    Content-Length 87
    Keep-Alive timeout = 5, max = 99
    Connection Keep-Alive
    Content-Type text/html; Charset = UTF-8
    Content-Language en


    < b > to the application that works, I get response slightly different headers. < /b >

    Day Friday, December 31, 2010 14:20:37 GMT
    Server Oracle-Application-Server - 11g
    Cache-Control non-cache
    Pragma non-cache
    X DB-Content-length 14
    Content-Length 14
    Keep-Alive timeout = 5, max = 94
    Connection Keep-Alive
    Type of application/json content
    Content-Language en

    < b > view the Content-Type for the version which does not use "text/html", while the working version uses "application/json".
    Firebug also gives the following error: < /b >

    Eception exception: invalid JSON: Content-type: application/json Cache-Control: non-cache Pragma: non-cache {"value": "1"}

    < b > is - anyone has any idea what is happening?

    Thank you.

    Jon < /b >

    Hi John,.

    is it possible to have custom authentication when you set a cookie or when you set the HTTP header/mime type?

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • (Different from my last thread) cascading list box

    OK, have a new problem with cascading list boxes, I will try to explain.

    using an interactive form, after you make a selection I have the record come single upward in the second page.
    I have two fields I have LOV in them. Very well, that works, it brings in new fields, detects the value in 2 areas list.

    Now, if the user selects a new value in the first, select list
    the values in the second select list must filter selections.
    -Select value - cannot be inside the 2nd list box because it will lose the value that was first sent to the wire.
    Hope this is understandable.
    Thanks for your help.

    Hello

    I think that it would depend on the logic underlying the second list. If we go back to our example of lists of cities/States, if the user has selected the city first (say they choose New York) and then realize they need to select a State, as long as they choose New York then their selection of NYC is still valid for the list and is preserved, as the stored value for the page element corresponds to one return value lists. If, however, they chose California for the State, the combination is clearly wrong (I guess it isn't a New York here!), so it takes clear them their selection of the city to allow them to make a valid selection.

    If, however, the combination may still be correct, you must determine a method to keep the value in the second list. There are two possibilities:

    1 - box "To show extra values" to Yes. This will display the return value for the element that they initially selected - IE, you would see the code in the list, but not the text to display for their original selection

    2 - update the SQL statement to include their selection in any list of rewriting:

    SELECT CITY_NAME d, CITY_CODE r FROM CITIES
    WHERE (COUNTRY_CODE = :P2_COUNTRY_CODE AND (:P2_STATE_CODE = 'ZZ' OR STATE_CODE = :P2_STATE_CODE))
    OR CITY_CODE = :P2_CITY_CODE
    ORDER BY 1
    

    Andy

    PS - do not know why, but the forum is now the addition of BR tags in the CODE segments - you should ignore these

    Published by: ATD on September 27, 2008 10:43

  • How can I print a list of contacts with e-mail addresses of Windows Live Mail?

    How can I print a list of contacts with e-mail addresses of Windows Live Mail?

    For an easy way and by using less paper, try this:
     
    • Open a new message window.
    • Click on the button to.
    • Select all addresses and add them to the field to.
    • Close the message without sending it to save in drafts.
    • Click on the header of message once to highlight.
    • CTRL + F3 will reveal the source of the message, including all of the names and addresses.
    • Copy & paste the addresses into a word processing program and print from there.
  • Adobe *.pdf files can be opened in Internet Explorer, the default program can not be changed to acrobat reader in the properties or select 'Open with'

    Adobe *.pdf files can be opened in Internet Explorer, the default program can not be changed to acrobat reader in the properties or select 'Open with'. Cannot change the default program of Adobe in the file association list.

    I have the latest version of Adobe (9.3.3).

    Hello

    Don't forget to log on as an ADMINISTRATOR

    Use this utility to unassociate the. PDF and then re - associate with Adobe Acrobat Reader.

    How Unassociate a Type of Extension file in Vista and a utility to help
    http://www.Vistax64.com/tutorials/91920-unassociate-file-extention-type.html

    How to set default Associations for a program under Vista
    http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html

    How to associate a file Extension with a program Type in Vistahttp://www.vistax64.com/tutorials/69758-default-programs.html

    How to view and change an Extension of filename on Vista
    http://www.Vistax64.com/tutorials/103171-file-name-extension.html

    Restore the Type Associations by default Vista file extensions
    http://www.Vistax64.com/tutorials/233243-default-file-type-associations-restore.html
    I hope this helps.

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

  • value of the item in the list, Select when the user places the cursor on it

    Hi all

    I have a requirement where the user place cursor on an element of a form page list selection. All options should appear without clicking. I also have a selection list that is created dynamically.

    I use Apex 4.2

    Thank you

    Shaz

    Not tested, but something like below might work.

    DECLARE
    v_item varchar2(20);
    Cursor c1 is
    SELECT Item_name FROM APEX_APPLICATION_PAGE_ITEMS
    WHERE  lower(display_as_code) = 'native_select_list' AND lower(region) = 'region_name' ;
    
    BEGIN
    
    FOR item_rec IN c1
    LOOP
    v_item := item_rec.item_name;
    
    htp.script('$(''#'||v_item||''').hover(function(){
        var count = $(this).children().length;
    $(this).attr(''size'', count);
    },function(){
        $(this).removeAttr(''size'');
    });','Javascript');
    
    END LOOP;
    END;
    

    BR,

    Patrick

  • Error on the submission form, which is loaded by AJAX with $. post()

    Hi guys!

    On this example Page , I'm loading a form of the APEX of another page in an area with

    function loadForm(){
        var url = 'f?p=&APP_ID.:271:&APP_SESSION.::::';
        url += 'P271_CITID:'+ $v('P270_SELCITY');
        url += ' .rc-body';
        $('#loaddiv .nice-region-body').load(url);
    }

    with a click of the button.

    I get an error then, because I'm probably the substitution of APEX-important features. Is there a way to bypass? Can I change the page templates, so that the form on the other page tags are also responsible, but then I wouldn't have a form on the page, I am loading to.

    (Apex-Version is 4.2)

    Thanks for any help.

    Best regards

    Tobi

    Edit: What I'm aiming for is to have a report on this first page, and support different forms according to a selection in a context menu that appears when the user clicks a record on the report. Each form should be shown in a modal dialog box.

    I could also load the form - not in a region on the first page - but in a modal split window, but this would make the entire application a clumsy but.

    Message geändert durch TobiP

    Message geändert durch TobiP

    what the hell happened to the editor here? Formerly, you can use {code}... {code}

    Hi Toby, fortunately this is an easy solution.

    Go to change the properties of the Application-> Security

    Or components shared-> security - security attributes

    (They are the same thing).

    Under the browser security change the Embed in frames setting to allow the same origin.

    This will allow your iframe load.

    I should just mention, the plugin will not allow you to make multiple modal windows, but is not that 'fat' and it is a solid solution.  But it seems that you are on the right track with the iframe.

    Good luck, sounds like a good activity.

    Thank you

    -Jorge

  • from the drop-down list selection to multi-line output

    I am trying to create a pdf form with Adobe XPro, where I will have multiple delivery addresses. I want to have is that the user can select the correct recipient group in the drop-down list.

    Given that the drop-down lists pdf format are just simple lines the drop-down list selection could only display the name of the company (e.g., COMPANY A) and selecting the company wanted to, this would trigger the whole address (multiline) to appear as described below (on another text field is ok if necessary)

    THE COMPANY

    StreetAddress 1

    City of ZIP-1234

    Does anyone have an easy solution for this?

    I have created a sample form for you, please look at attachment.

    PDF form does exactly what you want.

  • Select tables with a number of corresponding columns

    Hi guys

    I need to find a list of tables with columns in common.

    So basically I need a list of tables and tables that have 3 or more column in common with her, and what are these columns.

    This could take the form of pairs of tables, IE table A table B on columns 1,2,3 games
    Table of an array of matches C on columns 1,3,4

    or it could be games table A table B and C columns 1,2,3 etc.

    I think I do with PL/SQL, what I can do - but I was wondering if this kind of thing is possible with just an SQL statement - if any of you have done it before and you have some SQL, which would be a great help.

    Thank you very much

    Scott

    Well, most of the work is done.
    'Just', you need to add an aggregation function to present the list of corresponding columns.

    In 11.2, it has LISTAGG:

    SELECT a.table_name tab1,
           b.table_name tab2,
           count(*) match_count,
           listagg(a.column_name,',') within group(order by a.column_id) col_list
    FROM user_tab_columns a
         JOIN user_tab_columns b ON a.column_name = b.column_name AND a.table_name != b.table_name
    GROUP BY a.table_name, b.table_name
    HAVING count(*) > 2
    ;
    

    For older versions, other techniques are summarized here:
    http://www.Oracle-base.com/articles/Misc/StringAggregationTechniques.php

  • Select / option with cfquery - how to pass the value selected in the downform field

    I have a form that has a drop-down list selection/basic option using a cfquery result.  I would use the value that the user selects to pre-fill an editable field "title" more far along on the form.  For example:

    < do action = "" index.cfm? fuseaction = sendEmail "method ="POST"name ="email_approval"enctype =" multipart/form-data">"
    < table width = '500' border = "1" cellspacing = "0" cellpadding = "2" align = "center" >
    < b >
    < td align = "left" > request ID: < table >
    < td align = "left" width = "100" > < b > < cfoutput > #RequestId # < / cfoutput > < / b > < table >
    < td align = "left" > Application: < table >
    < td align = "left" width = "400" > < b > < cfoutput > #this_request.app_abbrev # < / cfoutput > < / b > < table >
    < td align = "left" > WR / RD #: < table >
    < td align = "left" width = "400" > < b > < cfoutput > #this_request.request_number # < / cfoutput > < / b > < table >
    < /tr >
    < b >
    < td align = "left" > Email Type: < table >
    < td align = "left" colspan = "2" >
    < select name = "approval_type" size = "1" >
    < cfoutput query = "approval_types" >
    < option value = "" #approval_types.approval_descrip # "style =" do-size: 8pt "> #approval_types.approval_descrip # < / option >"
    < / cfoutput >
    < / select >
    < table >
    < td align = "left" > < table >
    < td align = "left" > Date: < table >
    < td align = "left" > < b > < cfoutput > #dateformat (Now (), ' MM/DD/YYYY') # < / cfoutput > < / b > < table >
    < /tr >

    < cfset subjectLine = "#RequestId #" & "" & "Request approval" and the "#approval_types.approval_descrip #" >
    < script type = "text/javascript" language = "JavaScript" >
    < cfoutput >
    var #toScript (subjectLine, "jsLine") #.
    < / cfoutput >
    < /script >

    < script type = "text/javascript" language = "JavaScript" >
    setValue() function
    {
    document.getElementById('subject').value = jsLine;
    }
    < /script >


    < b >
    < td align = "left" > subject: < table >
    < td align = "left" colspan = "5" >
    "< b > < input type ="Text"name ="topic"required ="Yes"size ="70"maxlength = onClick =" setValue () "70"; ' > < / b >
    < table >
    < /tr >
    .......

    When the user gets to the field for the object the onClick préremplira the field with the value combined with < cfset subjectLine = "#RequestId #" & "" & "#approval_types.approval_descrip #" & "Application for leave" >.  regardless of what is selected, it uses the first element in the query list because it is what is rendered when the form is loaded (who won).  I tell me that I need an onChange event of javascript for the select statement for the drop, but can not find a way to pass this variable javascript back to form CF.  Any ideas, or am I stuck?

    Thanks in advance for your ideas!

    Unless you use a more recent version of CF (I think 7 or 8-9), in which case if the form is a FORM, and then select is a CFSELECT, and the fields are CFINPUT, you can use BIND = "" in the CFINPUTs to detect the @change of the CFSELECT and fill accordingly. "

    ^_^

    PS: I love JavaScript, I'm a JScriptin' fool, sometimes... but if this can be managed by CF, why not?  (shrug)

Maybe you are looking for