How To Use Control Hint Label In columnHeader?

Using JDeveloper 9.0.3 I created a uiXML-BC4J app.
I specified control hint Labels for each attribute in a view object whose source is a db table. The uix page browses the table using the view object. How do I get the column header to use the Control Hint Label? I'm currently hard coding column header text:
<columnHeader>
<bc4j:sortableHeader text="Product No" />
</columnHeader>
I would rather specify the control hint Label. How do I do that?
Thanks for your time.
Greg

By "in the page", I meant just as you're doing it now.
You could also externalize it to a Java ResourceBundle;
see the "Internationalization" chapter of the UIX
developer's guide.

Similar Messages

  • Internationalization ADF BC Control Hints Label

    Hi guys,
    In Control Hints Label of the ViewObject's Attribute, I declared a label. It's defined in ModelBundle.properties file. Then I created an localized version of the ModelBundle.properties file whose name is ModelBundle_tr.properties.
    On the JSPX page I included two ImageLink components, a CommandButton component and a InputText component. The source for the Links, the Button and the InputText are:
    &lt;af:commandButton text="#{res.LOGIN}"/&gt;
    bq. &lt;af:spacer width="10" height="10"/&gt;
    &lt;af:commandImageLink icon="/images/tr.png" actionListener="#{UserPreferences.localeChangeListener}" immediate="true"&gt;
    bq. &lt;af:setPropertyListener from="tr" type="action" to="#{UserPreferences.language}"/&gt;
    &lt;/af:commandImageLink&gt;
    &lt;af:spacer width="10" height="10"/&gt;
    &lt;af:commandImageLink icon="/images/us.png" actionListener="#{UserPreferences.localeChangeListener}" immediate="true"&gt;
    bq. &lt;af:setPropertyListener from="en" type="action" to="#{UserPreferences.language}"/&gt;
    &lt;/af:commandImageLink&gt;
    &lt;af:inputText value="#{bindings.FirstName.inputValue}"
    label="#{bindings.FirstName.hints.label}"
    required="#{bindings.FirstName.hints.mandatory}"
    columns="#{bindings.FirstName.hints.displayWidth}"
    maximumLength="#{bindings.FirstName.hints.precision}"
    shortDesc="#{bindings.FirstName.hints.tooltip}"&gt;
    &lt;f:validator binding="#{bindings.FirstName.validator}"/&gt; &lt;/af:inputText&gt;
    Within the UserPreferencesBean.java
    public class UserPreferences {
    private String language;
    public UserPreferences() {
    public void setLanguage(String language) {
    this.language = language;
    public String getLanguage() {
    return language;
    public void localeChangeListener(ActionEvent actionEvent) {
    FacesContext.getCurrentInstance().getViewRoot().setLocale(new Locale(getLanguage()));
    When I click on any of the ImageLink, the page is refreshes and the Text of the CommandButton changes. However the label of the InputText is not changes. What is strange is that when I click the same image link the label changes. That is, I should click twice the ImageLink to be able to have correct control hint label for the view object's attribute. The code in the localeChangeListener method is not enough to have the control hint of the view object to refreshed??

    Hi ,
    maybe you have the same problem as me.
    11G  bug, a Label on an ADF Datacontrol and Locale, adfbundle
    thanks edwin

  • Smartforms, how to use control break events

    Please help with this requirement.
    Purchase Docu No.111
    Pur Item No       Mat no       Quantity 
    1                        2356      2000
    2                     1256      2000
    3                     8556      2000
    Purchase Docu No.112
    Pur Item No    Mat no    Quantity 
    1                      9656      2000
    2                      7356      2000
    3                      1356      2000
    Purchase Docu No.113
    Pur Item No    Mat no    Quantity 
    1                      5356      2000
    2                      8356      2000
    This i have to design for the smartform.
    1 header data then its item data.
    like is Script i can call the WIndow elements using control break events in the driver prog but how to get this kind of output in Smartforms.???????
    Thanks

    I dont want trigger new page.
    In the same page i want like this
    I have purchase docu data in only 1 internal table.
    So, for every new VBELN, under this i want its corresponding item details.
    I have created the command node for the main window with 2 rows, in the 1st row i am giving VBELN and in the 2nd row i am giving in item details like item no, matnr etc etc and in the condition its askng Field name and Comparison Value.
    How shold i give condition.??????
    Thanks
    Edited by: Jalaaluddin Syed on May 1, 2008 5:03 PM

  • How to use Oracle Hints in OBIEE

    Hello guys
    I have a report that is running forever and I have reviewed the explain plan over and over, which makes me think that the join between these 2 tables are slowing everything down --- The fact table has 10Billion records and the Dim has 10 Millions records. Even if the report has filters on various columns of the 2 tables, it is still taking forever. The explain is showing that its doing a nested loop join of these 2 tables which takes a lot of time.
    I am thinking of using some Hint to force the query to scan the dimension table first (with the filter condition I defined, it will return 80 rows only from Dim table), and then use the result set of the scanning to go and look for matching records only in the fact table. Its should help speed up the query..
    I'd like to know what kind of hints can help with that kind of operation, also how to define these kind of hints in OBIEE. Now I know that in Physical Layers, I can include hints in physical table property, but how to determine which table (fact or dim) to embed the join hints?
    Need advice from anybody who have experience working with hints?
    Much appreciation!

    Just an update:
    I have tried a couple of join operation hints like USE_NL and USE_HASH hints, it changes the join method but didn't help with performance at all.
    The original SQL that OBIEE generates is: ----------Takes about 20 mins to return a dozen rows
    select sum(T991020.LP Amount) as c1,
    T991021.DAYOFWEEK as c2,
    T991021.PU DATES as c3
    from RD_Grant.PU_DATES T991021, Dimension -----Huge
    PU_Grant.PU_FACTS_9 T991020 FACT ----Gigantic
    where (T991020.COMPANY = T991021.COMPANY
    and T991020.DATES = T991021.DATES
    and T991020.DATES between "10/10/2009" and "31/10/2009"
    and T991021.DAYOFWEEK = 'Sunday'
    and T991021.DATES between '09/13/2009' and '11/03/2009')
    group by T991021.PU DATES, T991021.DAYOFWEEK
    Basically I am still thinking of finding a way to force the query to scan the dimension table first (with the filter condition I defined, it will return 80 rows only from Dim table), and then use the result set of the scanning to go and look for matching records only in the fact table. Its should help speed up the query..
    Any suggestions?
    Thanks
    Edited by: user7276913 on Nov 5, 2009 7:07 PM
    Edited by: user7276913 on Nov 5, 2009 7:22 PM

  • How to use controls in silverlight direct3d interop program ?

    I'm working on convert my winrt program to silverlight program.
    And I'm using silverlight 8.1 now. The program has two part, SilverlightDirect3DInterop(C#) project and SilverlightDirect3DInteropComp(C++).
    The question is, I can't use control in SilverlightDirect3DInteropComp.
    In my program, all control are created and used by code.
    I want to use these control in SilverlightDirect3DInteropComp.
    How should I do?

    Hi Y.H.King,
    I may need to know what SilverlightDirect3DInteropComp used for, is it a runtime component in Windows Runtime, or its a simply a DLL project?
    And another question is how you create the controls in your C++ library? And how you use the control in your runtime app?
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SAP BW 7.0 - How to use control file?

    Hello experts,
    In my current project, I need to use a control file to load some flat files into BW.
    In version 3.5 we had a option in the infopackage where we could select if it was a csv or a control file.
    But in 7.0 version this option is not available anymore.
    I found this threat: Use Control File to load data in BW7.0
    But a .txt control file didn't work. Can somebody help me?
    Thanks!!!

    WS adapter can be used as Direct connection or Integrated Server Communication.  Basically this adapter will be used to make communication between two SAP System's Webservice runtime. WS adapter supports Webservice reliable messaging , SAML and more security features.  Using Direct connection you can communicate two SAP systems. In this case, you dont need any ESR objects and you just need to configure ID objects only.
    Have seen this [link|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce28613a8e5430e10000000a42189b/content.htm]
    Hope that helps

  • How to use internationalization in Label fields in Screens in OPA

    Hi
    I am very new to Oracle Policy Automation. I am developing a screen which will give the option to the user to select languages. Based on his/her selection, the next screen should display a welcome message in the language selected.
    I have two properties files (one for each language) and I have placed them inside the /classes/configuration folder.
    Now, my query is how to invoke these properties files based on user selection and what should I write in the label field so that the messages are dynamically picked up.
    Thanks in advance for the help.

    Sounds like you want to allow the end user to run the Web Determations interview in a choice of languages, based on selecting a particular language from a list at the start of the interview? If so, the right approach is to use the translation layer functionality.
    You should read the OPM Help article "Create a new language translation for a rulebase": http://download.oracle.com/docs/html/E20340_01/Content/Languages/Create_new_language_translation_for_rulebase.htm
    Cheers,
    Jasmine

  • How to use Control Key with other key as Ctrl+C

    I am using this code to access Shift key + C
    addKeyListener(new KeyAdapter()
    public void keyPressed(KeyEvent KEv)
    if(KEv.isShiftDown() && (KEv.getKeyCode() == KEv.VK_C))
    //Shift + C key down
    Please tell me how to do with Control Key?
    Vishwajeet

    addKeyListener(new KeyAdapter()
    public void keyPressed(KeyEvent KEv)
    if(KEv.isControlDown && (KEv.getKeyCode() == KEv.VK_C))
    //Cntrl + C key down
    //if u want to create a key stroke for keys with contrl combination use CTRL_MASK.

  • How to use controls in compose tab

    Hi All,
            I want to identity the users based on there validity period,is it possible in lumira ,i mean as we use alert in bo dashboard.and can we use two controls in compose tab.if yes , how???
    Thanks & regards.

    Hi,
    yes, you can put 2 input controls into a storyboard.  no problems at all.
    have you had a chance to try this yourself?  Please post up a screenshot of your issue if you've encountered a problem.
    regards,
    H

  • How to use control quantity in WM removal

    Dear All,
    In our company, there are some materials with a whole roll, that cannto be splited into partially picking.
    For example:
    Material A0001, 1000PCE in whole roll, stock 4 roll ( 4000 PCE) in one bin, now there is  a picking list required to pick 900 PCE.  We hope system can suggest to pick 1000PCE with a whole roll for this picking.
    How to set up this control quantity in WM?
    Please kindly advise,
    Thank you advance!
    Julia

    You try with Rounding off quantity in the material master data.I think you need to use the picking strategy Small/Large quantities .
    Please follow the links
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f845bb4afa11d182b90000e829fbfe/content.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f845bb4afa11d182b90000e829fbfe/content.htm]
    ht[http://help.sap.com/saphelp_erp60_sp/helpdata/en/c3/179de7c7e811d19298444553540000/content.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/c3/179de7c7e811d19298444553540000/content.htm]

  • Problem of Customizing Control Hints

    I am now working with BC4J+Uixml to demonstrate a Web .And I want to use Control hints in Object Entities for the Object Veiws which depend on them.But I dont think i can work after trying it sometimes . But i got that this problem is fixed but the fix ist not for 903,Just want to know how long we should wait until this problem is soluted or Maybe I can have another way ,thanks .

    Hi Trevi, I have tried it again . And it seems not better.Here is my code --a table and a Choice based on the same Countries EO. the table can be displayed properly but  Nothing is post to the Choice.
    <bc4j:viewObjectScope name="Countries">
    <contents>
    <bc4j:table name="CountryTable">
    <contents>
    <bc4j:column attrName="CountryId" >
    <columnHeader>
    <bc4j:sortableHeader/>
    </columnHeader>
    <contents>
    <bc4j:textInput readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="CountryName">
    <columnHeader>
    <bc4j:sortableHeader/>
    </columnHeader>
    <contents>
    <bc4j:dateField readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    </bc4j:table>
                                                                     <bc4j:messageChoice nodeID="CountryName" attrName="CountryName" >
                                                                     </bc4j:messageChoice>
    </contents>
    </bc4j:viewObjectScope>
    Where ist the problem now?
    Thanks
    Yong

  • Refresh control hints lables after change the locale

    Hello,
    I'm building a web application using ADF ( JSP/BC4J/STRUTS ).
    I want to give the user the facility to change the display language, so i made an event on a Data Action that change both HTTP session locale and Application Module session locale
    the code is :
    public void onChangeLang(DataActionContext ctx)
    Locale userLocale = getLocale(ctx.getHttpServletRequest());
    String newLang = "en";
    if ("en".equals(userLocale.getLanguage()))
    newLang = "ar";
    Locale newUserLocale = new Locale(newLang,"") ;
    setLocale(ctx.getHttpServletRequest(),newUserLocale);
    ctx.getBindingContainer().getDataControl().setLocaleContext(new DefLocaleContext(newUserLocale));
    ctx.getBindingContainer().refreshControl();
    The locale change correctly after executing this action , but the control hint labels remain as it is !!
    So how i can refresh these labels, or how i correctly change the user language based on his event ?

    Hi,
    anybody can help in this problem !!

  • Control hints for AM Client interface

    Hello,
    I am exposing a method in Application module through user interface.
    I want to configure the parameter labels as AM control hints.
    Is it possible? where can I set them?
    Thanks
    Ponraj

    Thanks Arunkumar, Its 11.1.1.5.
    If that's not possible I have to use ViewController projects resource bundle.
    I have business components such as VOs that I expose through UI. I am using control hints for the exposed fields. So I was trying to have client interface hints with in the Model project.
    Regards
    Ponraj

  • How to use Ctrl+X

    Hello friends
    I want to trap Ctrl+x to achieve some short key, I have written this code but it is not working. In this code if we change isControlDown() to isAltDown() or isShiftDown() then it is working for Alt and Shift key but not for Control Key.
    addKeyListener(new KeyAdapter() {
    public void keyPressed(KeyEvent KEv) {
    if(KEv.isControlDown() && KEv.getKeyCode() == KeyEvent.VK_X) {
                             System.out.println("Ctrl+X");
    Please help me, how to use Control Key?

    hello... I am not sure if this solve your problem but... it is not this
    if(KEv.isControlDown() && KEv.getKeyCode() == KeyEvent.VK_X)
    it this
    if(KEv.isControlDown() && (KEv.getKeyCode() == KeyEvent.VK_X))
    if not, please post the message.

  • How to use native dlls in jws

    hi,all
    I need to use native dll to read registry,I know nativelib label,but after I put the dlls to a jar,and use label <nativelib> to quote the jar,the system tell me error following:
    JNLPException[category: Security error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.LaunchDownload.checkJNLPSecurity(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    when I use jar href="..."to use this jar(This jar is packed dll files),the system tell me
    com.sun.deploy.net.FailedDownloadException: Unable to load resourcesFfile:/H:/test/dist/lib/ICE_JNIRegistry.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    and
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(Unknown Source)
         at java.util.zip.DeflaterOutputStream.close(Unknown Source)
         at java.util.zip.ZipOutputStream.close(Unknown Source)
         at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
         at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source)
         at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    now I'm not sure how to zip the dlls so that it can be used in nativelib?and how to used the <nativelib> label? just add it in the jnlp file ok?
    Thanks.

    >
    Thanks,Andrew!>Your detailed and technically specific reply is all the thanks I need ( and probably more than I deserve ;).
    I am still mulling (thinking) over your reply, there is nothing that 'jumps out at me' as being wrong with the way it is done, it all is looking like it 'should' work. The only other thing I can think to check is "did JaNeLA report any problems with it?"
    Oh hang on, wait just a second..
    If this webstart app. uses a native lib, it must declare security 'all-permissions'. See below for a 'hand written' variation to your posted JNLP file. Please make sure you validate these edits, since I did not (and I'm a little drunk, at this moment!).
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jnlp codebase="file:/H:/test/dist/" href="launch.jnlp" spec="1.0+">
        <information>
            <title>Basic Application Example</title>
            <vendor>Sun Microsystems Inc.</vendor>
            <homepage href="http://appframework.dev.java.net"/>
            <description>A simple java desktop application based on Swing Application Framework</description>
            <description kind="short">Basic Application Example</description>
        <offline-allowed/>
    </information>
    <security>
      <all-permissions />
    </security>
        <resources>
    <j2se version="1.5+"/>
    <jar eager="true" href="test.jar" main="true"/>
        <jar href="lib/appframework-1.0.3.jar"/>
    <jar href="lib/swing-worker-1.1.jar"/>
    <jar href="lib/registry.jar"/>
    <jar href="lib/swing-layout-1.0.3.jar"/>
    <nativelib href="lib/ICE_JNIRegistry.jar"/>
    </resources>
        <application-desc main-class="test.TestApp">
        </application-desc>
    </jnlp>Oh yeah, yeah. And if you could note for future posts..
    When posting code, code snippets, HTML/XML(/JNLP) or input/output, please use the code tags. To do that, select the code, then click the CODE button seen on the Plain Text tab of the message posting form. This helps to retain the indentation and formatting of the text, and also helps avoid characters in the code as being interpreted as formatting (by the 'forum software'). ..And it also makes it pretty - but perhaps I should not mention that (it seems so 'un-hacker').
    And BTW, what is that standalone=''no" attribute in the opening XML element? Are you +sure+ you validated this in JaNeLA?

Maybe you are looking for

  • Getting error when trying to login to CR XI server on suse linux server

    http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_21747694.html Hello, I'm getting the above error when I try to login as administrator (blank password). This did work until I rebooted the linux server. I checked there are no port

  • Use Applescript to have Quicktime record audio

    I need to record and store an audio file of approximately 20 minutes in length in Filemaker Pro 13. I thought I could use Applescript to Launch Quicktime to do the recording, then tell Quicktime what folder to store it in as an MP3 file. I can't seem

  • How to do Single Column Visble and Invisible

    Hi All, I tried following code for doing Column visible and invisible. But in this when i click single columne all values invisible. I want when i again click on that Column i want to bind previuse value. Means i have taken one Matrix and in that Mat

  • When Iphone6 will be released and what would be the price in india?

    Hi All, Im from India and im desperately waiting for Iphone6. If anyone knows about the expected release date in india and about the price, please let me know... Thanks K Dinesh Raja

  • How Undo functionality can be Created for curves or Line in Swing?

    Please Help! How Undo functionality can be Created for curves or Line in Swing GUI. In the Java Tutorial, Undo with Text is given. But on implementing the SIMILAR logic of Undo with Text, some Errors come with Undo is to be Created on Swing GUI on th