How to get sequence number for tree level in tree table

Hi,
User would like to add a column as "Sequence" in the beginning of tree table. The tree table look like as following:
Sequence Tasks Date
1 ItemA
subItem1 12/31/12
subItem2 12/31/13
subItem3 12/31/14
2 ItemB
subItem1 12/31/12
subItem2 12/31/13
subitem3 12/13/14
How to add this sequence column in tree table?
Thanks!
Susan

Check this sample:
<af:form id="f1">
                <af:treeTable value="#{bindings.Departments.treeModel}" var="node" styleClass="AFStretchWidth"
                              columnStretching="last" selectionListener="#{bindings.Departments.treeModel.makeCurrent}"
                              rowSelection="single" id="tt1">
                    <f:facet name="nodeStamp">
                        <af:column id="c1" headerText="Department Name" width="200">
                            <af:outputText value="#{node.index + 1} #{node.DepartmentName}" id="ot1"
                                           visible="#{bindings.Departments.treeModel.depth == 0}"/>
                        </af:column>
                    </f:facet>
                    <f:facet name="pathStamp"></f:facet>
                    <af:column id="c2" headerText="Employee Name">
                        <af:outputText id="ot4" value="#{node.FirstName} #{node.LastName}"/>
                    </af:column>
                </af:treeTable>
            </af:form>Thanks,
Navaneeth

Similar Messages

  • How to get online Number for India ?

    Spoiler (Highlight to read)
    How to get online Number for India ? 
    Spoiler (Highlight to read)

    Hello,
    Skype does not offer Online Numbers in this country.
    For more info regarding Online Numbers please visit: https://support.skype.com/en/faq/FA269
    If my answer helped to fix your issue, mark it as a Solution to help others.
    Thank You!
    Please send private messages only upon request.

  • How to print sequence number for a text item in a oracle reports

    Hi
    I have text item which repets for every round,if i have 3 or 4 rounds i should number the text item as 1,2,3,4 etc.... in a report.
    Can anybody help me
    Thanks in advance

    Hi Bob
    Thank you for your reply.
    Here is the data for example:
    Jobxxxx
    Round
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    So Bob everything is comming from tables except round.
    My question is how to add sequence number to round adn the result should be like this:
    Jobxxxx
    Round 1
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round 2
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round 1
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    Thank you in advance

  • How to get sequence number by Category

    Hi there,
    This would be the sample values into the table;
    declare @table1 table
    Country varchar(10)
    insert into @table1
    values('Country1')
    ,('Country1')
    ,('Country1')
    ,('Country2')
    ,('Country2')
    ,('Country2')
    ,('Country2')
    Now, I'm trying to get sequence numbers by country, 
    Country1  1
    Country1  2
    Country1  3
    Country2  1
    Country2   2
    Country2   3
    And so on. Can you please give me some ideas how to accomplish this?
    Thanks very much in advance.

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You have absolutely
    no idea! Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. What little you did post is garbage. Besides not knowing Netiquette or the basics of RDBMS, you do not know what a CREATE SEQUENCE is in SQL. Why do you think that a reserved word is good name for a table of counties?
    Where is the ISO country code? 
    CREATE TABLE Countries
    (country_code CHAR(3) NOT NULL PRIMARY KEY,
     country_name VARCHAR(25) NOT NULL);
    What you posted is not a table at all! It has no key. 
    CREATE TABLE Redundant_Country_List –- not a table!! 
    (country_code CHAR(3) NOT NULL
       REFERENCES Countries (country_code));
    What you asked for is:
    SELECT country_code,
           ROW_COUNT() OVER(PARTITION BY country_code)
            AS non-relational_redundancy_nbr
      FROM Redundant_Country_List;
    The correct answer is:
    SELECT country_code, COUNT(* AS degree_of_duplication 
      FROM Redundant_Country_List
     GROUP BY country_code;
    Based on teaching SQL for a few decades is that you are 2-3 years away from being able to use the language, if you study hard and work full time with good mentors. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to get check number for the employee's paycheck

    Hello
    Anyone can advise on how to get the check number for an employee's pacheck
    I got employee first name,last name,GROSS salary,Tax Info,and NET salary.I need the CHECK NUMBER.
    please advise
    thanks
    kp
    Edited by: user8612301 on Dec 16, 2010 1:26 PM

    Hi,
    Or are you looking for this:
    SELECT serial_number, paaf.assignment_number
    FROM pay_assignment_actions paa, per_all_assignments_f paaf
    WHERE action_status = 'C'
    AND paaf.assignment_id = paa.assignment_id
    AND serial_number IS NOT NULL
    AND SYSDATE BETWEEN paaf.effective_start_date AND paaf.effective_end_date;
    - Viky
    Edited by: Viky on Dec 17, 2010 11:42 AM

  • How to generat sequence number for db in XSLT

    Hello SOA Gurus,
    I have a requirement, Please see below
    I am using SOA 11.1.1.6
    From a webservice call to db insert XSLT,  i have 10 elements at source side and 11 elements at target side.
    From source to target first 10 mappings are done.
    Now requirement is, for the 11th element in target- we need pass a sequence number to the targeted database, means---(sequence number has to be generated for every execution of XSLT execution)
    How to do the last point???
    Can anyone help me plzz

    Hi,
    You can pass the sequence number in the 11th element using "oraext:sequence-next-val("Sequence name as a string", "Datasource as a string") function.
    Regards,
    Anshul

  • How to get extenal number for a notification

    Hello All,
    I want to get an external number for notification. I came to know there is FM GET_NUMBER_NEXT but i am unable to know how to use it?
    Is there any other way to get this external number.
    My requirement is i want to create a service notification.
    Regards,
    Lisa

    This FM [GET_NUMBER_NEXT|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=get_number_next&cat=sdn_all] is usually called just before calling a Creation BAPI that require that the number be provided. (e.g. material data BAPI_MATERIAL_SAVEDATA)
    As far as i know [BAPI_SERVNOT_CREATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapi_servnot_create&adv=false&sortby=cm_rnd_rankvalue] doesn't need this parameter if the Customizing (IMG) of the notification type is "internal number", The BAPI send the created number back in the [NOTIFHEADER_EXPORT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=notifheader_export&adv=false&sortby=cm_rnd_rankvalue] exported parameter, field NOTIF_NO.
    If your Customizing (IMG) is "external number", but your need a number, create a number range via [SNRO|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=snro&adv=false&sortby=cm_rnd_rankvalue] and use GET_NUMBER_NEXT. (I suggest you to declare the type with internal numbering and assign the number range in the Customizing via [IW20|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=iw20&adv=false&sortby=cm_rnd_rankvalue])
    If you use CALL TRANSACTION, use the option MESSAGES INTO itab and LOOP AT the message table to find the created notification number.
    Regards

  • How to get product number for motherboar​d

    Is there a way to retrieve the part number for a motherboard on a DV2000 series notebook other than stripping down the unit and pulling the motherboard? (IE - Enter the serial number somewhere on the HP website and it would retrieve this number, along with others associated with this computer)
    Thanks in advance

    Hi,
    Please try from this:
      http://h20141.www2.hp.com/hpparts/?cc=US&lang=EN&j​umpid=hpr_r1002_usen
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to get the number of routes in MLS L3SW table with SNMP

    Hello experts,
    Is there any way to get the number of routes in the MLS-hardware Layer 3-switching table with SNMP, like with CLI command "show mls cef summary"?
    If possible, please let me know the OID and which MIB do I use.
    [e.g.]
    #show mls cef summary
    Total routes: 400000
    <omit>
    ====
    Device : C6509E
    IOS : s72033-advipservicesk9_wan-mz.122-33.SXH3a.bin
    ====
    Thank you,

    function buttonClick()
    var table = profileTable;
    var lnRow = table.rows.length;
    var insertedRow = table.insertRow(parseFloat(lnRow));
    var cell1 = insertedRow.insertCell();
    cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt"+></td></tr>";
    document.profileform.submit;
    on submit it goes to the second page, but the value i got using >>>System.out.println("row number from text >>>box"+request.getParameter("rowNum")); is null. What is wrong with >>>my coding. Can anyone solve this.HI carry
    Check the value of bold data
    function buttonClick()
    var table = profileTable;
    var lnRow = table.rows.length;
    var insertedRow = table.insertRow(parseFloat(lnRow));var cnt=inRow
    var cell1 = insertedRow.insertCell();
    cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt+"></td></tr>";
    document.profileform.submit;
    }try with it

  • How to get Delivery number for given Equipment number?

    Hi,
    I have the equipment number and this equipment contains material number and serial number. From these information, how do I get the delivery number/order number?
    Thank you.
    Ashish

    Hi All,
    The problem is solved.
    Here is the link >>
    Table OBJK > give equipment number ->>>> this will give us a list of records.
    Now go to SER01 > It will have only one record to get corresponding to value of different OBKNR received from filter. Means if we get 5 records from OBJK then out of 5 only one record will have corresponding record in SER01 and rest 4 records will not have any value SER01.
    To understand the logic review function module SERIAL_LS_PRINT which works otherway round. It takes delivery and item number and gives us back serial number.
    My requirement is otherway round but I know the path to get desired values.
    Thank you all for your help.
    Cheers,
    Ashish
    Edited by: Ashish Arya on Mar 4, 2008 2:05 PM
    Edited by: Ashish Arya on Mar 4, 2008 3:49 PM

  • How to get SC number for backend PO in classic scenario

    Hello,
    In classic scenario, how can I retrieve the SC number from PO backend number.
    Best Regards,
    Lina

    Hi,
    Please look at BBP_PD transaction. You will get better understanding how GUID are linked.
    Table   CRMD_ORDERADM_I
    GUID                         DDC1CD43BF9E69F1881A00505631332B
    OBJECT_TYPE          BUS2121001
    HEADER                    DDC1CD43BF9E2FF1881A00505631332B
    Table   CRMD_ORDERADM_H
    GUID                         DDC1CD43BF9E2FF1881A00505631332B
    OBJECT_ID               0010000077
    OBJECT_TYPE          BUS2121
    You can also use Function Modules. Please go to SE80 transaction and check Function Group BBP_PD_SC.
    Regards,
    Masa

  • How to get case number for licence transfer

    I have been trying to chat somebody to get a case number so that i can transfer the licence  of CS4 to someone else. Please help me how to go about it.

    This is an open forum, not Adobe support... read License Transfer https://forums.adobe.com/thread/1355892

  • HT1529 how i get serail number for my personal imac computer

    windows 7 update i my pc headset it self i am hearing sound.But i cant hearing sound in my computer in builtspeaker .What problem please solve my problem and also give step to solve the problem.

    To find a Mac serial #:  Apple>About This Mac>System Profile.
    Depending on which model iMac you have, the serial # can be found either on the back of the iMac or on the bottom of the pedal stand.
    ============
    Regarding the sound:
    Repair permissions & restart.
    Check your settings in the Audio Midi app which is located in the Utilities folder.
    http://support.apple.com/kb/TS1574 Troubleshooting issues with no audio from built-in speakers on Macs
    Trick/Tip: Open up GarageBand if installed then, open a program (optional).
    Quit out of the GarageBand app.
    =====================
    Repairing the mysteriously muted Mac
    The background on the issue is that there’s a small sensor switch inside the headphone port. When you insert a headphone jack, the sensor understands what's what and changes the sound output setting to Headphones. If you insert a jack for digital audio output, the device changes to Digital Out. When you remove the jack completely, it should read Internal Speakers.
    The spirits tell me that there’s a very good chance that you recently had something jacked into this port—a set of headphones or a cable leading to powered speakers, for example. When you removed the jack, something in the port prevented the sensor from tripping correctly. That’s why you see Digital Out instead of internal Speakers.
    The solution is to force the sensor to do its job. The safest way to do that is to simply run a jack in and out of the port a few times. Much of the time, this takes care of the problem by correctly tripping the sensor. If that doesn’t work, there may be gunk in the port. Before turning to more invasive techniques, get a can of compressed air, attach the small tube that fits the nozzle, and blast a few shots of air into the port. With any luck, that should dislodge the gunk and the port will operate as it should.
    If that doesn’t work, find a foam-tipped swab that fits (electronics shops generally carry them), dip it in rubbing alcohol, and gently insert it into the headphone port in an attempt to wipe away any stubborn gunk. I recommend foam rather than cotton swabs because the cotton variety might leave threads behind. (This same technique works well with misbehaving headphone ports on devices such as iOS devices.)
    It's possible that gunk has nothing to do with it. Rather, it may be that the switch just needs a subtle nudge. If a jack or swab doesn't work, I've heard of people successfully resetting it with a deft poke of a toothpick.
    http://www.macworld.com/article/2031146/repairing-the-mysteriously-muted-mac.htm l

  • How to get the number of rows in a HTML table in some other page

    Hi,
    I am incrementing HTML table rows on button click and saving number of rows in a javascript variable. But on submitting that page I need that number of row value in the following page
    example:
    HTML table is in the page first.jsp
    and the javascript variable having the current row number is row_number
    on submitting it goes to second.jsp page. There i need that row_number value.
    Can anyone help me to solve this?
    regards,
    carry

    function buttonClick()
    var table = profileTable;
    var lnRow = table.rows.length;
    var insertedRow = table.insertRow(parseFloat(lnRow));
    var cell1 = insertedRow.insertCell();
    cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt"+></td></tr>";
    document.profileform.submit;
    on submit it goes to the second page, but the value i got using >>>System.out.println("row number from text >>>box"+request.getParameter("rowNum")); is null. What is wrong with >>>my coding. Can anyone solve this.HI carry
    Check the value of bold data
    function buttonClick()
    var table = profileTable;
    var lnRow = table.rows.length;
    var insertedRow = table.insertRow(parseFloat(lnRow));var cnt=inRow
    var cell1 = insertedRow.insertCell();
    cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt+"></td></tr>";
    document.profileform.submit;
    }try with it

  • How to get Inventory Balances for PO data

    Hi Guys,
                   How to get Inventory Balances for PO data.
    from which tables I can get it ?
    We are migrating material data to a new plant.. for this process.. The inventory data also has to be moved..
    I am using BAPI_GOODMVT_CREATE to post inventory balances for the new plant.
    Thanks

    Hi,
    Try MARC, MSKA, MARD .
    Thanks,
    Krishna

Maybe you are looking for

  • Cover flow lion finder window

    Horrible horrible horrible feature of Lion:  iPhoto is occupied iwth a large upload of images to flickr. I want to review some more of the images I shot today in thumbnail to open and start working on them in photoshop without waiting for iPhoto to f

  • Reporting Services 2012 for SharePoint and SQL Server Agent "Subscriptions and Alerts"

    After installing Reporting Services for SharePoint (Denali) in my test farm, I'm trying to configure the "SQL Server Agent" access for Reporting Services.  From Central Admin I'm going to the Reporting Service applicaiton configuration screen and sel

  • CS6, Font embedding and iBooks

    Hi, It seems that there is a bug with embedded fonts in an ePub. Embedded fonts in an ePub created with InDesign CS6 do not show in iBooks. The "com.apple.ibooks.display-options.xml" file is included. If I use Sigil to obfuscate the fonts with the ID

  • Problem after installing OBI SE 1 to connect to dashboard. odbc

    Hi, After installing OBI SE 1 10.1.3.2.1 I try to open Oracle BI interactive dashboards (http://localhost:9704/analytics/saw.dll?Dashboard) I am not able to do this, because of the following message HTTP-Error:500: Internal server error. I found in C

  • Help with converstion

    I never received a verification email, and I cannot convert a PDF to Word. HELP!