Configure ADF-Faces project

Hi,
I have a project developed with ADF-Faces. I've copied it and pasted in another computer. This other computer has installed jdev 10.1.3.4, same version used for developing, and loaded the project without problems, aparently. When I tried to buil the project I have compilation errors due to missing libraries. I went to the web project's properties and found at the Libraries options that all ADF-Faces related entries have problems and can't be found, and, when opening files that use ADF-Faces objects imports can't be resolved. JSP pages won't find the tag libraries. How can I fix this problem?
Any help is mostly welcome. Thanks.

thanks for your reply.
I did try that. In the project properties' window, down in the Libraries I had five adf entries, which were masked as with problem:
ADF Common Runtime
ADF Controler Rintime
ADF Faces Cache
ADF Faces Runtime
ADF Model Runtime
I removed them, and tried to add them again, but only two loaded again out of the five:
ADF Faces Cache
ADF Faces Runtime
The same happened in the JSP Tag Libraries menu. I had
ADF Faces Cache 1.0
ADF Faces Components 1.0
ADF Faces HTML 10_1_3_2
JSF Core 1.0
JSF HTML 1.0
deleted and tried to add them again, but only two out of five were available
JSF Core 1.0
JSF HTML 1.0
Any ideas what might be the problem?

Similar Messages

  • JDeveloper - ADF Faces projects - calling a jspx from another project

    I have an ADF Faces project which has a jspx file and a backing bean. The jspx file is called 1.jspx and the backing bean is called 1.java. Navigation within the page and outside of the page is controlled by the faces-config.xml.
    However, I want to be able to navigate to another jspx in another project. Let's call this jpx, 2.jspx. How would I be able to make this call without losing the current context in my first project? Please note I do not want to have to copy the 2.jspx and 2.java files into my current project.
    Thanks
    Chris

    Hi,
    according to the JavaEE specs, a J2EE context demarks the scope of a session, which means that as soon as you call out to another application, you start a new session, loosing all the information of the other session. So if you don't want to deploy this all in one application, then you have to find a way of persisting context information (e.g. using a shared database instance)
    Frank

  • Solutions and/or suggestions for documenting ADF Faces projects

    Hello everybody,
    does anyone have solutions and/or suggestions for documenting ADF Faces projects? For C, C++, C#, PHP and Java projects we use Doxygen, but what to use für ADF Faces projects?
    Thank you in advance for your tips!

    Hello everybody,
    does anyone have solutions and/or suggestions for documenting ADF Faces projects? For C, C++, C#, PHP and Java projects we use Doxygen, but what to use für ADF Faces projects?
    Thank you in advance for your tips!

  • Externalize the Skin from ADF Faces project

    I have a requirement, where we don't want to bundle Skin(CSS, adf-faces-skins.xml, adf-faces-config.xml files) with the web project. Which would help us to add new skin or change the existing skins.
    I see the CSS file name is different when it renders in the final HTML page. If my file name is 'sni.css' and it is kept in folder 'Web Content/css' but in the output html('/adf/styles/cache/sni-desktop-10_1_3_3_0-en-ie-6-windows-s.css'). How does the name changes here?
    We do this in our old framework by putting CSS files in Web Server. Can we do similiar thing in ADF Faces to externalize the styles? Overriding Faces Listeners or by any other way?
    Similiarly want to externalize images, adf-faces-skins.xml and adf-faces-config.xml also.
    Thanks

    Hi,
    We created a external skin project. WebSkin.war. In this project we put every thing (images, ccs, etc).
    In the others Web projects, into our jsp files we added this line on the header.
    <link rel="stylesheet" type="text/css" media="screen" href="/WebSkin/common/skins/<%=styleBean.getStyleName()%>/screen.css" />
    And (of course) getStyleName give us the current Skin Name (blue, purple, etc)
    But (nothing is perfect).. we are using JBOSS as application server, we didn't test that solution on other platform.
    I hope is not to late ...
    Regards.
    Message was edited by:
    ppasquel

  • Warning msgs from ADF Faces project

    Hi
    When I start some ADF Faces app. I got lots of warning msgs like:
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelBox)
    Mar 1, 2005 4:31:30 PM com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelSideBar)
    Mar 1, 2005 4:31:30 PM com.sun.faces.config.rules.ComponentRule end
    Does anyone know how to solve them?
    Thanks

    I have the same problem. I just ignore them, but it is an annoyance since there are a lot of them, and they fill my OC4J server log. Seems it happens every time the server reinitializes.

  • Support for ADF Faces

    Hi Everyone,
    We are planing to use ADF Facses for our upcoming prjoject. so for that we want some sample application or demonstration because the list of component is available in the oracle site is not very rich may be not updated, how can i get detail information about ADF Faces.
    How to get latest trial version of ADF Faces and how to configure ADF with MYEclipse
    Thanks
    Meraj

    Meraj,
    ADF Faces components are as they show in the JDeveloper 10.1.3.3 component palette. The Apache MyFaces open source project Trinidad contains new components that will be in JDeveloper 11. Note that unlike other vendors, Oracle doesn't make trial versions available but always the full version (we don't mind developers using our stack for longer than 30 days ;-) ).
    To configure ADF Faces in Eclipse, just make sure you have MyFaces or JSF-RI installed in Eclipse and adf-faces-api.jar and adf-faces-impl.jar configured for ADF face. The adf-faces-impl.jar fiel contains the tag libraries
    Frank

  • How to add adf faces in component pallete of jdeveloper 11g?

    how to add adf faces in component pallete of jdeveloper 11g?

    Hi,
    the replacement of ADF Faces HTML components in JDeveloper 11 is Trinidad. For existing applications, a migration path will be provided in JDeveloper 11 production. I wouldn't recommend configuring ADF Faces in JDeveloper 11.
    You an configure ADF Faces Components in JDeveloper 11 by :
    - Tools --> Manage Libraries
    - Create a User Library
    - select ADF Faces adf-faces-impl.jar
    - Enure the namespace is not af or afh but something different to not cnflic with teh ADF Faces RC components
    Note that adding the ADF Faces components to the component palette will not make them show in the ADF binding context menu nor will it automaticaly set up the web.xml file. The components are available as any other JSF library set
    Again, I wouldn't go this way ;-)
    Frank

  • Problem with ADF Faces; Bean (session scope) keeps Data after Session ends

    Hi,
    I have a project, which was transferred from an myFaces-project to an ADF Faces-project. Since i´am working with the ADF Faces the data in my beans (which are all in session-scope) won´t vanish after a logout.
    1) I have a method in one bean, which clears the user data (name and passwd), for example, but after a logout (redirecting to the login-page) I just have to push the loginbutton to get in the app. as the last user logged in. The bean is cleared, but where does the data come from. When the app was working with myFaces, this did not happen, the inputText and the inputHidden were empty.
    2) I have a af:table, which displays max ten lines. If the last user watched the elements 21 to 30 in that table, the next user who watches the table gets the same elements shown and not the elements 1 to 10. That shouldn´t happen in a different session.
    3) I have some listboxes in one page, where a user can make some decisions. If i logout and in again, i can see the decisions last made in these listboxes.
    All that happens with beans in session scope!
    Thanks for the replies (i hope) and excuse my bad english,
    Santiago

    Hi
    If this is the case , you can explicitly make all ur session data objects null.

  • New ADF Faces Blog

    Hi all,
    I've been getting a lot of good feedback, tips, and help in this forum over the past few weeks. I've decided to start a blog with some of the techniques I'm using on my current ADF Faces project. I'd be interested in any feedback (leave a comment on the blog), as well as ideas for topics to post.
    http://stegemanoracle.blogspot.com/
    Regards,
    John

    I am very interested in the topics you have. Can you quickly post code samples?

  • [ANN] JSF and ADF Faces Q&A online session today

    Join us for an online discussion and ask your questions about JSF and ADF Faces. Today (Thu) at 10:00am PST (California time).
    http://www.oracle.com/technology/tech/java/newsletter/seminars.html

    Great here are a few IF there is time:
    1. How round trips will JSF and ADF Faces take upon initial page load? In other words, does the initial page load come with data already populated? This makes a difference for those of us who have data heavy pages with lots of lag. Currently with ADF - UIX it seems as though the page is loaded and then round trips are taken to populate the data in the page.
    2. Is a JSF and ADF faces project in future versions of JDeveloper more easily/efficiently source controlled than current ADF/UIX projects?
    3. What is the extent of the involvement of the struts framework in JSF and ADF Faces?
    Thanks very much Shay.
    -brian

  • ADF Faces & BC: Best pratices for project layout

    Season greetings my fellow JDevelopers!
    Our software group has been working with ADF for around 5 years and through the years we have accumulated a good amount of knowledge working with JDeveloper and ADF. Much of our current application structure has been resurrected in the early days of JDeveloper 10 where there were more samples codes floating around then there were "best pratice" documentation. I understand this is a subjective topic and varies site to site, but I believe there is a set of common practices our group has started to identify as critical to streamlining a development process(reusable decorated ui components, modular common biz logic, team development with svn, continuous integration/build, etc..). One of our development goals is to minimize dependency between each engineer as everyone is responsible for both client and middle layer implementation without losing coding consistency. After speaking with a couple of the aces at the last openworld, I understand much of our anticipated architectural requirements are met with JDeveloper 11(with the introduction of templates, declarative components, bounded task flows, etc..) but due to time constraints on upcoming deliverables we are still about an year away before moving on with that new release. The following is a little bit about our group/application.
    JDeveloper version: 10.1.3.4
    Number of developers: 7
    Developer responsibilties: Build both faces & bc code
    We have two applications currently in our production environments.
    1.A flavor of Steve Muench's dynamic jdbc credentials login module
    2.Core ADF Faces & BC application
    In our Core ADF Faces application, we have the following structure:
    OurApplication
         -OurApplicationLib (Common framework files)
         -OurApplicationModel (BC project)
              -src/org/ourapp/module1
              -src/org/ourapp/module2
         -OurApplicationView (Faces project)
              public_html/ourapp/module1
              public_html/ourapp/module2
              src/org/ourapp/backing/module1
              src/org/ourapp/backing/module2
              src/org/ourapp/pageDefs/
    Total Number of Application Modules: 15 (Including one RootApplicationModule which references module specific AMs)
    Total Number View Objects: 171
    Total Number of Entities: 58
    Total Number of BC Files: 1734
    Total Number of JSPs: 246
    Total Number of pageDefs: 236
    Total Number of navigation cases in faces-config.xml: 127
    Total Number of application files: 4183
    Total application size: 180megs
    Are there any other ways to divide up this application? Ie: module specific projects with seperate faces-config files/databindings? If so, how can these files be "hooked" together? A couple of the aces has recommended that we should separate all the entity files into its own project which make sense. Also, we are looking into the maven builds which should remove those pesky model.jpr files that constantly gets “touched”. I would to love hear how other groups are organizing their application and anything else they would like to share as an ADF best pratice.
    Cheers,
    Wes

    After discussions over the summer/autumn by members of the ADF Methodology Group I have published an ADF Coding Standards wiki page that people may find useful:
    [http://wiki.oracle.com/page/ADF+Coding+Standards]
    It's aimed at ADF 11g and is intended to be a living document - if you have comments or suggestions please post them to the ADF Methodology google group ( [http://groups.google.com/group/adf-methodology?hl=en] ).

  • Jdev101304 SU5 - ADF Faces - Web app deployment best practice|configuration

    Hi Everybody:
    1.- We have several web applications that provides a service/product used for public administration purposes.
    2.- the apps are using adf faces adf bc.
    2.- All of the apps are participating on javaSSO.
    3.- The web apps are deployed in ondemand servers.
    4.- We have notice, that with the increase of users on this dates, the sessions created by the middle tier in the database, are staying inactive but never destroyed or removed.
    5.- Even when we only sing into the apps using javasso an perform no transacctions (like inserting or deleting something), we query the v$sesisons in the database, and the number of inactive sessions is always increasing, until the server colapse.
    So, we want to know, if this is an issue of the configurations made on the Application Module's properties. And we want to know if there are some "best practices" that you could provide us to configure a web application and avoid this behavior.
    The only configurations that we found recomended for web apps is set the jbo.locking.mode to optimistic, but this doesn't correct the "increasing inactive sessions" problem.
    Please help us to get some documentation or another resource to correct configure our apps.
    Thnks in advance.
    Edited by: alopez on Jan 8, 2009 12:27 PM

    hi alopez
    Maybe this can help, "Understanding Application Module Pooling Concepts and Configuration Parameters"
    see http://www.oracle.com/technology/products/jdev/tips/muench/ampooling/index.html
    success
    Jan Vervecken

  • Page navigation and send parameters between different projects (ADF Faces)

    Hi,
    I am using ADF Faces 11g and have an application which has multiple web projects, I want to navigate between different projects' pages and send form values as parameters. How can i do that?
    Thanks
    Edited by: user12227999 on 16.Şub.2010 01:43

    You'll need to use JavaScript to alter the action url on the form element to achieve that, but it's going to be complex and I'm not too positive on the resulting stability in a 11g environment that often need to send XHR to the server. What's your exact use case? It looks like a bad design to me. Normal external call would be using URL parameters, which is consistent to RESTful strategies. What you want to do is a POST to an external application from another which is quite horrible imho, how will you handle session management? Piping the response from the server could be another option.
    Regards,
    ~ Simon

  • Setting time in  adf-faces-config.xml configuration file

    Hello check this link
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_convertDateTime.html
    this specifies "Timezone can be set per web-app in adf-faces-config.xml configuration file. If timeZone is not set on the converter, then timezone will be defaulted to the value set in adf-faces-config.xml configuration file. If it is not set in the configuration file, then it will be defaulted to GMT."
    how to set timezone in adf-faces-config.xml configuration file please specify
    Regards
    Mayur Mitkari

    where in adf-faces-config.xml i can add this line , and howThis might help: http://docs.oracle.com/cd/E24382_01/web.1112/e16181/af_global.htm#BJECDDDE

  • OBE : ADF Faces in Model project

    hi
    The tutorial "Examining ADF Business Components New Features"
    at http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html
    says, in its "Create a New Application and Project" section, to "... set the project name to Model, and in the Project Technologies tab, shuttle ADF Faces into the Selected pane ..."
    The screenshot ADFFacesInModelProject.png shows how both ADF Business Components and ADF Faces are part of the Model project.
    - (q1) Why would it be a good idea to have both ADF Business Components and ADF Faces in the same JDeveloper project?
    many thanks
    Jan Vervecken

    The screenshot ADFFacesInModelProject.png shows how both ADF Business Components and ADF Faces are part of the Model project.Can't see any valid reason why. For what the article is trying to do , there isn't any valid reason to add Faces libs to the model project.
    Not that there's a technical limitation to this - but looks like a mistake (also causes deployment issues).
    - (q1) Why would it be a good idea to have both ADF Business Components and ADF Faces in the same JDeveloper project?if it's some ugly throaway test code.
    Not in production code anyway.

Maybe you are looking for