[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

Similar Messages

  • "Developing Smart Web UIs with Ajax, JSF, and ADF Faces" example

    I'm trying to get this example (http://www.oracle.com/technology/pub/articles/cioroianu_jsfajax.html) to work within JDeveloper, during compilation I'm getting an error:
    C:\jptest\view\public_html\msgIndexResp.jsp
    Error(5): tags:property is not a registered tag in that namespace.
    C:\jptest\view\public_html\helloNameResp.jsp
    Error(5): tags:property is not a registered tag in that namespace.
    C:\view\public_html\ajaxCtrl.jsp
    Error(6): tags:response is not a registered tag in that namespace.
    Has anyone attempted at this example and ran into the same problem?
    Thanks
    -Wes

    There is no such document for (1) because we are in the process of delivering design time support for ADF BC integration with ADF Faces, as you mentioned.
    Therefore, you could either continue with ADF UIX, ADFm, ADF BC for the time being, or else try out ADF Faces with session scope Managed Beans. In either case, you'll want to convert this later on, when JDev 10.1.3 completes its support for ADF Faces / ADF BC drag-and-drop integration.
    Kind Regards.

  • ADF Faces: is mixing JSF RI and ADF Faces tags supported?

    Hi,
    I'm looking at ADF Faces as a future possibility for our application that is currently based on JSF RI.
    When looking at the ADF Faces demo it strikes me that all pages are almost completely built up from ADF Faces tags.
    For instance
    af:form
    af:commandButton
    af:inputText
    are used instead of the equivalent core jsf tags f:form, f:commandButton and f:inputText
    I'm wondering if this is mandatory if we would like to use some ADF Faces components mixed within our existing application.
    In other words: are ADF Faces tags supported in the environment of conventional JSF tags? And mixing ADF Faces JSF components with JSF components by other vendors?
    Another thing that strikes me is that pages are constructed using ADF Faces tags for any and all markup content.
    I guess this is meant to support several different clients (normal browser applications, mobile clients, voice activation over telephone) using different renderers.
    In my experience abstracting markup this way inherently means loss of control over the exact markup that is sent to the client. This is not acceptable for all projects and customers.
    Is embedding ADF Faces tags within template HTML, within f:verbatim tags or not, supported?
    Regards,
    Joost de Vries

    You absolutely can mix JSF RI and ADF Faces tags. This is very much supported! You can swap in <h:form> and <h:commandButton> and <h:inputText>. Our versions support some features that the JSF tags do not, as described in our release notes.
    Your point about using tags to produce all markup is a very cogent one. For some projects, absolute control over HTML will be a necessary requirement, so we do support that style of development. But we believe strongly that the future does not lie in constant handcoding of HTML, but instead in building more powerful, flexible, and reusable components and assembling those into pages. This was one of the themes of a talk I gave with two coworkers at this past JavaOne.
    -- Adam Winer (JSF EG member and ADF Faces lead)

  • ADF BC and ADF Faces deployment question

    Hi all,
    In my previous web project, the middle layer was packaged into a .ear file and deployed onto a sever that had jboss running. My client layer was deployed on a seperate server running tomcat. My question is how do I accomplish this seperation with BC and ADF Faces in terms of deployment?
    Thanks.
    Z

    Let me be a bit more specific.
    Here is the tree view of my application workspace:
    -My Application
      -Model
        -Application Sources
          -org
          -org.myorg
          -org.myorg.model
          -org.myorg.model.entity
          -org.myorg.model.association
      -View
        -Application Sources
        -Web Content
    Can I deploy only the model or middle layer on server A running oc4j and deploy the view layer on server B also running oc4j?
    Thanks.

  • How to customize events, execute stored procedures using JSF and ADF BC

    As a java beginner, I started with developing simple web application using JSF and ADF business component through visual and declarative approach. I need to know how to customize events, execute stored procedures, invoke functions on triggering events associated with rich controls. for eg. how to write customized functions on button click or checkbox click events to achieve business requirement and can be modified whenever required.
    Edited by: 792068 on Aug 31, 2010 9:40 PM

    Which business layer is prefered to create interactive data model: 1. ADF business components or 2. Enterprise JavaBeans using Java persistance API (JPA) or 3. Toplink 4. Portlets
    which minimizes writing low level codes and how much OOPS knowledge is required for creating above business layer binding data to viewcontroller layer?

  • Is there any template (decoration) feature in Jdeveloper and ADF faces ?

    Hi
    Thank you for reading my post
    is there any template / decoration facilities in Jdeveloper for ADF faces ?
    for example there are some part of my web pages which are allways the same and i need to show them where ever the user is in my we application (for example a left panel contain latest emails) how i can have this feature ?
    Thanks

    HI!
    Facelets works very well with Oracle ADF faces ,but to get a partial support from IDE(JDeveloper) , you have to build pages in jspx format, and not in xhtml format.
    We are using facelets with absolutely no problem; the only hitch is that we have add all our ADF Faces components to a jpx page and then embed Facelets tags to it,for JDdeveloper does not add components to /in between Facelets tags, which is an improvement to be made, and Mr.Frank has informed me that this(Facelets support in JDeveloper) is filed as an enhancement request for the next version of JDeveloper.
    Anyway, I can assure you that you can work with Facelets and ADF faces with absolutely no problems,at all;the only thing is you need to struggle some time getting the Facelets configured for ADF Faces!
    Actually, I planned to write an article on accomlishing this(integrating facelets and ADF Faces),but presently I'm preoccupied with some other imoprtant task, so I'm afraid may not be able to provide the article inthis week.
    Regrads,
    Samba.

  • JSP, JSF, and ADF

    I've just started playing around with this and was looking for samples/tutorials to help. Of the tutorials/samples I've seen, they appear to fall short of explaining an end-end example and stick mostly to JSF and the backing bean - usually displaying static data within a JSP and navigation. I'm a bit confused on how to call custom methods in my business services (application modules) and in turn use the view objects to fetch data from my database and display the results within a JSP using the JSF components.
    I realize the latest preview JDeveloper is without ADF but while I had time I was hoping to play around with ADF Faces to hit my development database. Guess I'm trying to make sense of how JSP, JSF, Business components, and my db connection all play together in order to set up a decent starting point for an app.

    You could use Jdeveloper 10G and play around with ADF Faces, look at the demos, and the sources behind them.
    There are a couple of papers on OTN like...
    Working with ADF Faces in JDev 10g:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adfjsf/how-to-adf-faces-10gjdev.htm
    Roadmap for ADF Faces:
    http://www.oracle.com/technology/products/jdev/collateral/papers/9.0.5.0/adfuix_roadmap/adfuix_roadmap.html
    And many more... as I could find upon search...
    http://www.oracle.com/ultrasearch/wwws_otn/searchotn.jsp?p_Action=Search&p_Query=adf+faces
    The visual editing support for 'The ADF Model access through ADF Faces bindings' is under development (hence no tutorials), and will be available in future release (could be post 10G release).
    -Udupa

  • HELP with JBoss 4.0.3 and ADF Faces

    Hi! I'm trying to deploy a simple web application using ADF Faces. The point is that when trying to access the main page I get the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
    oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    root cause
    java.lang.NullPointerException
    javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
    javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
    org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
    org.apache.jsp.main_jspx._jspx_meth_f_view_0(org.apache.jsp.main_jspx:99)
    org.apache.jsp.main_jspx._jspService(org.apache.jsp.main_jspx:77)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
    oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
    Apache Tomcat/5.5
    I used to get this error time a ago when using MyFaces. It was caused by not getting the page through the Faces Servlet. This time that's not the case. I've got:
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    and I load the page this way: http://localhost:8080/MyApp/faces/main.jspx
    Maybe it's because I'm missing some libraries within the war. Next I list the jars I'm incluiding in the archive:
    adf-faces-api.jar
    adf-faces-impl.jar
    adfshare.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging-api.jar
    commons-logging.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    Any help would really be appreciated.
    Thank you very much.
    Joaquín.

    I suggest that see on JBoss server the list of jndi tree, maybe the entity stay whit another name.
    You can go to server administrator page, login on jboss console and find the jndi list. JBoss bring with a mbean that can show the jndi tree of the server, you can use the JMX console of the JBoss to invoke it.
    Sorry for my poor english

  • Oracle Maps and ADF Faces integration

    Hello,
    Developing ADF Faces application with integrated JavaScript Oracle Maps I came across a problem.
    I have Search Form on my JSF page that searches for some object. I want to pass the object's ID to a backing bean that connects to database, uses Oracle Spatial function to locate object via ID and calculate X,Y position for Oracle Maps.
    On the page I want to use setCenter(X,Y,srid) but I don't know how to get those parameters from backing bean or how to access JavaScript object on the page from backing bean.
    Any help?
    Branislav

    You can probablly write a reusable javaScript setCenter() function that takes the x,y as parameters. Note your setCenter() function will need to set the center and also call mapview.display() so that the map will be actually refreshed in the current preview release (this will be made easier in the next preview release of MapViewer).
    Then, during the render-response stage of your search form, where you are creating the result table to be displayed to the user, you can add a click button to each row that says 'center the map on this feature'. Then prewire the 'onClick' function of each button to invoke the setCenter() function above, using the corresponding (x,y) that is in the backing bean of your search results.
    thanks
    LJ

  • Unicode and adf faces

    I am trying to paste arabic into a text box, submit the form, and have the arabic display on the same page. How can I do this using adf-faces ea16? I keep getting escaped results. Here is my code.
    testunicode.jsp
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA16/html" prefix="afh" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA16" prefix="af" %>
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    </head>
    <body>
    <f:view>
    <af:form>
    <af:inputText value="#{testBean.text}"/>
    <af:commandButton text="Submit" action="#{testBean.test}"/>
    </af:form>
    </f:view>
    </body>
    </html>
    TestBean.java
    public class TestBean implements java.io.Serializable {
    private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(TestBean.class);
    private String text;
    public String getText() {
    return text;
    public void setText(String text) {
    this.text = text;
    public String test() {
    return "success";
    }

    I tried that too and it didn't work. I am able to get the outputText to display correctly but the input text still displays.
    &#1575;&#1604;&#1601;&#1576;&#1575;&#1740;&#1740; &#1576;&#1585; &#1575;&#1587;&#1575;&#1587;
    from the text
    &#1575;&#1604;&#1601;&#1576;&#1575;&#1740;&#1740; &#1576;&#1585; &#1575;&#1587;&#1575;&#1587;
    Why is it returning in decimal format? I can get it to work with a straight jsp form but not when I introduce faces. What am I doing wrong?
    --Rob                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Create dynamic code on a JSF with ADF Faces

    Hi,
    the next is just sample, nothing to production system, but if I can do the sample I can do something to production system.
    Fine.
    let's suppose that I want to create a html link
    in run-time over a JSF page with ADF Faces component.
    I can do that, I did using javascript and Custom tag,
    but the html link is placed out of the body of the page instead of put it over the place that I put it in development-time
    so, now my question is:
    how I can generate dynamic code using ADF FACES component commandButton or any others.
    any suggestion??
    P.D. if you need more info ask me.

    Hello Jeanne.
    You are right, I used <f:verbatim> element to wrap all my non-JSF elements and it work. :)
    so good so far.
    but, dynamic code mean generate code in this case HTML in run-time.
    That is to say: write code HTML just in time I invoke a page.
    That is posible through Custom Tags.
    You create a Custom Tags this tag generate HTML code after to process any Business Logic. then you put the tag in the page that you want to use it
    someting like this:
    <afh:rowLayout halign="center">
    <afh:cellFormat halign="center">
    <ESE-utilities:populateMenu/>
    </afh:cellFormat>
    </afh:rowLayout>
    the just above bold line is my Custom Tag that generate HTML code
    and not work.
    but, if I replace the tag directly using HTML code in the page, for example:
    <afh:rowLayout halign="center">
    <afh:cellFormat halign="center">
    <f:verbatim>
    prueba
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    it work
    so, now my new question is:
    ¿How can I use a Custom Tagthat generate HTML code, and that code have been written inside of my body page?
    Thanks in advantage for your reply.
    Mauricio

  • JHeadstart and ADF Faces

    Oracle annunce EA for ADF Faces. Would new version of JHeadstart use it or stay aligned with JSP and full UIX support?

    The next release of JHeadstart aligns with ADF as included in JDeveloper 9.0.5.x / 10.1.2.
    The EA release of ADF Faces is not yet integrated with the ADF binding layer, so the upcoming JHeadstart-ADF release will not be using ADF Faces yet.
    Once ADF Faces is fully integrated with ADF binding layer(and all the drag-n-drop support), JHeadstart will start generating ADF Faces as View type. This integration is scheduled for JDeveloper release 10.1.3, which I believe is currently scheduled for spring/summer 2005.
    Steven Davelaar,
    JHeadstart Team.

  • How do I add ADF Faces Core and ADF Faces Html to the component palette?

    I have an already made jspx page which I wish to work further on but I can´t choose ADF components from the component palette.
    in my older version I added these two lines to the <jsp:root> element when I wanted to make ADF components available.
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    but in Jdeveloper 11g preview 3 these two lines seem to have no effect.
    I tried to see what other jspx pages that contained ADF components in 11g had that my page didn´t and found out that they had the line
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    but when I add this line instead of the other two lines and press install JSP tag library Jdeveloper freezes completely. Can anyone help me get ADF components show up in the component palette in Jdeveloper 11g preview 3?
    Message was edited by:
    AtlanticViking

    Hello,
    Jdeveloper 11g uses Trinidad not ADF Faces 10g, to add it, uses the following:
    1. Double-click your project to access project properties;
    2. Select JSP Tag Libraries;
    3. Click Add;
    4. Trinidad Component 11-m3
    Regards,
    ~ Simon

  • Having a problem running jheadstart app and adf-faces-demo on wls 8.1 sp4

    I have created a very simple jheadstart app in Jdeveloper. Also I have created a project from the adf-faces-demo.
    I am now trying to run both applications on weblogic 8.1 sp4
    Both applications exhibit the same behavior. When trying to load the index page, the progress bar on the browser indicates that the page is loading (and stays there) and I don't see any error in the output log (except for the message:
    Oct 31, 2006 5:46:22 PM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    Which I understand is harmless.
    I have done the following to try to make this work:
    Make sure that the application is compiled in JDK 1.4
    Add the recommend jlib, lib, and MyFaces jars to the classpath.
    Change the extension of the index page to jsp and change the web.xml to:
    <filter-mapping>
    <filter-name>demoRedirect</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    Any help would be greatly appreciated. Thanks.

    Alberto,
    I noticed you reported this on the JDev forum as well. Deploying ADF-Jhs apps is not different from deploying a plain ADF app, (apart from the Jhs Runtime lib that should be added to the .ear file), so please continue to use the JDev forum to resolve your problems.
    You also might want to check the section on WebLogic deployment in the ADF Dev Guide:
    http://download-west.oracle.com/docs/html/B25947_01/deployment_topics008.htm#CIHEGDAI
    Steven Davelaar,
    JHeadstart Team.

  • Spring and ADF Faces

    I saw this on the internet:
    http://www.springone.com/display/SpringOne06/Integrating+Spring+with+the+Oracle+Application+Development+Framework
    It mentions that in 11g you will be able to drag and drop spring managed beans onto a JSF page but I don't see this mentioned in the 11g new features.
    Is this a feature of the Spring plugin?
    Peter.

    Peter,
    I am not aware of any project like this right now. However, Duncan Mills did develop a data control for Spring that he used for his talk. For some reason I don't know, this data control however never made it to production. However, you should be able to integrate Spring through a POJO data control
    Frank

Maybe you are looking for