ADF 11g hiearchyViewer widget: can rendering of the graph be customized

The hiearchyViewer widget supports rendering a graph of one parent to many children nodes. I have a need to display a directed graph where many parent nodes is linked to a common child node . Is it possible to extend the hiearchyViewer widget to override the graph rendering algorithm? If the answer is yes, how may I able to do it, or is there sample code I can review? If the answer is no, how can I create an ADF widget that uses the same flash library the hierarchyViewer ADF widget is using to render its graph. Thank you.

The HV can't show multi-parents to a children relationship.
We are working on a new component that should be able to do that - hopefully it will make it into the 12 release.
You can see a couple of beta screenshots here:
http://one-size-doesnt-fit-all.blogspot.com/2011/10/adf-take-aways-from-oracle-open-world.html

Similar Messages

  • ADF and JQuery: How can I get the data back to server listener.

    Jdeveloper 11g Version 11.1.1.2.0
    I use Jquery to draw the signature. How can I get the svgOutput back to my server listener.???
    e.getSource give me the error e.getSource is not function.
    Both of function saveSignatureCapture(which calling from ADF button) and $('#save-output').click(function (event) can not send the the data back to my server listener.
    Thanks.
    <?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:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="dSignature" title="Signature Capture">
          <af:resource type="javascript" source="../resources/lib/jquery/jquery-1.4.2.min.js"/>
          <af:resource type="javascript" source="../resources/js/jquery.drawbox.js"/>
          <af:resource type="javascript">
            var svgOutput = '';
            function saveSignatureCapture(e) {
                var signatureText = $('#drawbox-data').val();
                var source = e.getSource();
                var type = 'saveSignatureCapture_ServerListener';
                var immediate = true;
                var params = {
                    signatureText : signatureText
                AdfCustomEvent.queue(source, type, params, immediate);
            function beginSignatureCapture(e) {
                $('#drawbox').drawbox( {
                    caption : 'This is a caption', lineWidth : 3, lineCap : 'round', lineJoin : 'round', colorSelector : true
                $('#view-output').click(function () {
                    svgOutput = window.open('data:image/svg+xml,' + $('#drawbox-data').val());
                    svgOutput.document.close();
                    return false;
                $('#save-output').click(function (event) {
                    var signatureText = $('#drawbox-data').val();
                    var source = $(document);
                    var type = "saveSignatureCapture_ServerListener";
                    var immediate = true;
                    var params = {
                        signatureText : signatureText
                    AdfCustomEvent.queue(source, type, params, immediate);
                    return false;
            $(document).ready(beginSignatureCapture);
          </af:resource>
          <af:panelStretchLayout id="psSignature">
            <f:facet name="bottom"/>
            <f:facet name="center">
              <af:panelGroupLayout id="pgSignature" layout="vertical">
                <f:verbatim>
                  <div id="divSignature">
                    <canvas id="drawbox" width="600" height="200">
                      <p>Your browser does not support &lt;canvas&gt;</p>
                    </canvas>
                  </div>
                  <br/>
                  <br/>
                  <a href="#" id="view-output">View Rendered SVG Output</a>
                  <br/>
                  <br/>
                  <a href="#" id="save-output">Save Signature</a>
                </f:verbatim>
                <af:spacer width="10" height="10" id="s10"/>
                <af:panelGroupLayout id="pghl14" layout="horizontal" halign="center">
                  <af:commandButton text="Save Signature" id="cbSaveSignatureButtonId" partialSubmit="true">
                    <af:clientListener method="saveSignatureCapture" type="click"/>
                    <af:serverListener type="saveSignatureCapture_ServerListener"
                                       method="#{backingBeanScope.mainBackingBean.saveSignatureCapture_ServerListener}"/>
                  </af:commandButton>
                </af:panelGroupLayout>
              </af:panelGroupLayout>
            </f:facet>
            <f:facet name="start"/>
            <f:facet name="end"/>
            <f:facet name="top"/>
          </af:panelStretchLayout>
        </af:document>
      </f:view>
    </jsp:root>Edited by: user553450 on Sep 17, 2010 4:02 PM
    Edited by: user553450 on Sep 17, 2010 4:13 PM

    Hi Frank,
    Thank you so much for your advice, I got lot of knowledge from your book and articles since I am in transition from forms to JDeveloper.
    By surrounding <af:panelStretchLayout id="psSignature"> with <af:form id="f1">
    Now the following code is work on Firefox, everything fine, I can get the data back and call my server listener as I expected.
    <?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:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" title="Signature Capture">
          <af:resource type="javaScript" source="../resources/js/excanvas.js"/>
          <af:resource type="javascript" source="../resources/lib/jquery/jquery-1.4.2.min.js"/>
          <af:resource type="javascript" source="../resources/js/jquery.drawbox.js"/>
          <af:resource type="javascript">
            function saveSignatureCapture(e) {
                var signatureText = $('#drawbox-data').val();
                alert(signatureText);
                var source = e.getSource();
                var type = 'saveSignatureCapture_ServerListener';
                var immediate = true;
                var params = {
                    signatureText : signatureText
                AdfCustomEvent.queue(source, type, params, immediate);
            function beginSignatureCapture(e) {
                var cmd = "$('#drawbox').drawbox({lineWidth:3,lineCap:'round',lineJoin:'round',colorSelector:true});";
                if (navigator.userAgent.indexOf('MSIE') !=  - 1) {
                    setTimeout(cmd, 1000);
                else {
                    $('#drawbox').drawbox( {
                        caption : 'This is a caption', lineWidth : 3, lineCap : 'round', lineJoin : 'round', colorSelector : true
          </af:resource>
          <af:form id="f1">
            <af:panelStretchLayout id="psSignature">
              <f:facet name="bottom"/>
              <f:facet name="center">
                <af:panelGroupLayout id="pgSignature" layout="vertical">
                  <f:verbatim>
                    <canvas id="drawbox" width="600" height="200">
                      <p>Your browser does not support &lt;canvas&gt;</p>
                    </canvas>
                  </f:verbatim>
                  <af:spacer width="10" height="10" id="s10"/>
                  <af:panelGroupLayout id="pghl14" layout="horizontal" halign="center">
                    <af:commandButton text="Save Signature" id="cbSaveSignatureButtonId" partialSubmit="true">
                      <af:clientListener method="saveSignatureCapture" type="click"/>
                      <af:serverListener type="saveSignatureCapture_ServerListener"
                                         method="#{backingBeanScope.mainBackingBean.saveSignatureCapture_ServerListener}"/>
                    </af:commandButton>
                  </af:panelGroupLayout>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="start"/>
              <f:facet name="end"/>
              <f:facet name="top"/>
            </af:panelStretchLayout>
          </af:form>
          <af:clientListener method="beginSignatureCapture" type="load"/>
        </af:document>
      </f:view>
    </jsp:root> However, I got the error following error when I run the page from IE8.
    Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichCommandButton[oracle.adf.RichCommandButton] id=cbSaveSignatureButtonId StackTrace:function(x217)[AdfRichCommandButton[oracle.adf.RichCommandButtonId]..........
    FYI, the following simple testing code has the similar error in IE8 too (not for Firefox).
    <?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:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:resource type="javaScript" source="../resources/js/excanvas.js"/>
          <af:form id="f1">
            <f:verbatim>
              <canvas id="drawbox" width="600" height="200">
                <p>Your browser does not support &lt;canvas&gt;</p>
              </canvas>
            </f:verbatim>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>The error is: Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichDialog[oracle.adf.RichDialog] id:::msgDlg StackTrace function(x217).......
    Your advice is very much appreciated.

  • SCOM2012R2 Powershell Grid Widget - Can I control the trigger?

    Hi everyone,
    I'm currently playing around with the new Widgets in SCOM2012R2 and came across a rather anoying Situation regarding the Powershell Grid Widget.
    In my test Dashboard I have 4 Grids with different Widgets as following:
    State Widget - Shows several Groups that contain Computer Objects
    Contextual Alert Widget
    Details Widget
    Powershell Grid Widget - takes the Globalselected Item and Shows all RelatedMonitoring Objects + Details from a subclass of those
    This works perfectly fine, when I select either a Group in the State Widget or a Monitored Object in the PS Grid Widget.
    But as soon as I select an Alert to get more Information about it, the Alert Object is passed to the Powershell Grid Widget and, as the Script is not set up for Alert info, it Shows nothing.
     My question is, if there is a way to Limit the Powershell Grid Widget in a way, that it only reacts to interaction in the State Widget, but not in the Alert Widget?
    regards
    Tobias

    I usually have a routine for that and check if I get data from the monitoring object. If not, I go for alert data.
    Cheers,
    Patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • Can you change the Graphs Colors in BEx Web Analyzer?

    Dear All,
    I have few queries I have developed via BEx Query Designer which I am opening from BEx Web Analyzer in portals. Unfortunately the colors in the Graphs are not very pleasant. I was wondering if there is a way we can customize the colors which is given by the standard.
    I am aware that we can do this is BEx Report Designer. But I would like to do this is BEx Query Designer.
    Please help..
    Cheers,
    Shanka

    Hi Shanka,
    There is no option as such in BEx Query Designer.
    You can manipulate and play with colors only in Report designer or Web Application Designer.
    In Bex Query designer, you will find only exceptions which are related to colors but chart colors cannot be manipulated in query designer.
    If you are executing the report in workbook, you can change accordingly as it is excel.
    Regards,
    KK.

  • Can I have the number for customer service for itunes

    can I have the number for itunes customer service

    If you mean the iTunes Store, they have no phone support. Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

  • Can we unlink the relationship between Customer and Opportunity?

    Hi Experts,
    I have an opportunity type field in Opportunity to differentiate customer and non-customer. There is a situation when I create an opportunity from customer, the opportunity is tie with customer even the opportunity type is non-customer. How do I remove the relationship between customer and opportunity if the opportunity type = non-customer and I want remain the relationship if opportunity type = customer? I have tried on workflow, but it's seems not working as the system not allow me to modified the relationship.
    Please advice. Thanks

    Hi Bob,
    You are right, we can hide the Customer Name from the layout. But this is not what I want because at the back-end the Opportunity are still tied with the Customer and it will still be shown in the Opportunity section of Customer. If we show the Customer Name in the layout, the value are still there. I will like to take out the relationship between Customer and Opportunity if Opportunity Type = Non Customer. Meaning that Non Customer Opportunity will not tie with any customer.
    Please advice. Thanks

  • How can I enlarge the graph in a BI JSP Page?

    I create a BI JSP Page, the graph is too narrow, so not enough wide. How can I change the sizew of the graph?
    Thanks in advance.

    Read this:
    http://help.apple.com/pages/ipad/2.2/#/tana29e86157

  • How can i clear the vendor and customer open line items at a time same vendor as a customer of the company (same vendor same customer and equal invoices )

    my vendor and customer are same . purchase invoice due100000 and sales invoice amount is also 100000 at a time with any manual action , have any setting for cleared both vendor and customer line items at a time ...........

    X Ltd. will be Vendor & Customer.
    Purchase Invoice is booked under Vendor SAP number & Sales Invoice is booked under Customer SAP number. Then you can transfer amount from Vendor to Customer or vice versa with T-code F-04.
    Then if you have transferred amount from customer to Vendor (F-04), Vendor account will have two entries Debit & Credit. Then go for clearance with T-code F-44 clear Vendor.

  • ADF 11g - Very slow page rendering

    Hi,
    In our application we have a page with many panel boxes which are by default visible='false'. On the selection of a row in the table the particular panel box would be rendered and shown on the page.
    The problem we are facing is with a very simple transaction, the user selects a particular type and there is a simple button which submits the records selected to data base and shows a popup. This process is taking very long. While debugging we have observed that the submission is happening fast but the displaying of the pop up and the page is time taking.
    When we removed all the code from the page and just left the code for the above transaction and did the testing there was no delay. The complete flow went very fast.
    We are using Fire fox 3 as our default browser.
    Can any one please help us in improving the performance of the page?
    Thanks,
    Manasa.

    Hi,
    We have solved the performance issue by tuning all the VOs being used in the Page. One more factor which increased the performance was clearing the multiple iterators that got created in the pageDef during the course of development.
    Hope this helps you.
    Thanks,
    Manasa.

  • How can I use the CustomEvent in custom Item Renderer

    Hi all.
    I have a small problem, which i must solve.
    I have a ImageRenderer - TileList with a custom ItemRenderer.
    When I choose a picture a button appears (in the ItemRenerer) and when I click it it throws an event with the name of the picture.
    The Problem is, that i can not add an event Listener to the ItemRenderer.
    Can anybody help me to resolve this problem?

    But how can I catch it in the top of the list??????
    The ItemRenderer is a IFactory Class Object, which has only one function newInstance().
    I repeat it again, there is no addEventListener or something else for the ItemRenderer.
    I can give you only a header of the code because it is a big project (and if somebody have a solution or an example, maybe he could give me the it, please)
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init();"
         dataProvider="{imageList}"
         labelField="label"
         iconField="thumbnail"
         itemRenderer="{new ClassFactory(ThumbnailRenderer)}" verticalScrollPolicy="auto">......
    and the renderer
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
              horizontalAlign="center" verticalAlign="middle" creationComplete="init()"
              xmlns:DataModels="DataModels.*"
              click="selectedHandler()" height="125">
         <mx:Image source="{data.thumbnail}"
                  width="80"
                  height="50"                    horizontalCenter="0"
                     verticalCenter="0" horizontalAlign="center" verticalAlign="middle"/>
         <mx:Label text="{data.label}"
                   horizontalCenter="0"
                   bottom="0" />
         <mx:Metadata>
             [Event(name="addImageEvent", type="DataModels.AddImageEvent")]
        </mx:Metadata>
    The button is created dynamicly. When i clicked it, then i dispatch a new AddImageEvent
    like this
    ...button.addEventListener(MouseEvent.CLICK, dispatchAddImageEvent);...private function dispatchAddImageEvent(event:Event):void{     var addImageEvent:AddImageEvent = new AddImageEvent(AddImageEvent.ADD_IMAGE_EVENT);     dispatchEvent(addImageEvent);}
    Inside the renderer i can catch it, because there is the addEventListener method, but not in the ITEMRENDERER (IFactory element)

  • How can I set the graph on the panel as buttons?

    Hi all,
    I'm trying to control a camera by sending DO control signals and acquiring AI signals. After I grab a whole image, and show it on the screen, I want to set it as 2D array of bool controls. So that I can click certain pixels, to send next controlling signals which stand for the addresses. I also want to zoom in and zoom out functions, by which I can see the pixels (buttons) clearly. Can I implement that in LabVIEW? If I build a 2D array of buttons, I cannot get rid of the spaces between the buttons. I'm using LabVIEW 8.5. Any suggestion will be appreciated.
    Best wishes,
    Bo
    My blog Let's LabVIEW.
    Solved!
    Go to Solution.

    Hi Mike,
    Thank you for your reply. The things I've done is using a 2D array of 64x64 booleans on the front panel to send the addresses, and display the 64x64 pixels image after acquired. What I want is simply clicking the image instead of the buttons. My image is an intensity graph, so I can have X,Y and Z values to display 2D array. I dont konw if a picture control can display a 2D array. Besides that, I also want to make the pixels different after I click them, so that I can confirm which pixels are pressed. A simpler way came to my mind is use 2D array of booleans to do that, change the color of them by the acquired value. So the array will by a picture. But the spaces between the booleans are on the way. So is there any way:
    1. Use 2D booleans, and update the color of each button after required, and get rid of the spaces between the buttons. Since the buttons should be 1x1 or 2x2 pixes big, I want to find a way to zoom in them.
    2. Or, monitor the coordinates of the mouse, and use a proper graph to display, which can be zoomed in and zoomed out, and become different when pressed.
    Thank you very much.
    Best wishes,
    Bo
    My blog Let's LabVIEW.

  • Can we change the name of custom object?

    Is it possible to change the name of any custom object?
    Thanks and Regards,
    Animesh

    Yes you can. Go to Admin --> Application Customization --> Customize Record Types

  • How can i adjust the sound level customized for each browser tab?

    Hi,
    I'm kinda a new mac user. I want to know how i can adjust the sound level specifically for each browser tab or application the way you could do in windows.
    Thanks.

    Volume Mixer feature  that Windows has, is not available in OS X.
    Best.

  • How can we register  the ADF Pages in CRM Application.

    Hi All,
    i am new to the ADF i have some doubts on ADF..
    1.can we register the ADF Pages in CRM Application.
    CRM:
    In my company CRM is the front end application developed in PHP to maintain the employees information.
    Now i need to develope some ADF Pages and i register this ADF Pages in CRM Application.
    If it is possible to Register ADF Pages in CRM Application .
    2.How can we register can anybody explain the Steps please.
    OR
    3. Which version of Jdeveloper is suitable for this type of ADF pages.
    Thanks,
    Mallik.

    Well, not sure I understand 'register' here. You can have a php page and link it to a adf page which runs on a server, but I guess you are talking about something totally different.
    Timo

  • How can I customize the error message UIX STRUTS ADF

    Hi dear forum:
    I need to customize the error message?
    Error
    Id - JBO-27014: Attribute Id in AppModule.BackupsView1 is required
    Fecha - JBO-27014: Attribute Fecha in AppModule.BackupsView1 is required
    AplId - JBO-27014: Attribute AplId in AppModule.BackupsView1 is required

    Repost:
    I need to customize the error message when I insert a new row with wrong values in ADF STRUTS UIX, where can I changue the default values for the message?

Maybe you are looking for