DataTree or DataTable which one fits the scenario

Hi everyone,
I have to render the below structure::
Category 1
Title1 Category 1 checkbox1 checkbox2 checkbox3......so on till 10
Title2 Category 1 checkbox1 checkbox2 checkbox3......so on till 10
Category 2
Subcategory2.1
tile1 subcategory2.1 checkbox1 checkbox2 checkbox3....10
tile 2subcategory21 checkbox1 checkbox2 checkbox3....10
Subcategory2.2
tile1 subcategory.2.2 checkbox1 checkbox2 checkbox3....10
tile2 subcategory2.2 checkbox1 checkbox2 checkbox3....10
So its a nested tree structure finally. I question is will i be able to use a jsf tree component to achieve something like this.
I have tried using datatable... was successful in getting the hierarchy by using row category.. but there are many issues like wheneven i submit a btn action, the tree structure collapses automatically. The parent node doesnot expand until i click twice on it. .. etc.
I need to implement an ExpandAll & Collapse All feature as well. I am not sure, if it can be done usi ng a data table or java script..
Can someone suggest the correct way to do it...

Hi Balu,
I saw ur code posting.. that scenario doesnot have rowcategoy. Below is my jsf code. can u help me in implementing Expand All/ Collapse All through java script
<hx:dataTableEx border="0" cellpadding="2" cellspacing="0"
                              columnClasses="columnClass1" headerClass="headerClass"
                              footerClass="footerClass" rowClasses="rowClass1, rowClass2"
                              id="tableEx1" styleClass="dataTableEx" value="#{masterPublList.lst_publication}" var="varlst_publication">
                              <hx:columnEx id="columnEx3">
                                   <hx:panelRowCategory id="rowCategory2"
                                        styleClass="panelRowCategory" value="#{varlst_publication.publCategory}" collapsed="false">
                                        <h:outputText id="text6" styleClass="outputText"></h:outputText>
                                   </hx:panelRowCategory>
                                   <f:facet name="header"></f:facet>
                              </hx:columnEx>
                              <hx:columnEx id="columnEx2">
                                   <hx:panelRowCategory id="rowCategory1"
                                        styleClass="panelRowCategory" value="#{varlst_publication.publSubCategory1}">
                                        <h:outputText id="text5" styleClass="outputText"></h:outputText>
                                   </hx:panelRowCategory>
                                   <f:facet name="header"></f:facet>
                              </hx:columnEx>
                              <hx:columnEx id="column1">
                                   <f:facet name="header">
                                        <h:outputText id="text4" styleClass="outputText" value="Title"></h:outputText>
                                   </f:facet>
                                   <h:outputText id="text3" styleClass="outputText" value="#{varlst_publication.publName}"></h:outputText>
                              </hx:columnEx>
                              <hx:columnEx id="columnEx1">
                                   <f:facet name="header">
                                        <h:outputText id="text13" styleClass="outputText"
                                             value="English   German   French"></h:outputText>
                                   </f:facet>
                                   <h:selectManyCheckbox disabledClass="selectManyCheckbox_Disabled"
                                        id="checkbox1" styleClass="selectManyCheckbox" value= "#{varlst_publication.publLang}">
                                        <f:selectItems value= "#{masterPublList.lst_lang}"/>
                                   </h:selectManyCheckbox>
                              </hx:columnEx>
                         </hx:dataTableEx>

Similar Messages

  • BCS Data Model (which one is the best)

    Hi,
    We are implementing SEM-BCS 6.0 with SAP BI 7.0.
    We have 2 possibilities for a data model and we need help to decide which one is the best.
    The first possibility is:
    1)       SAP ECC 6.0:
    a.      Define 2 (two) charts of accounts (company chart of accounts and consolidation chart of accounts) that are mapped/linked in transaction FSP0;
    b.      Define Balance and an Income Statement hierarchy for the group/consolidation chart of accounts;
    2)       BW (BI 7.0)
    a.      In BW we also have both charts of accounts, with a Balance and an Income Statement hierarchy for the group/consolidation chart of accounts. These ones were replicated from source system SAP ECC;
    3)       SEM-BCS 6.0
    a.      IN BCS we update the Financial Statement Item automatically based on/equal to consolidation chart of accounts (and not based on Balance and Income statement);
    b.      For reporting issues, we will define BW workbooks,  based on the Group Balance and Income statement,  for Consolidation reporting. In resume, we will have the Balance and an Income Statement hierarchy for the group/consolidation chart of accounts, created in SAP ECC, replicated in BW in order to report consolidated data.
    The second possibility:
    1)       SAP ECC 6.0:
    In R3 we only have the company chart of accounts. For consolidation purposes  we will define a Balance and an Income statement item hierarchies, one for legal report and the second one for management report, which the superior nodes (items) are the aggregation of G/L Accounts (below nodes).
    2)       BW (BI 7.0)
    In BW we will replicate the Balance and Income Statement that was created in SAP ECC.
    3)       SEM-BCS 6.0
    In BCS we would have to:
                                                      i.      Create automatically the Financial Statement Item, based on the items of Balance and an Income Statement hierarchies, which would be a concatenate of the two item hierarchies.
                                                     Or
                                                        ii.      Create 2 Financial Statement Items, where which one would depend on the balance or the income statement hierarchy.
    Which of the possibilities is the best?
    Having 2 charts of accounts (company and consolidation) or just have one chart of accounts (company) and have a balance item hierarchy consolidated and create the financial statement item in BCS having this hierarchy in account and not a consolidation chart of accounts?
    In our opinion the first scenario is the best one, because is seem to be more flexible and as we have the intention to use SEM BPS in the next year, for budget purpose. Furthermore, we think that with the first scenario we can have a FS Chart of accounts (in BCS) that is not dependent of reporting purposes (based on Balance and Income statements). 
    Is this interpretation correct?
    Thanks

    Hi Ricardo,
    Yes, The first one is the best choice and it is the way to work.
    SAP has given some How-to documents, which are available in service market place. These documents also suggest almost same path as first choice.
    Thanks

  • Adobe Cloud has 2 different Muse programs.... how do I know which one is the newer better version?

    So I am new to Muse, and my Adobe Cloud has 2 different programs from Muse... how do I know which one is the newer better version?
    One Must program (Muse CC 2014.2)  has a black background when working on it... it looks like other Adobe programs such as Photoshop.
    The other one is light color (Muse CC) very similar to the black color Muse on functions.....
    One of the difference I notice is that the light color Muse has a few widgets in the library, while the black background Muse seems to have an empty library
    So... why are there 2 different Muse programs in my Adobe Cloud?

    Hi
    The latest version of Muse is 2014.2, so you need to uninstall another version of Muse manually.
    regarding the items in Library, you can add items in your library manually, as shown in this article
    Adobe Muse Help | Organizing and reusing design elements using Library panel
    Please let me know if you have any other query.

  • TS4006 I have several iphones on  find my iphone. How do I know which one is the correct iphone. None of them are labeled Iphone4 or 5 etc.

    I just had my iphone stolen from me. In the past I have always set up my phones an ipads on to the find my iphone service. I have never deleted them from the find my iphone account and now I have 3 iphones showing and 2 ipads. How can you tell the difference when none of them are labeled as Iphone 4, iphone 4s, iphone 5, etc. No dates are shown as when purchased so it I can't figure out which one is the correct iphone to put on lost mode and send message to.

    Deleting on one device does not affect another device.
    You can delete the App's on the iPhone and nothing will happen to the ones on the iPad.
    1.  You don't need to.
    2.  Settings->Cellular->"Use Cellular Data For" will show the data usage for each App since the last statistics reset
    3.  Settings->General->Background App Refresh Will show which Apps are allowed to get data in the background
    4.  It restricts it to Wifi.  If the App requires internet access and Data is turned off, it will have to wait until the device is connected to a wifi network.
    5.  Nope, You just use up battery since the BT radio will continuously look for nearby BT devices.
    6.  The Personal Hotspot uses your cellular internet connection from your phone or other cellular device; whether you consider that secure or not I cannot say.  It also depends on what you are doing while connected to the Hotel's wifi. I would not do online banking while on vacation though.

  • Session method and call transaction methos which one is the sap recomonded

    hi
    PLease give me the answer to these questions.
    session method and call transaction methos which one is the sap recomonded why .
    2) if we want to maintain BDC program in all the systems.wt to d0

    Hi Revethi,
    Here is the difference between the Session and Call Transaction method.
         Session
    Session method supports both small amount of data aswell as large amount of data
    2) data processing is asynchronus and data updation is synchronus.
    3) it process multiple apllication while perfomaning validations.
    4) in session method data will be updated in data base only after processing session only.
    5) system provide by default logfile for handling error records.
    6) it supports both foreground aswell as background process
    in bdc we use FM ... bdc_open_group " for creating Session
    bdc_insert " adding transaction and bdcdata table for updating database
    bdc_close_group " for closing Session
          Call Transaction
    Call transaction exclusively for small amout of data
    2) it supports only one apllication while perfoming validations
    3) there is no default logfile, We can explicitly provide logic for creating logfile for handling error records.
    we can create logfile by using structure....BDCMSGCOLL
    4) it doesn't support background processing.
    5) data processing is synchronous and Data updation is Synchronous( default), in
    this method also supports daya updation in asynchronus process also.
    Syntax:
    Call transaction <transaction-name> using BDCDATA
    mode <A/N/E> update <L/A/S>
    messages into BDCMSGCOLL.

  • How do i find my newest itunes tv downloads, in my video app.  In the OS7 all my purchases are there so i can find which one is the new ones that i have not watch M

    How do i find my newest itunes tv downloads, in my video app.  In the OS7 all my purchases are there so i can find which one is the new ones that i have not watch

    Hi Bill...
    Read here >  Creating an iCloud account: Frequently Asked Questions

  • I am debating between the 13in 2.9ghz mac book pro or the 13in 2.5 ghz mac book pro with all the same specs bbut for me i am trying to see which one for the money is better becuase the 2.5 will run me 100-200 dollars less than the other

    I am debating between the 13in 2.9ghz mac book pro or the 13in 2.5 ghz mac book pro with all the same specs bbut for me i am trying to see which one for the money is better becuase the 2.5 will run me 100-200 dollars less than the other

    Only you can make that determination. All things being equal the 2.5 GHz model is slower.

  • I,m looking for handsfree for iphone 4s, which one is the best for it

    i,m looking for handsfree for iphone 4s, which one is the best for it

    I really like the Plantronics Voyager Pro bluetooth headset.  I have tried a lot of the ones on the market and the Plantronics one that I now use has - a long battery life, excellent sound quality and very low background noise. I occasionally use it when in a vehicle (although I do try to avoid doing this) and people on the other end of the line don't even realise that I am in a car.

  • Which one is the best practice!!

    hi all,
    i have one doubt with the lov
    can we show the data in the LOV by decode function or its better to write two LOV's based on the condition.
    which one is the best practice.
    right now i am using decode function. according to the condition the data will come in the LOV.
    Thanks..

    can we show the data in the LOV by decode functionAs you already do, you can.
    its better to write two LOV's based on the condition.It depends. If its a complex lov and only one column varies based onsome condition, it might less work to use just one lov. Personally, i prefer two different lov's

  • Which one is the best way in migration from sap bpc ms 5.1 to nw7.5

    Hi,
    I am doing Migration project from SAP BPC MS to NW.
    In this which one is the best way migrating By manually or By using SAP Migration tool.
    What are the merits and demarits migrating by manually.
    The data is moving from MS to NW as it is by using sap migration tool.
    Could you please answer my questions as early as possible.

    Hi,
    You would need manual effort anyways. Some of the objects are not either migrated or you need to update manually after the migration. Example, reports have to be modifed and as they may not work due to some of the options.
    Also your packages, script logic etc have to recreated. So its upto you as the migration toosl takes across your appset, applications, dimensions and the master data etc. The manual involvement is inevitable. You need to probably take what the tool allows you to do and make manual corrections for the objects that are not supported.
    Thanks,
    Sreeni

  • Which one is the best way to collect config and performance details in azure

    Hi ,
    I want to collect the information of both configuration and performance of cloud, virtual machine and web role .I am going to collect all these details using
    java.  so Please suggest which one is the best way. 
    1) REST API
    2) Azure SDK for java
    Regards
    Rathidevi
    rathidevi

    Hi,
    There are four main tasks to use Azure Diagnostics:
    Setup WAD
    Configuring data collection
    Instrumenting your code
    Viewing data
    The original Azure SDK 1.0 included functionality to collect diagnostics and store them in Azure storage collectively known as Azure Diagnostics (WAD). This software, built upon the Event Tracing for Windows (ETW) framework, fulfills two design requirements
    introduced by Azure scale-out architecture:
    Save diagnostic data that would be lost during a reimaging of the instance..
    Provide a central repository for diagnostics from multiple instances.
    After including Azure Diagnostics in the role (ServiceConfiguration.cscfg and ServiceDefinition.csdef), WAD collects diagnostic data from all the instances of that particular role. The diagnostic data can be used for debugging and troubleshooting, measuring
    performance, monitoring resource usage, traffic analysis and capacity planning, and auditing. Transfers to Azure storage account for persistence can either be scheduled or on-demand.
    To know more about Azure Diagnostics, please refer to the below article ( Section : Designing More Supportable Azure Services > Azure Diagnostics )
    https://msdn.microsoft.com/en-us/library/azure/hh771389.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/azure/dn186185.aspx
    https://msdn.microsoft.com/en-us/library/azure/gg433048.aspx
    Hope this helps !
    Regards,
    Sowmya

  • Which one is the better cover for protection on tje ipad mini with retina

    I  bougth an mini ipad with retina, my 5 years old will use using too. Which one is the better cover for protection?

    You'll have to think in terms of a shell rather than just a cover. Main problems are dropping and liquid getting inside. Plus a shell can add a bit of extra heft and "grippability", aiding little hands in holding on the slippery aluminum back. Can add some sort of screen protector to prevent scratches, though that will reduce sensitivity to an extent; however, a direct blow will inevitably shatter the Gorilla Glass.
    That being said, I am very happy with the Lifeproof Nüüd case that has protected mine from the get-go. Decided to forego screen protectors in lieu of better touch performance; almost 2 years down the road the screen is still scratch free.
    iPad 4th Gen, iOS 7.1.2, 64GB, White

  • Which one is the newer verison of MSI GP60?

    There are two images of the MSI, which one is the new?
    Thnaks.
    1.
    2.
    2nd one?

    Quote from: JakeSully;112636
    to me both are same? i think pic you got is same type old one has MSI and redl ines on back while new one has the badge and MSI logo
    i think laptop looked like this earlier http://www.portableone.com/resize/Shared/Images/Product/MSI-GE70-Gaming-Laptop-GE70-2OE-017US-12GB-750GB-3-2GHz/GE70-500b.jpg?lr=t&bw=800&bh=800 cannot be 100% sure.
    Update 2: Nvm 2nd pic is newer since first one is older, all MSI laptops now on has a MSI dragon army badge on back part of screen.
    Oh thanks for the confirmation!
    I'm looking at a retailer's website and I'm not sure if they got them mixed up or something. The newer version is cheaper? confused.
    old for higher price.
    new for lower price.

  • Which one is the latest AS version?

    Hello All,
    Which one is the latest AS version?
    is it 9.0.4.0.1?
    Regards,
    D

    The latest version of Oracle Application Server is 10.1.2.0.0. You can read more about it at http://www.oracle.com/technology/products/ias/pdf/as10gfaq.pdf.
    Regards,
    Mathias

  • Hello, I have macbook pro 2008 10.5.8 and I want to upgrade to new soft, which one is the proper one for me Snow leopard or mountain Lion

    Hello, I have macbook pro, late 2008, OS X 10.5.8 and I want to upgrade to new soft, which one is the proper one for me Snow leopard or Mountain Lion, and what is the differences between those.
    What do you recommend at this time for me.
    Thanks a lot

    You can upgrade to Mountain Lion, but you have to upgrade to Snow Leopard first. Buy Snow Leopard > http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Then, make a backup, insert the DVD and upgrade. After upgrading, open Apple menu > Software Update and install the most recent version. Mac OS X 10.6.8 includes the App Store, so open it and purchase Mountain Lion. See if your programmes are compatible > http://www.roaringapps.com

Maybe you are looking for