Did anybody used ADF Faces with Apache Struts?

Hi
Can anybody give some guidelines of how to use ADF Faces with Struts?

I think you'll get a better answer for this on an iBatis forum.
I think I knew one customer who used this combination.
We don't have a specific tutorial that shows you how to use iBatis with ADF Faces, but at the end of the day any of the tutorials we have that shows you how to use POJO or a session facade to front POJO will be applicable to iBatis.

Similar Messages

  • Using ADF-FACES wih Apache Geronimo or IBM Websphere-CE?

    If you have used adf-faces with apache geronimo or IBM WASCE, could you share with me the following information:
    1. How you deploy an ear or war file.
    2. The sets of adf-faces jars you used.
    3. Did you put the adf-faces jars in the geronimo repository or sharedLib folder or in your web application WEB-INF/lib.
    4. What are the possible pitfalls and problems to watch out for.
    Please I am looking for response ONLY from people who have practical experiences of deploying adf projects to apache geronimo or IBM WASCE. 
    Thanks in advance.

    Hi,
    Did you tried keeping the jsf and jstl api and implementation jar files in your Web application and change the classloader order to parent last ?
    Regards,
    Catalin

  • How to use ADF Faces with struts1.3.8

    Hi
    Can anybody guide us how to use ADF faces with Struts 1.3.8.
    Your help will be appreciated.
    Thanks
    Chetan

    Xpp,
    Have a look at the ADF Developer's Guide for specific instructions on menus (the ADF Developer's Guide for Forms/4GL Developers has the information in section 19.2).
    You can put javascript handlers on the components to get keyboard event handling.
    John

  • ADF Faces with Facelets (Menubar)

    Hello experts,
    i using ADF Faces with the jDeveloper (11.1.2) and currently i have a little problem. The menu bar is not usable when i using facelets. It seems to me that the component isn't working.
    This is my little testproject:
    http://www.axxg.de/Facelets.rar
    Thanks for your help
    Alexander

    Alexandar,
    You could have just explained your problem rather than making us download something.
    You have a few issues:
    1). You are using Facelets templating to include your content and header - however, content and header are full pages, not fragments - thus you have multiple f:view tags and af:document tags (this is why you have problems with the menu not dropping down). Have a look at ADF templates in the documentation if you'd like to see how ADF templating works.
    2) Your menus aren't set to do anything. <af:commandMenuItem text="open" id="cmi1"/> - there is no action/action listener associated with your menu item, so indeed it does nothing - this is what you will see when you fix problem #1
    John

  • ADF Faces with NetBeans Visual Pack

    Hello all,
    I have NetBeans 5.5.1 installed with the Visual Pack and I am looking to try out other libraries with it, in particular ADF Faces from Oracle.
    Does anyone know how to import the components into the NetBeans Visual Pack? They download from oracle as[b] adf-faces-impl-10_1_3_0_4.jar and not as a complib extension, which NetBeans prefers.
    Please if anyones has any experience with getting this to work let me know. Or if you think it can't work let me know as well?
    Hoping to hear from someone soon. Thanks in advance.

    Hello again,
    Anyone out there using ADF faces with NetBeans Visual Pack who can give some feedback?
    I want to be able to use the drag and drop capabilities of the Visual Pack with the ADF faces components, but I don't see how to configure this as they do not come pre-configured as a complib extension.
    Any feedback would be appreciated.
    Thanks and Regards.

  • ADF Faces with ADF BC

    Hi everyone,
    I'm trying to map a <af:table> to an ADF Business Component. I can retrieve the records and I can also navigate doing Next and Previous, but I cannot do a Delete of a record. Do you know if there's any kind of "work arround" to use ADF Faces with ADF BC to do a delete or update, etc.?
    Here is the code, you can notice the: <af:tableSelectOne> tag to put the radio buttons colums to select which one to delete, and you can also notice the action="#{row.markForDeletion}" for the commandbutton to perform the delete.
    Jonas Jacobi wrote in his web blog on August 16 that he was going to post some samples for this "work arround" but I think he never posted them.
    Here is the code:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA12/html" prefix="afh"%><%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/ui/jsp/adftags" prefix="adf"%>
    <adf:uimodelreference model="table_testUIModel"/>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA12" prefix="af"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <H1>This is a Test</H1>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>my test page</title>
    <link href="css/blaf.css" rel="stylesheet" media="screen"/>
    </head>
    <body>
    <f:view>
    <afh:head title="tableSelectOne Demo"/>
    <af:panelPage>
    <af:table rows="3" var="row" value="#{bindings.CmSvcView1.rangeSet}" first="0">
    <f:facet name="selection">
    <af:tableSelectOne text="Select and ...">
    <af:commandButton text="Delete" action="#{row.markForDeletion}"/>
    </af:tableSelectOne>
    </f:facet>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcId"/>
    </f:facet>
    <af:outputText value="#{row.SvcId}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcNum"/>
    </f:facet>
    <af:outputText value="#{row.SvcNum}" styleClass="OraHeaderSubSub"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcName"/>
    </f:facet>
    <af:outputText value="#{row.SvcName}" styleClass="OraHeaderSubSub"/>
    </af:column>
    </af:table>
    </af:panelPage>
    </f:view>
    </body>
    </html>
    Thanks,
    Pablo (sorry for the long post)

    Thank you Gabrielle. At least now I have an excuse to tell my boss why I can't get it to work.
    Any idea when it may be available? Would it be a better idea to implement the table in plain vanilla JSF, and when ADF Faces is ready for ADF BC then do the migration?
    Are there any workarround to this problem?
    Thank you for your time,
    Pablo

  • Possibility & Drawback  Using JDeveloper 11g ADF Faces with Oracle 10g DB

    We are new to ADF Faces, would like to use JDeveloper 11g ADF Faces with Oracle 10g database (Enterprise Edition). As we are new to JDeveloper 11g ADF BC, so we want to know about the Possibility & the Drawback.
    Edited by: eng.shahed on Apr 5, 2010 11:21 AM

    i dont think so any drawbacks using Jdeveloper with any database.....its a open product ... You can use it with Sybase, MySQL, Oracle etc etc..

  • Problem with a example of "Developing and Using ADF Faces Skins"

    Hi, I've tried the example "Developing and Using ADF Faces Skins", but when I run the sample.jspx page and choose the skin "MyCompany" in the select skin I obtain the next message:
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.ui.laf.simple.desktop.SideBarRenderer._getIconData(SideBarRenderer.java:393)
    at oracle.adfinternal.view.faces.ui.laf.simple.desktop.SideBarRenderer.prerender(SideBarRenderer.java:83)
    at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:79)
    Could somebody help me?
    Thanks a lot ;-)

    Hi there,
    I had the same issue last friday.
    It's probably because you are using JDeveloper 10.1.3.2 instead of 10.1.3.0 or 10.1.3.1 for which the example is made.
    I haven't been able to fix this yet, other then by commenting out the this part of the css.
    Luc Bors
    Message was edited by:
    lucbors

  • Validation messages in JSF (when not using ADF faces)

    I've spent some time with JDeveloper 11 and would like to use it on an upcoming project. I have to target IE 6, so I won't be able to take advantage of ADF Faces. Instead I'd like to use the ADF Business Components with a standard JSF interface so it can be used by people still running IE 6.
    I've created a Business Component from a database table and can bind a JSF HTML Creation Form by dragging the appropriate view from the AppModule in the Data Controls pane. However, when I attempt to submit the page without all the fields being valid I get the following validation error message:
    j_id__ctru2:j_id__ctru6: Validation Error: Value is required. j_id__ctru2:j_id__ctru6: Validation Error: Value is required.
    I've tried making this more descriptive, but editing the error message in the Validation Rules section of the Business Component has no effect. What's the best way to convey a meaningful validation message to the user when not using ADF Faces?
    Also - I'm still very new to JDeveloper. Since I won't be able to rely on my users having Internet Explorer 7, would you recommend I stay with JDeveloper 10? The examples and documentation I've seen so far for JDeveloper 11 appear heavily biased towards using ADF Faces so I'm starting to wonder how much support is there for using plain old JSF.
    Thanks for your time!

    Hi,
    if you are completely new to this then I suggest to use JDeveloper 10.1.3 and ADF Faces in there. Its good to use with IE6 as well. Currently we do have more tutorials available for this release than for 11, which for this reason is a better choice for someone new to this
    Frank

  • Displaying BLOB image by using ADF Faces

    Hi all,
    I digged the forum but couldn't find any satisfied answer about displaying BLOB images by using ADF Faces.
    I have insterted POJO object to Oracle database but couldn't find any way to display blob (in java byte [] ) data in POJO.
    I have read the POJO object from database which contains two field; one of them is id field and other is BLOB data which holds GIF or JPG image and I want to display this image another page which contains also other fields / records ...
    thanks for your answers
    regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    This thread at Sun : http://forum.java.sun.com/thread.jspa?threadID=513804&messageID=2445090
    talks about two options for creating a graphicImage jsf tag. (img tag)
    1. Make the img tag url refer to a servlet (instead of a static image file)
    2. Embed the image into the tag as inline base64 encoded data.
    2a. Use an <Object> tag with inline data.
    1. Looks a bit complex for a simple problem.
    2 and 2a don't work with some browsers.
    - And I've not yet figured out how to hook into the ADF Faces table-rendering logic to get it to add my image column. My table binds to a collection DataControl, [which in turn retrieves from a findAllItems call on a session facade, which uses my domain model, and wraps up access to a TopLink pesistence layer]. The framework just ignores my byte[] attribute when creating the jsf table from the DataControl. All string, int etc. attributes get represented correctly in the jsf table output.

  • ADF Faces with NetBeans

    Hi,
    This is Sandip Kulkarni.
    I want to know that, how can we use or integrate ADF Faces with NetBeans 6.1 or NetBeans 6.5?
    Please assist me with the solution as early as possible........
    Thanking you

    Sandip,
    In all honesty, if you want to do ADF development - JDeveloper is the only game in town... yes, I know you can make it work, but it's not going to be productive. If you are talking about ADF Faces only, you may be able to configure the taglibs + etc in Netbeans, but not sure it's going to be fun. If you want to bring ADF Business Components into the mix, it's going to be unworkable.
    One thing you could look at doing is to use something like maven - and then use Maven to generate the Netbeans artifacts.
    Caveat: I've not done this before and cannot comment on how workable it will be.
    Why don't you want to use JDeveloper?
    John

  • ADF without using ADF-Faces

    I'm starting a new project and I want to combine the use of ADF without using adf-faces in other words I want to connect to the Oracle data base through ADF while building my own beans.

    Well I'm still having problems with "ADF without using ADF-Faces" so I went back and found documentation:
    Oracle® Application Development Framework
    Developer’s Guide
    10g Release 3 (10.1.3)
    B25386-01
    However I came to point where I was confused with the TopLink documentation on 3.7 Querying Objects where it said:
    You cannot configure the sort criteria of a TopLink query from Oracle JDeveloper. You
    must write a Java method, using descriptor amendment method. See Section 3.3.3.2,
    "Using Amendment Methods" for more information.
    I find this hard to fathom would you not want to sort the dataset on a JSF table?
    The link takes you to a statement that has nothing to do with Sorting.
    Jim

  • ADF FACES: HTML template text Layout is broken when uses ADF Faces tags

    This works fine:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></meta>
    </head>
    <body>
    <h:form>
    <table border="1">
    <tr>
    <td width="45%">
    <h:dataTable rows="5" bgcolor="Red" value="#{class1.names}" var="name">
    <h:column>
    <h:outputText value="#{name}"/>
    </h:column>
    <h:column>
    <h:outputText value="#{name}"/>
    </h:column>
    </h:dataTable>
    </td>
    <td width="55%">
    <h:inputText/>
    </td>
    </tr>
    </table>
    </h:form>
    </body>
    </html>
    </f:view>
    => a table is rendered with one row and two columns; in the first column the data table is rendered in the second the inputText
    Changing to ADF Faces tags breaks the layout:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ 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/EA11" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA11/html" prefix="afh"%>
    <f:view>
    <afh:html>
    <afh:head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></meta>
    </afh:head>
    <afh:body>
    <af:form>
    <table border="1">
    <tr>
    <td>
    <af:table rows="5" value="#{class1.names}" var="name">
    <af:column>
    <h:outputText value="#{name}"/>
    </af:column>
    <af:column>
    <h:outputText value="#{name}"/>
    </af:column>
    </af:table>
    </td>
    <td>
    <h:inputText/>
    </td>
    </tr>
    </table>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    => at the begin of the page an empty table is rendered; below the data table is rendered and below the inputText
    It think it should be possible to layout the page with HTML template text and use ADF Faces tags.

    As of EA12 (and EA13) <afh:body> is what is known as a "rendersChildren" tag. It needs to do so in order to support partial-page rendering This means that template text inside it needs to be wrapped inside <f:verbatim>.
    For later releases of ADF Faces, I've filed an enhancement request to loosen up this restriction for <afh:body>.

  • How to save multiple rows using ADF faces ?!

    Hello;
    I am developing a search page using ADF faces (jdeveloper 10.1.3).
    after building my view i dragged it as search form on my page then i dragged it again as a read only table to display results with different iterator.
    I have a field act as a flag with 'Y' and 'N' value so i converted this field in the table to select boolean checkbox.
    what i need is ...
    after processing search operation i want to update this flag by 'Y' or 'N' (select/un-select checkbox) then click on a save button to save all result rows flag with its new status to the data base.
    Wish to know how to implement that.
    Thanks a lot

    Searching this forum yields How to do a bound af:SelectBooleanCheckbox inside of af:Table
    Hope this helps

  • Difference between Java Server Faces and Apache Struts

    Hi ,
    I'm quite new to Java Server Faces and Apache Struts. I wonder are they two comparable Frameworks for web presentation?
    And can anybody elaborate please, if they differ in what aspects?
    Thanks
    Jaffar Shaikh

    Here are slides from a presentation by Craig McClanahan that compares them (I believe you can search for other articles on this topic): http://www.baychi.org/calendar/files/Struts-And-Faces/Struts-And-Faces.pdf

Maybe you are looking for

  • Invoking JSF actions from a hyperlink

    I suspect I already know the answer to this question based on my experiments and what I've read on the web and in books, but I thought I'd ask here just in case. The basic problem is that I would like to invoke JSF from a hyperlink. For example: myst

  • Help with Font

    Hello! Looking for some suggestions for the image below. I want to make the 925 pop a bit more off of the lines and have tried several different fills/strokes but nothing seems to completely work.  Any Suggestions would be great

  • Printer not working i get an error message of ink sytem failure : oxc19a0007 please help

    HP photosmart all in one Model CD028A using windows 7 64 bit.  It was working one week ago

  • DataTable single row coloumn display as two rows..

    I need to display dataTable single Row columns in 2 rows. For Eg : dataTable each rows has 4 columns... by defalut it displays col1 Col2 Col3 Col4. But i need to displays row1 : Col1 Col2 Col3 Col4 row2 : Col1 Col2 Col3 Col4 I tried with inner and ou

  • Canon is screwing us with their repair policies.

          I have been using Canon digital cameras since the venerable D60...I have owned the 1Ds, 1Dsmk2, IDsmk3, 5d, 5d2 5d3 , 1d2...mostly full frame cameras. I have used these in the practice of my successful photography business. Quite a while ago...