ADF Mobile-PieGraph not passing Series and GroupAttributes to ClickListener

JDeveloper Version: 11.1.2.2.0
We are developing ADF Mobile Apps and using the ADF trinidad DVT PIE Graph component. The custom click listener method I have in place is not able to retrieve the series or group attributes when clicked. All of the Series and group attributes are being returned as NULL. Below is the code I have in place:
<dvtt:pieGraph id="graph1" value="#{bindings.EroProductReportGrpByView1.graphModel}"
subType="PIE" customLayout="CL_NONE"
threeDEffect="true" inlineStyle="width:100%"
binding="#{processDashBoardCriteria.eroProdReportPie}"
clickListener="#{processDashBoardCriteria.pieGraphClicked}">
<dvtt:background> <dvtt:specialEffects/> </dvtt:background>
<dvtt:graphPieFrame/>
<dvtt:seriesSet>
<dvtt:series/>
</dvtt:seriesSet>
<dvtt:legendArea automaticPlacement="AP_NEVER" position="LAP_BOTTOM" rendered="false"/>
<dvtt:slice labelPosition="LP_OUTSIDE_WITH_FEELER"/>
<dvtt:sliceLabel textType="LD_TEXT_PERCENT"/>
<dvtt:pieLabel rendered="true"/>
<dvtt:graphTitle horizontalAlignment="CENTER"
text=" "/>
</dvtt:pieGraph>
In the PAGE DEFINITION FILE:*
<graph IterBinding="EroProductReportGrpByView1Iterator" id="EroProductReportGrpByView1"
xmlns="http://xmlns.oracle.com/adfm/dvt" type="PIE">
<graphDataMap convert="false" leafOnly="true">
<series>
<item value="Plant" label="Plant"/>
<item value="OrderPrefix" label="OrderPrefix"/>
</series>
<groups>
<data>
<item value="PlantId" label="${adfBundle['com.dam.DAMReportsWebBundle'].PLANT_KEY}"/>
</data>
</groups>
</graphDataMap>
</graph>
CLICK LISTENER CODE:_
public void pieGraphClicked(ClickEvent clickEvent) {       
ComponentHandle handle = clickEvent.getComponentHandle();
if (handle instanceof DataComponentHandle)
DataComponentHandle dhandle = (DataComponentHandle)handle;
// Get the value displayed in the series
System.out.println("Value: " + dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE));
// Get the series attributes
Attributes [] seriesInfo = dhandle.getSeriesAttributes();
Object component = dhandle.getComponent();
System.out.println("Component is : "+component+" Data Component Handle Name : "+dhandle.getName());
if(seriesInfo != null)
for(Attributes attrs: seriesInfo)
System.out.println("Series value: " + attrs.getValue(Attributes.LABEL_VALUE) + "Series name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE)+ " Series value id: " + attrs.getValue(Attributes.ID_VALUE));
System.out.println("Series name id: " + attrs.getValue(Attributes.ID_ATTRIBUTE));
// Get the group attributes
Attributes [] groupInfo = dhandle.getGroupAttributes();
if(groupInfo != null)
for(Attributes attrs: groupInfo)
System.out.println("Group value: " + attrs.getValue(Attributes.LABEL_VALUE));
System.out.println("Group name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE));
Any one have an idea where the problem can be?
Edited by: vp**** on Jul 12, 2012 7:49 AM
Edited by: vp**** on Jul 12, 2012 8:59 AM

Hi Frank,
We have not yet tested on Mobile browser. Currently we are testing on IE and Safari browsers and the click listener is not able to receive the Series and Group attributes of the PIE graph.
One more question - Does the imageFormat of the Pie Graph needs to be explicitly specified as "FLASH" for the clickListener to work correctly?
I even tried specifying in the jspx file and it is throwing error as below:
Error: An unreported error occurred in Appc. No errors were reported, but the tool returned a failure result code: 1.
Warning: <Jul 13, 2012 12:11:57 PM CDT> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
Warning: There are 1 nested errors:
Warning: imageFormat="FLASH">
Warning: ^----^
Warning:      at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:458)
Warning:      at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:227)
Warning:      at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:236)
Warning:      at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
Warning:      at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
Warning:      at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
Warning:      at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
Warning:      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
Warning:      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Warning:      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
Warning:      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
Warning:      at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
Warning:      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
Warning:      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
Warning:      at weblogic.application.compiler.Appc.runBody(Appc.java:203)
Warning:      at weblogic.utils.compiler.Tool.run(Tool.java:158)
Warning:      at weblogic.utils.compiler.Tool.run(Tool.java:115)
Warning:      at weblogic.application.compiler.Appc.main(Appc.java:262)
Warning:      at weblogic.appc.main(appc.java:14)
Thanks
Venkatesh
Edited by: vp**** on Jul 13, 2012 11:11 AM

Similar Messages

  • ADF Mobile : Could not find property inputvalue in class java.math.BigDecimal

    I tried to add an input text item to the list view like below and received an error message while navigating out of the input text field.
    "Could not find property inputvalue in class java.math.BigDecimal".
    Can someone show me some pointers about what is wrong with the below code.
    JDEV Version : 11.1.2.4
    <amx:listView var="row" value="#{bindings.Empdtls.collectionModel}"
                            fetchSize="#{bindings.Empdtls.rangeSize}" styleClass="adfmf-listView-insetList"
                            id="lv1" editMode="true">
                <amx:listItem id="li1">
                  <amx:tableLayout width="100%" id="tl1">
                    <amx:rowLayout id="rl1">
                      <amx:cellFormat width="10px" id="cf3"/>
                      <amx:cellFormat width="60%" height="43px" id="cf2">
                        <amx:outputText value="#{row.ClassCode}" id="ot3"/>
                      </amx:cellFormat>
                      <amx:cellFormat width="10px" id="cf4"/>
                      <amx:cellFormat width="40%" halign="end" id="cf1">
                        <amx:inputText value="#{row.bindings.Salary.inputValue}" simple="true" id="it41"/>
                      </amx:cellFormat>
                    </amx:rowLayout>
                  </amx:tableLayout>
                </amx:listItem>
              </amx:listView>

    Hi,
    #{row.bindings.Salary.inputValue) doesn't access a binding in ADF Mobile. Use #{row.Salary} instead.
    Frank

  • ADF Mobile does not show up on the list of extensions in JDev

    I can't find the ADF Mobile template or add it in 12c.
    Am I missing something here?

    Hi,
    ADF Mobile only exists for JDeveloper 11.1.2.4. The 12c version of ADF Mobile will ship with JDeveloper 12.1.3 which has not been released yet
    Frank

  • Can not pass Prime and SuperPi

    Hi all
    Last week i built up a new machine (see my signature). I have a fresh install of WinXp SP2 and the following problem.
    Prime95 and SuperPi are reporting errors. Memtest passes with no errors on 24 hours test. I can play doom3 for hours with no problem. System is stable all the time. What is the problem? Is there a bios setup i have to change? Is it possible that K8N has some problems with 0,9 Athlons 64? I have red about that on other forums. And last but not least. Computer is running on stock values (no OC at all).

    Quote
    Originally posted by prepecenc
    Hi all
    Last week i built up a new machine (see my signature). I have a fresh install of WinXp SP2 and the following problem.
    Prime95 and SuperPi are reporting errors. Memtest passes with no errors on 24 hours test. I can play doom3 for hours with no problem. System is stable all the time. What is the problem? Is there a bios setup i have to change? Is it possible that K8N has some problems with 0,9 Athlons 64? I have red about that on other forums. And last but not least. Computer is running on stock values (no OC at all).

  • Great Deal I could not pass up, and it works with my Mini Mac!

    Well I fought the others pushing and shoving to get a new 512MB iPod + HP Shuffle for $48.88 yesterday (Black Friday). When I bought it and started looking at the box and directions it said it was for the Windows XP platform. I thought I wasted the money and tried to think or how I could dump it on eBay! So I started to surf around and see if there was any hope. I went to the Hewlett-Packard site and was very sad to see they stated that "The Apple iPod from HP is configured for a PC and formatted for Windows. HP does not support the use of an Apple iPod from HP on a Mac." Now I really started seeing red! I wanted an iPod that would work on my Mac Mini, but I'm cheap! So then I went to APPLE.COM and started looking around. I noticed that there was an iPod update that I would need that carried drivers. Since the CD that came with the Shuffle was for a Windows XP machine only (no Mac software - I looked) I downloaded the update. So now the big risk, if I plug in the iPod to the USB and it makes the iPod unusable - I've lost it all. What the H*%#, I'll try it anyway. Worked like a dream! Updated the iPod and now I'm up and running with this new toy. Wow what a product. I like it a lot! So if you see a deal like the one I got, go for it! It will worked on my Mac Mini running Tiger.
    Robert
    Mini Mac and a SE30 with a ton of programs! Still works!   Mac OS X (10.4.3)   Linux Machines Running RH & Mandrake

    Kelly;
    I downloaded the Apple Mac iPod update before I plugged the shuffle in for the first time to my Mini Mac. I inserted the iPod and it started iTunes and the update right away. I did not load any other software to the iPod after I removed it from the box. So I think it was not formated from the HP factory. I belive the Mac iPod update did that when I plugged it in.
    I bought the 512 MB iPod Shuffle at Brandsmart. Their stores are only in South Florida and North Georgia and are a deep discount house with a lot of China inport products. Here is the link to the stores web site.
    http://brandsmart.com/ It's web site is a little lame. They use jpg's for their flyers so it's hard to read online. It looks much better in print.
    I noticed that todays flyer shows the iPod Shuffle+HP 1 GB for $108.00 and the new 30 GB iPod Photo for $278.00. I spent all my money so another one is out of the question Kelly. SeeYa!
    Robert
    Mini Mac   Mac OS X (10.4.3)   Linux Machines Running RH & Mandrake

  • I'm trying to install the new Itunes but every time it gets to a certain point it says something regarding mobile devices not install correctly and wont let me continue

    Everytime I try to install the new Itunes It fails.  I've tried downloading the set up twice with the same effect.

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Using database views in ADF mobile client application

    Hi,
    I am using Jdeveloper 11.1.1.4 and WLS 10.3.4.
    I have developed a POC in ADF mobile client application both with and without synchronization. However, both work with entity objects based on tables.
    I need to use database views instead of tables. When I try to include entity object (based on views) in the view object, it shows an error saying "Only the entity objects based on tables can be selected"
    Please guide me if there is a work around for this.
    Also, please let me know if there is way to develop an ADF mobile client application skipping the use of entity objects at all and using view objects directly to specify the database query and fetch data from the database.
    Thanks in advance.
    Ansh
    Edited by: ansh on Mar 28, 2011 5:40 AM

    Hi, Ansh:
    Currently, out of box, ADF Mobile Client does not support synchronization against Database Views. This is because Mobile Server imposes some schema restrictions to ensure synchronization with multi-table views would work correctly. This schema restriction requires, for example, the view must have a primary parent table with key defined, and also all base table must be included in the data publication. These dependencies requires manual resolution and advanced planning, and is managed outside of the ADF Mobile Client/JDeveloper project.
    To continue development, you would need to create server Entity Objects directly against the base tables. You can then create the mobile ADF Business Component (EOs, VOs, etc). You can then create View Objects in your ADF Mobile Client application based on the database views, in order to retrieve the data you need exactly. In other words, instead of basing EO on the database view, create View Objects in the mobile applicaiton to mimic what you had in the View Object.
    Is there any other reason why you would need to access data via database views, instead of directly against base tables?
    Thanks,
    Joe Huang

  • PropertyChangeSupport in ADF Mobile

    I'm working with ADF Mobile - altogether easier and more powerful than I thought - much faster development than with the Android SDK, and multiple device support thown in.
    I'm seeing in the bean samples that PropertyChangeSupport is used for every bean variable on setting (via the firePropertyChange method, but also with the fireProviderRefresh and fireProviderCreate methods).
    The ADF API has scant documentation:
    "This is a utility class that can be used by beans that support bound properties. You can use an instance of this class as a member field of your bean and delegate various work to it."
    Is this a new way to work with bean values? It appears to be mobile only (in the adfmf package), so it is a different way to handle this?
    When do I use this? Which methods do I call?
    Is there more documentation?
    Thanks,
    Ed.

    Hi,
    this is normal JavaBean development in which properties notify listeners about change (thus bound properties). In the ADF Mobile case the framework listens and you can use this to refresh a component. See http://www.oracle.com/technetwork/developer-tools/adf/learnmore/m02-dynamicallyshowhidecomponents-1915399.pdf where I used this to dynamically show/hide components. So to answer your question: yes its spcific to ADF mobile and not required in Web ADF. But then its not specific because you would use the same in Java desktop UI development too.
    Frank

  • ADF Mobile on Oracle Cloud

    Hi,
    according to the unsupported features list on http://docs.oracle.com/cloud/CSJSU/feat_implement.htm#CEGBGCCE
    it states that
    - ADF Mobile
    is unsupported and there is no applicable alternative.
    What does it actually mean ? I don't see a direct relation from ADF Mobile to cloud computing.
    Does it mean that
    - ADF Mobile Apps are not allowed to consume WebServices on Oracle Cloud?
    - Oracle Cloud does not allow to deploy WebServices which could be consumed by ADF Mobile Apps?
    - Since ADF Mobile works from Version 11.1.2.3+ and Oracle Cloud is on 11.1.1.6 ADF Mobile is not supported?
    - Or is it just a documentation bug?
    Thanks for any hints,
    Andreas Koop
    PS: Also posted on ADF Forum: ADF Mobile on Oracle Cloud
    Edited by: Andreas Koop on Jan 9, 2013 10:59 PM

    Hi Andreas, thanks for raising this.
    ADFmobile as you know is a framework to built applications that run on phone/tablet devices. They can absolutely invoke/consume web services running on Oracle Cloud including web services hosted on ADF applications running in Oracle Java Cloud Service. There is a section on just this in ADFMobile documentation: http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/cloud.htm#CHDEGCIF
    We will update the documentation you pointed to so we remove the confusion.
    thanks,
    Gangadhar

  • AMD Mobility Radeon HD 5000 Series for windows 8.1

    Hello,
    I just updated my pc's operating system to windows 8.1.
    The AMD(AMD Mobility Radeon HD 5000 Series) and Intel(Intel(R) HD Graphics) graphics adapters installed automatically when I connected to internet.
    I then tried updating the drivers and it tells me that drivers are up to date.
    But the pcs is incredibly slow. and when I shut it down and try to boot back, it fails to start
    on about three attempts and finally gives me an uption to restore the system to previous state.
    After successfully restoring the pcs, I then disabled the AMD graphics and the system boots successfully
    and the performace improved slightly but not up to normal.
    How can I install the suitable drivers for the display adapters and have the pcs perform fast as it should.
    Or advise me on any alternatives or other  possible solutions to get the pcs performing well and fast.
    Pcs Information:
    Name: HP Pavilin dv3-4048tx Entertainment Notebook PC
    Serial Number:   [Moderator edited Serial Number]
    Product Number:   XG158PA                                                                                                        

    Dear Customer,
    Welcome to the HP Consumer Support Forum!!
    Please try and install the following Catalyst Software Suite for display issue:
    http://support.amd.com/en-us/download/desktop?os=W​indows+8.1+-+64
    Also perform the steps mentioned in the links below to increase the system performance:
    http://windows.microsoft.com/en-in/windows/improve​-computers-performance#1TC=windows-7
    http://www.computerworld.com/article/2484556/micro​soft-windows/how-to-boost-windows-8-performance.ht​...
    Hope this helps, for any further queries reply to the post and feel free to join us again.
    **Click the KUDOS star on 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.
    Thank You,
    GR1
    Although I am an HP employee, I am speaking for myself and not for HP

  • Apple App Store requirement for ADF Mobile Apps

    I got updates from Apple that detect deployed ADF Mobile ipa that sent to Apple iTunes Connect As
    Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format.
    Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format.
    Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format.
    Non-PIE Binary - The executable 'qe.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable
    How to solved it, as it might facing with rejection from Apple and really urgent issue.

    Hi,
    has this been rejected by Apple or is it just a warning flagged? What is the version of ADF Mobile. Did you download and install the recent ADF mobile version. Try Help --> About --> Extensions and look for the "ADF Mobile Framework" version. Ensure its
    ADF Mobile Framework    oracle.adf.mobile    11.1.2.4.39.64.51
    If the version is below, then use Help--> Check for update to install the latest version.
    Frank

  • ADF Mobile Tutorial

    Dear All,
    I'm trying to follow the ADF Mobile Tutorial to build an Android application as described in: http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    (I have just downloaded JDev 11.1.2.3 and ADF Mobile Extension)
    Everything goes well until I get to the point Step 4.3 (the instruction In the Profile Type drop-down list, ensure ADF Mobile for Android is selected and then click OK.)
    My problem is that no such Profile Type can be found in the drop-down. The closest profile available is ADF Mobile Feature Archive.
    Does anybody have a clue what should be changed?
    Thanks, Jiri
    P.S. in another tutorial http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_1.html I found that "a local keystore before you can use Release mode." My tutorial does not contain anything similar, but I'm OK with the debug mode.

    Open JDev > Tools > Preferences > ADF Mobile (Expand it) > Platforms > Select 'Android'
    Is the Android SDK Location and Android Platform Location filled in? If not, fill those in and retry.

  • Error 7 (windows error 126). Have tried to re-install itunes but failed, twice. some end message about "mobile device not supported".

    Error 7 (Windows error 126). I have tried to re-install itunes twice now, and each time  " mobile device not supported" appears and the  installation can not finish.

    See Troubleshooting issues with iTunes for Windows updates.
    Do you have any iOS devices? If the link above doesn't completely fix your library I could talk you through installing iTunes without Apple Moble Device Support for now which would at least enable you to open iTunes.
    tt2

  • Can I Integrate ADF Mobile with (BPEL or BPM)

    I want to know if I can Integrate ADF Mobile with (BPEL or BPM) and can I open my worklist App from ADF Mobile.

    Hi,
    why don't you access the worklist app from the mobile device browser?
    To answer your question: You can access BPEL processes as a service from an ADF Mobile application. If you have URLs which content you want to display within the mobile Application, then try adding a feature that uses a URL as a resource.
    Frank

  • Not able to access SOAP web service data control from adf mobile

    Hi,
    I am trying to call web services from adf mobile..
    I have created data control from external web service and it is perfectlly working on web browser..
    But why it is showing an error on emulator??
    Is there any .jar file missing in adf mobile so that it is not supporting a web service?
    Or is there any other problem? Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Please help me to solve this issue..
    Thanks,
    Laxmi

    Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Connecting to WSDL in the browser is not the same as connecting to WSDL in an application.
    To access a web service from an Android device enable a permission in AndroidManifest.xml that allows applications to open network sockets. Add the following uses-permission element.
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

Maybe you are looking for

  • How to load a text file int JEditorPane and highlight some words (Urgent !)

    I want to load a text file into a JEditorPane and then highlights some keywords such as while,if and else.I am using an EditorKit in order to style the JEditorPane. I have no difficulty while giving the input through the keyboard but lots of exceptio

  • Air plane mode cant open facetime

    Hi i am in mexico and i connect on the wifi and i want to know if i will be charge data or money for using facetime. Also i put my iphone on airplane mode and turn on the wifi but when i try to use facetime it says face time error. Can anybody help m

  • Purchased apps/films etc. lost after restoring ipad

    I just restored my iPad and all is gone, even purchased items! Can I restore somehow the purchased apps/films/books etc.?

  • Cross platform update Win 1.x to Mac 3.x

    Hi, i'm going to ask that question here again, because i think that is has not been answered correctly by the Adobe Support. I like to update to the newest Lightroom version and use it on my new Mac computer. I have a valid, registered serial number

  • Sales order number based on delivering Plant.

    Hello, I have a requirement where in , it is expected that SO nr should be based on the delivering plant. In other words number range should be based on delivering plant. Has any one come across such a requirement and if  yes how was this requirement