JSF/ADF Faces - ADF-BC example/howto?

Hi,
Background:
==========
I know that ADF-BC databinding is not included in the JDev 10.1.3 preview.
I read and searched nearly all howto's, examples, blogs on ADF-Faces available on the net.
For the past months I learned how to use the ADF-BC with JClient.
This convinced me to use the ADF-BC and it's binding features (a fantastic framework!!!!) for my model layer.
I'm developping a web application.
Most of the examples on ADF-Faces/JSF are on the View Layer.
My question:
===========
I read somewhere that JDev 10.1.3 production with drag and drop of ADF-BC databinding will be available only in the summer.
Question 1:
==========
I suppose that meanwhile it is still possible to use the ADF-BC as the model layer for JSF or ADF-Faces, but the databinding must be done manually, is this correct?
Question 2:
==========
If answer to 1) is yes.
Where can I find a howto/best practice document that explains how to use ADF-BC with JSF/ADF-Faces in the backing beans?
My purpose is to develop my code so that it will be "standard" / "compatible" with the production version of JDev 10.1.3.
I prefer to use the de-facto JSF standard and code the bindings manualy instead of using Struts with available drag'n drop ADF-BC databinding.
Your advice will be apreciated
Frederic

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.

Similar Messages

  • ADF Faces ADF BC PlSql ???

    Hi All,
    We have clarify (Oracle tables) and stored procedures ready. Using Jdev 10.1.3
    We want to write a simple form, that has several input textfields, selectSelectChoice etc.
    On form submit, we want to call this stored procedure from ADF BC.
    Can I achieve (call plsql) this using ADF Faces and ADF BC ?
    I guess, I can. Following is my action plan.
    Please correct me if I am wrong.
    1>As I said, we hace Clarify repository (5 Oracle Tables). We have PL Sql procedures ready. These has business logic in it. Some procedured return a REF cursor, some take IN parameters and return OUT parameters.
    2>I will create a database connection in Jdev to these 5 Clarify tabes.
    3>I will use Jdev wizards and create 5 ENTITY and 5 VIEW Objects. I will craeate a Application Module.
    4>I will drag and drop view objects (drop as InputText, SelectOneChoice, Tables Tree, Radio button etc etc etc etc ) from Data Control on my JSF - JSP pages. This will help me generate the UI super FAST.
    5>Now, on UI submits the View Object will interact with corresponding Enity objects.
    6>Now, as I said, I HAVE to use the PLSQL code that is ready to use. So, instead of the ADF default dehaviour, I will override the doDML method in the entity object as follows to call PlSql procedures.
    Modified Entity object code as below
    protected void doSelect(boolean lock) {
    if (lock) {
    this.handleStoredProcLock();
    else {
    this.handleStoredProcSelect();
    public void doDML(int operation, TransactionEvent e) {
    switch (operation) {
    case DML_INSERT: {
    handleStoredProcInsert();
    break;
    case DML_UPDATE: {
    handleStoredProcUpdate();
    break;
    case DML_DELETE: {
    handleStoredProcDelete();
    break;
    void handleStoredProcSelect() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN departments_pkg.do_select(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    st.setLong(1,getDepartmentId().longValue());
    st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.NUMERIC);
    int rows = st.executeUpdate();
    populateAttribute(DEPARTMENTNAME,st.getString(2),true,false);
    populateAttribute(LOCATIONID,st.getBigDecimal(3),true,false);
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void handleStoredProcInsert() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN departments_pkg.do_insert(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    st.setLong(1,getDepartmentId().longValue());
    if (getDepartmentName() != null) {
    st.setString(2,getDepartmentName());
    else {
    st.setNull(2,Types.VARCHAR);
    if (getLocationId() != null) {
    st.setLong(3,getLocationId().longValue());
    else {
    st.setNull(3,Types.VARCHAR);
    int rows = st.executeUpdate();
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    7> In short, above route lets me call Ready Stored Procedures and I am able to speed up the development as well (Because, I am generating the Entity and View Objects based on tables and able to drag drop the Views from Data Control on my JSF - JSP UI.
    I can deploy this code in App Server 10.1.2.0.2 and DONE !!
    What do you guys think ? Is this a good approach to take towards ADF Faces, ADF BC and Pl Sql ??
    thanks,
    pp

    Hi,
    I don't see an objection to this strategy. ll that can be said aboutthe use of PLSQL in ADF BC is mentioned in the documentation
    http://download-uk.oracle.com/docs/html/B25947_01/bcadvgen005.htm#sm0297
    Frank

  • ADF Faces menuTree component example

    I am new to faces technology and I would appreciate if someone can give or point me to a demo creating and managing ADF faces menuTree component. How to dynamically create menus from SQL?
    Regards, Simon

    Hello,
    an example of an ADF Faces Tree component you can find in SRDemoSample. It's used in SRManage.jspx
    hope it helps you a bit, MenuTree should work similar.
    Cheers, Stefan

  • ADF Faces + ADF BC : how to pass an url parameter to a backend business ser

    Hi,
    I'm using latest JDev studio version SU 3.
    My project is using ADF Faces with BC4J in the service layer.
    I have a backend application module which exposes a method taking a String parameter as an input (ex: void setUsername(String username))
    I need to have a jspx page which reads a parameter passed in the url (http://localhost/faces/registerUser.jspx?username=john) and send it to the backend service method when a submit is raised on a clicked button.
    It's pretty simple when using inputtext for example but not obvious if I want to use urm param instead of inputtext.
    How do I do this ?
    Thanks

    Hi,
    Thanks a lot for your answers.
    The link http://www.it-eye.nl/weblog/2006/06/12/passing-a-url-parameter-to-model-using-adf/ is no more reachable.
    The following EL expression work for displaying the parameter inside an outputText component :
    #{facesContext.externalContext.requestParameterMap[’yourParameter′]}
    The parameter is not sent to the business service when the button is clicked.
    Thanks,
    Seb.

  • NPE upon logout (ADF Faces / ADF BC) 10.1.3.0 SU 5

    Hi all,
    I have some code that I use to log out from an ADF Faces appliction. The way that it works is that the "logout" link uses a dialog to ask the user if they really want to log out. If they do, the return listener handles the logout like this:
        if (rv.equals("Logout:Y"))
          ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
          HttpServletResponse response = null;
          HttpSession session;
          if (ectx != null)
            response = (HttpServletResponse)ectx.getResponse();
            if (response != null)
              session = (HttpSession)ectx.getSession(false);
              if (session != null)
                try
                  session.invalidate();
                catch (Exception e)
                  e.printStackTrace();
                  // Ignore this exception - always happens
          try
            response.sendRedirect(ectx.getRequestContextPath() + "/index.jspx");
          catch (IOException e)
            System.out.println("ignoring error");
        }When the code hits the session.invalidate() call, the following exception occurs (note that my code explicitly ignores it - if I put an e.printStackTrace(system.out), I get this:)
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.JboException.<init>(JboException.java:346)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:76)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:43)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.binding.DCBindingContainer.release(DCBindingContainer.java:1910)
         at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1551)
         at oracle.adf.model.bc4j.DCJboDataControl.release(DCJboDataControl.java:471)
         at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1482)
         at oracle.adf.model.BindingContext.release(BindingContext.java:284)
         at oracle.adf.model.servlet.HttpBindingContext.valueUnbound(HttpBindingContext.java:36)
         at com.evermind.server.http.EvermindHttpSession.destroy(EvermindHttpSession.java:458)
         at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:400)
    etc..etc...etc... snippedIs this normal and expected? Do I need to clean something else up before logging out? When I ignore this exception, everything works just fine and dandy, so it may not be something to worry about, but I tend to wonder any time an exception is thrown, especially an NPE.
    Any ideas appreciated.
    Regards,
    John

    John,
    seems to be related to teh dialog use. Can you try the same logic from a logout button on a page to see if it also throws the exception ? I tried without dialog and it works fine.
    Btw, I changed
    String ctxpath = ectx.getRequestContextPath();
    try
    response.sendRedirect(ctxpath + "/indx.jsp");
    Also I redirected to a plain JSP file and not another JSF page (just in case you do this)
    Frank

  • Difficulty with ADF Faces/ADF Essentials and Glassfish

    Hi all,
    I've got a web application written with ADF Faces, and it runs just fine within jDeveloper 11.1.2.3 but when I deploy it to Glassfish 3.1.2 (with ADF Essentials installed) something curious happens.
    My application has no difficulty performing database reads, but when it tried to write to the database and commit, it fails.
    I've seen only a couple of other people with this problem, and none of them seem to have found a solution - so I'm assuming it's something stupid that I'm doing or misunderstanding.
    Here is the log file:
    [#|2013-11-10T11:45:17.601-0500|WARNING|glassfish3.1.2|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=79;_ThreadName=Thread-2;|ADF: Adding the following JSF error message: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
    java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
      at oracle.jbo.server.BaseSQLBuilderImpl.isSQLRecoverableException(BaseSQLBuilderImpl.java:4575)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3380)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at app.AppModuleImpl.commitOperation(AppModuleImpl.java:50)
      at com.methods.lrc.view.VendorBean.createPaymentReceived(VendorBean.java:509)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at com.methods.lrc.view.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:42)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:724)
    Here is the method where it fails:
        public String createPaymentReceived() {
            AppModuleImpl appModule = this.getAppModule();
            ViewObjectImpl paymentReceivedVOI = appModule.getPaymentsReceivedView3();
            Row paymentRow = paymentReceivedVOI.createRow();
            paymentRow.setAttribute("CheckNumber", prCheckNumber);
            paymentRow.setAttribute("PaymAmount", totalSelectedValue);
            paymentRow.setAttribute("PaymentComment", prComment);
            paymentRow.setAttribute("PaymentDate", prPaymentDate);
            paymentRow.setAttribute("PaymentType", prPaymentType);
            paymentRow.setAttribute("TrackId", prTrackId);
            appModule.commitOperation();
            DBSequence paymentsReceivedId = (DBSequence)paymentRow.getAttribute("PaymentsReceivedId");
            Iterator selectionIt = unpaidPaymentItemsTable.getSelectedRowKeys().iterator();
            while (selectionIt.hasNext()) {
                Object rowKey = selectionIt.next();
                unpaidPaymentItemsTable.setRowKey(rowKey);
                int index = unpaidPaymentItemsTable.getRowIndex();
                JUCtrlHierNodeBinding row = (JUCtrlHierNodeBinding)unpaidPaymentItemsTable.getRowData(index);
                Row selectedRow = row.getRow();
                selectedRow.setAttribute("PaymentsReceivedId", paymentsReceivedId.getSequenceNumber());
                selectedRow.setAttribute("PaymentDate", prPaymentDate);
            appModule.commitOperation();
            prCheckNumber = null;
            totalSelectedValue = 0;
            prComment = null;
            prPaymentDate = new Date();
            prTrackId = null;
            prPaymentType = "K";
            refreshTableIterator("VendorPaymentItemsView1Iterator");
            refreshTableIterator("VendorPaymentsReceived1Iterator");
            return null;
    it fails on the second appModule.commitOperation() (which I've bolded)
    if anyone can give a clue to what I'm misunderstanding I'd really appreciate it.  I'm sure that if I had the course for BaseSQLBuilderImpl.java and/or DBTransactionImpl it would be easier to see what the actual error was - unfortunately java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception doesn't tell me much of anything.
    Thanks so much to anyone who's got the time/knowledge to help.
    Bob

    That doesn't seem to make any difference.  It works just fine within jDeveloper, but as soon as I deploy it, I can no longer write to the database.
    A few more details that seem relevant - it's not only this method that fails.  Even on screens which were designed without any backing code (where I used the wizards to create my forms and commit buttons) the same exact thing happens.
    I've also replicated this behavior in Tomcat.
    Part of what is happening is that something is throwing a NoClassDefFoundError, which is caught by a catch (Throwable thEx) clause within DBTransactionImpl.  This passes the Error to a method (isSQLRecoverableException) within the BaseSQLBuilderImpl class.  The problem is that this method takes only Exceptions for arguments, and NoClassDefFoundError is not a subclass of Exception (only of Throwable.)
    It seems obvious to me that there's somewhere a jar missing, but I cannot find it without knowing which class was not found.

  • ADF faces (adf-faces-impl.jar) on Glassfish not being deleted on undeploy

    I'm using Glassfish milestone 48 (Windows) and Oracle's ADF Faces in a basic web application. When undeploying an already deployed application the adf-faces-impl.jar is not being deleted from the applications WEB-INF/lib folder on the server.
    Google searches have led me to believe that this is because the file was locked at the time the app was being undeployed. All my application does is display an ADF Faces date component using the ADF taglib. There is no programming logic built in it (yet). So I'm guessing there is some issue with ADF Faces and Glassfish. I verified this same error when using the ADF Faces demo war application that is packaged with the ADF Faces download.
    Stopping Glassfish and starting it up again solves this file locking issue. But this is far from ideal in a development environment where we constantly redeploy apps.
    Any help on how to fix this would be of immense help.
    -sud

    Here is a stack trace from the point where the jar file is opened during deployment of adf-faces-impl to GlassFish. On the surface, it looks as if a stream might be opened but not closed in the ADF code?
    - Tim
    domains\domain1\applications\j2ee-modules\adf-faces-demo\WEB-INF\lib\adf-faces-impl-SNAPSHOT.jar
    java.util.zip.ZipFile.<init>(ZipFile.java:242)
    java.util.jar.JarFile.<init>(JarFile.java:132)
    java.util.jar.JarFile.<init>(JarFile.java:70)
    sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
    sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
    sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:63)
    sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
    sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124)
    java.net.URL.openStream(URL.java:1007)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:125)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:116)
    oracle.adf.view.faces.bean.FacesBeanFactory.<clinit>(FacesBeanFactory.java:151)
    oracle.adf.view.faces.component.UIXComponentBase.createFacesBean(UIXComponentBase.java:108)
    oracle.adf.view.faces.component.UIXComponentBase._init(UIXComponentBase.java:1192)
    oracle.adf.view.faces.component.UIXComponentBase.setRendererType(UIXComponentBase.java:332)
    oracle.adf.view.faces.component.UIXComponentBase.<init>(UIXComponentBase.java:102)
    oracle.adf.view.faces.component.UIXColumn.<init>(UIXColumn.java:159)
    oracle.adf.view.faces.component.core.data.CoreColumn.<init>(CoreColumn.java:215)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.table.SpecialColumnRenderer.<clinit>(SpecialColumnRenderer.java:17)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.<init>(TableRenderer.java:877)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:48)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:60)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    java.lang.Class.newInstance0(Class.java:350)
    java.lang.Class.newInstance(Class.java:303)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1308)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1379)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:774)
    com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
    com.sun.enterprise.web.WebModule.start(WebModule.java:292)
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1478)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)

  • ADF Faces  ADF BC

    its nice to know ADF 11g is released. I am fan of ADF, yet "why are'nt there enough ADF faces/BC related jobs in job market ? Isnt ADF been around for more than 8 years (including BC4J) now ? search and u find hardly 3 - 4 jobs here and there.

    I guess it all depends on where are you looking.
    Check this out: http://www.indeed.com/jobs?q=ADF&l=
    or this: http://www.indeed.com/jobs?q=JDeveloper&l=
    In general I think the Job trend shows we are in a decent position compared to some other Java frameworks:
    http://www.indeed.com/jobtrends?q=JDeveloper%2C+ADF%2C+SEAM%2C+Struts2%2C+Wicket&l=

  • Best way to autofill related fields (ADF Faces - ADF BC )

    Hi,
    I have the following database structure:
    Restaurant (RestId*, RestName, ..)
    |1
    |
    |n
    Categories (CatId*, RestId (FK), CatName, CatOrder,..)
    I am trying to implement the Categories page as follows (sorry for the layout but was the best I could do with text based interface...):
    Restaurant
    | RestId | | RestName |
    Categories List
    Select Category Name
    | o | CatId#1 | CatName#1 |
    | o | CatId#2 | CatName#2 |
    Category Detail
    | CatId |
    | CatName |
    | CatOrder |
    | Commit | | Rollback | | Create | | Delete |
    Autofill Functionality:
    1. After leaving the RestId input field RestName and Categories List gets populated. (For this I will be using the autoSubmit feature).
    2. If the user enters a wrong RestId (not in table restaurant) an error should be raised and user shouldn't be allowed to leave RestId field until it has the correct value.
    Question:
    Which is the best way of achieving such functionality having most part of the code at the ADF BC Layer ? It would be nice to have all validations inferred as they are when you define them at the Entity Object Layer.
    Thanks,
    Claudio.

    see section 9.6.2 "Implementing an Efficient Existence Check" to perform your existence check validation.

  • "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.

  • Weblogic Portal 10.3.5 using JSF 1.2 portlets with ADF faces

    We are developing Portal site using Weblogic Portal 10.3.5 with JSF portlet 1.2 and ADF faces (ADF Application runtime 11.1.1.5 ). But the JSF portlets not supporting ADF faces. Please let me know how we use ADF faces in JSF portlet 1.2 in Weblogic Portal.

    Hi Murthy,
    We did a detailed analysis.
    (1) How do we add ADF taskflows, JSF in to weblogic portal desktop/pages? Do we create portlet out of JSF, and display on desktop/page? If this is the case, what about ADf task flows?
    --> Taskflows can be deployed as WSRP2.0 portlets. Note 2 options are there JSF page as portlet or taskflow itself as portlets.
    (2) How do we integrate weblogic user profiles and UUP (unified user profiles) with ADF and JSF?
    --> ADF Security can use Weblogic Server realm as the security provider. Entitlements in WLP will have to be provided based on Weblogic Server roles. In case you are using external LDAP then both can be integrated withe external LDAP
    (3) Can anybody shed some light which this better?
    (a) weblogic portal with JPF (Java page flows), NetUI --Legacy approach
    Pros:
    -Easy Development
    -Well tested integrated
    Cons:
    -Future support
    -Enhancements may not be available
    -Not really portable or standards based
    (b) weblogic portal with ADF, JSF?
    Pros:
    -If your on Oracle stack then great
    -Standards based
    Cons:
    -JSF Portlet bridge issues
    -ADF Faces does not work on IE6!
    Well what we are going for is JSR 286, Trinidad components (Supports IE6), JSF.
    Difficult choice.
    Venkat

  • Using ADF Faces Skins

    I'm looking for a reference on deploying Skins with ADF Faces. The published howto on OTN is'nt very helpful because the sample code link is broken (See my previous post). The JDeveloper help files are somewhat helpful but I'm looking for a working example. I'm following the technique as implemented in SRDEMO but I must be missing something as my style sheet changes are not showing up.
    It would be nice if someone from Oracle could look into fixing the link to the sample code for:
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
    I think if I had a working example that allows skins to change at runtime I would be able to figure out what I'm missing. I have been trying access the link for a couple days now and no one has reponded to any of my requests.

    The link to http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/adffaces-skin.war
    seems to work for me.
    In any case to change the skin you are using you change the adf-faces-config.xml file.
    To get it to change at runtime - just put a reference to a value in a backing bean instead of the fixed "oracle" and then change the value in the bean at runtime.

  • 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

  • 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.

  • What about security in adf faces application ?

    It seem that the documentation has a little bit changed about security for adf faces application.
    SRDemo J2EE sample application only implemented the security at the web container and may be for the session beans (don't remember) by using security-role and security-constraint in web.xml configuration file.
    It seem that the documentation recommand now to implement adf security and didn't find anymore the reference to the standard j2ee security implementation.
    We found also that the security constraints checked by the web container was sometimes ignored and the container didn't ask us to login before displaying a page.
    Is ADF security a clear Oracle recommandation for ADF Faces application ?
    What about j2ee security for this type of application (why it is not recommended to use it) ?

    Hi,
    there is no single recommedation about security because security ideally is applied on several levels to implement security in depth. Container managed security with J2EE is a good option to secure page access and - if using EJB - to propagate the user identity for method level access control.
    Using ADF Security, which is security added to the binding layer based on JAAS, a second layer of the security onion becomes available that allows you to define which user is allowed to perform which operation on an iterator or attribute binding. This goes beyond of what container managed security can do for you.
    The thrid layer is business layer security and eventually database security.
    For Oracle Open World we will have a developmengt track and one of the presentation I am giving with Ric Smith from our team is about end-to-end application security for ADF Faces, ADF, ADF BCor TopLink/EJB and the Oracle database.
    The plan is to also write this up in a paper, but this would come late because of other priorities I have on my plate. So attending OOW probably is the best option for you to get the big picture
    Frank

Maybe you are looking for

  • Cannot ping inside IP behind sonicwall from Cisco ASA 5500

    I have a sonicwall at site B and the cisco asa5500 at the main office. (site A) The site to site VPN is working, but I can not ping the inside ip (10.1.5.2) of the sonic wall from Site A. I need this only to access the computers behind the sonicwall

  • Table for PO-header node text

    Hi all, In which table the po-header node text will gets saved. Thanks in advance. Thanks, Asmitha.

  • Information about SAP Netweawer CE 7.1

    I am going to install SAP Netweawer CE 7.1,But this requirement is to intall SAP Netweawer CE 7.1 with SP 8. I have checked in Service market place there we can find only CE 7.1 with SP 5 guides not CE 7.1 with SP8. My question is that do i need to i

  • J1IS problem

    Hi, I am facing serious problem in J1IS,i assigned correct G/L account in Account determination in CIN menu.But system picking Rg23A G/L account for Consumables,Assets,tools materials. Example  2000000000     Consumables               J1IS   create E

  • Lync Web App no sound and couldn't see shared desktop

    Hi, Today I tried to join a scheduled meeting which I've done may times before without any problem. I was let into the meeting but had no sound and couldn't see the shared presentation. I could see other participants and see typed messages. There was