11.1.2 HTML Hierarchy Viewer, how?

Hi,
first of all, 11.1.2 is great job Oracle, congrats! It really opens new possibilities for ADF.
That said, I don't understand how to render hierarchy viewer in html? The documentation states:
"By default, the hierarchy viewer component renders in a Flash Player. When Flash 10 or higher is not available on the client or for the purpose or printing, the hierarchy viewer is rendered in HTML."
I disabled flash and all I get is a note I should install it. What am I missing? Thanks.

Hi Jernej,
HTML HV is available in 11.1.2.
You can configure the use of Flash content across the entire application by setting a flash-player-usage context parameter in adf-config.xml.
Please read this section in the doc:
http://download.oracle.com/docs/cd/E16162_01/web.1112/e16181/ap_config.htm#BHCHJICG
You can use the "disabled" setting, or "downgrade" in a browser that doesn't have Flash player installed in order to see the HTML HV. It is also used for the printable page mode.
Hope this helps
Katia

Similar Messages

  • How to make Hierarchy view  fixed in marketing plan .

    Hi Gurus,
    I have a requirement to make the Hierarchy view  as fixed ie To remove the toggel functionality .
    Component MPL_MAIN .
    for which
    I removed the toggel button and make the view visible all the times .
    I have removed the button by commenting the code .
    but I am not sure how can I make the view always visible ?
    I can understand that i have to use the same code as the toggel event 'ONTOGGLEHIERARCHY'is using ,
    but where should I be putting that code so that it takes the  Hierarchy view at the time of initial loading .
    Thanks ,
    Naval Bhatt.

    Hi Naval,
    you can try putting this into the "DO_PREPARE_OUTPUT" Method of the Overview-View.
    Regards
    Dennis

  • How could I test Hierarchy Viewer Components with OATS?

    Hello,
    I need some help with OATS. I am new to the program and I am not sure is it possible to record actions on Hierarchy Viewer components.
    Any help will be appreciated.
    Thank you in advance.
    Edited by: 1008138 on 2013-5-27 2:36

    imjolly wrote:
    you can try downloading inssider3 (istumbler if MAC) and then run it. This will show the broadcasting networks round about you and their channels including your own and take out any guesswork. If you then enter your router and change your wireless channel to a free or less congested channel.
    inssider3.1.2.1
    Do you downlod on a WiFi run computer?
    I just downloaded on my Desktop attached to my router by ethernet and It did not recognise any WiFi network?

  • Hierarchy Viewer difference in behaviour between ADF 11.1.1.5 & 11.1.1.6

    Hi All,
    We are having some problems with the Hierarchy Viewer and we were hoping that someone might be able to shed some light on this issue.
    In ADF 11.1.1.5 we have used the attribute displayLevelsChildren which shows how many levels of children would be displayed (if those levels are available of course). We have assigned a value to a select one choice that would set those levels and allow for our user to customise this value and see the levels on right hand side.
    You can see the behaviour that I am referring to in the following demo:
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/hv/hvGroupNode.jspx
    I know that this is an 11.1.2, but this has been the same demo for quite a while, when you change the Show Level on the left, the hierarchy viewer gets updated.
    I have created a simple app that illustrates the problem, and when I run it under 11.1.1.5 it performs as expected, while when we run it on 11.1.1.6 it doesn't refresh the levels
    Versions
    Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013
    Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
    The code is below
    This is the "dataBean" which is a pageFlowScope.
    package au.callista.sms.sr.view;
    import java.util.ArrayList;
    import java.util.List;
    import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
    import org.apache.myfaces.trinidad.model.TreeModel;
    public class DataBean {
         private TreeModel dataModel;
         public DataBean() {
              super();
              DataNode grandfather = new DataNode("Big daddy");
              DataNode father1 = new DataNode("Daddy 1");
              DataNode son1 = new DataNode("Son 1");
              DataNode daughter1 = new DataNode("Daughter 1");
              father1.addChild(son1);
              father1.addChild(daughter1);
              DataNode father2 = new DataNode("Daddy 2");
              DataNode son2 = new DataNode("Son 2");
              DataNode daughter2 = new DataNode("Daughter 2");
              father2.addChild(son2);
              father2.addChild(daughter2);
              DataNode father3 = new DataNode("Daddy 3");
              DataNode son3 = new DataNode("Son 3");
              DataNode daughter3 = new DataNode("Daughter 3");
              father3.addChild(son3);
              father3.addChild(daughter3);
              grandfather.addChild(father1);
              grandfather.addChild(father2);
              grandfather.addChild(father3);
              dataModel = new ChildPropertyTreeModel(grandfather, "children");
         public void setDataModel(TreeModel dataModel) {
              this.dataModel = dataModel;
         public TreeModel getDataModel() {
              return dataModel;
         public class DataNode {
              private String title;
              private List<DataNode> children;
              public DataNode(String title) {
                   this.title = title;
                   children = new ArrayList<DataNode>();
              public void addChild(DataNode child) {
                   this.children.add(child);
              public List<DataNode> getChildren() {
                   return children;
              public String toString() {
                   return title;
    }And below is the jspx page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelSplitter id="ps1">
              <f:facet name="first">
                <af:panelGroupLayout id="pgl3">
                  <af:selectOneChoice label="Show Levels"
                                      value="#{pageFlowScope.levels}" id="soc1"
                                      autoSubmit="true"
                                      valuePassThru="true">
                    <af:selectItem label="Show No level" value="#{0}" id="si1"/>
                    <af:selectItem label="Show 1 level" value="#{1}" id="si4"/>
                    <af:selectItem label="Show 2 level" value="#{2}" id="si3"/>
                    <af:selectItem label="Show 3 level" value="#{3}" id="si2"/>
                  </af:selectOneChoice>
                  <af:outputText value="#{pageFlowScope.levels}" id="ot1"
                                 partialTriggers="soc1"/>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="second">
                <dvt:hierarchyViewer id="hierarchyViewer1" layout="hier_vert_top"
                                     inlineStyle="width:100%;height:600px;"
                                     value="#{pageFlowScope.dataBean.dataModel}"
                                     var="node" partialTriggers="::soc1"
                                     displayLevelsChildren="#{pageFlowScope.levels}">
                  <dvt:link linkType="orthogonalRounded" id="l1"/>
                  <dvt:node width="100" height="100" id="n1">
                    <f:facet name="zoom100">
                      <af:panelGroupLayout layout="vertical"
                                           inlineStyle="width:100%;height:100%;padding:5px"
                                           id="pgl2">
                        <af:panelGroupLayout layout="horizontal" id="pgl1">
                          <af:panelGroupLayout layout="vertical" id="pgl4">
                            <af:outputText value="#{node}"
                                           inlineStyle="font-weight:bold;font-size:20px;color:#383A47"
                                           id="ot2"/>
                          </af:panelGroupLayout>
                        </af:panelGroupLayout>
                      </af:panelGroupLayout>
                    </f:facet>
                  </dvt:node>
                </dvt:hierarchyViewer>
              </f:facet>
            </af:panelSplitter>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Looking forward to your response.
    Regards,
    Younis Al-Rawi
    Edited by: Younis Al-Rawi on 4/03/2013 08:58

    Hi,
    the only change is that 11.1.1.6 supports HTML 5 rendering. So you may want to check if the rendering is in Flash or HTML5. If the rendering is in Flash and the mis-behavior shows then the only suggestion I can give is (in case you have a support contract) to file a service request with customer support
    Frank

  • In the slide show view how can you pin the "next" Arrow to the ultimate edge so it is in the same place as the full screen image, it will pin to the left edge but not the right.

    In the slide show view how can you pin the "next" Arrow to the ultimate edge so it is in the same place as the full screen image, it will pin to the left edge but not the right.

    Hello,
    Please make sure that the next button is pinned to the right side as there in the attached image.
    If it is already pinned, you can try removing any embedded HTML code and checking it.
    Regards,
    Neha

  • Creating a Hierarchy Viewer query

    Hello,
    I'm having huge difficulties creating a Hierarchy Viewer Query. I've looked through the source code contained withing the demo, but it seems to require great knowledge regarding the component. I'm using a three-node model, each node grouped within it's parent.
    So I created a custom View to be used as a result list for the query and this part is working just fine. I can pick the unique ID for the node I want from the search results when the user selects one, but I don't know how I can make that specific node my "anchor", my "current node", after that.
    Since I'm looking for a specific "contact_id" selected from the search results, I think the correct way of doing it is finding it's node on the TreeModel, and then setting it as my current anchor.
    Please, any tips, directions or suggestions on how can I go about doing this?
    Thanks!!

    Hi!
    Thanks for the attention, but I've been through all the basic stuff. The HV documentation only teaches the most primitive part of it. I searched all blogs related to HV, all articles I could find, I've meddled with the demo source code and all I can think of, but I couldn't find anyone who would give much insight on the mechanics of the component or how to build a really powerful search engine for it.
    As a sugestion for the developer team, it would be great if the query for this component allowed us to specify actions to be performed on all levels of the tree, instead of only the root node, since most of the time people use HV as a multi-root tree.

  • Nodes in hierarchy viewer

    Hi,
    in hierarchy viewer we have option to display no of nodes .
    now I want to display those no of nodes on the top of the page .
    If I have master-child-sub child in the hierarchy viewer, then I have to display like nodes in child level-- 5(or i have to choose) nodes in sub child level--3(list of values 1,2,3,....)
    how can I display like this???
    does any one know about this?
    Thanks in Advance.....

    Apparently you STILL HAVENT READ THE DOCUMENTATION!
    http://download.oracle.com/docs/cd/E16162_01/web.1112/e16181/dv_hviewer.htm#BGBEDIDI
    If you read THE DOCUMENTATION which is used by Oracle to DOCUMENT THINGS then you shall find that what you are looking for is standard functionality that is DOCUMENTED.
    I'd apologise for shouting, but after having directed you to the DOCUMENTATION more than once on this topic, you still insist that the forum members read THE DOCUMENTATION for you.
    If you have specific questions after reading THE DOCUMENTATION, I'd be pleased to attempt to answer them.
    John
    Edit:
    Its really very urgent requirement for me.For you perhaps... To me urgent means that someone is going to die or your company is going to lose revenue if you don't solve an issue immediately.

  • Hierarchy Viewer - navigate up

    I have a an app that uses the hierarchy view and a single table.
    It works fine and I can navigate up the hierarchy.
    Can anyone direct me to documentation or a sample of how I can implement the ability to navigate up the hierarchy?
    I am using v 11.1.2.3.0
    thanks

    I was able to create a method in a managed bean to perform the navigate up functionality.
    But, I am still unclear as to exactly what logic should exist.
    I tried the code at the bottom of this response, which I copied from the adffacesdemo app.
    But, trying to convert the results of the call to model.getRowData() to an AbstractNode fails.
    In addition, I am unclear as to the use of the instance variable _treeModel.
    So, although I am now able to trigger a method to perform the navigate up function, I am unclear as to exactly what logic is needed.
    public void doNavigateUp(ActionEvent actionEvent) {
    UIHierarchyViewer hv = (UIHierarchyViewer)actionEvent.getSource();
    TreeModel model = (TreeModel)hv.getValue();
    AbstractNode em = (AbstractNode) model.getRowData();
    if (em.getParent() != null)
    _treeModel =
    new ChildPropertyTreeModel(em.getParent(), "childEmployees");
    }

  • Hierarchy Viewer query

    Hi ,
    I am using Jdev 11.1.1.7.0 , and I want to use dvt:hierarchyViewer. Most of the examples I searched were of Hierarchy Viewer bounded to EO's based VO's with ViewLinks and Association.
    However, my case is a bit different.. We don't uses EO's instead we use Programmatic VO's and fetch data and show on screen.
    Does anyone know, how to implement Hierarchy Viewer using Programmatic VO's. I am a bit confused for it's <dvt:node type
    I tried implementing it, and found that it is more like TreeTable.. Is It ??
    Please help.
    Thanks in advance.
    -Neha..

    You need to have a viewLink that implements master-detail to populate the hierarchy viewer.
    The binding for it is hierarchical. I would suggest trying it out first with regular VOs to see how the binding looks like, and then apply your own programmatic VOs to it.

  • Hierarchy viewer - settings

    I have created a hierarchy viewer to present family relation, like family tree, and I can show it with all the settings in the first time, but after that it only presents me one node, instead of the all tree, Parent - Search profile - Childs.
    How can I return the hierarchy viewer with the same configurations used in the first time?
    I'm using jdev 11.1.1.7.1
    Thanks in advance

    What I'm trying to do is present the similar to the family tree.
    For e.g. I'm searching for a profile (A), that profile has a 'ParentId' that will connect to another profile (B) and there are other profiles that as the searched profile (A) as their parent (C, D, E), so the tree will be like this
        B
        A
    C D E
    The first time it shows me the tree I'll see it correctly, but after I change the searched profile, I can only see the Parent (B), the rest of the nodes (A, C, D, E) I have to click the option to present them.
    What I need is to present the tree everytime in the same way.
    Any ideas?

  • Hierarchy Viewer and Drag Drop

    Hi I am new for ADF Hiearchy Viewe components. I am trying drag from ADF table rows to drop ADf Hierarchy viewer node and introduce by http://docs.oracle.com/cd/E28280_01/web.1111/b31973/dv_hviewer.htm here.
    1. can get selected rows from drag source ADF rich table and I couldn't get Drop Row Key. In my source some hierarchy node work and some are not work. sourc here.
    <pre>
        public DnDAction toDropListener(DropEvent event)
            RichTable table = (RichTable) event.getDragComponent();
            Transferable t = event.getTransferable();
            DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
            RowKeySet rks = t.getData(df);
            Iterator iter = rks.iterator();
            List<Row> sourceRow = new ArrayList<Row>();
            while (iter.hasNext())
                List key = (List) iter.next();
                table.setRowKey(key);
                JUCtrlHierNodeBinding rowBinding = (JUCtrlHierNodeBinding) table.getRowData();
                sourceRow.add((Row) rowBinding.getRow());
            Transferable transferable = event.getTransferable();
            DataFlavor<Object> dataFlavor = DataFlavor.getDataFlavor(Object.class);
            Object transferableObj = transferable.getData(dataFlavor);
            if (transferableObj == null)
                return DnDAction.NONE;
            UIComponent dropComponent = event.getDropComponent();
            Object dropSite = event.getDropSite();
            if (dropSite instanceof Map)
                String clientRowKey = (String) ((Map) dropSite).get("clientRowKey");
                Object rowKey = getRowKey(dropComponent, clientRowKey);
                List<Key> keys = (List<Key>) rowKey;
                System.out.println("Row Key: "+rowKey+ " Size of Keys: "+keys.size());
                if (rowKey != null)
                    DCIteratorBinding itrEmp;
                    if(keys.size()==1)
                        itrEmp = ADFUtils.findIterator("ParentEmpTreeVO1Iterator");
                    }else
                        itrEmp = ADFUtils.findIterator("ChildEmpTreeVO1Iterator");
                    ViewObject hist=itrEmp.getViewObject();
                    Key key = keys.get(keys.size() - 1);
                    Row targetRow = hist.getRow(key);
                    System.out.println("Key: "+key);
                    System.out.println("Employee Id: " + targetRow.getAttribute("EmpId"));
                    if (sourceRow != null && !sourceRow.isEmpty())
                        for (Row row : sourceRow)
                            Row newRow=itrEmp.getRowSetIterator().createRow();//hist.createRow();
                            newRow.setAttribute("EmpId", row.getAttribute("EmployeeId"));
                            newRow.setAttribute("FirstName", row.getAttribute("FirstName"));
                            newRow.setAttribute("ManagerId", targetRow.getAttribute("EmpId"));
                            itrEmp.getRowSetIterator().insertRow(newRow);//hist.insertRow(newRow);
                            System.out.println("Created Row.");
                else
            RequestContext.getCurrentInstance().addPartialTarget(event.getDropComponent());
            return event.getProposedAction();
        private Object getRowKey(UIComponent component, String clientRowKey)
            if (component instanceof UIHierarchyViewer)
                UIHierarchyViewer hv = (UIHierarchyViewer) component;
                ClientRowKeyManager crkm = hv.getClientRowKeyManager();
                return crkm.getRowKey(FacesContext.getCurrentInstance(), component, clientRowKey);
            return null;
    </pre>
    and in hierarchy viewer added row displayed on level one for session then reload page it is ok why shot in level 1
    Where I missed? how to Selected rows assign to hierarchy viewer object? thanks juddi

    thanks for your reply shay. i am just trying to understand how a dvt HV could render in iPhone mobile browser (eg. iOS simulator) as its a part of ADF Faces components. as a part of mobile development we have only trinidad components available (not HV) and it renders in iOS simulator.
    I have tested a HV app (JDev 11.1.1.6) in Safari web browser and it works fine there. Please share your thoughts on this.
    ~Abhijit

  • Hierarchy viewer upward navigation

    I have hierarchy viewer on top of employee table which has employee_id,manager_id and other fields. I have search option in the page. I am able to drill down on the employee I searched. I want to configure drill up functionality also.
    I understand I need to configure navigatingUpListener property for this .. But not sure how to configure that.

    Hi All,
    Can anyone reply to this thread.
    Thanks and Regards
    Kaushik Gopalakrishnan

  • Link / MAP an Lov selection list to the Hierarchy Viewer.

    Hi,
    I have created both a hierarchy viewer and an LOV af:selectOneChoice; both are appearing correctly on screen. I simple (hopefully) just want to link the selection made on the LOV / combo box to the Hierarchy viewer, such that when a user selects a value from the Lov/ComboBox the hierarchy viewer is updated. I am new to ADF, in Javascript with EXTJS or Jquery this is simple, but I cant figure out how to implement this feature in the Hierarchy viewer.
    any help much appreciated.
    Darragh.

    thanks Ankit for replying; I change the SOC to an inputListOfValues instead, but the same idea applies
    I have two underlying View Objects. For the ViewObject on the HV I also have a View Criteria and once the user selects from the LOV I need to remove the default View Criteria and apply another. I know I can implement the following code
        ViewCriteria vc = getViewCriteria("setEmployee");
           vc.resetCriteria(); //removes any existing View Criteria.
           setemployeeidbind(x); //this is the employee number
           applyViewCriteria(vc);
           executeQuery();
    I want to execute the above code once the user has selected a new user. I decided to change SOC to a inputListOfValues and I created a managed Bean to caputure the returnPopupListener, I now have the employee number selected by the user. I was hoping to now refresh the HV, remove the current ViewCriteria and apply a new vew Criteria. So basically I want to implement the above code when the user closes the pop up search. I am using the following code to get the handle to the ApplicationModule and the ViewObject
             BindingContext bcc = BindingContext.getCurrent();
             DCDataControl dc = bcc.findDataControl("AppModuleDataControl");
             ApplicationModule am = dc.getApplicationModule();
             ViewObject VO = am.findViewObject("EmpDetails1");
    Now, I simply want to remove the existing view criteria and set the bind variable. As I say I am very new to ADF I really feel stupid asking these Questions as in PL/SQL / JavaScript etc this is very easy to do

  • Nakisa Org Hierarchy view setup

    Hi,
    Does anyone have any information on setting up the Org Hierarchy view in TVN? Currently I only have a single, blank box displaying on the Nakisa webpage in the Org view (under Position tab).
    Also, I'm looking for the full document set and a config manual (other than the installation guide and administrator guide available after installation).
    Any assistance will be greatly appreciated.
    Dirk.

    Hi David,
    Usually these fields are stored by default. They are a standard set of names that are used by the BAPIs that get and return the data from SAP. These are:
    OrgUnit Hierarchy:
    Hierarchy ID: Object_ID
    Parent ID: ParentNo
    Element ID: Object_ID
    Position Derived:
    Hierarchy ID: Object_ID
    Parent ID: <blank>
    Element ID: EmployeeID
    Sucession:
    Hierarchy ID: Object_ID
    Parent ID: <blank>
    Element ID: Object_ID
    Youalso  need to make sure the link settings are also populated.
    If you have already used these and only get part of the structure your SAP user ID may not have the required authorisations to view all of the structure. Nakisa can recommend how to setup the user.
    Good luck.
    Luke

  • Html picture viewer

    hi apple list,
    hoping someone could help - trying to create an html picture viewer in iweb - i have tried artotems script - but that is designed to publish directly to dot mac - can anyone tell me how to modify this to publish to folder and upload to a remote site - thanks so much

    Robert:
    That code from artotems site can be used on a non-Mac server. You just need to upload the follder of image files to your server and set the URL for the various pictures to their location on your server. He has
    src="http://web.mac.com./your iDisk/docs/yourimage1.jpg" width="100" height="75"
    You will need to change it to something like:
    http://yourserver_name/account_name/imagename.jpg
    What he's using is a javascript base viewer. This demo page has a couple similar viewers with the code used. It's done with an HTML snippet and iFrame code. My examples require clicking on the thumbnail to view the larger version unlike artotems version. Again the demo is written for a MobileMe account but all you need to do is upload the javascript folder to your server and link it to the iFrame code with the correct URL.
    Happy New Year

Maybe you are looking for