ADF Faces - Using ProgressIndicator Component as a Process Indicator

Hi, I'm working on JDeveloper 10.1.3.2.0 and I'd like to know if there is an example anywhere for the next case:
I have 2 jspx pages: one is a form with search fields. The other one is a table with the results of the search.
I made some tests with both Poll and ProgressIndicator so that, when the user clicks the "Search Button", the clock of the ProgressIndicator component appears (just the clock) and, when the search is over, the application redirects you to the results page.
I had to use javascript and I almost got it, but there's a problem. Once you're in the results page, if you click the "Back" button of the browser, the clock appears as if you're requesting the search again (but you're not, of course)
Do you know if there is a simpler way to achieve this solving this last problem and without javascript code?
Thanks in advance

Hi,
you can use the JavaScript on the target page in an onLoad statement to delete the browser history. This way the back button doesn't work at all. I received a mail from another customer who did it that way
Frank

Similar Messages

  • Panel Page in ADF Faces using Facelets not rendering correctly

    Hi, I am attempting to integrate facelets into a web app built using adf faces and am running into a problem with the panel page component. I have integrated facelets and adf faces without any problems by adding relevant jars (jsf-facelets and adf-facelets) to the project and specifying alternate facelets view handler in web.xml.
    However, when I try to render any component inside <af:document> or <af:html> tags, all the font style in components seems to be lost ( all the text and input fields turn large and ugly!).
    I tried to leave out the <af:document> tag and put the <f:view> inside some vanilla html instead, but then panelPage component dosen't render properly and I get following message on top of page :
    "Skip navigation elements to page contents"
    So seem to be in a bit of a catch 22. By the way, this all works fine if I don't use facelets (remove the facelets view handler from web.xml and page renders correctly).
    Does anyone have any ideas or examples of panelPage rendering correctly with facelets or an alternative to using adf faces html tags that will allow panelpage to be displayed?
    The following is the code from a simple test jspx page :
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <f:view>
    <af:document>
    <af:form>
    <af:panelPage title="Title 1">
    <af:panelHorizontal>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Username"/>
    <af:inputText id="lo_username" value="" columns="20"/>
    <af:objectSpacer width="1" height="10"/>
    <af:outputLabel value="Password"/>
    <af:inputText id="lo_password" secret="true" value="" columns="20"/>
    <af:objectSpacer width="1" height="15" />
    <af:panelHorizontal>
    <af:objectSpacer width="50" height="1"/>
    <af:commandButton id="lo_loginButton" text="Login"/>
    </af:panelHorizontal>
    </af:panelGroup>
    <af:objectSpacer width="50" height="1"/>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Please use your windows account username"/>
    <af:outputLabel value="and password to logon to the system"/>
    <af:objectSpacer width="1" height="50"/>
    </af:panelGroup>
    </af:panelHorizontal>
    </af:panelPage>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

    The problem was the <jsp:root> tag. Removed this tag and modified <af:document> to the following so that namespaces are declared :
    <af:document xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    Page now renders properly using facelets.
    Message was edited by:
    mjc

  • ADF Faces: Making a component non-navigable. How?

    Hi,
    Is it possible to make an ADF Faces component non-navigable? Something like specifying
    tabindex="-1"in HTML.
    I need this most for buttons.
    Best regards,
    Bisser

    That's right. JSF produces such IDs. They are causing problems with JAAS login forms, so we should use plain JSPs for login, but for the rest of the tasks such IDs are okay.
    What I meant is that currenty the buttons are not rendered as
    <input type="button" ... />but as pictures embedded in hyperlinks (&lt;a>).
    It's possible, though not likely, that in some future version of ADF Faces some component will be rendered as an HTML element that doesn't support tab ordering (although I haven't really considered if there are such elements). Then the trick with manually setting the tabIndex of the parent HTML element won't work.
    Of course, I deeply appreciate the fact that you take the time to help us on this forum. In fact, I will go ahead and do just that -- I will dynamically set the tabIndex via JavaScript. I was simply wanting to make sure that I wasn't taking such a hack-like approach, if there was a better method.
    Thank you again.
    Best regards,
    Bisser

  • ADF FACES:Creating custom component on top of adf

    My UI requiement is sth like
    Name : xxxxxxx
    Description : xxxxxxxxx
    Search : cccccc
    This UI i want to create as a custom tag and use it across our project.
    We need to include this utiltiy in JSP Tag libraries so that it appears in
    the compoent palette.
    WE have done the same thing using pure JSF and it is working fine.
    But we need to leverage ADF classes.. so that we can get the same look and
    feel and we simply set our proprties and renering part will come from ADF faces.
    In my main component class I have written the code sth like
    public void encodeChildren(FacesContext context)throws IOException {
    RenderKit rk = context.getRenderKit();
    CoreInputText buton = new CoreInputText();
    buton.setValue("my text");
    buton.setRendered(true);
    rk.getRenderer("myFamily", getRendererType()).encodeBegin(context, buton);
    After doing this I run my test.jsp and no output is produced.
    So can you let us know the correct way for doing this.
    This is a high priority requirement for US.if anybody can pls help asap..
    Thanks
    Ravi

    Hi All,
    I was able to get this code to run and wanted to share with you the corrections
    ================== HelloUIComp.java ==============
    package view.components.msg;
    import java.io.IOException;
    import javax.faces.application.Application;
    import javax.faces.component.UIComponentBase;
    import javax.faces.component.UIViewRoot;
    import javax.faces.context.FacesContext;
    import oracle.adf.view.faces.component.core.CoreForm;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.adf.view.faces.component.core.layout.CorePanelForm;
    import oracle.adf.view.faces.component.core.nav.CoreCommandButton;
    import oracle.adf.view.faces.component.core.output.CoreMessage;
    import oracle.adf.view.faces.component.core.output.CoreMessages;
    public class HelloUIComp extends UIComponentBase {
    private CoreCommandButton button;
    private CoreInputText intext;
    private CoreInputText description;
    private CorePanelForm panel;
    private CoreForm form;
    public static final String COMPONENT_TYPE = "com.mycompany..hello";
    // This will be a self-rendering component
    public static final String RENDERER_TYPE = null;
    public HelloUIComp() {
    FacesContext context = FacesContext.getCurrentInstance();
    Application apps = context.getApplication();
    UIViewRoot root = context.getViewRoot();
    panel = (CorePanelForm)apps.createComponent(CorePanelForm.COMPONENT_TYPE);
    panel.setId("errPanel");
    panel.setLabelWidth("35%");
    panel.setRows(7);
    getChildren().add(panel);
    form = (CoreForm)apps.createComponent(CoreForm.COMPONENT_TYPE);
    form.setId("errForm");
    panel.getChildren().add(form);
    intext = (CoreInputText)apps.createComponent(CoreInputText.COMPONENT_TYPE);
    intext.setId("name");
    intext.setLabel("Name");
    intext.setRendered(true);
    intext.setRequired(true);
    form.getChildren().add(intext);
    description = (CoreInputText)apps.createComponent(CoreInputText.COMPONENT_TYPE);
    description.setId("description");
    description.setLabel("description");
    description.setRendered(true);
    description.setRequired(true);
    description.setRows(3);
    form.getChildren().add(1, description);
    public boolean getRendersChildren() {
    return true;
    public void encodeChildren(FacesContext context) throws IOException {
    // Encode the top most component
    panel.encodeAll(context);
    /* The below code can replace the encodeAll call
    panel.encodeBegin(context);
    if(panel.getRendersChildren()){
    panel.encodeChildren(context);
    panel.encodeEnd(context);
    public String getFamily() {
    return COMPONENT_TYPE;
    ==========================================================
    Notice, you don't need any setters/getters for this object.
    You will need the following tag file:
    ============= HelloUICompTag.java ========
    package view.components.msg;
    import javax.faces.webapp.UIComponentTag;
    public class HelloUICompTag extends UIComponentTag{
    public HelloUICompTag() {
    public String getComponentType() {
    return HelloUIComp.COMPONENT_TYPE;
    public String getRendererType() {
    // Self rendering components return null
    return HelloUIComp.RENDERER_TYPE; // should be null
    =========================================
    You will need to update your faces.config file with the following entry. Notice you do not need an entry under render kit.
    <component>
    <component-type>com.mycompany.hello</component-type>
    <component-class>view.components.msg.HelloUIComp</component-class>
    </component>
    Finally, you will need to create (or append to) a tag library
    ================== myTest.tld ====================
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <taglib xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
    version="2.0" xmlns="http://java.sun.com/xml/ns/j2ee">
    <display-name>tests</display-name>
    <tlib-version>1.0</tlib-version>
    <short-name>tests</short-name>
    <uri>http://mycompany.mil/tests</uri>
    <tag>
    <name>hello</name>
    <tag-class>view.components.msg.HelloUICompTag</tag-class>
    <body-content>JSP</body-content>
    </tag>
    </taglib>
    =============================================
    Notice you don't need a custom renderer class. The component is self-redering.
    To use the component, create a myTest.jspx file like the following:
    ============ myTest.jspx ===============
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:mebs="http://mycompany.com/tests">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html>
    <afh:head title="Testing Components">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <h:form>
    <af:panelPage title="My Component Test">
    <f:facet name="menu1"/>
    <f:facet name="menuGlobal"/>
    <f:facet name="branding"/>
    <f:facet name="brandingApp"/>
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <!--
    Well, this is a bad place to put our component
    This will render a <af:form> within the above <h:form>
    Should be placed outside the h:form or edit the component and remove the form
    -->
    <mebs:hello/>
    </af:panelPage>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    ===================================
    Hope this helps you.

  • JDeveloper 11.1.2.3, ADF Faces: need declarative component idea for table

    Some background:
    I'm trying to create a reusable toolbar for standard af:table behavior, see screen shot
    http://wesfang.files.wordpress.com/2013/05/dc.jpg
    I got the idea from the from using documentation Frank has published in the past
    1. http://www.oracle.com/technetwork/developer-tools/adf/learnmore/001-access-declarative-comp-attr-169113.pdf
    2. Adding a new row programatically
    The consuming subsystem's page passes in a "MyPageBean" which is a subclass of a "ArchBean" where all actionlistener operations are defined. The idea here is to minimize developer customization when using this component.
    ... <f:facet name="toolbar">             <af:toolbar id="t2">                 <mskcc:basicTransactionToolbar id="btt1" pageBean="#{MyPageBean}" tableId="t1"/>             </af:toolbar> </f:facet> ...
    The table within the consuming page is by default dropped off as a "editable" table. The developer needs to further modify the "disable" attribute to true for all the input fields and command components within the table. I would like to remove this developer step and instead have it in an architectural component. All ideas are welcome.

    Ok, finally got it working (sort of)
    Using the following method as you suggested:
    public void encodeChildren(FacesContext fc){
            try {          
                super.encodeChildren(fc);
                RichTable table =
                    (RichTable)ADFFacesUtil.findComponentInRoot((String)this.getAttributes().get("tableId"));
                lockUnlockTable(table); //method for toggling disable attribute for all command and input components
            } catch (IOException e) {
                e.printStackTrace();
    }Now the strange problem I encountered is that the encode methods are not called if the declarative component is defined within a panelCollection's f:facet-toolbar like below:
    <f:facet name="toolbar">
                        <mskcc:basicTransactionToolbar id="btt1" tableId="t1" pageBean="#{TestBean}"/>
    </f:facet>Also the above code has to be manually created because the design time editor does not allow me to drop off the dc within the toolbar facet (even though the dc is a toolbar!)
    Instead, If I move the dc outside the panelcollection, then the encode methods are invoked and the desired enable/disable behavior is correctly displayed.

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • ADF Faces using & pricing

    Hello,
    I'm using JavaServer Faces now and I'd like to use ADF Faces components - it can make make my development better. The question is about it's pricing - can I use it for free, with any Application Server or Container? My IDE is JDeveloper.
    The story is as follows. On the one hand, ADF is not free now, and in the JDeveloper Licence Agreement (when downloading JDeveloper) ADF Faces Components are included with another components: "Components" refers to the following Application Development Framework ("ADF") components of the Programs: ..., ADF Faces Components, .... So it seems that I can't use it for free everywhere.
    On the other hand, ADF Faces is open source now (http://oss.oracle.com/trinidad-adf-faces.html), in FAQs (http://www.oracle.com/technology/products/jdev/htdocs/faq_adffaces_apache.html) it's written that JDeveloper is a tool to use with ADF Faces, and in JDeveloper & ADF Pricing FAQ (http://www.oracle.com/technology/products/jdev/htdocs/jdevpricefaq.html ) it's written in the "How will customers know if they are using Oracle ADF?" section it's written:
    You are using Oracle ADF if your system is using one of the following:
    * Oracle ADF Business Components (pka Business Components for Java)
    * The ADF Model layer (creating data controls from Java components, EJBs, or Web services)
    * ADF's data actions or data pages in Struts
    * ADF UIX
    * ADF Swing (p.k.a JClient)
    So, ADF Faces are not mentioned here.
    So, how can I use ADF Faces components for free? Download from Apache - Trinidad project? Or I can use those that come with JDeveloper?
    Thanks in advance.

    Hi,
    ADF Faces is under the ADF licence and is charged for on any non-Oracle Application server environment. If you deploy on OracleAs then ADF licence is included in teh AS licence.
    If you want free components then you need to download Apache Trinidad components. They are open source. You can configure Trinidad for use in Oracle JDeveloper as documented : http://www.oracle.com/technology/products/jdev/howtos/1013/trinidad/trinidad.html
    Frank

  • ADF faces use cases

    Hi
    I recently encountered this uses case wherein i had to delay the validation until commit time as outlined here
    http://jobinesh.blogspot.com/2009/08/how-to-skip-validation.html
    I am just wundering is there a ADF faces document that outlines such use cases and the ways to tackle them.
    regards

    Hrishy,
    Well, there is the documentation, particularly the Fusion Developer's Guide. There's lots of blogs and articles on OTN. There's some books just out. If you have a specific question, perhaps someone can direct you with a more specific answer.
    Best,
    John

  • ADF Faces af:showOneTab component - Mozilla Firefox problem

    I'm new to ADF Faces.
    I made simple subpage flow with showOneTabs component. It looks like thist:
    <f:view>
    <afh:html>
    <afh:head title="title"/>
    <afh:body>
    <af:panelPage>
    <f:facet name="pageHeader">
    <af:form id="formNavigate">
    <af:panelGroup type="vertical">
    <af:showOneTabs position="above">
    <af:showDetailItem text="Tab1">
    <jsp:include page="sub1.jsp"/>
    </af:showDetailItem>
    <af:showDetailItem text="Tab2">
    <jsp:include page="sub2.jsp"/>
    </af:showDetailItem>
    Subpages (sub1.jsp and sub2.jsp) looks like this:
    <afh:html>
    <afh:body>
    <af:outputText value="sub1"/>
    and it works fine. But only with IE. When try to swith to Tab2 in Mozilla Forefox 0.9 nothig happends. Anyone knows why.
    Regards
    bhs

    Get rid of the <afh:html> and <afh:body> in sub1.jsp and sub2.jsp; you can't have <HTML> and <BODY> inside other <HTML> and <BODY> tags.
    -- Adam Winer

  • ADF Faces inputFile/progressIndicator question

    I'm using JDeveloper 10.1.3.1.0 on WinXP SP2, JDK 1.5.
    I'm trying to use af:inputFile with an af:progressIndicator to track the progress of uploading and processing the file.
    While the basic setup I have works, it's ugly and intrusive to the user. The progressIndicator and the af:poll's polling are active as soon as the page is displayed.
    What I want to do is to hide the progressIndicator widget and delay polling until the user presses the "Update File" button. I've tried all sorts of combinations of setting "rendered" to "false" in the .jspx file and then resetting it to "true" in response to various events in the managed bean, but have had no luck with any of these attempts.
    I'm out of ideas. Has anyone tried this and succeeded? It seems like a common thing to want to do, yet completely non-obvious (at least to me) as to how to do it.
    Thanks in advance,
    Rick

    I'm using JDeveloper 10.1.3.1.0 on WinXP SP2, JDK 1.5.
    I'm trying to use af:inputFile with an af:progressIndicator to track the progress of uploading and processing the file.
    While the basic setup I have works, it's ugly and intrusive to the user. The progressIndicator and the af:poll's polling are active as soon as the page is displayed.
    What I want to do is to hide the progressIndicator widget and delay polling until the user presses the "Update File" button. I've tried all sorts of combinations of setting "rendered" to "false" in the .jspx file and then resetting it to "true" in response to various events in the managed bean, but have had no luck with any of these attempts.
    I'm out of ideas. Has anyone tried this and succeeded? It seems like a common thing to want to do, yet completely non-obvious (at least to me) as to how to do it.
    Thanks in advance,
    Rick

  • Customizing ADF Faces Look & Feel. Some questions & suggestions

    Hi everybody,
    We are developing an application with ADF Faces using JHeadStart. For the moment, I am studying the way we must modify the JHS templates to adapt each element to our needs.
    As it's told in the JHeadStart Developer's Guide, there are two ways to customize Look & Feel:
    1) Modifying the templates
    2) ADF Skinning
    I'm using both methods, but I feel that thay are not good enough to adapt the L&F to our customer requirements.
    My main problem now is in the ADF Table customization. I want to use ADF Table because it offers us a lot of features that are not in the jsf table (the selection column, the table overflow...), and is very usefull combined with the generated JHS code. But at the same time, it doesn't offer a lot of functionality in the look & feel customization. Using JSF Table, I can set the CSS style for headers, rows, columns, the table, I can set the border, cellspacing and cellpadding. But I cannot do
    any of these thing (or at least, I don't see how) with the ADF Table.
    Our customer (a government) have a strict definition of the look & feel of his web applications. They want we use their CSS styles definition file, so they can modify at once the Look & Feel of all their applications. Modifying the L&F through skinning generate other styles, not use the style classes in our CSS (o so I think).
    So, the questions:
    1) There is any way to set the suitable styles for the ADF Table components (headers, rows)?
    1bis) Why, If I have defined a new skin, with only just a few selectors, some styles from oracle are applied? Maybe because the render kit in the 'adf-skins.xml' is "oracle.adf.desktop"? If it is true, how can I make that they are not used, I must implement a render kit or can I use another existent?
    2) Can I decide how looks the select column (for example a button instead of a radio button)? Can I decide where does it goes (right or left)?
    3) There is any way to hidden the text Show/Hide of the showDetail in the table (the tableOverflow), as I can change the icons through skinning? If it is not possible, How can I overwrite the text. I need it in Catalan, but it is shown in English for this locale. Where is the message bundle I should overwrite?
    4) There is any way to force a tree to start fully expanded?
    5) There is anywhere documentation about the javascript functions used in ADF and their meaning? I think for example in the previous question. If I knew which javascript function I should call for expand the tree and its parameters, I could put the call in the onload event of the body.
    6) I use a selectInputDate. I have skinned the launch-icon, and I would like to do a similar thing in the chooseDate that is opened in a new window. But It seems not to be affected for my skinning directives (if I put a chooseDate in the same page, its L&F follow the skinning rules I've defined). I don't know if this dialog is an ADF feature or a JHS generated feature.
    7) There is any way to keep unmodified the id I've choosed for a component? (I mean, an inputText with id="hello" in a form with id="form" will have in the HTML an id = "form:hello", but I would like it to be simply 'hello')
    8) How can I control the position and the size of a dialog (the chooseDate dialog or a dialog I've created)? In the cases I've been testing, it seems the dialog is forced to resize depending on the content. I would like to know if I can establish a fixed size.
    9) There is any way to open a non-modal dialog? (which I could keep open at the same time that another instance of the same dialog)
    For the moment, I think I have no more question. But give me time.... :-D
    The suggestion I've to do is basically more flexible components for a better customization (for example, the styles settings I've talked about previously). ADF components are nice and powerful, but I think they should generate pages that follow the tendencies in the web development: tableless pages (I cannot understand the utility of the objectSpacer existing the margins), use of CSS for layout...
    Any answer, comment or suggestion will be welcome.
    Carles.
    Message was edited by:
    cbios

    I have been able to make the UIX 2.2 and ADF Faces LAF look near identical by updating the oracle-desktop.xss file within UIX 2.2 as follows
    <!-- Change the accent color ramp to tan -->
    <style name="DarkAccentBackground">
    <!--<property name="background-color">#cccc99</property>-->
    <property name="background-color">#d2d8b0</property>
    </style>
    There are still some differences:
    1) A black line appears on the ADF Faces on the 'menu1' facet selected tab below the text. DON'T KNOW HOW TO REMOVE THIS FROM ADF Faces or add it to UIX 2.2!!!
    2) In UIX 2.2 a bulleted list uses the HTML <li> tag. In ADF Faces it doesn't use the HTML <li> tag rather it constructs the bulleted list using lower level HTML tags with the 'bullet' becoming an image, in my browser this means the disc is smaller in Faces. The motivation for this change I think is explained via this post. Since I have no control over how this specific HTML tag is rendered it forces me to replace the /adf/images/bltdscn.gif file in adf-faces-impl.jar with a larger disc!
    http://www.thescripts.com/forum/thread96839.html
    May update this again if there are other things I notice.

  • Creating Tabs in ADF faces

    Hi,
    We want to use ADF faces, jsp with Jdeveloper 10.1.3
    The front end application needs to have tabs. Is there any example or documentation that can help us achieve that.
    Thanks

    Check out the SRDemo application for and the ADF Developer Guide.
    Specifically you might be interested to learn more about the ADF Faces panel page component:
    http://download.oracle.com/docs/html/B25947_01/web_getstarted004.htm#CHDIABDE

  • How to generate ADF Faces Tree from table ?

    Hi,
    i want to create menu for my application using ADF Faces af:tree component.i have one table containing : menu_id and parent_id , which use for describing relationship between menu ( parent/child ).
    Fact : i've already know how to create adf faces af:tree component from master/detail relationship tables.
    The question : how to create adf faces af:tree component from recursive master/detail relationship in one table ?
    to clearer understand my question,this is my MENU_DATA table script :
    CREATE TABLE MENU_DATA
    MENU_ID VARCHAR2(5 BYTE),
    DESCRIPTION VARCHAR2(50 BYTE),
    OPENLINK VARCHAR2(200 BYTE),
    PARENT_ID VARCHAR2(5 BYTE)
    this is what i mean recursive master/detail relationship ...
    ALTER TABLE MENU_DATA ADD (
    CONSTRAINT FK_PARENT_MENU_ID
    FOREIGN KEY (PARENT_ID)
    REFERENCES MENU_DATA (MENU_ID));
    Thanks a lot for help gurus...
    Ricky HP

    I have the same question on my mind...
    Without creating n (same number of level depth) VO, how can I build a recursive ADF Faces Tree ???

  • ADF Faces: IllegalArgumentException

    I have a page with HTML, JSF and ADF components. A ADF button submit a form and put some filter parameters for a ADF table be reload. Everything works well, but some times , with no reason, I have the error bellow, and no more ADF pages works, I need restart the server to back work.
    500 Internal Server Error
    java.lang.IllegalArgumentException
    at javax.faces.model.ArrayDataModel.getRowData(ArrayDataModel.java:118)
    at oracle.adf.view.faces.model.SortableModel._getPropertyGetter(SortableModel.java:208)
    at oracle.adf.view.faces.model.SortableModel._sort(SortableModel.java:194)
    at oracle.adf.view.faces.model.SortableModel.setSortCriteria(SortableModel.java:150)
    at oracle.adf.view.faces.component.TableBase.createCollectionModel(TableBase.java:448)
    at oracle.adf.view.faces.component.CollectionBase._flushCachedModel(CollectionBase.java:715)
    at oracle.adf.view.faces.component.CollectionBase.encodeBegin(CollectionBase.java:334)
    at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:543)
    at TaskListJSF.jspService(_TaskListJSF.java:2342)
    [SRC:/TaskListJSF.jsp:319]
    at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:146)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.audatex.axn.servlets.SessionHandler.doFilter(SessionHandler.java:33)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:294)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:167)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    What version of ADF Faces is this? ADF Faces used to show this behavior in some circumstances when trying to sort an empty table - but that bug has been fixed.
    The "no more ADF pages work" sounds like an issue with JSP tag reuse in OC4J; if you look at the web.xml in the ADF Faces demo .war, you'll see a commented-out <servlet> region that works around that issue by disabling tag reuse.

  • Information about adf data model's state management in JSF/ADF faces?

    Dear All,
    i am developing an application with JSF/ADF faces + using
    adf data model (EJB, not adf bc)...
    i want to know more about state management of adf data model..
    1. under what condition, will the data in the binding context
    (methodIterator, variableIterator, accessorIterator..etc) be maintained accross
    http requests? say browse pageA.jspx, pageB.jspx, pageC.jspx..then do data
    in the corresponding pages saved somewhere else until session timeout?
    2. how do the binding context data be saved ?? http session?
    i can't find detail information in the adf bc dev guide and the adf dev guide..
    could anyone give me more information about this?? any better document??
    i have asked these question several times...but seem nobody can give me a
    full picture about the adf data model's state management....it is quite important
    in order to develop good application using adf data model.
    my company have brought oracle's support service...can i get these information
    through metalink (open a SR) ?? or actually no such information available ??
    btw, after playing with adf data model for a few weeks, i do find it is very
    hard to learn it... no complete document, information is just by providing example...
    adf data model do make:
    1. simple logic, supported by adf, more simple in coding
    2. simple logic, not supported by adf, more complex in coding
    3. complex logic, much more complex in coding...brain damage..
    lsp

    Hi,
    actually, these pages don't explain the state management about the adf data model's iterators?
    i want to know the state management of the iterators...for some iterators..it's
    state is maintained across requests...
    please see my previous post: ADF JSF data binding: why state maintained between requests? that Frank Nimphius said:
    "in this case its the iterator that survives the page navigation"...
    in the adf dev guide..section 5.5.5..it says: "Upon each request, the iterator bindings are refreshed to rebind them to the
    underlying RowSetIterator objects. By default, the rowset iterator state and the
    data caches are maintained between requests."
    in dev guide, it seems state is maintained for request for the same page, but not
    accross different pages. but in fact, the rowset iterator do survive...
    any detail document that write down the actual behavior of the iterators?
    thank you.
    lsp

Maybe you are looking for

  • Drag and Drop from Table with Treebynestingtablecolumn

    Hi, I am using table UI element in Webdynpro ABAP. And I am showing data in tree format using element TreeByNestingTableColumnn. Now I tried to implement the Drag functionality for a nested table line and I face two problems: 1. The requirement is to

  • How to burn a data cd?

    I have a macbook and wonder how to burn a data cd?

  • Image in the View

    Hi All, I wanted to add a image in View. In which folder should I add the .gif file in the project? Regards, Revathi Raju.

  • OBIEE and Essbase - Displaying all member names together

    Hi I hope you can help. When we import our Essbase cubes and add the alias tables and drag the cube to the BMM layer we get a column were we can search the alias for all the member in the hierarchy, independently of the generation (let's say Account

  • Serial port init frequency

    I currently use LV to dialog with an RS232 device via the serial port. How often does I have to re-init he serial port? For the moment, I do it each time I want to send a string to the device.