Tree based on ViewObject with bindparams

Hi,
We have some pages that are tree-form based; the tree and the form and based on two different viewobject usages, but the same viewobject. This VO uses a bind parameter to limit the data. With JHeadstart we can provide this bindparameter with the group, but it seems that it generates a methodbinding and invokeaction only for the form and not for the tree and we have to add these after generation. Is there a way that we can generate these for both the tree and the form?
Is this intended behaviour or can we request it as an enhancement?
Fortunately in some cases can we use the same viewobjectusage for both the tree and the form and then it works out fine, but this is not possible for all the pages.
Ciao
Aino

Aino,
It is intended behavior, although I agree that we could apply the same bind params to the tree vo usage when it is based on the same VO. But a real solution is to add an additional group property: Tree Query Bind Parameters, as this also solves the case where the Tree Vo usage is based on a different VO. I have added this to the list of enhancements.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • Can Shuttles be based non-base  table ViewObjects with transient attributes

    Hello,
    Users have to select records from a data collection and a Shuttle looks most appropriate/nice for this purpose. We can introduce technical intersection tables in order to generate the Shuttles with JHeadstart 10g R3 if necessary, but there is no “functional” need to update any data in the database and therefore it would be practical if the ‘right’ side from a Shuttle can be based non-base table ViewObjects with transient attributes only. So, our interested is to know which records have been selected, i.e. moved to the right side from the Shuttle.
    Hope that my question is clear enough.
    Greetings,
    Michael

    Michael,
    This cannot be generated out-of-the-box.
    It is easiest to add the shuttle post-generation to your page, and then create a custom template to generate your custom shuttle into the page. I suggest you take a look at an example of a generated shuttle in a page, and the JHeadstart IntersectionShuttleBean class. You will see that the value property of <af:selectManyShuttle> points to the selectedKeys method in the JHeadstart Shuttle bean. In your case, you can create your own managed bean and bind the value property to your own method which will provide you access to the selected rows. The value property of the selectItem within the af:selectManyShuttle determines the property that is used to identify the selected row (which is the row key in case of Jhs-generated shuttles).
    Steven Davelaar,
    JHeadstart Team.

  • ViewObject with rows not based on a query

    Hello,
    I have an ViewObject with rows not based on a query. For example, if in activate method from my application module I insert a row, that row will not show when I test my app module. Please do not answer with a link for SRDemo ADF+BC as i've read it and didn't find any answers there.

    Yes,thanks, I found that, but I don't know how to do a ViewLink that have as destination a viewobject like that. I get all rows from destination for any row from source. There is a way to do that?

  • How to create dynamic tree based on BAPI

    Hi
    I am able to create dynamic tree based on flat file structure example given in SDN . But how to create the tree from BAPI directly.Also when I will be clicking on any leaf node of the tree some data related to the node will be passed to another view.
    Regards
    Ananda

    What i'm trying to do is create an organizational structure.
    Global>Region>Plant-->Corporation
    The output from the RFC is a structure containing every possible combination for orgazational hierarchy. Basically a flat table with record for every possible combinaton of Region-Plant-Corporation. This data needs to be bound to a tree structure so that we can call BW queries based on that level. For example: Give me aged inventory for the SAP corporation within the plant Berlin that is located in the Europe region.
    Now that you understand the business reason will the nodes that represent Region and Plant and corporation be non-singleton nodes or recursive? I was thinking a hierarchy of non-singleton nodes.
    I can bind these nodes to the Region - Plant - Corporation elements returned from in the flat table structure. I will probably get duplicates as a specific Region will be listed multiple times for every possible combination of the data beneath it. I'm not so concerned about that right now as I want to make sure I understand how in Web Dynpro to bind the data to the tree.
    Hopefully this makes some sense. Can you elaborate on how this may be constructed in context of the view?
    Would i create a model node for region (0..n), model node for plant (0..n), and a model node for Corporation (0..n)?
    Or does this sound totally incorrect?
    julian
    We have 3 regions over 50 plants and probably around 500 corporations.

  • Tree based on class CL_GUI_COLUMN_TREE.

    Hi,
    i use a tree based on class CL_GUI_COLUMN_TREE.
    Now i wish to adjust the column width of  the first hierarchy column. It doesnt work with method "ADJUST_COLUMN_WIDTH" because is it a hierarchy column.  Is there any other method? or how i must fill the "exporting" hierarchy_header when i create the object?
    Stefan

    I'm showing that I do this using the hierarch_header when creating the object in one of my programs.
    data:  hierarchy_header type treev_hhdr.
    * Setup the hierarchy header
        hierarchy_header-heading = 'Transactions'.
        hierarchy_header-width   = 30.    "<<--  Set the width
    * Create a tree control
        create object tree
          exporting
            parent                = container
            node_selection_mode   = tree->node_sel_mode_single
            item_selection        = ' '
            hierarchy_column_name = 'Column1'
            hierarchy_header      = hierarchy_header       <<---  Right here
         exceptions
            others                      = 7.
    Regards,
    Rich Heilman

  • Hierarchical tree based on columns in the same row

    Hi guys,
    I have the following table:
    TABLE A:
    COL1 COL2 COL3 COL4
    1 2 5 8
    1 2 6 9
    1 3 1 3
    1 4 2 4
    ... then, as I have ordered the info, I want to implement a tree based on every row of my table.
    Could you help me with the procedure please??
    Thanks.

    REPOST

  • How to integrate a SSO based in cookie with ADF Security

    At work they asked me to integrate a existing SSO based in cookie with the new ADF + Jdeveloper 11g + WLS. After google for days and read a lot of blogs and official documentation I've made a custom LoginModule. I made it very simple, it's just an "if" inside the login() function with the username, if the username is "john" I put to the Subject some Principals. My steps are:
    1- Create a new app based on "Fusion application" template.
    2- Make a new ADF Taskflow with only one view inside (the entry point of the taskflow). The jspx only contains a welcome message.
    3- Run the ADF Security wizard, all the steps with the default option, I don't change anything.
    4- Put some users and some roles in jazn-data.xml, and maping them to an application role. Then I grant permissions to the application role to view the previous task flow.
    At this point everything is ok. I run the taskflow and a basic login popup prompts me to write my username and password. Now I try to remove everything useless for me, like idstore, credentials, anonymous, etc. I only want a LoginModule that get the HttpRequest and passes it to an already done class that returns a true/false depending if the cookie is correct or not but, as I said before, my LoginModule is so simple now and even didn't try to do something more complicated than an if. The steps I try are:
    in jps-config.xml
    5- Remove idstore.xml and credentials.
    6- (loginmodule tab) Make a new login module, and put here my class. The class is in the ViewController project and JDeveloper find it navigating through the heriarchy, so I have visibility. I put REQUIRE flag, add all roles and debug mode.
    7- In the security context unmark the idstore.loginmodule and mark myLoginModule. Also delete the anonymous security context.
    All that I got until now is a 500 error (Internal server error - Authorization Exception). Sometimes (the close i've ever been to do something correct) the browser ask me for user/password but then only recognizes the users that already are in WLS (idstore from previous tests), but NOT the "john" user that is inside my custom LoginModule. Even more, if I run the WLS from JDeveloper 11g in debug mode, the runtime never stops at breakpoints inside my custom login module. It seems that my LoginModule isn't deployed or I made some error maping the roles.
    So, my questions are:
    - I'm in the good way? If I want an authentication based in cookie/httprequest I have to do a custom LoginModule? My goal is to do a re-usable code, and re-use the code that my co-workers have done. They have a class that with only the HttpRequest determines if a user is logged or not.
    - If I'm in the good way... how can I put my custom LoginModule in the WLS? I tried to search something in the Administration Panel (localhost:7101/console) but I did'nt find nothing.
    - In case I'd got the custom LoginModule working fine in WLS... how can I get a HttpRequest from a LoginModule and avoid the username/password dialog? I've to make a filter and pass it to the my LoginModule? If it's correct... how?
    I don't post my code because is so simple, it's based on DBTableLoginModule but without all the database access code.
    Thanks to all!
    P.D.: If this message isn't in the correct forum, I'm sorry. Feel free to move it.
    P.D.2: Sorry about my english, I'm spanish. I know i've to practise a lot :)

    Hi Frank,
    Thanks a lot for your answer. Just one more easy question: what I need to do is a custom Authentication Module (which will read the cookie)? If only you can point me to the correct chapter of the WLS documentation I'll be very pleased.
    In future releases of JDeveloper will be easier to do this kind of things related to security?
    Riveck

  • HT4736 Taking too long (2 minutes) to locate and download photos into Photo '11 9.5 (902.7 build running on an older Intel based MacBook Pro with iPhoto libraries on a USB2 External HD).  I checked and repaired HD permissions. Any ideas?

    Regarding iPhoto '11 9.5 (902.7 build running on an older Intel based MacBook Pro with iPhoto libraries on a USB2 External HD).  I am dealing with iPhoto taking too long to download photos.  Specifically, I rechecked and repaired HD permissions. I am running the most current software my five year old Intel MacBook Pro can run.   What happens is that when I connect an external SD card, or my iPhone, the new version of iPhoto takes up to two full minutes to fully acknowledge the device. Then locate new photos and be ready to download them to my external HD.  I am kind of concerned about this.  This has never happened before. 
    I take 20,000 photos a year.  I really don't want to lose any.  Or is there something I am doing wrong?  Or need to be aware of?  Any experienced suggestions would be appreciated.  Thanks.  Have a great day.
    PS.... The cameras I use are Canon SX-30, Nikon D3100, and my iPhone 4S.  Thanks again for your assistance.

    Hello Old Toad.... Those sound like great ideas. 
    I thought I checked and repaired disk permissions on my main boot HD.  That boot disk is Mac OS Extended (Journaled)  Capacity 749.3 GB.  Available 562.53 GB.   BUT.... now that I think of it.... the Seagate external HD with USB2 interface is: Mac OS Extended (Journaled), Capacity 639.79 GB, Available 36.2 GB with my latest iPhoto Library 517.37 GB that was already scanned & updated to be read by the latest iPhoto version. 
    I'll try your suggestions tonight as far as double checking 'permissions' and setting up a tiny test library.
    Or maybe it's time to fill up another External HD?
    I appreciate your and anyone else's suggestions to try.
    Have a great day. ~~ David in Rochester NY

  • Sending XML file from SAP to Windows Based file server with FTP function

    Hi Gurus,
    We are using SAP BW 3.0B version.
    I need to convert data in ODS to XML format and send this XML file to remote server which  is not a SAP application server, it is just a Window Based file server with FTP function..
    By writing some ABAP code I have converted ODS data into XML format (which gets saved in my local system)
    (Is that I need to put this file in Application Server to send it to the other servers? )
    Now the thing is how I can send this file to that Windows Based file server.
    plz suggest me.... what can be done......
    Thanks in Advance
    Madhusudhan
    Edited by: Madhusudhan Raju on Dec 3, 2009 4:25 AM

    I dont think the above code support windows OS. Because I always execute this script via UNIX.
    I think you can try this option, go to command prompt, goto the destination path where you have an XML file using cd....
    ftp (destination servername), specify the username and password.
    afterthat, use the command put and filename.
    check whether the file had reached destination successfully or not.
    For automation purpose, you can use the following script like
    ftp: -s: test.txt  (servername)
    In test.txt,
    UserName
    Password
    bin
    cd /files
    put file.xml
    bye
    Also, you can check in SM69, there will be some SAP external commands to automate the file transfer.
    Thanks
    Sat
    http://support.microsoft.com/?kbid=96269

  • ViewObjects with the same name

    Hi,
    I have one top application module with 2 sup modules.
    Per submodule it has a PolisView with detail VerzekerdenView. Both view objects are created in seperate subpackages.
    When I run the application I have a menu from with I start some custom java code to create one master (Polis) record en several detail (Verzekerden) records. The first time I open a page this works fine but then when I go to a page of the other sub application module I don't see the detail records although the logging says they have been created.
    Are there know issues about ViewObjects with the same name in different packages and in different sub application modules that confuses the application?
    Isn't it possible to use the same names?
    I found out that when we delete the config files out web.xml of the second sub application module the first works fine.
    Marianne

    Nice try, do you want to send the assistence to Curacao? :)
    We also noticed that renaming the view objects didn't solve the problem. We know assume that the beans.xml that JHeadstart generates are the problem. Within one application module these names are unique but over several application modules they are not (the application module are all children of a top application module.
    We have now given everything a unique name and this seems to work.
    Message was edited by:
    user644446

  • Building a JSP-based Web Report with a Parameter Form

    Hi,
    I tried in building a report as shown in the example in OTN under reports in the url
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
    i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
    Thank you in advance.

    hi,
    we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
    as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
    for a regular select list you would use the following (only pseudo-code)
    <select ...>
    <rw:foreach>
    <option value="<rw:field .../>">
    </rw:foreach>
    </select>
    to populate a select list.
    regards,
    philipp

  • Content-based image retrieval with SQL/MM Still Image

    Hi
    With ORDIMage signature matching being deprecated in 11g, does anyone have any experience of performing content based image retrieval with SQL/MM Still Image?
    Thanks
    Brian

    The details in that thread is the only information that can be shared.
    Melli
    Oracle Multimedia

  • Add another Employee row on a  ViewObject with Dept/Employee Entites

    I have a ViewObject with Dept and Employee Entities, both updateable.
    Is it possible to create a new Employee but the same department using that Viewobject?

    I tried doing this:
    I got the viewRow of the ViewObject and then get the department's rowiterator that contains the employees; When I get the rowIterator, i inserted a blank row and then I re-executed the query. See the following code below:
    DemptEmployeeVieObjectRowImpl viewRow =  (DeptEmployeeViewObjectRowImpl)getCurrentRow();
    DepartmentEntity department = viewRow.getDepartmentEntity();
    EmployeeEntity employees = viewRow.getEmployee();
    //getEmployees() returns the employees that are included in the department
    RowIterator rowIterator = department.getEmployees();
    Row newRow = rowIterator.createAndInitRow(employees);
    rowIterator.insertRow(newRow);
    getViewObject().setQueryMode(ViewObject.QUERY_MODE_SCAN_ENTITY_ROWS);
    getViewObject().executeQuery();But the problem is when I set the query mode to SCAN_ENTITY_ROWS, and the re-execute the query, it creates a new record of the ViewObject including the Department row, which I dont want to do.
    Why is it creating a department row when i just created a row in the rowIterator?
    In the first place, Is it possible to create a new employee only, assign it to an existing department using a DeptEmployeeViewObject?

  • Tree based on XML DB files

    Has someone ever tried to build a tree based on XML DB files?
    Regards,
    Learco

    Hello,
    Yeah I've done that before, I basically was getting XML exports and was running them against one of 3 XSLT's , users choice , and one was a tree. I'll dig up the code.
    Or are you talking about building a tree based on all the files in XMLDB to navigate around them, I have a start on that I can give you as well, never finished it though.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Forms 6i based application compatibility with Oracle Lite 10g

    My client is currently using an Oracle Forms 6i based application (together with a Jinitiator)
    in an application deployed to 50 countries using Oracle Lite 9i as the Mobile Application Server and Oracle 8i as the database.
    We are considering an update to Oracle 10g database and 10g Rel 3 mobile application server.
    Can anyone advise on the impact of such an application on the Forms 6i application and if there is a recommended process for the upgrade of the forms application?

    do you mean the OAS 10g Rel. 3 ? That application server has no forms-component. Only the Rel.2
    Your Forms 6i is certified against 10g databases with patch 17 and 18. Download them from the metalink.oracle.com

Maybe you are looking for

  • New Features for OWB 9.2

    Mark Van De Wiel mentioned yesterday in this forum that OWB 9.2 is now available at http://otn.oracle.com/software/products/warehouse/content.html . From the version number it would appear that this is a major new release, and it's a separate install

  • R9 270x Gaming Edition

    hi guys, i just bought this video card and i want to know if i'll be able to run it on my system, i have an Thermaltake PurePower 480W Butterfly, FX-8350 , 8GB DDR3 1600mhz Kingston Hyperx Fury, 2 HDD,  will that be enough for running my video card w

  • Mountain Lion will not install on 2011 MBP 10.7.4

    Macbook Pro 13" downloaded, installed, but now will not reboot. Says computer must be restarted...and cycles over and over. Interval Since Last Panic Report:  119 sec Panics Since Last Report:          2 Anonymous UUID:                    4C77E81F-7C

  • Muse will not open any drop down menus while in design mode.Screen just flickers.

    I downloaded the new update and while in design mode in muse in one of my pages I cannot access any drop down menus like for example choosing fonts hyperlinks ect.I cannot do any of it I uninstalled and re-installed 3 times I don't know it this is a

  • Skin resource bundle

    Hi, I'm using a paged af:table and getting in the logs "<RenderingContext> <getTranslatedString> Could not fetch resource key Page from the skin myskin.desktop" (roughly translated). Solution in non-portal application is to specify resource bundle wi