ADF Faces: inlineStyle differences on IE6 anf Firefox

Hello,
for my project i created a <af:tree>:
<af:tree var="treeData" binding="#{ObjectTree.tree}" id="objectTree" inlineStyle="height: 230px; width: 200px; border-color: black; border-style: solid; border-width: thin; overflow: auto">
<f:facet name="nodeStamp">
<af:selectBooleanCheckbox value="#{treeData.selected}" text="#{treeData.text}" autoSubmit="true" valueChangeListener="#{ObjectTree.changeObject}"/>
</f:facet>
</af:tree>
Now i've got some problems with the inlineStyle in IE 6 and Fireox 1.0.4
In the IE i get a thin black border around the tree. When i expand the nodes of the tree the scrollbars appear, and i can scroll my tree around.
In Mozilla Firefox there is no border around the tree. Instead i see a vertical black line above the tree, about 20px high. When i expand the tree nodes no scrollbars appear, so as if the "overflow:auto" has no effekt. Side effect is that all other component around the tree are pushed aside because the tree changes its size. Its definitly bigger than the width and height i set in the inlineStyle.
Does this problem lie within Firefox or ADF Faces? Is there some workaround for it?
Thanks for help,
Dirk

/repost

Similar Messages

  • 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

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

  • ADF Faces  IF statement available within the  page?

    I am making a page using ADF Faces.
    I want to create an IF statement in a page that will display some markup on one condition and on another display some other markup.
    For example, I am using an iterator to build a table. I would like to have the background color of the row alternate based on the iterator count % 2 ( also how can I get the count of the iterator).
    Also, I would want to make the text color highlight based on some condition such as is foo==bar make the text red etc.
    Anyone know how to do this simple simple task in ADF Faces?
    **Note the if from JSF core is not available in Jdeveloper for whatever reason. Any help would be appreciated.
    Also, I don't want to just set some property of some element based on a condition with EL.
    Lets say there is a whole section of the page that I only want to show is a condition is true. Is this impossible in ADF Faces? Is there something fundamental I am missing about this framework?
    Edited by: user2809800 on Dec 6, 2010 12:49 PM

    For conditional rendering of group of fragments, you can use switcher component.
    See the sample for switcher here: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/switcher.jspx
    Code:
    <af:switcher id="s1" defaultFacet="#{<CONDITION> == 'true' ? 'two' : 'three'}">
    <f:facet name="two">
    <af:outputText id="ot2" value="Two"/>
    </f:facet>
    <f:facet name="three">
    <af:outputText id="ot3" value="Three"/>
    </f:facet>
    </af:switcher>
    For changing the text color based on the condition, you could use the EL expression in InlineStyle (it is a simple case) Otherwise, you can use skinning to change the same.
    Sample:
    <af:outputText id="ot4" value="#{bindings.FirstName.inputValue}"
    inlineStyle="#{bindings.FirstName.inputValue == 'Steven' ? 'color:red' : null}"/>
    Thanks,
    Navaneeth

  • URGENT: ADF Faces table updating issue.

    I have a project that uses JSF, ADF Faces, EJB 3.0, and the ADF binding framework.
    In this project, I have a page with a databound ADF Faces Table. The table has a number of read-only columns and two read-write columns. I also have an Edit button that allows the user to pop up a dialog box to edit the selected row of the table. When the user clicks OK in the dialog box, the data is passed back to the main page and the table is updated.
    Everything works correctly for the read-only columns. For the read-write columns, however, the table data does not get updated following an edit. This is what I have found:
    1. The table row data gets passed in to the Edit dialog correctly.
    2. The data gets passed back correctly.
    3. The model gets updated correctly (up to and including the database).
    4. Looking at the iterator in the debugger shows the correct, updated data.
    5. When the table row is getting redrawn, the getter calls for the read-write columns return the updated data.
    6. As mentioned above, the read-only columns get updated correctly.
    7. Updating the read-write columns directly from the table works correctly.
    So, the problem appears to be in the GUI layer. I suspect that, somehow, the submitted values of the read-write columns are not getting set properly, but I cannot figure out how to do this.
    Note that clicking on the Edit button results in a partial submit. In the return listener, I add a call to AdfFacesContext.getCurrentInstance().addPartialTarget(getRecipientTable()) in order to redraw the table (getRecipientTable() is the bound value of the ADF table).
    Please help! We are so close to production and we need to fix this.
    Thanks,
    Ara

    Hi,
    I don't have a testcase for this, so I just come up with ideas to try
    1. refresh the parent container of the table. It seems that the input text components are not triggered to refresh if the refresh is on the table.
    2. If using ADF, make sure the update is performed directly on theiterator (which automatically is the case if you use a ADF bound form for this)
    3. Check if executing the table iterator and then setting back the current row makes a difference
    Frank

  • Problems with combination of ADF Faces, Tomahawk, Facelets and MyFaces

    Hello,
    I am trying to combine all things named in the Subject and run into several problems:
    1. ADF Render Kit forces the Tomahawk Components to be rendered in a wrong way or stop there functionality.
    Example 1: The clickable parts of the t:dataScroller Tag can not be accessed because an empty a Tag will be rendered after the outputText.
    Example 2: The t:commandSortHeader Tag can be clicked but the table content will not be sorted anymore.
    The given examples works if i remove the default-render-kit-id element from the faces-config.xml
    2. The ad:table Tag runs into an ClassCastException, only when I put a simple example code snipped into my xhtml file.
    Code snipped:
    <af:table>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Firstname"/>
    </f:facet>
    </af:column>
    <af:column>
    <f:facet name="header">
    <h:outputText value="Lastname"/>
    </f:facet>
    </af:column>
    </af:table>
    The stack trace look like this:
    java.lang.ClassCastException at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1029)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:109)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:229)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    I followed all steps for the ADF installation and the suggested steps for using ADF with Facelets.
    Used versions:
    - Oracle ADF Faces 10.1.3 Early Access
    - myFaces 1.1.1
    - Facelets 1.1.1
    - oc4j 10.1.2.0.2
    Has somebody try to use these things together, too?
    Thanks,
    Carsten

    Hi,
    Inside our fusion applications(ADF/Webcenter) using combination of JSTL and ADF Faces is good practice or pitfal?
    To suggest a a rule of thumb: Try ADF Faces on-board functionality first before reaching out to JSTL. The difference between JSF in general and JSTL is that the JSTL expressions are evaluated at page compile time wheras JSF expressions are evaluated deferred. This difference may have an impact to PPR refreshes and the data rendering (which in many cases I assume you can fix by setting the ADF Faces component content delivery to immediate instead of deferred). On a training slight I flagged JSTL with a "heads up" alert because of this
    Frank

  • How to populate ADF Faces Drop Down without Errors?

    Hi,
    I have a drop down in ADF Faces which gets populated when a value is selected in another drop down. And its mandatory that we need to select both the values from the drop down. Hence i have used the attribute 'required' and set it to 'true'. The code snippet is here.
    <af:selectOneChoice styleClass="selectOneClass" unselectedLabel="Pick One" inlineStyle="width:250px" accessKey="S" label="Site" id="siteDrop" disabled="false" rendered="true" required="true"
    requiredMessageDetail="Select a Value" value="#{QualityEvalBean.sites}"
    valueChangeListener="#{QualityEvalBean.siteValueChange}" autoSubmit="true" immediate="true">
    <f:selectItems value="#{QualityEvalBean.siteslist}"/>
    <!--f:selectItem itemLabel="White Field" itemValue="LEVEL4"/-->
    </af:selectOneChoice>
    <af:selectOneChoice inlineStyle="width:250px" unselectedLabel="Pick One" accessKey="T" label="Transaction Type" id="transDrop" rendered="true"
    partialTriggers="siteDrop" immediate="true" required="true" value="#{QualityEvalBean.transactionType}">
    <f:selectItems value="#{QualityEvalBean.transactionTypeList}"/>
    </af:selectOneChoice>
    While picking the value from the first drop down the second drop down is also getting validated and its giving a red colored icon beside the second drop down. There are absolutely no issues in case of populating the values in the second drop down.
    Please help me in this regard.
    Thanks
    Rahul Uday

    you can create a method to populate the context attribute that you are using to map to your dropdown box.
    DATA: node_info TYPE REF TO if_wd_context_node_info.
    DATA: it_table TYPE wdr_context_attr_value_list.
    ** select your dropdown data into it_table and pass it to your context attribute.
    ** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
      node_info->set_attribute_value_set(
         name      = 'PROJ_TYPE'
         value_set = it_table ).

  • JDeveloper 11g/ADF Faces Rich Client

    Hello,
    We are trying to decide between using JDeveloper 10.1.4 and JDeveloper 11g for developing a new application - we plan to use just the ADF Faces layer of the ADF Framework along with Spring and TopLink for other layers.
    On one hand we think that is is safer to use 10.x version of ADF Faces as it may be more stable and on the other hand we are tempted to use 11g as it provides Ajax-enabled JSF Components.
    Has anyone used ADF Faces Rich Client Framework for developing applications? Is it stable enought to be used for production-level applications?
    I would love to hear your thoughts!

    Hi,
    don't use 10.1.3.4 to develop a new application now unless you have browser constraints with your user-base.
    ADF Faces RC / 11g requires:
    FireFox 2, 3
    Internet Explorer 7.0
    Safari 3.0
    11g is a significant update and they have vastly improved/redesigned a lot of things that were difficult/complex to do in earlier versions.
    Plus the 11g user interface is way better from a users perspective.
    Brenden

  • Controlling SelectManyCheckbox layout in ADF Faces

    Hi,
    The only possibilities for the layout for an ADF faces select many checkbox seem to be "horizontal" or "vertical". How can we control the layout to say - have 10 checkboxes laid out horizontally in two groups of 5 vertically laid out checkboxes ?
    If there is no such attribute to control the layout better, does anyone have any recommendations on how this can be accomplished in any alternative way?
    Thank you

    Hi,
    no, but what about using a scrollbar?
    <af:form inlineStyle="width:400px; height:200px; overflow:auto;">
              <af:selectManyCheckbox label="Departments" layout="vertical">
                <af:forEach items="#{bindings.DepartmentsView1.rangeSet}" var="li">
                  <af:selectItem label="#{li.DepartmentName}"
                                 value="#{li.DepartmentId}"/>
                </af:forEach>
              </af:selectManyCheckbox>
            </af:form>Frank

  • 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

  • ADF Faces - Panel Accordion rendering issue

    Hi, I am trying to follow this tutorial about adf faces:
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_2.html
    but when I click on the detail items in the accordion component, the objects inside desappears and I could see a strange rendering behavior with the rest of the objects.
    No errors are shown in the console. I tested it in chrome, ie8 and firefox with the same result.
    Software used: jdeveloper 11.1.1.6.0, weblogic 11gR1 on win7.
    Any ideas?

    You are aware that the sample is for jdev 11.1.2.x, so this may well be the reason why you see this behavior.
    Timo

  • ADF FACES: jdeveloper hangs on opening a .jspx file

    I may not have had this file open since updating to EA13, but I'm not positive. Upon trying to open the file (code below), jdeveloper hangs. It sucks down roughly 50% of the CPU and the memory footprint slowly grows (about 3 MB per minute). As of now, I've tried restarting jdeveloper and then opening the file, but the behavior is the same. I have let it run for nearly 15 minutes and it is still hung (to the point that the display is not redrawn when a window, such as the task manager, is closed after obscuring part of the jdeveloper window).
    I'm running jdev version 10.1.3.0.2.223
    ADF Faces EA13
    On windows 2003 Server
    Here's the code:
    <?xml version='1.0' encoding='iso-8859-1'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA13"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/EA13/html"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=iso-8859-1"/>
    <f:view>
    <afh:html>
    <afh:head title="Case Details">
    <!--<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>-->
    <title>
    Case Details
    </title>
    </afh:head>
    <afh:script source="js/mwb_gecko.js" rendered="#{clientInfo.gecko}"/>
    <afh:script source="js/mwb.js"/>
    <afh:body>
    <af:form>
    <af:panelPage title="Case Details">
    <f:facet name="messages">
    <af:messages/>
    </f:facet>
    <f:facet name="brandingApp">
    <af:panelGroup>
    <af:outputFormatted value="MedCierge Workbench" styleClass="OraHeader"/>
    <af:objectImage source="/images/pbs.gif"/>
    </af:panelGroup>
    </f:facet>
    <f:facet name="brandingAppContextual">
    <af:outputFormatted value="Flagship Healthcare Management, Inc."
    styleUsage="inContextBranding"/>
    </f:facet>
    <f:facet name="menuGlobal">
    <af:menuButtons>
    <af:commandMenuItem text="Home" action="agenthome"/>
    <af:commandMenuItem text="Logout" action="logout"/>
    <af:commandMenuItem text="Help" action="help"/>
    </af:menuButtons>
    </f:facet>
    <f:facet name="infoUser">
    <af:outputText value="Logged in as #{sessionScope.agentName}"
    styleClass="OraPageStampText"/>
    </f:facet>
    <f:facet name="actions">
    <af:panelButtonBar>
    <af:commandButton id="ReturnButton"
    textAndAccessKey="&amp;Return to #{pageFlowScope.caseReturnName}"
    action="#{nav.returnFromFlow}"/>
    </af:panelButtonBar>
    </f:facet>
    <f:facet name="appCopyright">
    <af:outputText value="copyright facet"/>
    </f:facet>
    <f:facet name="appPrivacy">
    <af:commandLink text="privacy facet" action="action.none" />
    </f:facet>
    <f:facet name="appAbout">
    <af:commandLink text="about facet" action="action.none" />
    </f:facet>
    <af:panelGroup type="vertical">
    <af:panelForm labelWidth="5%">
    <af:panelLabelAndMessage label="Owner:">
    <af:outputText value="#{pageFlowScope.case.owningAgentId}"
    styleClass="OraFieldText"/>
    <af:outputFormatted value=" &lt;b>[You own this case]&lt;/b>"
    styleClass="OraFieldText"
    rendered="#{pageFlowScope.case.owningAgentId == sessionScope.agentId}"/>
    <af:outputFormatted value=" &lt;b>[You do not own this case]&lt;/b>"
    styleClass="OraFieldText"
    rendered="#{pageFlowScope.case.owningAgentId != sessionScope.agentId}"/>
    </af:panelLabelAndMessage>
    <af:inputText label="Case ID:" value="#{pageFlowScope.case.id}" columns="10"
    readOnly="true" shortDesc="Unique ID for this case"/>
    <af:inputText value="#{pageFlowScope.case.serviceType}" label="Service Type:"
    columns="10" readOnly="true"
    shortDesc="Service requested: 'referral' or 'emergency'"/>
    <af:inputText value="#{pageFlowScope.case.openDate}" label="Opened:"
    columns="10" readOnly="true" shortDesc="Date this case was opened">
    <f:convertDateTime pattern="MM/dd/yy HH:mm"/>
    </af:inputText>
    <af:inputText value="#{pageFlowScope.case.closeDate}" label="Closed:"
    columns="10" readOnly="true" shortDesc="Date this case was closed"
    inlineStyle="{color: red}"
    rendered="#{!(empty pageFlowScope.case.closeDate)}">
    <f:convertDateTime pattern="MM/dd/yy HH:mm"/>
    </af:inputText>
    <af:inputText value="#{pageFlowScope.case.primaryRequest}" label="Primary Request:"
    columns="80" readOnly="true"
    shortDesc="Short summary of the member's request"/>
    <af:inputText value="#{pageFlowScope.case.appointmentPreferences}"
    label="Appt. Preferences:" columns="80" readOnly="true"
    shortDesc="Member's preferences on appointment times"/>
    <af:inputText value="#{pageFlowScope.case.callbackData}" label="Call Back Data:"
    columns="40" readOnly="true"
    shortDesc="Phone/email to use for calling member back"/>
    </af:panelForm>
    <af:panelGroup type="vertical">
    <af:forEach items="#{pageFlowScope.case.activitiesByDate}" var="act">
    <af:objectSpacer height="10" width="0"/>
    <af:objectSeparator/>
    <af:outputFormatted value="&lt;b>#{act.date}&lt;/b>" inlineStyle="{background-color:#cccc99}"/>
    <af:objectSpacer height="5" width="1"/>
    <af:panelGroup type="horizontal">
    <af:panelForm>
    <af:inputText label="ID:" value="#{act.id}" readOnly="true"/>
    <af:inputText label="Type:" value="#{act.type}" readOnly="true"/>
    <af:inputText label="MedCierge:" value="#{act.agentId}" readOnly="true"/>
    </af:panelForm>
    <af:objectSpacer width="5" height="1"/>
    <af:inputText rows="4" readOnly="true" columns="80" value="#{act.notes}"/>
    </af:panelGroup>
    <!-- Output data specific to Inbound Call activities -->
    <af:objectSpacer height="10" width=""/>
    <af:panelGroup rendered="#{act.type=='ibcall'}">
    <af:commandButton text="Show Call Details" action="dialog:showCall"
    partialSubmit="true" rendered="#{!(empty act.call)}"
    windowHeight="500" windowWidth="750">
    <af:setActionListener from="#{act.call}"
    to="#{pageFlowScope.call}"/>
    </af:commandButton>
    </af:panelGroup>
    <!-- Output data specific to Inbound Email activities -->
    <af:panelGroup rendered="#{act.type=='ibemail'}">
    <af:outputText value="Inbound email #{act.type}"/>
    </af:panelGroup>
    <!-- Output data specific to Outbound Call activities -->
    <af:panelGroup rendered="#{act.type=='obcall'}">
    <af:outputText value="Outbound Call #{act.type}"/>
    </af:panelGroup>
    <!-- Output data specific to Outbound Email activities -->
    <af:panelGroup rendered="#{act.type=='obemail'}">
    <af:outputText value="Outbound email #{act.type}"/>
    </af:panelGroup>
    </af:forEach>
    </af:panelGroup>
    </af:panelGroup>
    </af:panelPage>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

    Helo there,
    I am having exactly the same problem, everytime I include af:forEach tag inside the af:selectOneChoice for example, preview of JSP is not shown and whole developer hangs, in task manager I can see 100% CPU occupation by JDeveloper.
    But the code itself is ok, if I run the page while editor is in Source mode Page is properly shown in browser, but when I change editor mode to Design it hangs.
    I am using Faces EA17 and JDeveloper 10.1.3
    Does anybody else face the same issue?
    ferdo

  • 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

  • ADF Faces OutputText text-align

    I´m working in an ADF Faces Application, a column in a table is showed using an outputText but the customer wants its value is showed right align.
    I've tried the propertie inlineStyle="text-align:right;" in the outputText but it's not working correctly.
    I think that inlineStyle="text-align:right;" doesn't work with outputText.
    Are there any solution to align text in a af:outputText?
    Thanks in advanced
    Toni - Oracle Principal Consultant - Spain

    Hi,
    select the column and and change the FormatType to Number.
    <af:column headerText="Description"
                           sortProperty="Description" sortable="false"
                           formatType="number">Brenden

  • ADF Faces Export - All to CSV dose not export the table correctly

    Hi ,
    I followed the source code of this demo site( http://rcf.us.oracle.com:9008/faces-12.1.2.0.0/faces/components/table.jspx) to create two buttons to export a table to CSV file, one is to export all rows and one is to export the selected rows.
    The problem is the export all will generate a html file which dose not have the table content and the selected one works nicely except when I selected all rows than click export selected, it also generates the same html file as export all. The exception at the log on weblogic server and my source code are as below. Thank you!
    My jsff source code:
    <af:commandToolbarButton text="#{DataObjectBundle.EXPORTALL}" immediate="true" icon = "/images/export_all.png"
    id="exportAll">
    <af:exportCollectionActionListener type="CSV" exportedId="t8" filename="export.csv" title="ADF Faces Export - All"
    charset="utf-8" exportedRows="all"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton text="#{DataObjectBundle.EXPORTSELECTED}" immediate="true" icon="/images/export.png"
    id="exportSelected">
    <af:exportCollectionActionListener type="CSV" exportedId="t8"
    filename="export.csv" title="ADF Faces Export - Selected Rows" charset="utf-8" exportedRows="selected"/>
    </af:commandToolbarButton>
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table rowSelection="multiple" var="row" rowBandingInterval="0" partialTriggers="::addRow ::editRow"
    summary="#{DesignerBundle.EMPTY}" styleClass="AFStretchWidth"
    value="#{pageFlowScope.item.dataSupport.rows}"
    editingMode="clickToEdit" binding="#{pageFlowScope.item.dataSupport.table}"
    inlineStyle="border-color:Gray; border-style:solid; border-width:1.0px;" id="t8">
    Exception on WLS log:
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.apache.myfaces.trinidad.model.CollectionModel
    at oracle.adfinternal.view.faces.export.TableContentProvider.getCollectionModel(TableContentProvider.java:42)
    at oracle.adfinternal.view.faces.export.CollectionExportDirector._renderAllDataRows(CollectionExportDirector.java:477)
    at oracle.adfinternal.view.faces.export.CollectionExportDirector._renderSelectedDataRows(CollectionExportDirector.java:559)
    at oracle.adfinternal.view.faces.export.CollectionExportDirector._renderDataRows(CollectionExportDirector.java:452)
    at oracle.adfinternal.view.faces.export.CollectionExportDirector._renderContent(CollectionExportDirector.java:127)
    at oracle.adfinternal.view.faces.export.CollectionExportDirector.export(CollectionExportDirector.java:109)
    at oracle.adfinternal.view.faces.export.ExportCollectionActionListener.processAction(ExportCollectionActionListener.java:199)
    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:986)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:123)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:107)
    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:101)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:759)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:444)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.beam.composer.BeamComposerFilter.doFilter(BeamComposerFilter.java:118)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3323)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3289)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2176)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2102)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2080)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1567)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Edited by: 993119 on Apr 18, 2013 1:27 PM
    Edited by: 993119 on Apr 18, 2013 1:28 PM
    Edited by: 993119 on Apr 18, 2013 1:45 PM

    The url you provided tells me that you are an Oracle employee and that you using a version which is not available to the public.
    Please post your question in an internal forum.
    Timo

Maybe you are looking for

  • ITunes no longer displays CDs after latest install

    I've seen similar older questions, but  I haven't seen an answer that works yet. I Just installed latest iTunes SW (12.1.x?) on 2/28/15.  Now iTunes does not display (or ask to display/import) a CD when I insert one (or have one inserted).  (My prefe

  • Wrong embedded colour profile causes huge jpg files when published to .Mac

    D'oh! i posted the following on the iDisk discussion my mistake. Here it is all again for iWebbites: I've spent most of the day trying to optimise my new iWeb site on .Mac but the published jpg files are far too big. Despite sizing to 800x600 px and

  • Thin driver 8.1.7 for HP-UX JDK 1.3.1

    Hello, I would like to know which is the suggested current thin driver for this environment HP UX 8.1.7 JDK 1.3.1 and a pointer to how to get it. We are experience slow access to stored procedure when a high number of calls are issued concurrently an

  • Report Parametr form not appearing on the WEB

    I have a report develped using developer6 which has a parameter form to accept some values from the user befor exicuting the repot. We want to web enable this report. We are using Oracle9iAS web server on Solaris. Everything compiled fine, but when r

  • Pages quits on startup with iCloud turned on

    After upgrading my iPad Air 16GB to 7.0.4, iPages would no longer run. The app would start to load then quit. Reloaded the system and restored the software to the iPad and then started Pages. Without iCloud the app would start and run. Turning on iCl