To have the relevant value

Hi,
In the jsf, we can choose a value from the LOV like
<af:selectOneChoice value="#{bindings.Categor.inputValue}"
label="Category"
required="#{bindings.Categor.hints.mandatory}"
shortDesc="#{bindings.Categor.hints.tooltip}"
id="soc1">
<f:selectItems value="#{bindings.Categor.items}"
id="si2"/>
</af:selectOneChoice>
for the sql of the LOV, we have another column like "id" for each Categor value. How to hold the value of "id" in the jsf, when one Categor value has been chosen?

I have these
<af:selectOneChoice value="#{bindings.Categor.inputValue}"
label="Category"
required="#{bindings.Categor.hints.mandatory}"
shortDesc="#{bindings.Categor.hints.tooltip}"
id="soc1">
<f:selectItems value="#{bindings.Categor.items}"
id="si2"/>
</af:selectOneChoice>
<af:spacer width="125" height="10" id="s3"/>
<af:panelLabelAndMessage label="ID" id="plam1">
<af:outputText id="ot1"
value="#{bindings.Id.attributeValue}"
partialTriggers="soc1"></af:outputText>
</af:panelLabelAndMessage>but ot1 is not refreshed when I change the selection

Similar Messages

  • Delete the records which have the Data values are NULL before load data to BPC model

    Hi Everyone,
    I am loading the data from flat file to BPC Model (10.0 Version).
    Source data (Flat file) looks like below:
    RP_Employee RPT_Currency Data
    Test                USD                   8
    Test1              USD
    Test2              USD                    6
    My user requirement is that to delete the records which have the Data values are NULL before load data to BPC model.
    So,Please let me know how can i meet to this requirement.
    I am thinking that,it is possible by using start routine BADi. If i am correct please let me know process like creation of class and BADi implementation.
    Thanks in advance!!

    Hi Nilanjan,
    Please see my source data below:
    Account      Client       Employee     Time                Data
    123              XYZ            Vishu            2014.01               300
    456                                                       2014.01
    789              ABC         Alexander      2014.02               200
    If you see the second record,
    If data value is ZULL,  then the Employee or another dimension is also NULL.
    So I want to delete second records.
    If it is Start routine please share the code and steps to do.
    Thanks in advance!!
    Regards,
    Viswanath

  • All AI channels have the same value - NI PCI-6221 and NI PCI-6229

    Hello,
    I use the example aiex1.cpp for a multichannel AI read with the mseries devices 6221 and 6229.
    This example works for one channel, but the other channels have the same value (+- 0.001 Volt difference).
    For example: I set 5Volt on the first channel and then the other channel have 5Volt too.
    What should I consider in the configuration?
    Please, can someone help me?
    Best regards,
    Heiko
    Solved!
    Go to Solution.

    Hi Heiko,
    Like Moritz, I'm curious what signals you have connected to your AI channels. What voltage do you expect to read on each channel?
    Tom gave me your initialization code and it looks like you've modified aiex1.cpp. Does the example work without any changes?
    I have some more questions that will help me determine where the problem could be coming from, but these two are the easiest. We'll keep getting more and more specific as we remove possible causes.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • All AI channels have the same value

    I use the example aiex2.cpp for a multichannel AI read with the mseries devices NI6280.
    This example works for one channel, but the other channels have the same value
    For example: I set 5Volt on the first channel and then the other channel have 5Volt too.
    What should I consider in the configuration?
    beilei
    Solved!
    Go to Solution.

    Hello Beilei,
    I think that you are running into the AI ghosting issue.  Are the other channels you are using connected to ground when you connect the first channel to 5V?  If the other channels are floating, they will read the same value as the first channel...5V.
    Steven T.

  • YTD and accumul. depreciation have the same value when dpis is 2 years ago

    Hi all
    I am using FA and i have some problems. I have just setup this module and now i want to migrate assets in the system. The customer gave me an excel with the following fields that want to be in the system like: asset cost, accumulated depreciation, date placed in service, ytd accumulation and so on.
    the problems are:
    1) when i want to enter new asset manually the ytd depreciation and accumulated depreciation are required to be equal. ok so far, i register new asset on test environment and when i enter the date placed in service for example two years ago (because that is the real date placed in service of the asset) and run depreciation, the system has calculated correctly the accumulated depreciation, but has calculated the same value even for YTD depreciation which is not true, because in this case accumulated depreciation and ytd depreciation are completely different. how to solve this problem? How can i put correct values in this fields?
    2) when i enter these assets directly in the fa_mass_additions table according to the fixed assets user guide, i have the following errors: when i put "ON HOLD" on queue name, and open these assets on the system, the on hold field has no value (is empty)
    When i try to run post mass additions, the report is not finding the parameter (book) because the system is giving en error message telling me that there is no value in this list of values
    please help to solve this problems because i am not being able to migrate assets for the company.
    Thank you and best regards

    gaskins,
    You may have different Color Settings, and if you use Pantone you should be aware that the whole interpretation has changed (a number of times, most radically recently).
    If you say more, more can be said.

  • Updating a database value when you don't have the current value

    I need to write a query that updates the amount of points a
    user has, even though i don't know how many they have currently.
    This is part of a referal program. When a user gets another user to
    join, the original user gets 15 more points. The problem is I do
    not want to write a query that finds how many points the original
    user has because that seems wasteful. It should look something
    like..
    <cfquery datasource="users" name="givepoints">
    Update users
    set points = [whatever the current value is + 15]
    where userlogin = form.referer
    </cfquery>
    That line that has the value in the brackets is where i am
    confused. I don't know the current value so how can i add 15 to
    it?

    In some databases, oracle for example, the use of
    cfqueryparam speeds up your queries. It also has the potential to
    simplify your code in that it handles things like apostrophes, so
    you don't have to.
    On the other hand, if you want to cache your query, you can't
    use cfqueryparam. Also, if you are using some sort of logic to
    build an sql variable to use in your query, it takes a lot of
    effort (more than I'm prepared to give) to use cfqueryparam.
    Also, not every db supports it.
    cfqueryparam has it's place, but that place is not
    everywhere.

  • The IDOC-SDATA for the segment E1EDP01 does not have the whole value passed

    HI
    I am triggring the ORDERS05 Idoc from TCode - WE19 .
    In the E1EDP01 segment I have populated the quantity field , UOM field , currency field and the plant field.
    I am facing the issue
    1) It is not updating the plant field in R/3 orders that are created .
    2) I debugged the code and found that the data for the currency field and the plant field is not being pulled in the IDOC-SDATA for the segment E1EDP01 .
    Any idea why is this happening
    Thanks
    Nikhil

    HI
    I got the answer for it.
    This has to be delt in the E1EDP02 segment with the qualifier value as 083 and the document value as the plant
    Thanks
    Nikhil

  • Counting Numnber of Cells in a Table that Have the Same Value

    Is there a way/formula to do this, other than they way I'm doing it now, which is by using COUNTIF? In a table with 1000 rows for instance, let's say the values in the A column are what I'm keying off. I would like a count of all the cells in the A column that have the word "example" as their value. Right now for each unique value in a cell in the A column I am manually creating a COUNTIF(A1:A1000,"<value i'm matching against>) but if there are many unique values in the A column, it's quite laborious. Ideally I'd like to just have a table generated that gives me the top 5 or top 10 most occurring cell values in the A column in the table. What's the best way to do this?

    So for instance, for a column like this:
    1
    1
    1
    2
    2
    4
    5
    I want a way to get back the number of times 1 appears in the list (3), the number of times 2 appears in the list (2), 4 (1), 5 (1), and so on. If I do a COUNTIF and there are thousands of rows, I have to manually put the matching string in each one.

  • Nodes in VBox have the same values from localToScene.

    var b1=Button {text: "Button1"}
    var b2=Button {text: "Button2"}
    var aVBox = VBox {content: [b1,b2]}
    Stage {
        scene: Scene
            width: 100
            height: 100
            content:[aVBox]
    println("{b1.localToScene(b1.boundsInLocal)}");
    println("{b2.localToScene(b2.boundsInLocal)}");I expect those two buttons adjacent to each other should have different bounds in the scene. But they are almost identical. Is that a known problem?
    Basically, I want to get the coordinates of nodes in a VBox in the scene.

    Actually, at the time you print out the values, the layout isn't started (or finished) yet.
    You can see the difference with a little change:
    var b1: Button = Button {text: "Button1"}
    var b2: Button = Button {text: "Button2",
    action: function(): Void
    println("{b1.localToScene(b1.boundsInLocal)}");
    println("{b2.localToScene(b2.boundsInLocal)}");
    var aVBox = VBox {content: [b1,b2]}
    Stage {
        scene: Scene
            width: 100
            height: 100
            content:[aVBox]
    println("{b1.localToScene(b1.boundsInLocal)}");
    println("{b2.localToScene(b2.boundsInLocal)}");When I click on the 2nd button, I see different values of Y.

  • User Logon Name (pre-Windows 2000) and Domain Name Don't have the same Value

    Hi
    is it possible to have User Logon Name (pre-Windows 2000) and Domain Name with different value?
    Exemple:
    domain name domain1.com
    and User Logon Name (pre-Windows 2000) Domain2\user

    If you have trust in place, then also you can use trusted domain name to login from trustee domain. Also, UPN suffix can be added.
    http://technet.microsoft.com/en-us/library/cc773178%28v=ws.10%29.aspx
    Awinish Vishwakarma - MVP
    My Blog: awinish.wordpress.com
    Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • How can I append to an array of defined length and have the first value added be the first value out.

    I want to build/append to an array. Let's say the length is defined at 10 elements. When the 11th element comes in I want the first element to be kicked out so that the array always has the most recent 10 elements in it in order. the arrays should look like this:
    {0,1,2,3,4,5,6,7,8,9}
    {1,2,3,4,5,6,7,8,9,10}
    {2,3,4,5,6,7,8,9,10,11}
    etc.
    Any help is greatly appreciated. Thanks 
    Solved!
    Go to Solution.

    Here's a revised VI, except I'm using LV8.5 and the lowest I can save down to is 8 so perhaps someone will be kind enough to convert this?
    Attached an image too
    Message Edited by Sima on 01-13-2009 06:14 PM
    Attachments:
    rotatearray[1].vi ‏14 KB
    rotatearray[1].JPG ‏66 KB

  • Personalising variable values does not have the effect

    Hello ,
    When the variable is personalised with a value and executed the query for the second time the variable does not have the personalised values again and it waits to enter the input!
    What is the reason behind this and are there any other settings to be done before personalising the variable value?
    Thanks in advance!
    Ram

    Hi BW,
        This is problem with one query or for all queries.
    you first have to activate the personalization in the BW backend system (via transaction RS_PERS_ACTIVATE or via Customizing path BW Customizing Implementation Guide -> Business Information Warehouse -> Reporting-Relevant Settings -> General Reporting Settings -> Activate Personalization in BEx
    And also check <a href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1056690&nlang=EN&smpsrv=https%3a%2f%2fwebsmp110%2esap-ag%2ede">Note 1056690 - Query Designer: Variable personalization is deleted</a>
    Hope it Helps
    Srini

  • The fixed value date is empty and not displayed in the VA05 report

    Hi SD Gurus,
    With in the Sales Order in the line item level in the billing tab we have the fixed value date (VBKD - VALDT) were entered. 
    But when we try to execute the report VA05 were the fixed value date column shows empty (i.e without the date it shows the blank).  Can you any one help me with regard.
    We would like to fix this problem.
    Thanks in advance for providing solution to this query.
    Thanks and Regards,
    SAP-SD group

    Hi janarthanam,
    Ok.
    Goto t-code SQVI,SAP Quickviewer.
    Give a name to your query and enter description ,etc.
    Next enter the table from which you want to fetch data,ie,VBKD .
    Select "Layout mode" for displaying data on the SAP screen or "Basis mode " if you want to extract the data to a word doc,excelsheet or a flat file.
    Next you can select the fields you want to display into your report,their position and ascending/descending order,Here make sure u select
    the field u need to display ie. the fixed value date ( VALDT) .
    also select the fields u wish to have in the selection criteria.
    Enter these required information and u would get a report on the SAP screen or in your desired format.
    Hope it will suffice you.
    For any queries ,your are welcomed.
    Thanks,
    Umesh.

  • I downloaded an app on my ipad and can't get it to show up on my iphone and I have the icloud enabled

    i downloaded an app on my ipad and can't get it to show up on my iphone and I have the icloud enabled

    Is the app compatible with the iPhone (i.e. it's not an iPad-only app) and do you have the relevant iOS version on your iPhone ? Does it show in the Purchased section in the App Store app on the phone for you to download it (re-downloading) ?

  • Ssrs 2008 r2, select more or more or none of the above values

    In an an existing SSRS 2008 r2 report, I want to have a parameter called @hair where the user
    can see if the customer purchased one of the following items:
     1. hair spray,
     2. hair shampoo,
     3. Hair color,
     4. hair conditioner, or
     5. No hair product purchased.
    The table is called inventory and the values for the field called hairproduct are
     1. hair spray = 'HR',
     2. hair shampoo = 'HS',
     3. hair color = 'HC',
     4. Hair conditionier = 'HD',
     5. If hair product is not purchased hairproduct value is null. This is due to
        the inventory table contains columns like hairproduct, eyeproduct, faceproduct. If a
        particular product is purchased, the column will contain a value. If a customer purchases
        all 4 hair products and 3 eyeproducts, and 9 faceproducts, the inventory table will contain
        16 columns for a particualr customer. 
    In the parameter window, I can use the following to have the correct values be displayed in the
    selection window:
    SELECT DISTINCT IsNull(inventory.hairproduct,'') as hairid,
    CASE IsNull(inventory.hairproduct,'')
    WHEN 'HR' then 'hair spray'
    WHEN 'HS' then 'hair shampoo'
    WHEN 'HC' then 'Hair color'
    WHEN 'HC' then 'hair conditioner'
    WHEN '' then 'No hair product purchased'
    FROM Inventory
    **Note the @hairproduct parameter allows blank values and allows multiple values.
    However in the main query for the ssrs 2008 r2 report, I am not certain how I would change the following statement to select 'No hair product purchased'.
    The current select statement looks like the following:
    select customer_id,hairproduct
    from inventory where customer_id = @customerid
    hairproduct in (@hairproduct).
    Basically I need to change the main query, dataset that matches the parameter @hairproduct, or possibly add a new parameter that means 'No hair product purchased' to report on the customer that has one or more hair products purchased or none.
    Thus can you tell me and/or show me sql that will solve my problem?

    Hi there,
    Can you modify the no hair product purchased to a special code?  Eg. NP.
    Then something like this may work (though it may be a bit slow)
    select customer_id,hairproduct
    from inventory where customer_id = @customerid and
    (hairproduct
    in (@hairproduct)  and (patindex(@hairproduct,'%NP%') = 0) 
    OR ( (patindex(@hairproduct,'%NP%')
    > 0)  and customerid not in (select customerid from inventory where
    customer_id = @customerid where hairproduct is not null)
    cheers,
    Andrew
    Andrew Sears, T4G Limited, http://www.performancepointing.com

Maybe you are looking for