Data Control does not show POJO returned from method

Hi,
I am running JDev 11.1.1.7. In my AppModule.impl I created a method that returns a simple POJO (which implements serializable) that has two String fields. I have exposed the method in the appmodule client interface. In the data control the method shows up with a return element instead of an object or any way to access the two String fields. I want to display the two String fields in separate output text components on my jspx page. I'm not finding documentation on how to do this. Can somebody point me to documentation or tell me how to make this change to the data control method return?
Thanks in advance,
Steve

AM method can return custom type, but AFAIK there is no support for object introspection in design time.
(so you can invoke this programmatically and cast to appropriate type, but you can't do DnD from Data Control pane).
So, option 1 is to bind value property of your outputText fields to managed bean, programmatically call AM method, fill these properties manually and refresh your UI components(note that managed bean must be registered in viewScope or higher to preserve values)
Option 2 is to create Bean DataControl (with this you will have DnD support)
Dario

Similar Messages

  • Sort control does not show in drill down ?

    I have a sort control attached to a column header in one of my report and it works fine. However it does not show up in the drill down sections. Is there a way to fix that ?
    Thanks

    I am sorry if my question was not clear of i am misunderstanding your solution.
    My sort control shows up in the grouped data but does not show up in the drill down page after drilling down. what can i do for the sort control to show up in the drilled down page

  • "Mission Control" does not show space row and I cannot add a new space (27 inch screen)

    Firstly, "Mission Control" does not show upper row with spaces. I have configured Dashboard as space, but it is not showed either.
    Second, I cannot add a new space because the upper right corner wont show an empty space.
    In system I have configured (Mission Control) the upper right corner as "mission control".
    I do run a 27-inch screen

    I'm having the exact same problem. I have a Macbook Pro that I connect to a 27inch iMac through the mini display port. Whenever I attempt to launch Mission control to move a program to a different space, the "Spaces" dont appear at the top of the screen. Is anyone have an answer for this?
    Also, does anyone know of a 3rd party program to bring "Spaces" back? That was my #1 favorite thing of Snow Leopard, and I need to get that functionality back.
    Thanks

  • Mail info panel top line does not show subject or from subsequent lines do.

    mail info panel top line does not show subject or from, subsequent lines do.

    DOrk4L,
    Have you tried re-calibrating the battery? To re-calibrate it, let the battery drain completely and then charge it fully. You should see correct battery usage after that.
    Hope this helps,
    Jennifer B.

  • TPC-2006, Dial control does not show

    I am using a TPC-2006 based on Windows CE, the problem I have is that I want to show on the panel a Dial control, but the control does not show fine, it seems that there is a problem with that, I would like to know if there is an upgrade of firmware or something that can help.
    Another thing is that it is a 3D control, but in LabView PDA there is no Dial on Classic controls, would it work if I import a Dial classic control?
    Best regards,
    Gilberto Garza
    Asesor Electrico, Mexico
    Gilberto Garza Gzz.
    Certified LabView Developer
    Asesor Electrico, S.A. de C.V.

    Yes, the dial control displays in a funny way, I mean, the circle of the dial does not appear, even if I colour it in labview it does not show in the display of the TPC2006. The only thing that appears in the screen is the label of the numbers of the dial, and the indicator of the position of the dial, but when you move the position of the dial, it seems that the screen does not refresh the movement and it leaves the marks where the line of the position was before.
    Right now I don't have with me the equipment, I found this bug in the offices of NI in Mexico, but as I will work with this kind of displays It is very interesting to me that it works fine.
    Best regards,
    Gilberto Garza
    C.L.D.
    Gilberto Garza Gzz.
    Certified LabView Developer
    Asesor Electrico, S.A. de C.V.

  • Why MSAccess database shows data but does not show columns and DDL in edit mode in jdeveloper?

    Sir,
    My developer ver is 12.1.3.0.0.
    I create a connection to MS Access database, this database shows data as bellow in jdeveloper databases window
    But when I open any table in Edit mode like bellow it does not show any columns and DDL and give an error like bellow
    Similarly when I try to create view objects on these tables then on data controls the view object also doesn't show any columns like bellow
    What could be the reason any help on this issue
    Should I use MS Access or not but I want to use ms access for very small databases.
    Regards

    If you look into the certification matrix at Oracle JDeveloper and ADF 12c (12.1.3) Supported Systems
    You'll see that ms access is not supported.
    You can use oracle xe which is free for your project.
    Timo

  • BI Publisher Using Answers As Data Source Does Not Show Anything in Catalog

    Created A New Report. Used BI Answers as Data Source. Tried To Use Drop Down
    and BI Catalog Does Not Show Any Data.
    Any Suggestions?
    Thanks
    Raghu

    Hi Raghu,
    I had the same problem here. I was working with OBIEE 10.1.3.2, after a lot of searching an reading decided to upgrade to 10.1.3.3 and the problem was solved.
    Hope this helps. Regards,
    Jeroen

  • The capture window in Premiere Pro does not show video feed from Beta SP

    Dear Sirs
    The capture window in Premiere PRO CC with blackmagic 4k extreme (Desktop Video 10.1 for Windows) does not show a live video feed in, from analog beta sp, It works only in media express.
    Can you help us?
    Thanks
    Alessandro

    Starting from a fresh new win7 installation, all problems solved
    Bye
    Alessandro

  • Finder does not show all colors from selected color Labels

    Since a view days finder does not show all Color Label colors. When I select either yellow or green it is selected, but it does not show in the file list with details, I can see it in icon and 3 pane view, but not in the detail list view.
    does anybody know why or how? Or what plist files I might need to delete to get this reset?

    Create a new account, name it "test" and see how your labels work in that User acct in list view? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    Let us know and we'll troubleshoot this further.
    -mj
    [email protected]

  • Form does not show "new" records from SQL Database

    I have a PDF form that pulls data from a SQL Server.  The fields in
    the PDF are populated from the database after selecting a specific
    record from a drop down and then clicking on a button labeled "Fill".
    The problem is that the dropdown does not display new records that
    have been recently added to the database.  I have to open the form up
    in designer then save it, (*note - I change nothing at this point.)
    Then when the form is opened back up in Adobe the dropdown show all
    the records including the new ones.  I even put a manual refresh on
    form to try and fix this an it did not help. Seriously stumped.
    Any help is greatly appreciated.
    Here is my code for the dropdown.
    ++++++++++++++++++++++++++++
    topmostSubform.Page1.JobSelect::initialize - (JavaScript, client)
    var sDataConnectionName = "BBCC"; // example - var sDataConnectionName
    = "Test";
    var sColHiddenValue = "ContractAdmin_Key"; // example - var
    sColHiddenValue = "Dept_ID";
    var sColDisplayText = "JobDescription"; // example - var
    sColDisplayText = "Dept_ID"
    // Search for sourceSet node which matchs the DataConnection name
    var nIndex = 0;
    while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oDB = xfa.sourceSet.nodes.item(nIndex);
    oDB.open();
    oDB.first();
    // Search node with the class name "command"
    var nDBIndex = 0;
    while(oDB.nodes.item(nDBIndex).className != "command")
    nDBIndex++;
    // Backup the original settings before assigning BOF and EOF to stay
    var sBOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
    var sEOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF",
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF",
    "eofAction");
    // Clear the list
    this.clearItems();
    // Search for the record node with the matching Data Connection name
    nIndex = 0;
    while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oRecord = xfa.record.nodes.item(nIndex);
    // Find the value node
    var oValueNode = null;
    var oTextNode = null;
    for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
    { if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
    { oValueNode = oRecord.nodes.item(nColIndex); } else
    if(oRecord.nodes.item(nColIndex).name == sColDisplayText) { oTextNode
    = oRecord.nodes.item(nColIndex); } }
    while(!oDB.isEOF())
      this.addItem(oTextNode.value, oValueNode.value);
       oDB.next();
    // Restore the original settings
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup,
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup,
    "eofAction");
    // Close connection
    oDB.close();
    ++++++++++++++++++++++
    Here is code for the refresh button
    +++++++++++++++++++++
    topmostSubform.Page1.Button27::click - (JavaScript, client)
    sourceSet.BBCC.requery();
    +++++++++++++++++++++

    pguerett wrote:
    The other thing that might be happening is a refresh issue on the DropDownList. Try adding the command xfa.layout.relayout() after the database connection has been closed.
    Paul
    Good catch Paul!  Would you believe that I have been trying to get this resolved for almost two years! Works perfect now.
    Thank you,
      - Eric

  • Data Targets does not show up despite having Active Update Rule

    Hi mates,
      I have an Info Cube of which I have created an Update Rule from a Active Info Source.
      However, when I created the Info Package, the 'Data Targets' tab does NOT seem to show the Info Cube as part of the Data Target
      Please advice

    hello John;
    check if this is a Basic cube or Transactional cube. If for some reasons this has been created as a transactional cube then you won't be able to see the cube on the InfoPackage because you theoritically you won't be loading data into the transactional cubes.
    let us know the details.
    Regards:
    BK

  • Create Data Control does not work?!

    I created an application with JSF,EJB,TopLink JPA technology template.
    Two projects were generated, EJBModel and View Controller. So far so good.
    In EJBModel project I generated 6 entities from 6 db tables. I also created a native query in orm.xml and created a result class entity to take the result of this native query.
    I generated session EJB facade and added a method to invoke above native query.
    I also generated EJB client from this facade to test it.
    I run both to ensure query works as expected and it did.
    I then right clicked on session EJB facade and selected option Create Data Control.
    JDev pop-ed up two windows: one window to Choose EJB Interface dialog and on top of this one another window with title "Create Data Control" and with message "Creating data Control..." stuck forever. I could not remove nor stop this window executing, I had to kill JDev in Task Manager.
    Is this a known thing and is there a workaround? This is kind of urgent, any help is appreciated

    I returned to 10.1.3.2. and created the same application, but got bunch of exceptions which forced me a couple of weeks ago to switch to 11g Preview environment:
    SEVERE: [current-workspace-app] An error occured deploying EJB module: com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:OyaisPrototypeJSFEJB_EJBModel_0] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit Prototype.
    com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:OyaisPrototypeJSFEJB_EJBModel_0] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit Prototype.
         at com.evermind.server.ejb.exception.DeploymentException.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:86)
         at com.evermind.server.ejb.EJBPackageDeployment.initializePersistenceUnitManager(EJBPackageDeployment.java:1022)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:845)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
         at com.evermind.server.Application.setConfig(Application.java:439)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1608)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:990)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: predeploy for PersistenceUnit [Prototype] failed.
    Internal Exception: Exception [TOPLINK-7156] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Unable to find the class named []. Ensure the class name/path is correct and available to the classloader.
    Internal Exception: java.lang.ClassNotFoundException:
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:615)
         at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:178)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
         ... 12 more
    Caused by: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: predeploy for PersistenceUnit [Prototype] failed.
    Internal Exception: Exception [TOPLINK-7156] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Unable to find the class named []. Ensure the class name/path is correct and available to the classloader.
    Internal Exception: java.lang.ClassNotFoundException:
         at oracle.toplink.essentials.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:212)
         ... 15 more
    Caused by: Exception [TOPLINK-7156] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Unable to find the class named []. Ensure the class name/path is correct and available to the classloader.
    Internal Exception: java.lang.ClassNotFoundException:
         at oracle.toplink.essentials.exceptions.ValidationException.unableToLoadClass(ValidationException.java:1751)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataHelper.getClassForName(MetadataHelper.java:283)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getClassForName(XMLHelper.java:109)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getValue(XMLHelper.java:431)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getNodeValue(XMLHelper.java:347)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper.getNodeValue(XMLHelper.java:298)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.queries.XMLNamedNativeQuery.<init>(XMLNamedNativeQuery.java:67)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors.XMLClassAccessor.processNamedNativeQueries(XMLClassAccessor.java:584)
         at oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors.XMLClassAccessor.processEntityMappings(XMLClassAccessor.java:496)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processMappingFile(MetadataProcessor.java:534)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processMappingFiles(MetadataProcessor.java:518)
         at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:352)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:584)
         ... 14 more
    Caused by: java.lang.ClassNotFoundException:
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.toplink.essentials.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:97)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataHelper.getClassForName(MetadataHelper.java:280)
         ... 25 more

  • Flash drive no longer works with MacBook Pro. Now says it is unformatted, but no info what to do and not lose my data. Does not show up despite multiple prior uses on the same computer.

    Upgraded to OS Mavericks in November. Flash drive that worked fine previously with Lion and worked several times with Mavericks. Now says the 8GB jump drive (Lexar) is unformatted. Disk Utility First Aid seem unavailable. It sees the drive, but on the far left left, and when highlighted, nothing can be done with it.
    How do I recover my information or reformat it without losing my data?

    I am MikeMacBP2013. Cannot figure how to reply to Kappy's comment. Kappy, your comment did not really help me. My concern is how to save my data, not wipe and use a $10 USB drive.
    In the past two hours, I wasted most of it trying to use a software program, Disk Drill by Cleverfiles, that offers a "free" version. The free version does not recover your data for you. It is not a free 30 day trial. It is deceptively advetised - it will recover data but you will not see your data untless you pay them almost $100.
    Instead of trying to recover the data on the USB drive, this program ran a recovery on my computer hard drive and any disk image it could find on my computer until I stopped and deleted it. Apparently, it collects and keeps data recovered locked unless you pay for a key to download your data. This is not clearly presented up front. Had I known, I would never have put their software on my computer.
    I need direction to a reliable recovery program that is not this sneaky and deceptive. I stopped it when I discovered it was not doing what I had clicked for it to do, and removed the software.
    I am looking for a recommendation for a program that will do what Apple Disk Utility does not do - restore the formatting that may have been corrupted, or at least recover my data files so I can put them on other portable media.
    I recently installed a CalDigit Thunderbolt Dock to get USB 3.0 on my early 2011 Mac. I suspect this may have contributed to this disk failure but will have to contact their tech support tomorrow.
    Thanks for any suggestions for a reliable free or reasonably priced recovery software that someone can attest from using really works.

  • Finder does not show all files from NAS

    Hi there
    I have a NAS attached to my mini where music, ... is stored. I can access it from both the mac as well as a PC.
    for some reason the mac finder does not display all the files in the directory even though the files are there (i can see and open them when accessing the NAS through the PC). at the moment I only see this happen in a folder that contains video (mpg) files and some event must have triggered this strange behaviour because I could play the file sometime ago without problem.
    also, some of the files are shown as a folder than a file in the finder. E.g. a clip called last_holiday.mpg would show as a folder (when you open it it is empty) rather than a video file.
    I have tried to re-mount the share, but this has no effect.
    Is this a bug or is there some wrong setting?
    thanks for any help,
    Chris

    I have this same problem with mounted DAV server folders. I can see the files via Windows and other DAV clients -- just not via Finder. Moreover, it does not apply to all files: some of them do show up. And, it does not happen all of the time: just occasionally.

  • Tab control does not show up

    Hello, I am still using Labview V8.21 on XP.  I know, I know, should be using my 8.6 but do not have a DVD drive.
    Anyway, I am trying to do some support on a VI originally written in V6.1 and updated to V7.1   The problem is, there is a tab control on the front panel that will not show up, it is on the block diagram, labview will not really find it, but thinks it is still there, the front panel is just blank and really big.  Looked all over, nothing on the front panel.  Any ideas why this would happen or how to get around rewritting the whole VI?  I doubt a rewrite will occur, as a company we have moved to .NET and the product will probably be either discontinued or redone in .NET if I cannot get a work around here.
    thanks.

    cannot color the control or the VI to make it show up.  Here is a post, this is a big VI and alot of error will show up as I am not posting the whole thing, just the TL vi that has the tab control problem. 
    This is one thing that made me leave Labview, all eggs are in the VI basket, if it fails, you are done, unlike .NET that you can open the source with a text editor if you have to.
    Attachments:
    ST_TL.vi ‏2071 KB

Maybe you are looking for

  • How do you delete an itunes account on a computer?

    You know how when you sign into an itunes account on a computer, and you have everything on there? Like you can have the same account on up to 5 computers? Well ive switched laptops quite alot so everytime i create my itunes on my new computer, howev

  • Enterprise manager Grid Control for Windows 64 bit

    Hi, I am looking for Enterprise Manager Grid Control 10.2.0.3 for Microsoft Windows Server 2003 R2 64 bit. On OTN and metalink I can only find for 32 bit. Can anyone suggest where I can find the same. Thanks in Advance. SK.

  • ITunes sync getting stuck on "waiting for changes to be applied" with the latest iTunes 11.4.0.18 and ipad2

    Downgraded to ios 7.1.2 after ios 8 disaster. Now iTunes 11.0.4.18 and windows 7 and my ipad2 will not sync. I received an error message that the sync failed to finish. I  have lost all my apps I think but that is another problem. Why won't my pad sy

  • Very simple program error (help)

    Dear group, Just wanted to get a number from sdtin and print it. The program shows a compiler error. Help. import java.io.*; class keys      public static void main(String args[])           int a,b;           System.out.println("enter a number");    

  • Webcenter Portal integration with ATG

    Are there any webcenter portal implementation where the ATG storefront features have been been exposed through the webcenter Portal. Are there any plugins or interfaces to enable the integration between portal & ATG.