Help of Bean managed using the definition

I work to create a Managed Bean help for definition Help as described in "19.5.3 How to create the Managed Bean help ' section of the RPF Interface User Guide Developer Web ADF." With the help of JDev Version 11.1.2.1.0.

Thought I had all of the artifacts assembled, but when I run the message is: < ELHelpProvider > < _getTranslationMap > ELHelpProvider helpSourceExpression has the value zero.

Any suggestions would be greatly appreciated.

Here is the managed bean:
public class ELHelpProviderProjRequest extends ELHelpProvider {
    
    public ELHelpProviderProjRequest() {        
    }
    
    /* To use the HelpProvider, the EL expression in the helpTopicId attribute must point to a Map, otherwise
       * you will get a coerceToType error. */

    public Map<String, String> getHelpMap()
      {
          Iterator iterator = _HELP_MAP.entrySet().iterator();                 
          while(iterator. hasNext()){        
          System.out.println("hash map entry " + iterator.next());
           }

        return _HELP_MAP;
      }
     
    static private final Map<String, String> _HELP_MAP = new HashMap<String, String>(); 
        static {
          // each element [put] can be for a separate helpTopicId attribute 
          _HELP_MAP.put("MAPHELP_CATEGORY_CAPITAL_DEFINITION", "Map value for credit card definition");
          _HELP_MAP.put("MAPHELP_CATEGORY_OTHER_DEFINITION", "Map value for credit card instructions");          
        }
        
}  
Here's the adf - setting.xml in sources of demand / META-INF:
<?xml version="1.0" encoding="windows-1252" ?>

<adf-settings xmlns="http://xmlns.oracle.com/adf/settings" >  
  <adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/settings">
  <help-provider prefix="MAPHELP_">
    <help-provider-class>    
        com.corpnet.abc.util.ELHelpProviderProjRequest
    </help-provider-class>
    <property>
      <property-name>helpSource</property-name>
      <value>#{helpTranslationMap.helpMap}</value>
    </property>
  </help-provider>
</adf-faces-config>  
  
</adf-settings>
Here are the faces-config:
<managed-bean>
    <managed-bean-name>helpTranslationMap</managed-bean-name>
    <managed-bean-class> com.corpnet.abc.util.ELHelpProviderProjRequest </managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
  </managed-bean>
In the inputText, here is the helpTopicId component:
<af:inputText value="Test" inlineStyle="font-weight: bold;" id="it31" simple="true" helpTopicId="MAPHELP_CATEGORY_CAPITAL" readOnly="true"/>

The two following changes should take care of this issue:

(1) the managed bean should not exceed ELHelpProvider, i.e.

public class ELHelpProviderProjRequest {
...

(2) in the adf - setting.xml use oracle.adf.view.rich.help.ELHelpProvider for the help-provider-class, i.e.

...
oracle.adf.view.rich.help.ELHelpProvider
...

Tags: Java

Similar Questions

  • QuickSet C20 (software: TC5.0.0.273156) in 8.6.2.20000 - 2 Communications Manager using the SIP protocol.

    All,

    I am trying to record a QuickSet C20 with the following scenario:

    Endpoint registration C20 (software: TC5.0.0.273156) in 8.6.2.20000 - 2 Communications Manager using the SIP protocol.

    My URI format is: [email protected] / * / (the IP address of the CUCM)

    I tried different settings in CUCM and QuickSet C20, but without success.

    Status in CUCM:

    Inscription: unknown
    IP address: unknown

    Status in C20 QuickSet:

    Failure / failed to save. Unprotected. Unverified.

    Note: The C20 QuickSet Gets the correct IP address.

    Can someone help me?

    Waiting,.

    Lucian Medeiros

    I would try to use the version of the following software:
    Downloadable at:
    Not to mention that I would look at:

    In particular:

       http://www.Cisco.com/en/us/docs/Telepresence/endpoint/codec-c-series/TC5/administration_guide/cts_endpoint_administration_ucm86_quick_start_guide_tc51.PDF

  • favorite way to bean managed from the context

    I am aware of below two ways that we can use to get an instance of bean managed in the ADF:

    (A) ADFContext.getCurrent ().getScope("PageFlowScope").get ("myBean");

    (B) elFactory.createValueExpression(elctx,_"#{pageFlowScope.MyBean}",Object.class).getValue (elctx);

    I don't know, but y at - it a preference between these 2 approaches.   If there is, can someone let me know what it is.

    Thanks for your information.

    HM, I use both methods. I don't have another preference that the first is easier to remember. The 2nd way is slower that EL is first analyzed and rated then.

    Timo

  • Can I have the Profile Manager uses the name of the device used when the placement of placeholders?

    Can I have the Profile Manager uses the name of the device used when the placement of placeholders? Currently, all get renamed 'iPad' when the device through DEP configuration.

    No, but

    I was putting new devices in groups of temporary devices and renaming in bulk, once they are configured for the user, by using user variables / unit...

    The other annoying problem would be the user modifies the device name when they connect it iTunes...

    • the %destinataire% email - address email (the EMailAddress attribute)
    • first_name % - first name (FirstName attribute)
    • full_name % - full name (attribute RealName)
    • % of guid guid (GeneratedID attribute)
    • last_name % - last name (the LastName attribute)
    • the title of the post (the JobTitle attribute) %

    -% mobile_phone % the number of mobile (laptop attribute)

    • short_name % name run (the RecordName, generally the name of the account attribute)

    The variables of the unit are:

    • % BuildVersion % - full OS version on the device
    • ICCID % - ICCID (from the SIM card)
    • IMEI % - IMEI (International Mobile Equipment Identity)
    • OSVersion % - common version number of the operating system of the device
    • ProductName % - name of the product
    • SerialNumber % - serial number
    • % WIFIMAC %-MAC address of the WiFi interface
  • Hello, December 22, 2015, I paid € 144,33 on account of Adobesystem (using photoshop). I wonder what for? I got no answer, no program to install etc... Can you help me? I used the demo version with the idea that I could be updated, but

    Hello, December 22, 2015, I paid € 144,33 on account of Adobesystem (using photoshop). I wonder what for? I got no answer, no program to install etc... Can you help me? I used the demo version with the idea that I could update, but nothing.

    Download/install the desktop application, connect and install applications subscription.
    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

    Creative cloud to desktop
    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Sign out, sign in | Creative office cloud app
    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Install, update, or uninstall applications
    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

    Install creative Cloud applications
    http://TV.Adobe.com/watch/CS6-creative-cloud-feature-tour-for-video/installing-desktop-app s-of-creative-cloud.

  • Need help on how to use the conference room in adobe connect

    I need help on how to use the conference room in adobe connect?

    I would recommend you start here: Getting Started with Adobe Connect - Adobe Connect user community

  • Open Enterprise Manager using the browser on Oracle Linux

    I installed Oracle 10 g Release 2 on Oracle Enterprise (version of Enterprise Linux AS 4 (October 7 update)).

    I started the listener and enterprise manager using emctl start dbconsole command successfully.

    As I am new to linux, I don't know how to open the url EM Linux.

    What browser should I use (exact version that is compatible with the version of Enterprise Linux AS 4 (October update 7).) How do I install the browser and open enterprise manager using the browser.
    I don't even know if any browser is installed during the installation of linux. How can I check if any browser installed or not?

    No one can guess what you have installed or how you have configured your system or the installation of Oracle. The default browser for Oracle Linux 4 is Konqueror, which is not compatible with the MS Oracle dbconsole.

    You might want to try the following:

    Open a Terminal command prompt (System Applications/tools) and enter the following command:


    su - root
    cd /etc/yum.repos.d
    wget http://public-yum.oracle.com/public-yum-el4.repo
    yum -y install firefox

    To open a Firefox browser window, open the Web icon in the Menu, next to the Actions or the Applications/Internet or type firefox in an X 11 terminal window.

    The default URL for the dbconsole EM is:

    http://hostname_or_ip:5500 / em

  • Using the definition of a variable as a variable name

    I have a string variable with the definition that I use as a variable name.

    For example, it is super simple:

    var newVariable = 'it's working. "
    var partOne:String = "new";
    var partTwo:String = "Variable";
    var partThree = partOne + partTwo;

    trace ("my variable is" + partThree);

    Instead of tracing partThree literally partOne + partTwo (which traces "newVariable"), I would like to trace the definition of partOne + partTwo (which is 'it works').

    I hope this makes sense, help or advice is appreciated.

    ...
    ...
    var partThree = this partOne [+ partTwo];

    trace ("my variable is" + partThree); will the traces: my variable is it works

    TS

  • Lenovo Energy Management using the NVIDIA GPU

    How can I disable lenovo energy management to use the nvidia gpu? At the time, lenovo energy management has not used the nvidia gpu. Thank you.

    Already done with the problem. But my solution was however little stupid. I just used onekey recovery to return to the initial state and not to update my GeForce driver, now I use the stock 295.93 version.

  • W520 Power Manager uses the discrete GPU

    Hello

    for some time now, I noticed that the power (currently using 6.34) Manager activates the discrete GPU, and therefore it is impossible to control powers since they double almost as soon as the discrete GPU is activated.

    I know it worked correctly a while. Any idea what would cause this? I'm in that last Optimus driver with the latest NVidia Quadro driver added on top...

    Thank you. I found the culprit. For some reason any processor default graphics in the basic nvidia profile has been set to discreet.
    Disappointment...

  • Help create messages Syslog uses the router host name

    We currently have an IP SLA related to the EEM scripts that work great to send syslog messages to alert purposes.  However, I would like for each router that sends a syslog to send its host name using wildcards instead of the specified host name.  I'm guessing some sort of filtering would do the trick, but I can't find any good documentation on this topic.  That's what I currently have:

    ALS IP 1
    echo ICMP - 172.24.50.1 source-interface GigabitEthernet2
    threshold 250
    timeout of 1000
    frequency 5
    IP SLA annex 1 point of life to always start-time now

    !

    LAN_interface_Link_down event manager applet
    syslog "Interface GigabitEthernet2, state change downstairs" event model
    order cli action 1 'enable '.
    Action 2 syslog priority to information msg "command, LAN_interface_Link_down is running on C1-GrandView-PA-CSR1000-Recover... »
    3 wait 5 action
    Action4 cli command "configures terminal.
    action 5 'interface range t3 - 4 cli command.
    action 6 'closed' cli command
    Action 7 cli command 'end '.
    LAN_interface_Link_up event manager applet
    syslog event model "Interface GigabitEthernet2, altered state until.
    order cli action 1 'enable '.
    action 2 cli command "configures terminal.
    action 3 'interface range t3 - 4 cli command.
    Action4 "not shut" cli command
    Action 5 cli command 'end '.
    6 wait 15 action
    Action 7 syslog priority to information msg "command, LAN_interface_Link_up is running on C1-GrandView-PA-CSR1000-Recover... »
    Next_Hop_LAN_Unreachable event manager applet
    event track 10 low maxrun 40
    order cli action 1 'enable '.
    Action 2 syslog priority to information msg "command, Next_Hop_LAN_Unreachable is running on C1-GrandView-PA-CSR1000-Recover... »
    3 wait 5 action
    Action4 cli command "configures terminal.
    action 5 'interface range t3 - 4 cli command.
    action 6 'closed' cli command
    Action 7 cli command 'end '.
    Next_Hop_LAN_Reachable event manager applet
    event track 10 status place maxrun 40
    order cli action 1 'enable '.
    action 2 cli command "configures terminal.
    action 3 'interface range t3 - 4 cli command.
    Action4 "not shut" cli command
    Action 5 cli command 'end '.
    6 wait 15 action
    Action 7 syslog priority to information msg "command, Next_Hop_LAN_Reachable is running on C1-GrandView-PA-CSR1000-Recover... »

    You can use the action of information to gather the hostname:

    routername type info action 1.0

    message from syslog to action 2.0 "my name is $_info_routername.

  • Help please - component video using the same clip several times

    Hi people,

    I have a 9 minute video I want to cut into pieces and make a 3 min video. I searched the help system and Forum, but found nothing - very probably (not being is not a native speaker) looking for the wrong keywords.

    How can I add the same clip several times to a movie? If that has been resolved, I could do the rest with setting- and outpoints and would.

    Thank you in advance.

    Christoph

    You can place the clip on the timeline and use the Split Clip (small scissors under the monitor icon) to split your clip. Place the cursor where you want to trim your clip, and then click the icon of the scissors. Move the cursor to the next position, and then click the icon of the scissors again. Then press DELETE on your keyboard and that article will be deleted and the gap will be closed. If you wish, you can take small sections, you created and drag them around to change their positions.

    Once you have edited your clip, you can export the section 3 minutes as a DV - AVI to use repeatedly in your video. All you need to do to export is file > export > Movie. If you have several clips on your timeline you must place the work area bar (WAB), the gray bar above the timeline, on the section that you want to export. Then in the window export movie go into settings and for the beach, select work area bar.

    You can then reimport the 3 minute clip in your project and use it as many times as you want.

  • With the help of fluidity, while using the gel mask, suddenly the whole image became red.  Now, can not cancel to be able to work with it.  Help, please.

    I must have pressed something that does that.  The whole image is now covered in red like a gel mask.  I don't know how to cancel it.  If I cancel and try to reboot, when I load the Liquify Filter again, it takes me to the same red image.

    Try to use only a small part of the image when moving to fluidity rather than the entire document.

    Using the marquee tool, select a part of the whole image you want to edit in the fluidity.

    It is much easier for the graphics driver and the OS to process and sort of the recommended method for improved workflows.

    If you have an image open in Photoshop 80 MB, and then you open fluidity, this set 80 MB opens in fluidity.

    If you marked a small piece of the complete picture, let's say 1/8th of it, then only 10 MB gets opened in fluidity.   Computers as it is smaller.

  • Help with a sql using the ASCII value

    Hello

    I have a table with the following data
    DOC_NO     CLIENT_REV
    ------     ----------
    240          A
    240          B
    240          B
    240          C
    240          C
    240          C
    240          0
    240          1
    240          1
    240          1
    240          2
    240          2
    240          2
    241          A
    241          A
    241          B
    241          C
    241          C
    241          D
    The requirement is retur the following values:
    240          2
    241          D
    I tried with the ASCII function, but the necessary result is somewhat complicated. That is to say for a group of doc_no I need as many client_rev if there are numbers, if not then I need the largest letter.

    How can I achieve this requirement?

    Kind regards.

    Hello

    What do you mean by "the decision must be the minor doc_date?
    It would be useful that you posted your desired results.
    I assume you mean you want only the line with the doc_date lowest (for each doc_no).
    in other words, the desired results are:

        DOC_NO L DOC_DESC           DOC_DATE
    ---------- - ------------------ ---------
           240 2 Description of 240 01-JAN-09
           241 D Description of 241 01-FEB-09
    

    Here's a way to get these results:

      SELECT x.doc_no, x.last_client_rev, y.doc_desc, y.doc_date
      FROM     (     -- Begin sub-query based on table_a
         SELECT   doc_no,
                     MAX (client_rev) KEEP
                       (DENSE_RANK LAST ORDER BY TRANSLATE(client_rev
                                                           ,'ABCD012' -- Desired sort order
                                                           ,'012ABCD'  -- Actual sort order
                                                          )) AS last_client_rev
         FROM       table_a
            GROUP BY  doc_no
         ) x,
         (     -- Begin sub-query based on table_b
         SELECT       doc_no,
                MAX (doc_desc) KEEP (DENSE_RANK FIRST ORDER BY doc_date)
                             AS doc_desc,
                MIN (doc_date)     AS doc_date
         FROM       table_b
         GROUP BY  doc_no
         ) y
      WHERE x.doc_no = y.doc_no;
    

    As you restrict the table_a lines are used, so now you restrict table_b lines are used.

    First, let's review what you do with table_a.
    Table_a has multiple lines with the same doc_no.
    You only want to consider one of these lines: one that comes last, when to sort your particular way.
    If your main query does not use the table_a:
    It uses a subquery table_a-based which is a GROUP BY doc_no, to ensure that only the row by doc_no is used.

    Now, what is the problem with table_b?
    Table_b has as many rows with the same doc_no.
    You only want to consider one of these lines: the one with the lowest doc_date.
    So your main query should not use table_b:
    She must use a subquery table_b-based which is a GROUP BY doc_no, to ensure that only the row by doc_no is used.

  • Call the bean managed during the loading of the page in adf

    I had the problem in the method while the page is loading

    I've used ADF code below, but it does not work

    < af:serverListener type = "onloadEvent".

    Method="#{pageFlowScope.RequesterListOfValues.getLogonName}"/ >

    < af:clientListener method = "onLoadClient" type = "load" / >

    < af:resource type = "javascript" >

    function onLoadClient (event) {}

    AdfCustomEvent.queue (event.getSource (), "onloadEvent", {}, false);

    Returns true;

    }

    < / af:resource >

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

    The bean of Managed Code

    / public class RequesterListOfValues implements Serializable {}

    public RequesterListOfValues() {}

    Super();

    }

    private String userBPM;

    Public Sub getLogonName()

    {

    userBPM = getBpmUserName();

    }

    public String getBpmUserName() {}

    String userName = "";

    try {}

    FacesContext context = FacesContext.getCurrentInstance ();

    Ctx = string

    (String) context.getApplication () .evaluateExpressionGet (context,

    "#{pageFlowScope.bpmWorklistContext}"

    String.Class);

    IWorkflowServiceClient = workflowSvcClient

    ADFWorklistBeanUtil.getWorkflowServiceClient ();

    ITaskQueryService = wfQueryService

    workflowSvcClient.getTaskQueryService ();

    IWorkflowContext wfContext;

    try {}

    wfContext = wfQueryService.getWorkflowContext (ctx);

    userName = wfContext.getUser ();

    System.out.println ("connection name" + username + "\n");

    } catch (WorkflowException e) {}

    e.printStackTrace ();

    }

    } catch (Exception e) {}

    e.printStackTrace ();

    }

    Returns the user name;

    }

    }

    Hi user,

    You can run the method to load page helps also below, method

      
    
        public void onLoad(PhaseEvent phaseEvent) {
            if (phaseEvent.getPhaseId().equals(phaseEvent.getPhaseId().RENDER_RESPONSE)) {
                if (!AdfFacesContext.getCurrentInstance().isPostback()) {
                    onLoadExecuteEmpDeptForm();
                }
            }
        }
    

Maybe you are looking for

  • How to extend navigation history it shows less day in the history... and why is there no clear and obvious way to do this?

    This question says it all.Besides, why you let a lot of people looking to learn how to create an account? Why cannot say you at the beginning that this will be the last step in a process question ask? Does anyone have fun hostile user pervert chasing

  • Calculation of derivative of clock for the NI 9234 module

    Hello! I am relatively new to the use of material OR (and DAQ hardware in general), so this is probably going to be a really basic question. We plan to use two 9181 chassis cDAQ with two modules NI 9234 sample data on 8 physical channels simultaneous

  • Recover my system

    downloaded a trial version of windows 7, doesn't have to record it in time.  Tried to uninstall it, and it placed all my system info in a compartment on my hard drive.  I'm unable to recover or restore.  How can I get?

  • iDRAC6-&gt; idrac7 upgrade?

    Is it possible to upgrade idrac6 to idrac7? I'm afraid that they are different hardware is not only a matter of firmware/license. Am I wrong?

  • Problems with FileTransfer to Cordoba 2.6.0

    Hello I am writing a Phonegap / Cordova app that needs to download the files for a Web site in order to run. they are mostly images but some json example files. Works fine on iOS and Android, but the Blackberry 10 I get the error 10 code which is QUO