Sorting column issue in Oracle ADF faces

hey guys
anybody know how I can sort on an object but display a property
for example, a person object implements comparable and its sort is determined by SSN
however, when displaying the person, I want to display Last name instead.
<af:column sortable="true" sortProperty="person"
     id="docTypeCode" width="5%" headerText="Document Type">
<af:outputText value="#{record.person.lastName}" />
</af:column>
I couldn't get this work for me.
The only alternative I could find is to override the toString () function but this is not possible since this code is legacy and has a cascading impact on other aspects of the application.
any help would be apperciated.

Hi,
not that I am aware of. However, since ADF Faces is nothing else than JavaServer Facse UI components you can Google for such a parser. If you find one you will be able to use it with ADF Faces too.
Frank
Ps.: Maybe APEX (Application Express) is the better technology for you to use. Its PLSQL based and knows how to create Ajax style applications out of the database.

Similar Messages

  • Does Studio Creator support Oracle ADF Faces and other components?

    Hi everyone
    According to:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/faq.html
    "Although ADF Faces is "vanilla" JSF we have not been able to run with Java Studio Creator Build 04.06.2. We are working with Sun to resolve the issues in Java Studio Creator."
    Does anyone know if Oracle ADF faces now work with Studio Creator and if so which version.
    In addition I am also looking for JSF visualization components. In addition to advanced 3-D graphs (send as PNG to client) I am also looking for components to visualize the structure of a website. These all need to work with Studio Creator.

    Importing 3rd party libraries used to be complicated. The .complib stuff was added precisely to make it easy.
    It does make packaging slightly harder for third party -vendors-, since there's one extra step, but this makes everything easier for (the much larger number of) users of the third party components, since the packaging format specifies a bunch of stuff that we used to have to ask of users when trying to add the jar and associated metadata into the IDE.
    The complib stuff is documented, so if you're producing a 3rd party JSF library, or if you really want to use one that hasn't yet been packaged, you can do the steps yourself.
    See http://wiki.java.net/bin/view/People/EdwinGoei -- the first couple of links describes the process. Yes, we're working with third party vendors to get this done for their component sets, and yes, there's talk with other IDE vendors to standardize all this.
    -- Tor
    http://blogs.sun.com/tor

  • Oracle ADF Faces

    I want to use Oracle ADF Faces in the following environment.
    1) IDE - eclipse, exadel studio 3.0.5
    2) Container - Tomcat 5.0.9
    3) Sun RI
    Please tell how to use adf with above environment. I need configuration details only.

    Hi,
    I modified the web.xml as mentioned in the link
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/installation.html
    I am using myfaces1.1 implementation. I copied the two adf-faces-api.jar, adf-faces-impl.jar in the WEB-INF folder where the myfaces lib files are available.
    I created a simple page with ADF Faces. but i am getting the following error:
    Resource not found ( HTTP 404 ).
    Please help me how to solve.

  • Oracle ADF Faces Components, Early Access Release 8 is now available

    Oracle ADF Faces is a rich set of user interface components based on the new JavaServer Faces JSR (JSR-127). Oracle has been actively involved in this JSR since its beginning. The Oracle ADF Faces Components provide various user-interface components with built-in functionality - such as data tables, hierarchical tables, and color and date pickers - that can be customized and re-used in your application.
    ADF Faces also includes many of the framework features most needed by JSF developers today:
    * File upload support is integrated at a component level.
    * Client-side validation is automatically derived from Validators and Converters for an improved user experience.
    * A pageFlow scope makes it easier to pass values from one page to another.
    * A new hybrid state saving strategy gives developers the best of both client and server-side state saving.
    ADF Faces ensures a consistent look and feel for your application, allowing you to focus more on user interface interaction rather than look and feel compliance. The components support multi-language and translation implementation as well as accessibility features. ADF Faces Components use Partial Page Rendering (PPR) offering superior runtime interactivity. PPR allow the browser to just render a piece of a page instead of the entire page.
    The intention with this early access release is to give developers/architects an opportunity to evaluate JSF and Oracle's JSF component offering.
    Oracle ADF Faces Components can be used in any IDE that support JSF, including Oracle JDeveloper 10g.
    Oracle ADF Faces Components, EA8

    Jonas,
    It works if I include the following:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    The source is now:
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA8" prefix="af"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <f:view>
    <af:outputText value="hello ADF Faces!"/>
    </f:view>
    </body>
    </html>
    Did I feel out something in my library entry?
    Thanks.

  • Oracle ADF Faces integrated in Oracle JDeveloper: Freebie?

    Hi room, I'd like to ask if Oracle ADF Faces, the version integrated in Oracle JDeveloper (this is a freebie) is a Freebie also, any1 knows, do share. Thanks a lot.

    Hi,
    no, it isn't. If you are looking for free software, have a look at MyFaces Trinidad, which is the open source - and thus free - version of ADF Faces
    Frank

  • Deserialization in Oracle ADF Faces

    Hi, All,
    is there any algorithm for deserialization (creating components from markup in string) in Oracle ADF Faces? Most part of UI is created dynamically in PL/SQL functions, so I'm not enthusiastic to develop a parser.
    AFAIK in Bindows framework they use such code pattern (javascript):
    try {
    var d = new BiXmlDocument;
    d.loadXML( "<root>" + server_create_markup() + "</root>" );
    } catch( ex1 ) {
    alert(ex1.toiString());
    if( d.parseError.errorCode != 0 ) {
    alert( "parse error" );
    return;
    try {
    Bindows_component.removeAll();
    var de = d.documentElement;
    var cs = de.childNodes;
    var rp = application.getAdf().getXmlResourceParser();
    for( var i = 0; i < cs.length; i++ )
    Bindows_component.addXmlNode( cs, rp );
    } catch( ex2 ) {
    alert( "Error loading markup from DB-server function" );
    return;

    Hi,
    not that I am aware of. However, since ADF Faces is nothing else than JavaServer Facse UI components you can Google for such a parser. If you find one you will be able to use it with ADF Faces too.
    Frank
    Ps.: Maybe APEX (Application Express) is the better technology for you to use. Its PLSQL based and knows how to create Ajax style applications out of the database.

  • Oracle.adf.faces.STATE compressed?

    Dear all,
    i have a question about how adf faces saving its view sate.
    in jsf (1.1_02), i can specify a context-parameter com.sun.faces.COMPRESS_STATE=false to avoid compressing the state information.
    adf faces seem store the view info in a hidden form field "oracle.adf.faces.STATE"
    is there any similar parameter in adf faces?
    or adf faces don't compress the state info?
    thank you.

    Jonas,
    It works if I include the following:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    The source is now:
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA8" prefix="af"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <f:view>
    <af:outputText value="hello ADF Faces!"/>
    </f:view>
    </body>
    </html>
    Did I feel out something in my library entry?
    Thanks.

  • Latest version of Oracle ADF Faces?

    What is the latest version of Oracle ADF faces? Is there a single place where you can always download the latest and greatest?
    I have the API and Impl libraries (and the adfshared too) from JDeveloper. They are part of Early Access 19 I believe. But what version of ADF is used in this demo (link below) that is included with the adffaces-skin.war file? Would EA19 be more recent and work with it?
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html

    Oh, and I will mention, in the version that comes with the skins demo, the manifest file says
    Implementation-Version: 10_1_3_0_4
    In the version that comes with JDeveloper, the manifest file says
    Implementation-Version: ea19
    Which one is later?

  • Oracle ADF faces meets javaFX - at Oracle Open World '09

    Hi,
    is there any interest that I demo javaFX at Oracle Open World '09 - Oct 11-15, San Francisco?
    Session name: How to enrich Oracle ADF faces with javaFX
    I appreciate any suggestions or contacts!
    by Pepone

    Hi,
    usually integration papers are well perceived.
    Frank

  • Is it possible to use Autosuggestion using Oracle ADF Faces?

    Is it possible to use Autosuggestion using Oracle ADF Faces?
    Regards,
    Shaily

    Asanka,
    Please review the MBeans chapter in the OC4J Admin guide
    Hope this helps.
    Deepak

  • How to set the target of af:commandLink in Oracle ADF faces ( af:menuTabs )

    I try to use tabbedpane component from Oracle ADF...As I found, they stated that only <af:commandLink> can be child of <af:menuTabs>
    I want to press the tab then the result can be show at the bottom of that tab...as same as the jsf demo from SUN.
    <af:menuTabs binding="#{editor.component}">
    <af:commandLink text="Quick-Info" action="#{action.qinfo_page}"
    selected="true" />
    <af:commandLink text="Vertrieb" action="#{action.vertrieb_page}"/>
    <af:commandLink text="Wichtig" action="#{action.wichtig_page}"/>
    <af:commandLink text="Kontakt" action="#{action.kontakt_page}"/>
    <af:commandLink text="Notizen" action="#{action.notizen_page}"/>
    </af:menuTabs>
    Now when i press to each tab, it will redirect to new page as i define (such as the code in welcome.jsf...then it redirect to qinfo.jsf when i press at Quick-Info tab).
    Pleas help me to solve this problem...I need to show the result at that page (area below the tab). Thank you in advance.

    We're sorry, but this isn't supported. One rationale is that it's not generally sufficient to simply reload the target page; you also have to reload the tab control itself to show the new selection. We generally recommend not using frames in this circumstance, instead putting the menuTabs and the content on one page.
    (BTW, "target" isn't really supported on <h:commandLink> either)
    -- Adam Winer (JSF EG member and ADF Faces architect)

  • View link refresh issue in a ADF Faces application

    ADF BC, ADF Faces, JDeveloper 10.1.3.3
    There is an example.
    I have an Entity SaleEntity and two view objects: SalesView (based on the SaleEntity) and ProductsView (read only). SaleEntity has an attribute productId to reference a product sold. SalesView and ProductsView are related by a view link. The link works fine in a Business Component Browser.
    Then I created a ADF Faces form to edit a sale. I used an af:selectInputText component for a productId:
    <af:selectInputText
        value="#{bindings.ProductId.inputValue}"
        label="#{bindings.ProductId.label}" 
        required="true"
        columns="6"
        action="dialog:ProductSearch"
        autoSubmit="true"
        valueChangeListener="#{CreateSaleBean.productId_valueChanged}" 
        tip="#{bindings.ProductsViewName.inputValue}">
      <af:validator binding="#{bindings.ProductId.validator}"/>
    </af:selectInputText>
    {code}
    User can enter productId directly or select a product from a LOV. I set a tip attribute of af:selectInputText to display a name of the current product. The tip uses ProductsView through the view link between SalesView and ProductsView. valueChangeListener is used here to make tip update right after partial form submit:
    {code:java}
      public void productId_valueChanged(ValueChangeEvent valueChangeEvent) {
        String prodId = (String) valueChangeEvent.getNewValue();  
        JSFUtils.setExpressionValue("#{bindings.ProductId.inputValue}", prodId);
        getIteratorBinding("SalesViewIterator").refresh(DCExecutableBindingDef.RC_REFRESH);
        getIteratorBinding("ProductsView").refresh(DCExecutableBindingDef.RC_REFRESH);
    {code}
    SaleEntity has a productId attribute validator to ensure that id of existing product was specified. The validator is implemented in the same way as ADF Developer Guide chapter "9.6.2 Implementing an Efficient Existence Check" describes.
    All this works fine when user enters correct productId - the new value is submitted and the tip is updated. But if user enters non existing productId - the tip doesn't change. It seems that detail view row currency doesn't change in that case. I want to make the tip empty when the provided productId is incorrect. Any ideas how to achieve this?
    Thanks,
    Marius                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Blaise,
    no I don't want to insert new product. I want make products view object have no current row.
    In addition product existence check code is in a sale entity. I don't think it is a good idea to have an entity object depending to some specific view object. Maybe I'm in the wrong.
    Marius

  • Refresh Issue in Oracle ADF In JDeveloper

    Hi all,
    My ADF Application is having around 350 Forms. Application size is 700MB. I am facing a refresh issue in this application. whenever i am modifying any queries in view objects or lookups it is not reflecting immediately. Say : i modified one query. Then i deployed the application means the query is taking the old query. to take the modified query i have to rebuilt the view object. Every time i am facing this same problem. Some times within 2-3 deployments the query is modified by itself(without rebuild) and working fine. Sometime after 10 times also it is taking the old query only. Every time i have to rebuilt to fix this issue. Please help me to fix this issue. I am using oralce 11g.

    Try to invoke  Clean All Operation before you deploy the application.
    From Main Menu -- >Build -->  Clean All

  • URGENT!!! how to render af:table af:column as checkbox in ADF faces

    Hi!!
    How i can render table column as checkbox.
    I used <af:selectBooleanCheckbox id="my CheckBox"
    value="#{row.CheckBox}" />
    and it is visualizied az checkbox in table but value is not set.
    I mean that when i make setAttribute("CheckBox", "Y") checkbox is not checked.
    My attribute CheckBox is transient String attribute with default value "N".
    i will appreciate if you give ideas how to render colomn or some links to read about it, because i didn't find anything in internet.

    Hi Timo,
    Thanks for info, But I am not using any Business components in my case, Also this article explains about re-Querying , Is there any way without re-querying we can apply the filter with '>& < ' operators on date columns?
    Thanks

  • Studio Creator and Oracle ADF faces

    Hi,
    I was searching through the entire forums to find out how to integrate ADF or any other 3rd pary component with the creator but couldn't find a easy way of doing it. This topic has started somewhere in 2004 but nobody seems to have found a solution to do it in easy way.
    Anybody is having any idea ?
    Cheers,
    Kara

    Yes, I agree.
    I think a thorough and in-depth tutorial on creating, packaging, and importing components into JSC would be very helpful to this extent.
    I have found the java.net , sourceforge & other java support sites to be invaluable in my learning curve and tinkering with JSC and java. Further enablement of this (via a tutorial) is important as well as essential.
    Delphi has been my tool of choice when developing Windows applications, and I have found the community contributions to be invaluable. I have developed components for Delphi - I looked into developing some JSF components, but find that at my present level of (non) expertise, the information on developing JSF components for JSC is there, but the time is not. And while all the information is there on how to develop JSF components, and an excellent tool to do it (Netbeans), the information is too scattered, except for those who I would consider at the guru level of expertise.
    Jim

Maybe you are looking for

  • Adobe Classroom in a book

    Hi everybody! Can someone help me out? I was wondering if you can learn premiere pro cs3 using the premiere pro 2.0 classroom in a book? The cs3 version still has not been published. Are they that different? Thanks. Cheers.

  • Batch processing different files or not?

    Hello, I would like to know if It's possible to batch processing feature with the Acrobat standard version 9. I want to securize a bund of pdf files from their filename. What's the best version to deploy this subject, standard or professional? I'd li

  • Select the current row in read only querry VO

    Hi., I am using jdev 11.1.1.5 I had created a Finyear EO with corresponding VO I had also created a read only querry VO [PostdGLhdlnVO] I had created a viewlink between FinyearVO and PostdGlhdlnVO with following conditions FinyearVO.bu = PostdGLhdlnV

  • Sum a UNION query

    URGENT PLS!! hi, pls im trying to query my database but i dont know how to write the query. here is what i was told to do. there are 3 tables, 1. HCP table that hold all the name of hospitals (primary key is HCP_ID) 2. EMPLOYEE table, which hold the

  • Playback Stops Itself In Logic Express 9 - Help!

    Hi, I've never used these forums before, so I'm sorry for anything I do wrong! I have the latest version of Logic Express 9 on A 2.53Ghz, 8GB macbook pro, and have been working on a MIDI and audio project, which was playing all the way through, and w