Internationalization of the search for the af:query component fields


Hello

I dropped a component af:query on my page. I have a requirement that when the browser is English, label of query components search fields must be in English, and if the browser is in Arabic that they must appear in the Arabic language. Please help me to know how this can be achieved.

Thanks and greetings

Rati

Hello

It's a simple matter to create local resource bundles.

I guess you have indicators on the elements of the model installation check that the attributes of the View object. If so, you will see a ModelBundle.properties (if your model project called model). Create a copy based on the locale of this property file and customize the labels.

Read more here: http://docs.oracle.com/cd/E41362_01/web.1111/b31974/bcquerying.htm#CEGBFHJC

Tags: Java

Similar Questions

  • How to override the default styleClass for the af:query component?

    In my entire application, I disabled the labels selectOneChoice and selectOneRadio using the default style class,

    TD.af_selectOneChoice_label > label, td.af_selectOneRadio_label > label {}

    display: none;

    }

    Now, for af:query component, I need to display the label. How to replace the above-mentioned styleclass? My version of jdev is 11.1.1.7.0

    Try this-

    AF | {selectOneChoice::label}

    display: none;

    }

    This hides the label of choice list all except those who are inside the af: query


    Ashish

  • Search for text in a text field and make the required field

    I have a text field if the user has entered a value, then the box that follows must be mandatory. I have this script that works (sort of), but I do not know what event to use to get the results I want. I want the message and the box mandatory if something is entered in the field.

    Here's the script:

    If ((this.rawValue! = "null") |) (this.rawValue! = ""))
    {
    CheckBox3.mandatory = 'error ';
    App.Alert ("Please indicate that you have reviewed the similar profile and agree with him");

    }

    else if ((this.rawValue == "null") |) (this.rawValue == ""))
    {
    CheckBox3.mandatory = "disabled";
    }

    Thank you

    MDawn

    You can put your script to output the text field event.

  • Date formatting of the af:query component in ADF

    Hello

    I use < af:query > ADF Component.It is linked to a VO through which attributes are displayed in the search.

    "I have a date component in the vo and want the date format you should see 6 August 2013. How can I achieve this?

    You can set a date in full flight format the VO, go to 'Attributes' and double-click the attribute. In the window go to 'tips control. Choose "Simple Date" in the "Format Type" field. Then enter the size you want to be applied in the field 'Format' (e.g. dd-MMM-yyyy).

    Kind regards

    Linda

  • Search for a value in a field in a subform before allowing a user to add a new Instance

    Configuration of the form:

    Name of the page = page 1

    1 subform in Page1 = Info (fixed to slur)

    Objects in the subform Info: name (textfield) and Email (textfield)

    I also have a 2nd subform within Page 1, which contains a button instance add

    What I'm doing:


    1. the user must enter their name and E-mail address, then click 'Add a button to the Instance' to create a new instance of the subform Info : _Info.addInstance (1);

    2. If the user does not enter an e-mail address, I want there to be a message box this info the user address of e-mail is required before, he or she can create a new instance. Note: would be nice if the slider is set to foucs on the email in this particular instance of subform field.

    3. as long as the user tries to add an instance, he or she will be refused if they are not an email in this case

    4. If the user has an e-mail address in this instance, then the script will create adds a new instance

    5. the process should continue in this way for each, each instance button click Add

    I presume that it nees to be a loop and perhaps a scipt for somExpression, but I'm not sure.

    Here's what I have so far (see below)... The script works for the first instance on the page, but this does not prevent instances to be created when the email in the 'current' instance field is empty. I want to prevent the user to add new instances if the email field is balnk in this "current instance. So, I guess I don't know how ot test a field in the current instance in a repeating subform.

    var VNAME = Info.somExpression + ".email";

    var vEmail = xfa.resolveNode (VNAME) .rawValue;

    if (vEmail == null)

    {

    xfa.host.messageBox ("Please enter an email address.");

    }

    else {

    Form._info.addInstance (1);

    var i = Form._Info.count 1;

    xfa.host.setFocus (xfa.resolveNode ("Info [" + i + "].")) Name')); This set is the focus of the cursor in the name field in the newly created subform

    }

    Please advise and thanks in advance!

    Hello

    Try something like;

    var lastRow = Form.resolveNode ("Info [" +(_Info.count-1) + "]"); Get the last row

    If (lastRow.Email.isNull) / / if the email field empty

    {

    xfa.host.messageBox ("Please enter an email address.");

    }

    on the other

    {

    newRow var = _Info.addInstance ();

    xfa.host.setFocus (newRow.Name.somExpression); set the focus to the field name on the line has been added

    }

    Concerning

    Bruce

  • Replace the earpiece of the action of the search button in af:query

    Hi experts,

    My version of JDeveloper is: 11.1.2.4.0

    I did some research by applying an action listener to the search button in the Panel of af: query. I see that you can add a footer to the facet of the query and create a menu drop-down 'add custom fields '. However, I can't find a way to access the search key.

    My specific use case is that I am applying an advanced search feature according to a criterion of view to an integrated Office Excel workbook. When the user clicks a button in the Excel workbook, a dialog with the af:query component is displayed. Instead of the user performing a 'search' and then clicking a button to exit the window and perform the download action in Excel, it would be better to have the search af:query search button and close the window.

    Is it possible to include an actionlistener to the search of an af component key: query? If not, is it possible to include this feature? Creating a custom search form is out of the question that the source of data that I use a lot of columns. Different users have different search criteria, in order to dynamically add search fields is a must.

    Thanks for any help!

    Try $ instead of #.

    ${myBean.myValue}

    Timo

  • for BPEL XPath query, escape the quotes

    Hello

    Can someone tell me how to correct this query. Basically, I need the last part in quotes to be somehow escaped and the compilation process.

    Ora:countNodes ('Receive_createObject_InputVariable', 'request','/ ns1:CreateObject/req/Object [bpws:getVariableData('counter')] / options/Property [@Name = "ID"]')

    The Xpath query component is as follows: /ns1:createObject/req/Object [bpws:getVariableData('counter')] / options/property [@name = 'Id']


    I tried follows him:

    single quotes around the double quotes
    Ora:countNodes ('Receive_createObject_InputVariable', 'request','/ ns1:CreateObject/req/Object [bpws:getVariableData('counter')] / options/Property [@name = '"' Id'" ']')

    using the ' & quot;
    Ora:countNodes ('Receive_createObject_InputVariable', 'request','/ ns1:CreateObject/req/Object [bpws:getVariableData('counter')] / options/property [@name = & quot;) ID & quot;] ")

    Using single quotes around Id
    Ora:countNodes ('Receive_createObject_InputVariable', 'request','/ ns1:CreateObject/req/Object [bpws:getVariableData('counter')] / options/Property [@Name = 'Id']')


    Kind regards

    Hello

    You can't escape quotes in the assign activity, the only solution is to use a processing activity.

    You can use one of the following in your plan of xslt to count nodes having the Id with quotes.

    If Id is an attribute then use the following syntax:

    If Id is an element can use the following syntax:

    I have

    Kind regards
    Diakité
    http://SOA-HOWTO.blogspot.com

    Published by: Dharmendra Dubey on October 15, 2008 20:37

    Published by: Dharmendra Dubey on October 15, 2008 20:39

    Published by: Dharmendra Dubey on October 15, 2008 20:39

  • query to search for the user of the application

    Hello

    What is the query to search for the user of the application in the sql command?

    I tried the query below
    select app_user from dual;
    app_user invalid identifier
    Thank you.

    Hello skud,
    The following SQL statement will give you the APP_USER which is an environmental variable in the APEX:

    SELECT v('APP_USER') FROM DUAL;
    

    See if it works. As I used the syntax given in the triggers to record audit trail above and it works fine.
    Kiran

    Published by: chubby Kiran June 11, 2011 04:08

    Published by: chubby Kiran June 11, 2011 04:09

  • Why search for Verizon continue to flock to the top?

    Whenever I do a search, he goes in search of Verizon. I have Google set as the default browser, but whenever I type something in the search bar I have to manually select the option of Google. If this isn't the case, it is by default in the search of Verizon. It is a pain. I just want your in what I am looking for and go. Help, please

    Is the problem with a single word searches? A single word searches work differently than the search for two words. When you enter a single word (for example, bananas or the mozilla.org), Firefox checks your provider if a server name is valid. Your service provider can intercept this survey and return its own page of search results. In this case, your best strategy is to exploit the specific search engine query option in the drop down menu to launch your search.

  • How to choose a new search for the search bar engine which has not been yet registered?

    I want to search the English-Greek dictionary Woodhouse search bar, that I can't find. How can I get a?

    First of all, download this add-on: https://addons.mozilla.org/en-US/firefox/addon/add-to-search-bar/

    After Firefox restarts, go to http://www.lib.uchicago.edu/efts/Woodhouse/

    Place the cursor in the field where you can type in a query and then right click and choose "add to search bar." You should now be able to see in your list of search engines.

    An another add-on is to have is this one: https://addons.mozilla.org/en-US/firefox/addon/context-search/ it helps to highlight a word or phrase in a web page and then right-click and choose to search for any search engine you have installed including the English-Greek dictionary, you add. See screenshot for an example.

  • Search for files based on the flow

    Hi, I would like to be able to search for specific files mp3 and m4a files based on their bitrate, IE search for files with a bitrate to 128KBit.

    I don't know, but is it possible under Windows Vista, or do I need another tool to do?

    Thank you

    Hello trotskyicepick,

    Windows Search does not include a searchable property for the bitrate, but Windows Explorer can indicate the rate on view Mp3 files.  For example, you can sort and filter the search results by bit rate and group your files in this way.

    For example, if the files in question are in your folder of music and its subfolders, click music in the left pane of Windows Explorer.  Now paste this query into the search engine:

    ext:MP3

    Now, right-click on a column heading in the right pane and add the property of spleen in the view. Click the bitrate column header to sort the display rate.  Now click the drop down menu on the same header and choose "near CD quality' in the list.  This filter the search results so that only files recorded to 128 or more appear.

    Unfortunately, the Vista does not support the M4a format, so speeds of transmission of these files are not visible in Windows Explorer.

    Mr. Doug in New Jersey

  • New error causing the Windows Update Agent 7.6.7600.320 80246002 during the search for updates

    I use Windows 7 64-bit with Service Pack 1. Windows Update worked fine until the Windows Update Agent is automatically updated to 7.6.7600.320 in August 2014. Now, when Windows Update tries to search for updates, it reports "Windows could not search for updates" and indicates that the 80246002 error code was received.

    [UPDATE]  Since posting this query, I think I solved my problem by following the instructions described on the page "Update tool of the system for Windows 7 for x 64-based Systems (KB947821) [may 2014]."   I downloaded the file (Windows6 1 - KB947821 - v33 - x 64.msu) and then let it settle. He describes himself as "Fix for Windows (KB947821)".  The installation took awhile, with a lot of disk activity.  When he finally finished, I rebooted my machine and tried an update of Windows. It seems to work fine; He even found a significant update that I then installed successfully.  So apparently my problem the hotfix for Windows (KB947821) provided the solution.

    [UPDATE 2]  After seeing the messages on the change the DNS to resolve the problem, I thought I would add the following information where it is necessary:

    • I use the 64-bit version of Internet Explorer 11 and confirmed it works in 64-bit mode by inspecting the user agent of the browser.  You can check the user agent of your browser by visiting http://user-agent.me/
    • My Internet Protocol properties are set to 'Obtain DNS server address automatically'.  It works with my wireless router, and I've never tried to change it.

    [UPDATE 3]  After thinking I was safe, after doing several searches for updates, the returned 80246002 problem on my machine!  I rebooted my machine and my wireless router, but it did not help.  So, I advanced and tried the DNS thing: I changed the favorite 8.8.8.8 DNS server and another server DNS 8.8.4.4 and then rebooted.  Search on Windows Update is now successfully!  I am humbled and grateful!

    In my case, I got the window update 80246002 error code after I uninstalled KB2982791 according to the https://technet.microsoft.com/library/security/MS14-045 and then tried the updates.  I have nothing clears the error (ipconfig/flushdns, rename the folder C:\Windows\SoftwareDistribution, a few MS Fix, etc...).  KB2993651 being the replacement update I was trying to download and install, I decided to manually download the update from the windows update (http://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB2993651) catalog.  After you downloaded and installed KB2993651, I rebooted the PC and then I was able to check Windows updates again without entering the 80246002 error code.

  • Problem with the search for network path

    We have experienced a weird problem recently with our research. On a Windows 7 Machine, when you search for a file that is located on our file server, it will give you the files, but for ancient dates and not the most recent. In our case, when we find a file, I see the file is there but I do the search in the folder and it gives me no element matches your search if they have changed the 7/17 and later. Something before 7/17 is always available.

    I tried indexing, but I know that this will not work because it is a network location. Maybe is something that is wrong on the side of servers? This is a server of 2012. We have about 10 users affected by it, so the solution to the index of the network as a library location may not be enough and may just take us longer.

    Any ideas on if it's the workstation or the server? If so, what can be done to fix this? Any help is greatly appreciated!

    Thank you

    Andy

    Hi Andy,.

    The query is better suited in the TechNet forum, ask you to report the query in the following link to get the problem resolved.

    http://social.technet.Microsoft.com/forums/en-us/home?category=w7itpro

    Respond us if you have any technical questions and we will be happy to help you.

  • Need help with the search for special characters in oracle text

    Hi all

    Oracle 11g sql developer 4.0 help

    I am facing this challenge where Oracle text when it comes to searching for text that contains a special character.

    What I've done so far with the help of http://www.orafaq.com/forum/t/162229/

    "CREATE TABLE"SOS" COMPANY ".

    (SELECT "COMPANY_ID" NUMBER (10,0) NOT NULL,)

    VARCHAR2 (50 BYTE) "COMPANY."

    VARCHAR2 (50 BYTE) "ADDRESS1"

    VARCHAR2 (10 BYTE) "ADDRESS2"

    VARCHAR2 (40 BYTE) 'CITY ',.

    VARCHAR2 (20 BYTE) 'STATE ', HE SAID.

    NUMBER (5.0) "ZIP".

    ) CREATION OF IMMEDIATE SEGMENT

    PCTFREE, PCTUSED, INITRANS 40 10 1 MAXTRANS 255 NOCOMPRESS SLAUGHTER

    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)

    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS USER_TABLES DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT 1)

    TABLESPACE 'USERS ';

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (1, 'LSG SOLUTIONS LLC', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (2,' LOVE "S TRAVEL', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (3, 'DEVON ENERGY', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (4, 'SONIC INC', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (5, "MSCI", null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (6, 'ERNEST AND YOUNG', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (7, "JOHN DEER", null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (8,'Properties@Oklahoma, LLC', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (9, 'D.D.T L.L.C.', null, null, null, null, null);

    BEGIN

    CTX_DDL. CREATE_PREFERENCE ("your_lexer", "BASIC_LEXER");

    CTX_DDL. SET_ATTRIBUTE ("your_lexer", "' SKIPJOINS,"., @-"'); -to jump. , @ - ' symbols

    END;

    /

    CREATE INDEX my_index2 ON COMPANY (COMPANY_NAME)

    INDEXTYPE IS CTXSYS. CONTEXT IN PARALLEL

    PARAMETERS ("LEXER your_lexer");

    SELECT
    company_name
    FROM company
    WHERE CATSEARCH(company.COMPANY_NAME, 'LLC','') > 0
    ORDER BY company.COMPANY_ID;
    
    

    output

    company_name

    1 LSG SOLUTIONS LLC

    2 Properties@Oklahoma, LLC

    only 2 rows back but must return 3

    It helps if you post a copy and paste of effective enforcement of the full code, including the results.  You posted an index of context with the query with catsearch, which requires a ctxcat index.  You must be a context clue that you did not post and did not add your lexer to.  The following table shows it returns all the lines of 3 as planned using either a with catsearch ctxcat index or a context index with contains, as long that you include the lexer in your create index.  You must also be sure that the index is created, or synchronized after inserting or updating data.

    Scott@ORCL >-version:

    Scott@ORCL > SELECT banner version of v$.

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    5 selected lines.

    Scott@ORCL >-table and the test data:

    Scott@ORCL > CREATE TABLE 'SOCIETY '.

    2 ("COMPANY_ID" NUMBER (10,0) NULL NOT ACTIVATE,)

    3 'COMPANY_NAME' VARCHAR2 (50 BYTE),

    VARCHAR2 (50 BYTE) 4 "ADDRESS1"

    5 "ADDRESS2" VARCHAR2 (10 BYTE),

    VARCHAR2 (40 BYTE) 6 'CITY',

    7 VARCHAR2 (20 BYTE) 'STATE ', HE SAID.

    NUMBER (5.0) 8 'ZIP '.

    (9) THE CREATION OF IMMEDIATE SEGMENT

    PCTFREE 10 10 PCTUSED 40 INITRANS, MAXTRANS NOCOMPRESS SLAUGHTER 1 255

    11 STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)

    12 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS USER_TABLES DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT 1)

    TABLESPACE 13 "USERS."

    Table created.

    Scott@ORCL > START

    2 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (1, 'LSG SOLUTIONS LLC', null, null, null, null, null);

    3 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (2,' LOVE "S TRAVEL', null, null, null, null, null);

    4 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (3, 'DEVON ENERGY', null, null, null, null, null);

    5 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (4, 'SONIC INC', null, null, null, null, null);

    6 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (5, "MSCI", null, null, null, null, null);

    7 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (6, 'ERNEST AND YOUNG', null, null, null, null, null);

    8 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (7, "JOHN DEER", null, null, null, null, null);

    9 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (8,'Properties@Oklahoma, LLC', null, null, null, null, null);

    10 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (9, 'D.D.T L.L.C.', null, null, null, null, null);

    11 END;

    12.

    PL/SQL procedure successfully completed.

    Scott@ORCL >-lexer:

    Scott@ORCL > START

    CTX_DDL 2. CREATE_PREFERENCE ("your_lexer", "BASIC_LEXER");

    CTX_DDL 3. SET_ATTRIBUTE ("your_lexer", "' SKIPJOINS,"., @-"'); -to jump. , @ - ' symbols

    4 END;

    5.

    PL/SQL procedure successfully completed.

    Scott@ORCL >-ctxcat index and using catsearch queries:

    Scott@ORCL > CREATE INDEX my_index2 ON COMPANY (COMPANY_NAME)

    2 INDEXTYPE IS CTXSYS. CTXCAT PARALLEL

    3 PARAMETERS ("LEXER your_lexer");

    The index is created.

    Scott@ORCL > SELECT

    2 company_name

    3 the COMPANY

    4. WHERE the CATSEARCH (company.COMPANY_NAME, 'LLC', ") > 0

    5 ORDER BY company.COMPANY_ID;

    COMPANY_NAME

    --------------------------------------------------

    LSG SOLUTIONS LLC

    Properties@Oklahoma, LLC

    D.D.T L.L.C.

    3 selected lines.

    Scott@ORCL >-context and using the query index contains:

    Scott@ORCL > CREATE INDEX my_index3 ON COMPANY (COMPANY_NAME)

    2 INDEXTYPE IS CTXSYS. CONTEXT IN PARALLEL

    3 PARAMETERS ("LEXER your_lexer");

    The index is created.

    Scott@ORCL > SELECT

    2 company_name

    3 the COMPANY

    4 WHERE CONTAINS (company.COMPANY_NAME, 'LLC') > 0

    5 ORDER BY company.COMPANY_ID;

    COMPANY_NAME

    --------------------------------------------------

    LSG SOLUTIONS LLC

    Properties@Oklahoma, LLC

    D.D.T L.L.C.

    3 selected lines.

  • Call in the report for PDF download query does nothing

    I am trying to download a PDF report based on 2 queries. Each query has a where clause clause with values taken from the page elements. I installed Publisher OBI 11.1.1.5 and used the term of Publisher 11.1.1.5 OBI plug-in to create the RTF file that I downloaded then the components Shared-> presentation of the State.

    I created a new button in the region to call the report query. However, whenever I click on the button to download the PDF file, nothing happens. I looked at the debug and the button seems to be running OK, except that nothing happens.

    The APEX of BOIP configuration works since I was able to have BOIP generate another report that do not use the predefined query. In other words, parts of reports including the attributes defined print "allow printing of the report = Yes" and 'layout of report = report default layout' work very well. Reports based on the query predefined and launched with a button in the region do nothing.

    Environment: APEX 4.1, DB 11.2.0.2, BOIP 11.1.1.5

    Any contributions to this PDF issue is greatly appreciated.

    Thank you
    Reid

    Hello Reid,

    Thanks for reporting back!

    It now works with a button linked to printing the report query URL. This method was not working before because when I deleted/recreated the presentation of the report, the layout of request report report had to "use generic Report Layout. When I changed the presentation of the report query to the name of the correct report layout, button link to the print URL worked as expected.

    He therefore finally brought its fruits check attributes...

    Still, he doesn't when I create a button with action = 'Download printable report Query'. I tried several times, but couldn't make it work. It seems that it is a bug, but I can't say for sure.

    It should work as long as you have configured the report query according to the needs and assured the session state is included.

    Go ahead rather than use the with action = "Download the printable report query", I'll use a button with Action is "Redirection of URL" where the URL is the URL for the report query printing.

    In this case, my guess would be the session state, because you will always she, when redirecting to the session, and the report query seems to agree.

    -Udo

    P.S.: If you don't mind, please check all useful or correct accordingly to ensure that other users of the forum search can identify those posts easily.
    Thank you!

Maybe you are looking for