12.c and Attribute Value

Hi,
I am using the latest version of JDeveloper 12c. In previous releases, when you have a list of values in one of your view attributes, inf you use the expression #{bindings.yourLOV.inputValue} you would receive the id rather the String representing your selection. The way to get the actual string is using the AttributeValue instead.
However, in this version AttributeValue is returning the same thing than inputValue. Can you please help me out here?
Regards

Hi,
Does it work if you set the property valuePassThru to true? Also, check out this blog : https://blogs.oracle.com/adf/entry/getting_selected_value_from_selectonechoice
-Arun

Similar Messages

  • Urgent help ----problem of component id and attribute value

    I want to produce a dynamic menu that compoment id and attribute value will be dynamic assigned when logon to system. That means i have to use id="#{aid}" and value="#{avalue}" in following codes.
    The problem are:
    1. Component id looks only accepts constant (hard code data) insteads of varable. I changed id="ADMIN", and it works. It can be empty, and tag will give me one. Therefore, it is not too much affected me.
    2. The f:attribute value, when value="Value" works. However, when value="#{avalue}", first time works, second time it throws Illegal State Exception. I really need this value be assigned by varable.
    Can anyone help me out?
    ----------------------------------------------Code----------------------------------------------
    <h:command_link id="#{aid}" action="#{Action.action}" >
              <f:action_listener type="my.MenuListener"/>
              <h:output_text value="Logon"/>
              <f:attribute name="COMMAND" value="#{avalue}"/>
    </h:command_link>

    -----------2 TreeMenu---------------
    public class MenuTree implements Serializable{
    private String treeId = null;
    private String name = null;
    private Map submenus = new TreeMap(); // name as key, submenu is value;
    private String actionClass = null;
    private boolean isLeaf = false;
    private boolean isRoot = true;
    private MenuTree parent = null;
    public boolean isRoot() {
         return isRoot;
    public void setRoot(boolean root) {
         isRoot = root;
    public MenuTree(){
    public MenuTree getParent(){
         return parent;
    public void setParent(MenuTree parent){
         this.parent = parent;
         if(parent != null) parent.putSubmenu(treeId, this);
         isRoot = false;
    public String getName() {
         return name;
    public void setName(String name) {
         this.name = name;
    public Map getSubmenus() {
         return submenus;
    public boolean getIsNode(){
         return submenus.size() > 0;
    public void putSubmenu(String name, MenuTree menu){
         submenus.put(name, menu);
         * @return Returns the isLeaf.
         public boolean getIsLeaf() {
              return isLeaf;
         public boolean getIsRoot() {
              return isRoot;
         * @param isLeaf The isLeaf to set.
         public void setLeaf(boolean isLeaf) {
              this.isLeaf = isLeaf;
         * @param submenus The submenus to set.
         public void setSubmenus(Map submenus) {
              this.submenus = submenus;
         * @return Returns the actionClass.
         public String getActionClass() {
              return actionClass;
    public void setActionClass(String actionClass) {
         this.actionClass = actionClass;
         public String getTreeId() {
              return treeId;
         * @param id The id to set.
         public void setTreeId(String treeId) {
              this.treeId = treeId;
    ------------3 JSP if want to test change subview to view. I am sure the treeId have value---------------------
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <% request.setAttribute("CONTEXT_PATH", request.getContextPath()); %>
    <LINK rel="stylesheet" type="text/css" href='<c:out value="${requestScope.CONTEXT_PATH}"/>/style/menutree.css'/>
    <SCRIPT type='text/javascript' src='<c:out value="${requestScope.CONTEXT_PATH}"/>/js/hideshow.js'></SCRIPT>
    <!--f:loadBundle basename="bundle.common.Menu" var="bundle"/-->
    <f:subview id="userMenuView">
    <h:form id="userMenuForm">
    <c:set var="root" value="${sessionScope.menuTree}"/>
    <table class="" width="150px" bgcolor="blue">
    <c:forEach var="menuBar" begin="0" items="${root.submenus}">
    <c:set var="menu" value="${menuBar.value}"/>
         <tr>
         <td>
         <c:choose>
              <c:when test="${menu.isLeaf}">
                   <c:set var="menuJSF" value="${menu}" scope="request"/>
                   <h:command_link action="#{Action.action}">
                        <f:action_listener type="com.nusino.web.listener.menu.MenuListener"/>
                        <h:output_text value="#{menuJSF.name}"/>
                        <f:attribute value="#{menuItemJSF.treeId}">
                   </h:command_link>
              </c:when>
              <c:otherwise>
                   <span class="" onclick="javascript:hideshow('<c:out value="${menu.treeId}"/>')">
                        <c:out value="${menu.name}"/>
                   </span>
                   <div id='<c:out value="${menu.treeId}"/>' >
                   <table class="">
                   <c:forEach var="submenu" begin="0" items="${menu.submenus}">
                        <c:set var="menuItem" value="${submenu.value}"/>
                        <tr>
                        <td>
                        <c:choose>
                             <c:when test="${menuItem.isLeaf}">
                                  <c:set var="menuItemJSF" value="${menuItem}" scope="request"/>
                                  <h:command_link action="#{Action.action}">
                                       <f:action_listener type="com.nusino.web.listener.menu.MenuListener"/>
                                       <h:output_text value="#{menuItemJSF.name}"/>
                                       <f:attribute value="#{menuItemJSF.treeId}">
                                  </h:command_link>
                             </c:when>
                             <c:otherwise>
                                  <span class="" onclick="javascript:hideshow('<c:out value="${menuItem.treeId}"/>')">
                                  <c:out value="${menuItem.name}"/>
                                  </span>
                                  <div id='<c:out value="${menuItem.treeId}"/>' >
                                       <table class="">
                                            <c:forEach var="item" begin="0" items="${menuItem.submenus}">
                                                 <c:set var="itemObj" value="${item.value}"/>
                                                 <tr>
                                                 <td>
                                                 <c:choose>
                                                      <c:when test="${itemObj.isLeaf}">
                                                      <c:set var="itemObjJSF" value="${itemObj}" scope="request"/>
                                                           <h:command_link action="#{Action.action}">
                                                                <f:action_listener type="com.nusino.web.listener.menu.MenuListener"/>
                                                                <h:output_text value="#{itemObjJSF.name}"/>
                                                                <f:attribute value="#{itemObjJSF.treeId}">
                                                           </h:command_link>
                                                      </c:when>
                                                      <c:otherwise>
                                                           <span class="">
                                                           <c:out value="${itemObj.name}"/>
                                                           </span>
                                                      </c:otherwise>
                                                 </c:choose>
                                                 </td>
                                                 </tr>
                                            </c:forEach>
                                       </table>
                                  </div>
                             </c:otherwise>
                        </c:choose>
                        </td>
                        </tr>
                   </c:forEach>
                   </table>
                   </div>
              </c:otherwise>
         </c:choose>
         </td>
         </tr>
    </c:forEach>
    </table>
    <script language= "javascript" >
         function prehide(){
              <c:forEach var="menuBar" begin="0" items="${root.submenus}">
                   <c:set var="menu" value="${menuBar.value}"/>
                   <c:if test="${!menu.isLeaf}">
                        hide('<c:out value="${menu.treeId}"/>');
                        <c:forEach var="submenu" begin="0" items="${menu.submenus}">
                             <c:set var="menuItem" value="${submenu.value}"/>
                             <c:if test="${!menuItem.isLeaf}">
                                  hide('<c:out value="${menuItem.treeId}"/>');
                             </c:if>
                        </c:forEach>
                   </c:if>
              </c:forEach>
         if(document.all){
              prehide();
    </script>
    </h:form>
    </f:subview>

  • Attributes and attribute values for a Product

    Hi all
    Is there any table or FM from where I can get a list of all the attributes and the attribute values linked to a particular product?
    I got tables which link product with Prod Category, Prod Category with Set types and so on.
    Could anyoe please provide me an FM which will give the attribute and its values for a particular product?
    Please help!!
    Regards
    Debolina

    Attributes created under s settype will be under the table with the name of that particular settype itself i.e Table name and the settype name are the same.
    The other part of your question of where to find the list of all settypes and their corresposing attributes, you can make use of COMM_PR_FRG_REL.
    Regards,
    Harshit

  • Fetch attribute value of structure node

    Dear All,
    Please let me know is it possible to get the attribute name and attribute value of a structure node of a record model inside the program?
    Can I give any name as the attribute name?
    Regards,
    Biju K George

    Hi,
    could you provide an example ?
    I think you speak about using field-symbol.
    --> get the attributes of a structure or a table --> same has field catalog for ALV
    --> get the value of the attributes :
    concatenante structure_mane attribute_name into w_field separated by '-'.
    assign (w_field) to <field>
    check <field> is assigned.
    and <field> is the value of the attribute attribute_name of the structure structure_name.
    regards
    Fred

  • Passing multiple parameters to attribute value

    Hi All,
    My requirement is, the notification message should get a link, by clicking the user should navigate to the form. I kept the attribute type as form and attribute value as INV_INVIDITM:ITEM_ID=41817 where inv_inviditim is the form function name and item_id is the parameter.
    The problem is when passing multiple parameters. I am passing multiple parameters as INV_INVIDITM:ITEM_ID=41817&ORG_ID=204.
    Can any one help me to solve the above problem?
    Thanks is advance.
    Srinivas

    Try a different Database driver...

  • Parsing XML data stored as CLOB in DB and save attribute values in table

    Hello,
    I have a CLOB column in table that is holding XML data as follows,
    <banners>
    <banner-image id="0">
    <type>BANNER</type>
    <local-path>http.gif</local-path>
    <click-through-url>www</click-through-url>
    <make>Acura</make>
    </banner-image>
    <banner-image id="1">
    <type>BANNER</type>
    <local-path>http.gif</local-path>
    <click-through-url>gfrty</click-through-url>
    <make>BMW</make>
    </banner-image>
    </banners>
    Now I need to parse thru the above XML data and pull the attribute values to store in another table as follows,
    BANNER_IMAGE_ID | TYPE | LOCAL_PATH | CLICK_URL | MAKE
    0 | BANNER | http.gif | www | Acura
    1 | BANNER | http.gif | gfrty | BMW
    And XML data doesn't always end up with 2 rows in this table....some times it may be 3 or 4 as well. It is just that in this example it ended up with 2 rows.
    So, I would appreciate if someone can help me find a generic way of doing this,
    Thank you in advance,
    Madhu.

    This is not a reply.. sorry.
    I took have a similar problem only..
    can you pls help me
    XML structure.
    <PODetails>
    <POHeader>
    <CurrencyID>INR</CurrencyID>
    <ExchangeRate>1</ExchangeRate>
    <RefNo>0080000110</RefNo>
    <VendorID>1200</VendorID>
    <TransDate>2006-12-20</TransDate>
    <DocRelationshipId>PURCHASE</DocRelationshipId>
    <LocationID>0000102327</LocationID>
    </POHeader>
    <POItemDetails>
    <ItemID>ARSH1332</ItemID>
    <Size>L HS</Size>
    <Quality>Q1</Quality>
    <CustPO>rush order</CustPO>
    <UOM>PC</UOM>
    <Quantity>3.000</Quantity>
    <PriceValue>2509.5</PriceValue>
    <TaxAmount>0.00</TaxAmount>
    </POItemDetails>
    <POItemDetails>
    <ItemID>ARSH1332</ItemID>
    <Size>M HS</Size>
    <Quality>Q1</Quality>
    <CustPO>rush order</CustPO>
    <UOM>PC</UOM>
    <Quantity>2.000</Quantity>
    <PriceValue>1673</PriceValue>
    <TaxAmount>0.00</TaxAmount>
    </POItemDetails>
    <POItemDetails>
    <ItemID>ARSH1556</ItemID>
    <Size>39FS</Size>
    <Quality>Q1</Quality>
    <CustPO>rush order</CustPO>
    <UOM>PC</UOM>
    <Quantity>1.000</Quantity>
    <PriceValue>836.5</PriceValue>
    <TaxAmount>0.00</TaxAmount>
    </POItemDetails>
    </PODetails>
    The DB is ORACLE 9i
    This is stored in a XML table of type XMLTYPE.
    THIS I USED THE .extract function to get the values of the nodes.
    POHeader details are working fine. But when i get the POItemDetails i am getting 'ARSH1332ARSH1332ARSH1556' when i issue the command
    select a.extract('/PODetails/POItemDetails/ItemID/text()').getStringVal() ItemID
    FROM xmltable a
    WHERE a.existsnode('//POItemDetails/ItemID')=1
    Pls Help..
    Regds,
    Santhoshkumar.G.

  • Tricky! Change of navi-attribute values in ABAP and use in selections

    Hi gurus,
    now I have a teaser that really keeps me busy, and which might be interesting for some of you:
    we use several statuses in our <u>Demand Planning in SCM 5.0</u>, some of which can be switched by using a user-function macro which just basically is a ABAP function module that <u>changes navigation attribute values directly on the database</u>, meaning in the master data tables of the respective characteristic.
    Now, the code works, the values are changed accordingly, leaving the data set in object status "active" - <b>BUT</b>:
    <i>when we call a selection, it still shows the old values, even after activating master data or running the attribute change run!</i>
    This is not what we expected. Our wish was, that once the table was updated with the correct field values, we would also see them in our selections.
    <u>Details:</u>
    we have two statuses as navi-attributes to an article:
    <i>DP:</i> YES/NO, and
    <i>oDP:</i> YES/NO
    Combinations originally are: <i>DP</i> YES/<i>oDP</i> NO
    After the status change macro, the table shows the following, as expected:
    <i>DP</i> NO/<i>oDP</i> YES
    As we have two selections, one on DP status "YES", the other one on oDP status "YES", we would like to see the article vanish in the first selection and show up in the other one...
    Does anybody have an idea what is wrong and what we can do to have to proper navi-attribute values from the master data table in the selection? Does the selection not read from the database but from a buffer?
    Looking forward to your answers,
    Klaus

    Hi Fabrice,
    yes indeed, I did check the object version, and it is A.
    Problem is, the function module changes the data record which is "A" anyway. So the changed data record is active - however, I just had a look at the SID master data table, and it looks that direct changes to the P-table do not affect the X-table where the SIDs are stored. So I guess I will also have to update the X-table with the correct SID-values.
    If this works, I let you know. We will be using this change by ABAP quite often, it is rather useful.
    Regards and thanks for your prompt reply,
    Klaus

  • Master control attribute value discrepency between Master and child org.

    Hi Guru,
    We are facing a strange issue in Track install Base Attribute values. There are some 60K item having discrepency in the value of the this attribute between master and child.
    We are wondering how it happens as this attribute is master controlled one and we never changed this attribute control and kept as Master controlled. The master value is true
    If you guys experience this issue, please let us know the solution that you had applied to fix this issue.
    regards
    venkat

    Try executing the vo1 query before setting the bind variable for vo2, then execute the vo2 query (if that's what you want to do).

  • Both attribute value and description showing on attribute value dropdown list

    Hi All,
    I am using CRM 7.0 EhP 1 and I have encountered a item I need to address in regard to the display of a Marketing Attribute values on the Account Overview page (BP_HEAD/BPHEADOverview) on the Web Client.
    The component in question on the page is BP_DATA/MarketingAttributesEOVP.
    The value dropdown lists for each attribute show both the Attribute Value (in my case a number) and Description. We require that only the Description is shown and not the Attribute Value in brackets also.
    Is there a user setting that controls this or is displaying both standard with no adjustment possible through user settings or configuration? 
    Thanks,
    Jonathan

    Hi All, 
    The following OSS note looks to resolve issue in question above:
    1647509 - Attributes value shown as value+description in accounts page
    Thanks for your assistance.
    Jonathan

  • Need to add row and set attribute value on pageload

    Guys,
    On my page based on the pageflowscope variable value, i need to add a row for master and one row for detail viewobject and set attribute values. (Some of the attribute are LOV and Checkboxes as well)
    I am using following code to create records.....records are being added but i am not able to set the attributes
    OperationBinding ob;
    ob = ADFUtil.findOperationBinding("Create");
    ob.execute();
    ob = ADFUtil.findOperationBinding("CreateInsert3");
    ob.execute();
    I am using following code to set the attributes value
    DCIteratorBinding dc1 = ADFUtil.getBindingIterator("firstiterator");
    DCIteratorBinding dc = ADFUtil.getBindingIterator("seconditerator");
    row1=dc1.getCurrentRow();
    row=dc.getCurrentRow();
    row.setAttribute("activest","A");
    row1.setAttribute("type","dc14");
    Anything i am doing wrong here or any suggestion to try is greatly appreciated....

    Vinod,
    Yes commit button is there and yes its also has entry in pagedef...
    When I open the same page on edit mode and i can edit regular record and save them
    Problem is that when i open the page on new mode and try to add rows on page load..... and setting values as described above.... save button somehow doesn't work...
    seems like after i add the rows on the fly, i need to refresh the binding?
    any help is greatly appreciated....
    thank you guys

  • Is it possible to get and Set attribute value in OVD through JNDI or Java

    Hi,
    I have a requirement to read an OVD Attribute value from a Jsp Page and set the Attribute value in OVD.
    Is it possible to achieve it through JAVA/JNDI code, Any pointers or code snipplet are welcome.
    Thanks
    Ak

    Use JNDI with LDAP provider or another LDAP java library, plenty of examples on google

  • How to add attribute to UME and how to retrive the attribute value

    Hi Gurus,
    I have developped an application that retriving the data from back end for that we need to give input values .
    I have got the Logged user from the Iuser But Sales Organization of User [from user profile] and Brand value [from user profile] I want these input put values need to pass as a input .
    For this how can get the sales org and Brand value.
    Give me suggestions for this or how to pass attributes to UME and how to capture it.
    Advance thanks.
    thanks
    Lohi.

    Check if there are any available function modules for this functionality. One of the FM that comes to my mind is:
    a) BAPI_USER_GET_DETAIL
    Check with your SD guys , if there exists any such function module.
    Regards,
    Subramanian V.

  • Why there is a difference in a "class" attribute value of html tag when viewed in "Page Source" and using "Inspector", I am refering to new Microsoft site?

    While inspecting the new Microsoft site source, I observed that the "class" attribute value of the "html" tag when seen in Page Source the value given by Tools/Web Developer/Inspect tool. Value with the tool indicates class="en-in js no-flexbox canvas no-touch backgroundsize cssanimations csstransforms csstransforms3d csstransitions fontface video audio svg inlinesvg" while that is given in Page Source is class="en-us no-js"
    The question is why different values are shown?

    Inspector is showing you the source after it's been modified by Javascript and such.
    To see the same thing in the source viewer, press '''Ctrl+A''' to select everything on the page, then right-click the selection and choose '''View Selection Source'''.

  • Clipboard functionality and Multi Value in an attribute of component WD_SELECT_OPTIONS_20

    Hi All,
    Clipboard functionality and Multi Value in an attribute functionalities are not working.
    I tried to look into the standard component and could not found relevant piece of code.
    Our system is on 7.3 EHP1 SP9 but functionality does not seem to work.
    Does anyone know in which EHP of 7.3 NetWeaver these functionalities are delivered.
    Any note avalibale compatible with our system level?
    Regards
    Sounak

    Hi All,
    Clipboard functionality and Multi Value in an attribute functionalities are not working.
    I tried to look into the standard component and could not found relevant piece of code.
    Our system is on 7.3 EHP1 SP9 but functionality does not seem to work.
    Does anyone know in which EHP of 7.3 NetWeaver these functionalities are delivered.
    Any note avalibale compatible with our system level?
    Regards
    Sounak

  • When we run query how it gets the characteristic values and attributes.

    Hi,
    When we load transaction data it chacks characteristic values then SIDs then DIM IDs then insert  DIM IDs into fact table but when we run the query how it checks and gets the characteristic values and attributes.
    Bye
    GK

    when we run the query how it checks and gets the characteristic values and attributes.
    Just the opposite way you have described. It gets from the corresponding masterdata tables, with the connected SID.

Maybe you are looking for

  • SAP posting period error while mainting stock in MB1C

    Hi, Error Description:- While I am maintain the stock in MB1C i got an error i.e. Error:-  Postingonly possible in periods 2006/12 and 2006/11 in company code CLC1 ( CLC1 is mycompany code.) To resolve this error  I did some pre-requisite,  First :-

  • How do I fix super slow internet - all browsers are affected

    There is some problem with internet connectivity with my MacBook Pro, but I cannot figure out how to resolve it.  Speedtest.net is measuring my internet speed at download speeds of 0.88MBps and upload of .84Mbps.  Other devices utilizing the same rou

  • Is it possible to use project inheritance?

    We have lot of classes. Some of them are base classes or mapped by all the other classes. We are researching a solution to avoid to use a unique project. I would have expected that I can have a TopLink Project with my base classes and often mapped cl

  • Jdk 1.4.0 install error! Please help me!

    Flatform : RedHat Linux7.1 Program : j2sdk-1_4_0-linux-i386.bin I have this error after installing jdk1.4.0 and typing 'javac' : =========================== Warning: Major version number mismatch. Warning: Minor version number mismatch. Warning: Majo

  • Oracle 9 Production - Integration refresh: questions

    Hello, I will have to proceed with Oracle 9 database refresh from production server to integration server. 5 biggest schemas must be exported and imported. They constitute 97% space used in a database. This is very big database so I would like to be