ADF BC working with libraries of components of UI (except ADF Faces)

Hello world

I use JDev + ADF version: 12.1.2.0.0.

I was wondering and also try to create an application of Fusion (using jsf, jsp pages not) but with other libraries of components, PrimeFaces and RichFaces rather than ADF faces. You could probably ask "why?" I'm really interested to integrate all the benefits that come from the ADF BC and use of a comprehensive library of user interface components (which could compensate for some missing components of the ADF Faces). My first choice would be on PrimeFaces, since it is entirely compatible JSF 2.0 and is the market leader. But my question is: is it still possible? If Yes, how can I do this? Note that my problem is not to put a simple component in a jsp page as in this tutorial: https://www.youtube.com/watch?v=-wHKWYwgr4o . But instead the exposure of data with these components controls, through the link layer (or the only possible way does all this programmatically?).

PS: I tried to do the same procedure that Shay has shown on the tutorial above for PrimeFaces, but it seems that the pots of primefaces-4.0/3.5 do not have a definition of taglib included. AM I missing something or is it just that the community primefaces version does not include it?

Thank you in advance!

I managed to make it work. I had actually left behind the use of the taglib, but there are other problems with PrimeFaces. It seemed that there was some sort of conflict of the lifecycle when used in a merger application. For example, a simple submit button could not run its binded action, and all components with built-in ajax functionality had issues like this.

The solution: I had to create another object of ViewController and remove all the adf associated configuration files (in my case, just adfc-config. XML). so I have an application with both a project for the "web" version and another for mobile. Of course, while deploying I include only one of them.

NOTE: This method above works fine when you deploy in WLS. But another step is necessary in the event of deployment in Glassfish.

1. After you have created an ear, I have to manually change the file "web.xml" in the package of the war, because while that JDev packages include some filters are specific for the ADF. In fact, I replace this file with the one used during development.

2. starting at the war, remove all the libraries, with the exception of: jsf - api .jar, jsf - impl.jar, primefaces.jar and welding - integration.jar (if there are others).

Hope this helps someone else.

Tags: Java

Similar Questions

  • work with libraries of fragile Cascades

    just found out HowTo create a library project and how to use it

    See this thread: http://supportforums.blackberry.com/t5/Native-Development/Cascades-Library-lost-in-space/td-p/270240...

    But in the meantime I don't know if it's really a good idea to use library projects because they seem to be fragile.

    Problem: Moving location of the library project

    After completing the work of the library, I created a GitHub project,

    This cloned on my drive

    copied the existing content of the Eclipse project inside the workspace

    committed/pushed to GitHub

    then I did what I always do:

    closed the existing project into workspace

    deleted project

    to be sure of the restarted Momentics

    Project to import (Github) in the workspace (without copying)

    and to return the library project by using the same name as before

    only difference now: the project is not stored inside the workspace.

    its location is now outside the workspace

    Library project compiles fine, but... Application compiles more, get errors like

    make -f Makefile.Debug
    make[2]: *** No rule to make target `/daten/bb_workspaces/cascades-api-10-1/baastestApp/../baasKinveyLibrary/arm/so.le-v7-g', needed by `o.le-v7-g/baastestApp'.  Stop.
    

    Tried to create a new project, added to the library, added assets as described in the other thread, I mentioned above. WORK

    Back to the other project. tried to add the library again. There is no update option, no option to delete.

    Then I noticed that he was inside the .pri entered INCLUDEPATH for two library sites.

    Discovered that in general C/C++ project properties | Paths and symbols in Assembly and GNU - C there are now two includes. removed a wrong pointing it at the old location inside the workspace.

    Clean up / re - index / build does not help

    INCLUDEPATH and DEPENDPATH now both are ok in .pri, but under the LIBS and PRE_TARGETDEPS, yet there are two entrances. I don't know what I have to change to get them far. Remove .pri does not help because .pri is generated

    any idea? "

    problem: bar - active descriptor.xml by configuration

    While comparing projects that I noticed that the files added to device-Debug, device-release assets, etc., pointing to the library project are not ok.

    If I understand right, they should always point to the corresponding configuration.

    e.g. for debugging the device, tap on... arm/so.le-v7-g/... and so on

    Seems that the add-on-Library Assistant added that randomly. I fixed that. Now I'm knowing: after adding a library to check if the assets are added correctly for each configuration.

    BTW: In the thread above I asked get HowTo of the project of library built for all configurations. It's actually easy: Build Configurations | Build all... on the library project

    ---

    Hope someone can tell me how to replace the reference to a project of library if the situation has changed. Or how to remove a library, and then add it again.

    THX

    do some tests it is how I now use libraries of stunts.

    the goal:

    develop the library and one or more projects of cascades project using the loibrary in your workspace

    the library may not contain C++ QML as well as other assets such as images

    There are two steps:

    • Create the library project
    • use the library of another project of cascades

    Library project

    as a library template I import the project provided by Isaac Gordezky on Github

    https://github.com/BlackBerry/Cascades-community-samples/tree/master/Cascades-library-template

    Please only impiort the "MyLibrary" project in your workspace

    then prepare the template for this library project. in my case, my library project is named baasKinveyLibrary

    • Rename the project in baasKinveyLibrary

    Edit the Makefile file: QMAKE_TARGET = baasKinveyLibrary
  • Edit mylibrary.prf: baaskinveylibrary {... LIBTARGET = baasKinveyLibrary...}
  • Rename MyLibrary.pro to baasKinveyLibrary.pro
    Rename mylibrary.prf to baaskinveylibrary.prf
  • Delete the content of

    • / SRC
    • / include
    • liabilities

    Copy your content in the library project

    • copy your .cpp/SRC
    • Copy your all in / include
    • Copy your assets into liabilities
    • If you need other libraries, edit baasKinveyLibrary.pro. (I did: LIBS +=-lbbdata - lbb - lbbdevice)

    Library project should now compile

    Waterfalls of the project using the library

    It's easy:

    Configure | Add the library | Library in the workspace project

    Select your library project

    If you have included assets:

    Change bar - descriptor.xmp | Assets | All the Configuration

    Add a folder, and then select Workspace the active folder of your library

    you will get an entry like this:

    ${workspace_loc: / baasKinveyLibrary/assets}

    You can now use your library

    Problem: remove the library

    Unfortunately there is no wizard to remove a library, so in case you want to remove it, here are the steps:

    • bar - descriptor.xml: remove Active reference library - active and all the configurations of the reference to the library
    • Project properties: delete the reference to the library project
    • Project properties: remove includes your general C/C++ library | Paths and symbols in Assembly and GNU - C for all configurations, also references uncheck the library for all configurations project
    • Narrow Momentics, .cproject open, look for "baasKinveyLibrary" and remove all the

    now to create the project, open the .pri file - there should be no reference to your library

    I'll blog on with screenshots in a few days. ... and open a topic in order to provide a Wizard 'Delete Library' ;-)

  • Work with Documents in libraries

    In Windows 7, working with libraries in Windows Explorer and open a document in a folder, edit and save this document, why not this file back to the folder from which it was opened?  Files are beind found rather in C:\Users\ with different extensions, including public Documents which, for some reason, has disappeared from my computer.  I can put all my documents from the files searched in their original place so that I can save these new documents on a USB?  Suggestions appreciated.

    [Moved from comments]

    Your files are actually in C:\Users\yourusername...

    The libraries contain only sets of shortcuts to files in these folders.  Libraries are nothing else than these collections of shortcuts even if they seem to be the files themselves.

    - - - - - - - - -

    Many people avoid the risk of confusion and mistakes by going to C:\Users\yourusername so that individual folders in the right pane of the Explorer and then right-clicking on their record of \Documents C:\Users\yourusername, select create a shortcut , and then put that shortcut on the desktop.  If you then use this shortcut to start Windows Explorer, then you will be able to get directly to these files in the future.

    You can also drag the folder Documents & drop on the badly-named Favorites entry * in the upper left corner of your window of the Explorer.  Allows easier access to these folders.

    * This has nothing to do with IE Favorites and is the successor to Windows XP is underutilized facilities MyPlaces.

    It should be called really links to avoid confusion, and if you look in the C:\Users\yourusername\Links folder then you will see a list of all files that you have in this favorite entry.

  • AE will never work with / support Nvidia GTX-970 cards?

    AE will never work with / support Nvidia GTX-970 cards?

    All the features but that already work with these cards. The only exception is the GPU acceleration of the plotted in 3D rendering engine Department, which is an obsolete feature that is phased out.

    Details:

    Features GPU (CUDA, OpenGL) in After Effects

  • Will make the creation of work on my pc with the following components?

    A friend will build me a pc (budget) to work with premiere pro, I sent him the list with the specifics of the site and he returned me the following components which, according to him the system will work: CPU: Intel Core i5 3EGeneratie Moederbord 3470: ASUS H61M-K (Micro ATX moederbord) DDR 3 (8 GB) 10600U no Ecc Unbufferd Hitachi 320 GB SATA schijf herd 7200 RPM

    Because he is not an expert on the video editing I want to know if anyone here knows of that is just and that the components don't we eventually Miss?

    Xcuse for my poor English...

    Mario,

    Your price beach you will have to do serious, if not serious, sacrifices in performance in three main areas (CPU, GPU and disk i/o and possibly enough RAM) even if you buy used - you'll find yourself with limited and obsolete PC or a new PC not comply with standards. This is because it is still used, a PC that is very satisfying for first Pro have you would cost at least double what you intend to spend.

    That said, you might be able to use this old Ivy Bridge PC that you listed in your original post if you can run a cheapo edition consumer program such as Premiere Elements, like most consumer editing programs do not anywhere close to take full advantage of the potential performance of the high-end with new platforms CPU PC.

  • The essential ADF error ECourse - work with ADF connections

    I'm learning the ADF and make the ADF Essentials ECourse. I'm on the 'practice' for the first section of the ADF links. I know that the course was written for JDeveloper 11.1.2.0.0 but I use 11.1.1.7 since it is what is installed on the virtual machine available for download. During step 5-15: I get the following error when I go to view tab JPAModel "you attempted to set a value of the class type java.lang.String for deptId parameter with the expected type of class java.lang.Long query string select o o employees where o.departments.departmentId =: deptId.»

    When I think back to the procedure, the screen shots see the that GetEmployeesfindbyDept (BigDecimal Deptid)...) whereas the code that is generated in my project is GetEmployeesfindbyDept (object Deptid)...)

    I don't know if this is what causes the error, but it seems logical. What should I do to fix this error, because I REALLY want to continue this training.

    The link I provided above has tutorials for each section of the ADF.

    I recommend to start with:

    Development of rich Web Applications with Oracle ADF

    And then more: expand the JSF - controller working with stubborn workflows, regions and routers

  • including the extension in jdeveloper with ADF Faces?

    Hello

    We have an application with ADF Faces components that must be migrated to OracleAS weblogic 11 g Server (10.3.5).

    We strive to upgrade the application under jdeveloper 11.1.1.5.0.  I have 3 questions.

    1. which the ADF jdeveloper extension should download us for this purpose?

    We already seem to have the extensions 'Fusion Web Applications (ADF)' and ' Applications Java Desktop (ADF) "."

    2. during the upgrade, we were given an option to upgrade the ADF Faces in Trinidad, when this option has been chosen, we got a "unexpected mistake."

    is it necessary to go to TRINIDAD to be able to deploy successfully on weblogic 10.3.5? If Yes, is the extension for Jdeveloper MAVEN?

    3. in weblogic server, I understand, we need the extension JRF to support the length of the ADF, is there anything else that we need on weblogic server that the adf works?

    Thank you in advance.

    If the origins of your application of jdev 10g and runs on the OAS, you can migrate to Trinidad. No extension is required for this as the required libraries are already there. Maven is useless and will not work for 11.1.1.5.0. First version with the full support of MAVEN is 12 c.

    If you get an unexpected error during the migration from the old app to 11 g, you should try to find out

    (1) projects that is causing the error

    (2) file that is causing the error

    and work from there. There are some configurations that cannot be migrated (check the release notes), however they should not lead to unexpected errors. However, check the release notes.

    If you don't find anything and cannot pass through the error, you must open a SR with support.oracle.com.

    Next question is why migrate to 11.1.1.5.0 which is already obsolete.

    Timo

  • How to develop an application using ADF Faces components main in JDev 11 g?

    Hello
    I just started to work with JDEV11g. Now, I have a question here.

    By default when we tried to create any Application in JDev 11 g libraries of tags are still showing only ADF Faces rich client components (11g). I want to use the ADF Faces Components (10.1.3) Core in the same application with addition to ADF Faces Rich Client components.

    How to develop a sample with ADF Faces Core components (10.1.3) application. What are the steps to follow in JDev 11 g?

    Please help me.

    Thank you
    -Afif

    Yes.

    Trinidad is all correct and documented components to use. They are almost exactly the same as the ADF Faces 10.1.3.x ones.

    John

  • Problem running new ADF Faces Rich Client components demo

    Hello

    I download the latest version of Jdeveloper (11.1.1.2.0), an i try to run the demo application, ADF Faces Rich Client components demo.

    I imported the app in jdeveloper, and I deployed on the server of embededd; then, there are many examples of tag and other elements that it does not work (for example the carousel). the server shows me this exception:

    The class ' oracle.adfdemo.view.components.rich.ComponentEditorHandler$ BooleanProperty ' has no property 'obsolete '.

    For more information, see the server error log
    starting with an entry: during the PPR, #7 Server Exception

    This sound has shown in Popup javascript and the server log.

    How to run the sample application to correctly?


    Thank you

    This is the same file on the hosted demo - the difference is the URL parameter allows you to run it: try to add one? Gallery = true to the end.

    http://jdevadf.Oracle.com/ADF-richclient-demo/faces/index.JSPX?Gallery=true

  • ADF Faces & BC: construction of an existing application with Maven?

    Hi all

    After talking with several representatives of Oracle and reading http://www.oracle.com/technology/products/jdev/howtos/1013/maven/maven.html, I realized how useful this tool can be when you work with a team of developers on a project of the ADF. Looks like that with this tool, we can separate dependence through each developer when working on independent modules which often require changes to the project JDev eg files: .jpr and TJS. Before you follow the instructions to start moving around files within our current ADF Faces & BC project in a standard Maven directory structure, I was wondering if this is still necessary? If anyone has any additional tips on working with this tool within JDeveloper, please do not hesitate to answer!

    Thank you
    Wes

    All,

    I asked a question [url http://forums.oracle.com/forums/thread.jspa?messageID=2738034] in this forum earlier if Oracle was going to each host a repository maven for libraries of the ADF or publish a taxonomy standard maven for them so that we can all have a standard configuration. Frank N responded that he deposited an ER for such.

    Best,

    John

  • Why used to work with firefox 22 norton?

    the memorandum stipulates that Norton will not work with firefox. I don't want to give up my security. How will this work?

    Hello, according to norton toolbar is compatible with firefox 22. Please run the liveupdate from norton repeatedly & until all components are up-to-date. Additionally, make sure that the toolbar is enabled under firefox > addons > extension thereafter.

    For more information, refer to http://community.norton.com/t5/Norton-Toolbar-Norton-Identity/Firefox-22-Support-for-Norton-Toolbar/td-p/979947

  • I have problems with libraries and events in final cut pro

    I use Final Cut Pro X. was used for 3 or 4 years. I just upgraded to latest version 10.2.3 and I use it on an iMac running El Capitan. The way in which the library is set up is very confusing to me and I can't seem to follow the events and projects on individual drives. It seems all the events and projects are bundled in the libraries, but I can't see them on my hard drive to move or archive them individually.

    And they take almost all of my hard drive.

    I am use to working with events on a separate hard drive, but now I can't seem to put the files on a separate hard drive.

    Just looking for advice or direction here.

    Thank you!

    Looks like you were using an older version of FCP X?

    Things have changed a bit to quit.

    Start by reading this:

    Update your libraries of Final Cut Pro X to Final Cut Pro X 10.1 and later versions - Apple Support

    Al

  • H8 - 1360t: restarts power - does not work with the installed memory

    HP clubhouse, i7, Windows 7, 3 x 4 GB, discreet grahics

    The computer turns on, then immediately restarts.

    No beeps.   Monitor says 'no signal '.

    I tried

    -different (new) hard drive - no change

    -current hard disk drive shows no errors; all the data is there

    -installed the new power supply - no change

    -removed the discrete video card; used another card discrete video - no change

    -cannot test on-board DVI video because it does not have the 4 holes next to the long bar. all my vga DVI connectors have the long bar with the four holes around it (sorry I don't know the different DVI connectors)

    What works:

    When I remove the memory, it will beep seeing that no memory is installed; AND the computer continues to operate (it is not restart).

    -J' tried memory (3 of them every 4 GB) as single and pairs between 2 blue 2 black slots grids.   No change

    -J' tried another key to 2 GB - no change

    Suggestions?

    Thank you

    Darryl

    Problem was the motherboard.   Replaced by the exact type as to doesn't interfere is not with the software installed.

    Everything plugged immediately when starting on the new motherboard.   The user has a problem with software that had to be put back.

    So-

    1. If the computer won't power more than 5 seconds

    2. change the components with known good components does not change the restart without end to power on

    It is the motherboard.

    Thanks for the help.

    Darryl

  • Pavilion HPE h8-1207eo: Sapphire R9 380 will work with chicago motherboard?

    Hello

    I'm about to buy a new graphics card for my older Pavilion and I think to buy this R9 380 of Sapphire.

    I heard that people have had problems with the old BIOS from the motherboard in this PC (IPISB-CH2) and I would like to know if the same problems with this graphics card would occur. I think that he has dual bios which (I assume) would make the card compatible with older motherboards. I did all other components work with the card.

    Any help would be greatly appreciated, thank you!

    -Max

    Hjalpmovie, welcome to the forum.

    If you read the specifications tab in the link you provided, he says to a power supply (PSU) of not less than 500W.  The power supply of your computer is only 460W.  I suggest at least 600W to make sure that you have enough power for the future updates.

    You must also measure the space where the map is to ensure that he will accept a card that is 9.5 "(237,35 mm)."  It is a VBIOS hybrid that allows him to work with a legacy or a UEFI BIOS.  If it were me, I would contact the manufacturer to make sure that it works before you order it.  This will save the shipping charges to return it if it does not work for some reason any.

    Please click on the Thumbs up button '+' if I helped you and click on "Accept as Solution" If your problem is resolved.

  • Working with USB high speed Interface Modul 2.7 in LabVIEW

    Hello

    is there an example works with a USB high speed Interface Modul 2.7 in LabVIEW?

    The EGG is a "Cypress CY7C68013A-56PVXC»

    Thank you

    Best regards, patrick

    Hi patrick,

    I searched on google for the module. The manufacturer is Braintechnology.
    If you need a LabVIEW driver ask them please, maybe it's that they can provide you with a.

    Braintechnology offers a DLL - USB. With a little work, you can include this dll in your LabVIEW project (call library function node).

    The following documents explain how to:

    Integration of external Code with the Shared Library Import Wizard (requires a corresponding header dll)
    http://zone.NI.com/DevZone/CDA/tut/p/ID/2818

    Writing Win32 dynamic link (dll) libraries and qualifying of LabVIEW
    http://zone.NI.com/DevZone/CDA/tut/p/ID/4877

    Example: Passing a variety of Data Types in the DLL for LabVIEW
    http://zone.NI.com/DevZone/CDA/EPD/p/ID/1288

    Kind regards
    N. Ralf
    NIG.

Maybe you are looking for