Managed Bean Help for Definition Help

I am working on creating Managed Bean Help for Definition Help as described in ‘19.5.3 How to Create Managed Bean Help’ section of the Web User Interface Developer's Guide fpr ADF. Using JDev Version 11.1.2.1.0.
Thought I had all the artifacts assembled but when I run the log message is: <ELHelpProvider> <_getTranslationMap> ELHelpProvider's helpSourceExpression is null.
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 is the adf-setting.xml in Application sources / 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 is 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>Here is the helpTopicId in the inputText component:
<af:inputText value="Test" inlineStyle="font-weight: bold;" id="it31" simple="true" helpTopicId="MAPHELP_CATEGORY_CAPITAL" readOnly="true"/>

Register the managed-bean as a help provider in the adf-settings xml like:
Example 19-9 Registering a Managed Bean as a Help Provider
<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>
oracle.adf.view.rich.help.ELHelpProvider
</help-provider-class>
<property>
<property-name>helpSource</property-name>
<value>#{helpTranslationMap.helpMap}</value>
</property>
</help-provider>
</adf-faces-config>
</adf-settings>
As you've pointed out, Review section 19.5.3 for more details -> http://docs.oracle.com/cd/E24382_01/web.1112/e16181/af_message.htm#CHDHIGIA
You could also investigate use the OHW product available here: http://www.oracle.com/technetwork/developer-tools/help/index-083946.html

Similar Messages

  • Some 'Help' for Search help

    Hi all! this time i need a simple thing. I have two parameters p_vblnr and p_chect.The firstone has a Search help that i did with se11 and the second one has a standard search help for chects. I want to create a search help for p_chect that only visualice the values related to p_vblnr parameter and <b>replace the standard search help for that field</b>.
    Ej: if p_vblnr is '10021562' i want the search help to visualice the chects related to that vblnr.
    is this possible??????
    i promise rewards points for help!!!!
    thank in advance!

    Andrew,
    Try following sample code.
      CLEAR: t_dynp_flds,
             t_dynp_flds[].
      t_dynp_flds-fieldname = 'LFA1-STCD1'. " ur first parameter
      APPEND t_dynp_flds.
      CLEAR  t_dynp_flds.
    *---  Read screen field values before PAI field transport
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname               = 'ZFFI'
                dynumb               = '1000'
           TABLES
                dynpfields           = t_dynp_flds
           EXCEPTIONS
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                invalid_parameter    = 7
                undefind_error       = 8
                double_conversion    = 9
                stepl_not_found      = 10
                OTHERS               = 11.
      IF sy-subrc EQ 0.
        READ TABLE t_dynp_flds WITH KEY fieldname = 'LFA1-STCD1'.
        IF sy-subrc EQ 0.
          MOVE t_dynp_flds-fieldvalue TO lfa1-stcd1.
        ENDIF.
      ENDIF.
      IF NOT lfa1-stcd1 IS INITIAL.
        g_stcd = lfa1-stcd1.
    Clear fields
        CLEAR : t_taxid1,
                t_taxid1[].
        t_taxid1-gap2 = space.
    Select vendor and taxids from Vendor Master table
        SELECT lifnr
               name1
          FROM lfa1
          INTO (t_taxid1-lifnr, t_taxid1-name1)
          WHERE stcd1 <> g_stcd AND
                stcd2 <> g_stcd AND
                stcd3 <> g_stcd.
          APPEND t_taxid1.
          CLEAR  t_taxid1.
        ENDSELECT.
        IF sy-subrc NE 0.
      No table entries found
          MESSAGE s001(zffi).
          EXIT.
        ENDIF.
        SORT t_taxid1 BY lifnr.
        DELETE ADJACENT DUPLICATES FROM t_taxid1 COMPARING lifnr.
        CLEAR : g_pop_idx.
    Function module to get Tax code values
        CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
             EXPORTING
                  endpos_col   = 85
                  endpos_row   = 20
                  startpos_col = 20
                  startpos_row = 10
                  titletext    = 'List of Assign Vendors'(t11)
             IMPORTING
                  choise       = g_pop_idx
             TABLES
                  valuetab     = t_taxid1
             EXCEPTIONS
                  break_off    = 1
                  OTHERS       = 2.
        IF sy-subrc EQ 0.
          READ TABLE t_taxid1 INDEX g_pop_idx.
          IF sy-subrc EQ 0.
            CLEAR : t_dynp_flds,
                    t_dynp_flds[].
        Append screen values
            t_dynp_flds-fieldname = 'G_LIFNR'.
            t_dynp_flds-fieldvalue = t_taxid1-lifnr.
            APPEND t_dynp_flds.
            CLEAR  t_dynp_flds.
        Change screen field contents w/o PBO
            CALL FUNCTION 'DYNP_VALUES_UPDATE'
                 EXPORTING
                      dyname               = 'ZFFI'
                      dynumb               = '1000'
                 TABLES
                      dynpfields           = t_dynp_flds
                 EXCEPTIONS
                      invalid_abapworkarea = 1
                      invalid_dynprofield  = 2
                      invalid_dynproname   = 3
                      invalid_dynpronummer = 4
                      invalid_request      = 5
                      no_fielddescription  = 6
                      undefind_error       = 7
                      OTHERS               = 8.
            IF sy-subrc NE 0.
              CLEAR : t_dynp_flds,
                      t_dynp_flds[],
                      lfa1-lifnr,
                      lfa1-stcd1,
                      lfa1-name1.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    -Anu

  • Reg:help for f4 help

    hi,
    i want create f4 help for MSEG-MBLNR on selection screen.
    please give solution for that

    hi,
    thanks for ur reply,
    that is working. but here my requirement is on selection screen i am give doc.year (mjahr)and plant( werks) based on that
    i need to get material doc no(mblnr)

  • Help for search help and currency and quantity fields

    hi,
    please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
    regards
    raj.

    Hi Rachu,
    Welcome To SDN
    Help On Search Help
    Go to se11
    Select radio button Search help
    click on create
    and select elementary seacrh help
    selection method---->tablename or viewname
    press f1 in search help exit we will get a FM named as
    F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
    come to se11
    and in our seacrh help we will pass components of the search help
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
    Help On Currency and Quantity Fields:
    Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
    If suppose you are creating a table for Employee. And suppose that fields would be like :
    EMPID -
    employee id
    EMPNAME
    employee name
    DEPARTMENT --- department
    SALARY -- salary ( Data Type u2013 CURR )
    WEIGHT -
    weight of the employee ( Data Type -- QUAN )
    Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
    CURRKEY --- Data Type ( Cuky )
    Quantity --- Data Type ( Unit )
    Now we have to attach the field Currkey to the field Salary
    And the field Quantity to the field Weight
    So when u create a table you can see a tab Currency / Quantity fields.
    Here You can give the reference table and the reference field against the salary and weight fields.
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074

  • Help for F4 help using MVC

    Hello Friends,
         Can anyone help me to implement F4 Help for input field  Using MVC?   I have created 2 views , one for Input field and other for F4 Help Pop-up. This two Views has there respective controllers and one model class.
    can anybody provide some sample code?

    Hi vinay
    Search in sdn you can find solution.
    Check the following link
    [F4 help using MVC|https://help.sap.com/saphelp_sem320bw/helpdata/en/fb/fbb84c20df274aa52a0b0833769057/frameset.htm]
    Hope thi shelps you
    Regards,
    Rajani

  • JSP/Bean difference for internalization (Help)

    I am struggling with for last few hours. All I am doing is
    public class Text extends Object implements Serializable {
    public static Hashtable ht = new Hashtable();
    public static void initL10N(){
    public static String xyz = "&#2310;&#2346;&#2325;&#2375;";
    ht.put("hindi",xyz);
    in a JavaBean and trying to access the string in a Jsp Out.jsp as <%=Text.ht.get("hindi")%> I am getting Junk characters.
    But to my surprise: If I do that in a jsp: as (since I declared the ht as public static it's accessable to the new JSP called L10NInit.jsp
    <%
    Text.ht.put("hindi2","&#2310;&#2346;&#2325;&#2375;")l
    %>
    and execute the Out.jsp and then execute my orginal jsp to get the string as <%=Text.ht.get("hindi2")%> it displays beautifully.
    I tried every thing else before turning to this forum. Please help.
    Environment: NetBeans5.5

    Hi,
    You need to do native2ascii conversion before you complie.
    public class Text extends Object implements Serializable {
    public static Hashtable ht = new Hashtable();
    public static void initL10N(){
    public static String xyz = "&#2310;&#2346;&#2325;&#2375;"; *<- It will work if you put as* "\u0906\u092a\u0915\u0947" :-), just a tricky one..:-)
    ht.put("hindi",xyz);
    in a JavaBean and trying to access the string in a Jsp Out.jsp as <%=Text.ht.get("hindi")%> I am getting Junk characters.
    But to my surprise: If I do that in a jsp: as (since I declared the ht as public static it's accessable to the new JSP called L10NInit.jsp
    <%
    Text.ht.put("hindi2","&#2310;&#2346;&#2325;&#2375;") <- here also put them as escaped unicode characters using native2ascii tool of java.
    %>
    Regards,
    Shankar

  • Dictionary will not respond to most words typed in for definition  Help. .

    This relates to the msg I have already entered on this forum but I could not edit it. I found out that a number or words are not in the dictionary so not only will it not show the definition but it is not indicated that it has the word in the dictionary at all. On my dictionary diacritical shows up four different ways but on the other computer nothing will show up. Or some words will show up on the panel but you can not click on them to get a definition.

    Log back in to the account in which you are having trouble with Dictionary. Quit Dictionary, then move the file, com.apple.Dictionary.plist from the /Users/yourusername/Library/Preferences/ folder to the Desktop. Log out and then back in (to the original account) or restart (into the original account).
    Moving the .plist (Property List, or Preference) file to your Desktop will cause a new .plist file to be generated. Sometimes a .plist file suffers some sort of corruption which affects the associated application and deleting it sets things straight again.
    If, after you restart or log out/in, you find that Dictionary.app is working as expected, trash the .plist file from your Desktop. The reason you don't trash it beforehand is that if a new file is not generated, you have the old one to put back.

  • Help for F4 help

    I paint a listbox on screen . I want to show three fields in the listbox . But only 2 field can be showed in the listbox. why?
    The source code is :
    module set_datalist input.
    data:begin of itab occurs 0,
        BNAME like USR02-BNAME,
        GLTGV like usr02-gltgv,
        GLTGB like usr02-gltgb,
    end of itab.
    select   * from usr02 into corresponding fields of table itab.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'BNAME'
                value_org       = 'S'
            TABLES
                value_tab       = itab
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
    endmodule.                 " set_datalist  INPUT
    when itab has 2 fields ,for example
    data:begin of itab occurs 0,
        BNAME like USR02-BNAME,
        GLTGV like usr02-gltgv,
       GLTGB like usr02-gltgb,    "  delete the field
    end of itab.
    the listbox has value,  but define 3 fields ,the listbox has no value,for example:
    data:begin of itab occurs 0,
        BNAME like USR02-BNAME,
        GLTGV like usr02-gltgv,
        GLTGB like usr02-gltgb,   
    end of itab.
    My SAP version is 4.6c. Could you pls help me?

    HI,
    try this code  
    *& Report  ZZZ_TESTING
    REPORT  ZZZ_TESTING.
    TYPE-POOLS: VRM.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    TYPES: BEGIN OF T_BELNR,
      LIFNR TYPE LIFNR,
      BELNR TYPE BELNR_D,
      END OF T_BELNR,
      T_IT_BELNR TYPE STANDARD TABLE OF T_BELNR.
    DATA: GIT_BELNR TYPE T_IT_BELNR,
          GWA_BELNR TYPE T_BELNR,
          G_BELNR TYPE BELNR_D,
          G_COUNT TYPE I.
    CLEAR: GWA_BELNR, G_BELNR, G_COUNT.
    REFRESH: GIT_BELNR.
    CALL SCREEN 1.
    *&      Module  FILL_DATA  OUTPUT
          text
    MODULE FILL_DATA OUTPUT.
      G_COUNT = G_COUNT + 1.
      IF G_COUNT = 1.
        SELECT  LIFNR BELNR
          FROM BSIK
          INTO TABLE GIT_BELNR
          WHERE LIFNR = '0000000401'
          OR LIFNR = '0000000425'.
        LOOP AT GIT_BELNR INTO GWA_BELNR.
          VALUE-KEY = GWA_BELNR-BELNR.
       VALUE-TEXT = 'VENDORNAME'.
       VALUE-TEXT = VALUE-TEXT + 1.
          APPEND VALUE TO LIST .
        ENDLOOP.
        NAME = 'GWA_BELNR-BELNR'.
        CALL FUNCTION 'VRM_SET_VALUES'
          EXPORTING
            ID     = NAME
            VALUES = LIST[].
      ENDIF.
    ENDMODULE.                 " FILL_DATA  OUTPUT
    *&      Module  STATUS_0001  OUTPUT
          text
    MODULE STATUS_0001 OUTPUT.
      CASE SY-DYNNR.
        WHEN '0001'.
          SET PF-STATUS 'GUISTATUS'.
         SET TITLEBAR 'TESTING'.
      ENDCASE.
        ENDMODULE.                 " STATUS_0001  OUTPUT
    *&      Module  USER_COMMAND_0001  INPUT
          text
    MODULE USER_COMMAND_0001 INPUT.
      CASE SY-UCOMM.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0001  INPUT
    *&      Module  display_value  INPUT
          text
    MODULE DISPLAY_VALUE INPUT.
      G_BELNR = GWA_BELNR-BELNR.
    ENDMODULE.                 " display_value  INPUT
    reward points if helpful
    regards,
    venkatesh

  • Setting bind variable for a view object from the Managed Bean

    Hi,
    i am using JDeveloper 11g, i have to create LOV in the JSF. To show the LOV, it has to populate data using View object and its query parameter need to be sent from the Managed Bean.
    For the View object i want to set the bind variable parameter from the managed bean value. bename is stored in a managed bean (session scope)
    #{beantest.bename}
    But it gives the following exception.
    JBO-29000: Unexpected exception caught:
    org.codehaus.groovy.control.MultipleCompilationErrorsException,msg=startup failed, Script1.groovy: 1: expecting '!',found '{'@ line1, column 2.
    I have followed the link http://kr.forums.oracle.com/forums/thread.jspa?threadID=615474 like Frank wrote on 8.2.2008:
    But steps are not clear.
    How to input the VO bind parameter with Managed bean variable?
    Any Help
    Regards
    Raj
    Edited by: user9928180 on Dec 17, 2008 9:51 AM

    Hi,
    a bind variable in a VO needs to be exposed as an executeWithParams operation in the pageDef file. Just add a new action binding to the pageDef file (context menu) and select the executeWithParams operation on teh VO. Then in the argument field, reference the managed bean property for the value
    Frank

  • How can we provide F4 help for parameter field.

    Hi All,
    How can I provide F4 help for parameter field.
    Regards,
    Amar

    hi,
    different ways of applying search help are :
    you can use anyone:
    1)   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    or
    2) 
    can follow these simple steps for search help:
    go to se11==> put some name after ticking search help radiobutton==> create==>
    then tick " elementery search help " and press enter ===>then put description and table name in selection method ===>then put the field on which u want search help
    in search help parameter==> tick IMP EXP ==> write 1 in lpos and spos===>save and activate===> double click on table name ===>  select that field and press *search help tab* above===> then copy
    3 )
    methods of applyind search help:
    For search help sometimes we use MATCHCODE----->when we apply it directly to parameter or select option.they are obselete now ii.For search help sometimes we CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' ??------->if we want to populate data of internal table as search help.
    iii.For search help sometimes we declare tablename-fieldname in selection?------>if that field in that table is having seach help or check table ..F4 will be avaliable directly.
    also:
    Fixed value of domain can also work as search help.
    i hope it will help u a lot
    thaks and regards
    rahul sharma

  • How to call partial trigger on JSFF component from separate managed bean?

    Guys and Gals,
    Using JDev 11.1.1.2.0. Looked on the forums and google. Initial results aren't so great.
    Is it possible to call a PPR on a JSFF component from a separate managed bean? It seems calling the FacesContext in this instance calls the root JSPX, which only contains one child: the RichDocument.
          UIComponent component =
             FacesContext.getCurrentInstance().getViewRoot().findComponent("pc1:table1");
          if (component != null)
             AdfFacesContext context = AdfFacesContext.getCurrentInstance();
             context.addPartialTarget(component);
          System.out.println(FacesContext.getCurrentInstance().getViewRoot().getChildCount());Returns 1 :(
    Ideas for a workaround?
    Edited by: LovettWB on Nov 17, 2010 3:39 AM
    Edited by: LovettWB on Nov 17, 2010 4:11 AM
    Edited by: LovettWB on Nov 17, 2010 4:12 AM

    Thanks! Joonas, you've been a great help.
    The code on the page you referenced was close, but the code on a page referenced in the user comments was even better:
    http://www.jroller.com/mert/entry/how_to_find_a_uicomponent
    My region is located in a facet, which the page you posted doesn't quite cover, but the page above fixed that. Here's the fix below:
    In Managed Bean
          // search for the region ID (or task flow) in the base page
          UIComponent base = jsfUtils.findComponentInRoot("dynamicRegion");
          // now find component ID from within that region
          UIComponent partTable = jsfUtils.findComponent(base, "partTable");
          // call PPR on your found component
          AdfFacesContext.getCurrentInstance().addPartialTarget(partTable);In JSFUtils utility class
       // used to locate region.  Could also find any component
       // located in the base ViewRoot()
       public static UIComponent findComponentInRoot(String id) {
        UIComponent component = null;
        FacesContext facesContext = FacesContext.getCurrentInstance();
        if (facesContext != null) {
          UIComponent root = facesContext.getViewRoot();
          component = findComponent(root, id);
        return component;
        // Recursive method which finds your component within JSFF
        // regardless of facet or other UIComponents which may have children
    public static UIComponent findComponent(UIComponent base, String id) {
        if (id.equals(base.getId()))
          return base;
        UIComponent kid = null;
        UIComponent result = null;
        Iterator kids = base.getFacetsAndChildren();
        while (kids.hasNext() && (result == null)) {
          kid = (UIComponent) kids.next();
          if (id.equals(kid.getId())) {
            result = kid;
            break;
          result = findComponent(kid, id);
          if (result != null) {
            break;
        return result;
    }Good stuff to know!

  • Dynamic Declarative Component managed bean returned null

    Hi,
    In a project from an application a DDC component is defined. This component uses a managed/backing bean with view scope.
    Using this component inside this project is working fine. This component should be used in other view controller projects, and here where the problems are.
    This project(let's call it Common) is deployed as ADF Library jar, and used in the other V-C projects.
    The big problem is that the managed bean defined for the logic of this component is not 'reacheable'.
    (Another problem is that the attribute value is not seen as its EL expression but as string, for this i found a workaround.)
    In project Common the adfc-config.xml file:
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <managed-bean id="__4">
        <managed-bean-name id="__2">ExtendedShuttle</managed-bean-name>
        <managed-bean-class id="__1">com.xyz.portal.taskflow.common.extendedshuttle.ExtendedShuttle</managed-bean-class>
        <managed-bean-scope id="__3">view</managed-bean-scope>
      </managed-bean>
    </adfc-config>A part from component declaration:
          <af:table var="row" rowBandingInterval="0" id="ta"
                                  rowSelection="multiple" columnStretching="last"
                                  disableColumnReordering="true" fetchSize="-1"
                                  binding="#{viewScope.ExtendedShuttle.allItemsTable}"
                                  value="#{viewScope.ExtendedShuttle.allModel}"
                                  partialTriggers="::dc_cb5 ::dc_cb3"
                                  filterVisible="true"/>The root exception is :
    javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
    This exception is throw on com.sun.faces.application.ApplicationImpl.createComponent when *#{viewScope.ExtendedShuttle.allItemsTable}* is evaluated.
    Caused By: javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:262)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createFacet(UIComponentClassicTagBase.java:510)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:661)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:70)
         at oracle.adfinternal.view.faces.taglib.UIXTableTag.doStartTag(UIXTableTag.java:41)
         at oracle.adfinternal.view.faces.unified.taglib.data.UnifiedTableTag.doStartTag(UnifiedTableTag.java:50)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
    Caused By: javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:262)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createFacet(UIComponentClassicTagBase.java:510)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:661)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:70)
         at oracle.adfinternal.view.faces.taglib.UIXTableTag.doStartTag(UIXTableTag.java:41)
         at oracle.adfinternal.view.faces.unified.taglib.data.UnifiedTableTag.doStartTag(UnifiedTableTag.java:50)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
    Caused by: javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:133)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:259)
    Can you help figure it out, why is not working or why the managed bean is not visible in other projects but only in the one where the component is defined?
    Thank you for your time,
    Bogdan
    ps: how can i format the source code, on this fourm?

    Hi Frank,
    Thank you for the answer.
    I must say i'm quite new with ADF technology and maybe my questions are silly.
    Here is a Quote from "Oracle Fusion Developer Guide - Building Rich Internet Application with Oracle ADF" by Frank Nimphius and Lynn Munsinger Chapter 15 page 498:
    "You build dynamic declarative components *instead* of tag library based declarative components, if component resuse is required *only within the application* that has the component defined."
    Maybe i misunderstand the meaning of application from this sentence, but i need this component in several ViewController projects from only one application (ADF application).
    Tag lib declarative component I would not like to have, since the (automtically) build process is not my responsability and it will take some time till is pinpointed, but still is a last resort.
    Anyway two things are strange:
    1. Why the component is still available in other projects(and the beans not)?
    2. Why when a binding variable (for example: of type FaceCtrlHierBinding) has the correct type in the declarative project and in the order projects is of type String and its value is the variable name?
    Example:
    <af:declarativeComponent ...
    AllItems="#{bindings.Action}"
    In project where the component is declared its value is an instance of FacesCtrlHierBinding and in the rest of the projects is of type String with value "Action".
    Once again thank you a lot,
    Bogdan

  • Selected node in a tree table (via Data Controls and not managed bean)

    I am facing some problems in getting the selected row in a tree table.I have used data controls for creating the tree on the page.
    I have 3 POJO's,ex; Class AB which has a list of Class CD.And Class CD has a list of class EF. (Used for the tree table)
    Now i have a java class, called MyDelegate.java which has a list of AB.I generated data controls off this MyDelegate class and have dropped the ABlist as a tree table (also displaying CD and EF in the tree table).
    It displays fine with nodes of AB,CD (child of AB)and EF(child of CD)
    The tree table is not bound to any managed bean.
    For performing actions on the tree, i create a method - "doSomething() in the delegate class",generate data controls and drop it as a button.
    Inside doSomething(), i need acess to the selected node in the tree (it can be a node of type AB or CD or EF).
    The problem: I always get access to the node of type AB, and not the child nodes no matter what i click in the tree table.
    doSomething(){
    DCBindingContainer dcBindingContainer = (DCBindingContainer)ADFUtil.evaluateEL("#{bindings}");
    DCIteratorBinding dcTreeIteratorBinding = dcBindingContainer.findIteratorBinding("lstABIterator");
    RowSetIterator rowTreeSetIterator = dcTreeIteratorBinding.getRowSetIterator();
    DCDataRow rowTree = (DCDataRow)rowTreeSetIterator.getCurrentRow();
    if (rowTree.getDataProvider() instanceof AB) {
              //do something
              AB selectedAB = (AB)row.getDataProvider();
    } else if (rowTree.getDataProvider() instanceof CD){
              //do something
    } else if (rowTree.getDataProvider() instanceof EF) {
              // do something
    How do i access the "selected child node of the tree table" here in the delegate class method? Pls help.

    Hi Frank,
    Thanks for the response. In my case, i dont have a managed bean, so i am slightly unsure how to do it.
    There is a mention "Note that another way to access the treeTable component at runtime is to search for it in JavaServer Faces UIViewRoot. This latter option allows you to write more generic code and does not require to create a page dependency to a managed bean"
    How do i use this adf view root (without a managed bean) to get hold of the selected row in the tree table. Pls help.
    Thanks.

  • How to get ADF UI Component value in managed bean

    JDev version 11.1.1.1.3.0
    I have written a managed bean method and calling that method on valueChangeEvent of a Select boolean Checkbox ADF Component.
    I want to retreive the value of some other component located in the same page as the checkbox. I need the value of the component into the manged bean. I know how to get the value of the checkbox eg:
    public void selectCheckBoxListener(ValueChangeEvent evt){ 
    boolean selectedValue = (Boolean)evt.getNewValue();
    String oldvalue = (String)evt.getOldValue();
    How can I access the value of an input text component in the above managed bean ? Can someone help on this?

    Hi Sackam,
    String selectedRowId = (String)(evt.getComponent().findComponent("rowId")).getAttributes().get("value");
    The above coding will work fine
    but wht u have specified rowId???? whether the "value" field is inside a af:table????? if so i have doubt on the above code's working.....
    Regards,
    Suganth.G

  • About Using the managed-bean Element

    Initializing Managed Bean Properties
    why referenced bean can't instantiate? Please help.
    <managed-bean>
    <managed-bean-name>customers</managed-bean-name>
    <managed-bean-class>test.Customers</managed-bean-class>
    <managed-bean-scope> session</managed-bean-scope>
    <managed-property>
    <property-name>mailingAddress</property-name>
    <value>addressBean</value>
    </managed-property>
    </managed-bean>
    managed-bean>
    <managed-bean-name>addressBean</managed-bean-name>
    <managed-bean-class>test..AddressBean</managed-bean-class>
    <managed-bean-scope> none </managed-bean-scope>
    </managed-bean>

    Hi,
    Maybe this helps:
    When you create an object that points to other objects, do not try to point to an object with a shorter life span.
    A scope of "none" means that the bean is created only when something else references it.
    The life span is in this order: none, application, session, request .
    Best regards,
    Nick

Maybe you are looking for