ADF Faces: selectBooleanCheckbox

After adding a valueChangeListener to this component in the page backing bean, I noticed that upon checking the box, an event is generated, but not on unchecking the box. Is this by design? If so, how do I detect an uncheck action?
Thanks,
Z

I am not using ADF BC.
My usecase - inputtext value is required if checkbox is checked. If data exists in database checkbox is checked and Name is displayed on load of the page else user can check checkbox and enter a name.
Below is the complete code.
<af:table value="#{download.downloadList}" var="row" rowBandingInterval="0" >
<af:column headerText="Enable" >
<af:selectBooleanCheckbox value="#{row.status}" id="status" testId="status" autoSubmit="true"
valueChangeListener="#{download.check}" />
</af:column>
<af:column headerText="Namel" >
<af:inputText value="#{row.name}" required="#{row.status == true}" partialTriggers="status"/>
</af:column>
</af:table>
public List<Download> getDownloadList(){
List<Download> downloadList = downloadUtil.getDownloads( ) // Bean method calls core engine methods to get data from database
public void check(ValueChangeEvent event){
System.out.println("event.getNewValue() **********: "+event.getNewValue());
Thanks

Similar Messages

  • 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

  • ADF Faces:  Tree & NodeStamp

    Hi,
    I would like to know what components are supported by faces "nodeStamp"
    in ADF Faces Tree?
    Thanks,
    A

    More information: You cannot use the var attribute to bind the SelectBooleanCheckbox because it is not a managed bean and you can only bind to managed beans. So I created a CoreSelectBooleanCheckbox property in the ThemeTreeTree class (which is a managed bean) with the intent of matching references to the checkBox property as it rippled through the list.
    BUT...it doesn't ripple through the list. There is only one instance of the CoreSelectBooleanCheckbox which appears to be shared by all the visible components.
    So ... I'm still stumped.

  • ADF af:selectBooleanCheckbox  not rendering  af:commandLink

    Hi,
    JDev Studio Edition Version 11.1.1.5.0
    I have one Boolean check box.
    <af:selectBooleanCheckbox text="Accept T&amp;C"
    label="Accept" id="sbc1"
    autoSubmit="true"
    valueChangeListener="#{myLoginMB.TCcheckUncheck}"
    binding="#{myLoginMB.tcCheckBox}"
    partialTriggers="cl1"/>
    and a command link.
    <af:commandLink text="Item Add Options" action="taskflowLogin1"
    id="cl1" partialTriggers="sbc1"
    binding="#{myLoginMB.myLink1}"/>
    I need to Render  af:commandLink   True if Check box Checked  else Rendered False or Hide if Checkbox is not checked.
    I tried creating Value Change Listner on CheckBox
    public void TCcheckUncheck(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    FacesContext context = FacesContext.getCurrentInstance();
    if(this.getTcCheckBox().isSelected() == true ) {
    System.out.println("Checked ");
    myLink1.setRendered(true);
    } else if(this.getTcCheckBox().isSelected() == false ){
    System.out.println("UnChecked ");
    myLink1.setRendered(false);
    context.renderResponse();
    It is not working . Please let me know if I am missing any step or is there any other better approach ?
    Thanks,
    Abhi
    Edited by: abhi649769 on Jul 7, 2012 12:07 AM

    Abhi,
    what do you mean exactly?
    How to wire it up?
    If yes you can do it like
    JSPX page:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelStretchLayout topHeight="50px" id="psl1">
              <f:facet name="top"/>
              <f:facet name="center">
                <af:panelGroupLayout id="pgl1">
                  <af:selectBooleanCheckbox text="select me to see more"
                                            label="Hello" id="sbc1"
                                            value="#{bindings.selected1.inputValue}"
                                            autoSubmit="true"/>
                  <af:commandLink text="I'm a link..." id="cl1"
                                  visible="#{bindings.selected1.inputValue}"
                                  partialTriggers="sbc1"/>
                </af:panelGroupLayout>
                <!-- id="af_one_column_header_stretched"  -->
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>and the pagedef
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.60.13" id="BiningAttributeTestPageDef"
                    Package="dguv.testproxy.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables">
          <variable Name="selected" Type="java.lang.Boolean"/>
        </variableIterator>
      </executables>
      <bindings>
        <attributeValues IterBinding="variables" id="selected1">
          <AttrNames>
            <Item Value="selected"/>
          </AttrNames>
        </attributeValues>
      </bindings>
    </pageDefinition>Timo

  • How to save multiple rows using ADF faces ?!

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

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

  • 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 useWindow attribute

    I am trying to open a Dialog window using an af:CommandLink. It is not opening a new window, only navigating to the page as normal. Is there anything obvious I am doing wrong? I have also seen this syntax
    useDialog="true"
    The IDE is rejecting this as not part of the tld. It may have been part of an earlier version of ADF Faces?
    Here is the script from the page
    <af:table   var="row"
                value="#{accountBacking.accounts}"
                rows="5"
                banding="row"
                styleClass="table.sample"
                binding="#{accountBacking.table}"
                >
    .......Trimmed for relevance.........
        <af:column formatType="icon">
            <f:facet name="header">
                <af:outputText value="Edit"/>
            </f:facet>                      
            <af:commandLink useWindow="true"
                            action="#{accountBacking.editAccountAction}"
                            partialSubmit="true">
                <af:objectImage source="/images/edit-blue.gif"/>
            </af:commandLink>
        </af:column>
    .......Trimmed for relevance.........
    </af:Table>

    I figured it out. In older examples where useDialog was used, the return value from the action was "process:something". This was also defined as a navigation rule in faces-config.xml
    I found an example from oracle that uses the useWindow attribute. Instead of "process:something" it should be "dialog:something"
    Here is the example
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.jsf_apps%7Cadfcreate%7Caf_acommandanddialog~html/

  • 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

  • How to develop web app by ADF Faces rich web client ?

    i want developer web app by adf face rich
    but have not adf rich tag library in jdev 10.1.3
    how to develop by adf rich?

    Hi,
    don't know what you mean by ADF Faces rich web client, but if you mean our Ajax component set, then this is not yet available outside of Oracle. If you mean ADF Faces as we have it in JDeveloper 10.1.3, create a JSF page and step through the creation process, toggle the ADF Faces libraries to make ADF Faces available
    Frank

  • ADF Faces - Which type of barcode scanner is recommended for ADF JSP?

    Hello everybody:
    1.- I'm trying to implement and adf faces app, with the functionality to get some
    data from a barcode reader.
    2.- I was reading about the different types of reader's interfaces: keyboard wedge,
    RS232, USB, bluetooth, etc.
    --- QUESTION' SECTION ---
    3.- First, the best thing is that my app could be compatible with all interfaces, I
    don't know if this is possible without any changes to the code.
    4.- If the previous point is not possible, I know that at least my app has to be
    compatible with the KB wedge and RS232, because I have read that the USB
    just emulate these two interfaces, but in an USB port.
    5.- I haven't read to much about this, but I need that my app do a post imediately
    after read the barcode, so the best thing my mind could imagine is add an
    <enter> char from the reader, I read too that this is only possible with the
    RS232, is the only way to modify the output of the scanner before send it to
    the app, and with the KB wedge is not possible.
    6.- But, the KB wedge is easier to use because my app does not require any extra-
    code to handle it, the only thing is: the cursor must be in the correct place in
    the correct time.
    I have read in this forum that some people has already implement this, if some of
    you guys have any suggestion, please let me know.
    Thnks in advance.
    Alex.

    Hi,
    thre is no specific certification between barcode readers and ADF Faces. So if you need a barcode reader, it s up to you testing which one can interact with the browser to fill in the form fields (and this basically is all it does)
    Frank

  • JDeveloper 10g, ADF Faces & BC: setVar method on CoreTable is not working

    Hi all,
    I am in the process of creating a custom tag library for our organization. I seem to be having problems with the setVar method on the CoreTable component. I created a simple reproducible example using the scott/tiger schema. Within my tabletest.jsp, I have a af:table which was created via dragging from the datacontrol pallet. Next, I add my custom tag and set the same value attribute. When I run the page, #{row.Deptno} does not evaluate to anything! However, I know that the value is set properly due to the same number of rows appearing within my custom table tag.
    Suggestions are appreciated.
    thanks,
    Wes
    Here is the screen shot of my example:
    http://www.flickr.com/photos/54652784@N03/5062690216
    jsp code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://acme.customtag" prefix="customtag"%>
    <f:view>
    <afh:html>
    <afh:head title="tabletest">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <af:messages/>
    <h:form>
    <af:outputText value="below is the adf table"/>
    <af:table value="#{bindings.ViewObj1.collectionModel}" var="row">
    <af:column sortProperty="Deptno" sortable="false"
    headerText="#{bindings.ViewObj1.labels.Deptno}">
    <af:outputText value="#{row.Deptno}"/>
    </af:column>
    <af:column sortProperty="Dname" sortable="false"
    headerText="#{bindings.ViewObj1.labels.Dname}">
    <af:outputText value="#{row.Dname}"/>
    </af:column>
    </af:table>
    <af:objectSpacer width="10" height="50"/>
    <af:outputText value="Below is the custom table"/>
    </h:form>
    <customtag:customtable value="#{bindings.ViewObj1.collectionModel}"
    disabled="false"/>
    </afh:body>
    </afh:html>
    </f:view>
    CustomTable.java code:
    package customtag;
    import java.io.IOException;
    import javax.faces.application.Application;
    import javax.faces.component.UIComponentBase;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import oracle.adf.view.faces.component.core.data.CoreColumn;
    import oracle.adf.view.faces.component.core.data.CoreTable;
    import oracle.adf.view.faces.component.core.output.CoreOutputText;
    public class CustomTable extends UIComponentBase {
    public static final String COMPONENT_TYPE = "customtag.customtable";
    public static final String RENDERER_TYPE = null;
    private CoreTable table = new CoreTable();
    public CustomTable() {
    public void encodeChildren(FacesContext context) throws IOException {
    // Encode the top most component
    Application apps = context.getApplication();
    table.setVar("row");
    Object value = getAttributes().get("value");
    CoreColumn column = new CoreColumn();
    CoreOutputText cout = new CoreOutputText();
    if (value != null) {
    table.setValue(value);
    ValueBinding rowValueBinding =
    apps.createValueBinding("#{row.Deptno}");
    Object rowValue = resolveExpression("#{row.Deptno}");
    if (rowValue != null) {
    System.out.println("rowValue is reconized. " + rowValue);
    cout.setValue(rowValue);
    } else if (rowValueBinding.getValue(context) != null) {
    System.out.println("rowValueBinding is reconized." +
    rowValueBinding.getValue(context));
    cout.setValueBinding("Value", rowValueBinding);
    } else {
    System.out.println("row is not reconized.");
    cout.setValue("this is a hard coded row attribute value");
    column.getChildren().add(cout);
    table.getChildren().add(column);
    table.encodeAll(context);
    public static Object resolveExpression(String expression) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    Application app = ctx.getApplication();
    ValueBinding bind = app.createValueBinding(expression);
    return bind.getValue(ctx);
    public boolean getRendersChildren() {
    return true;
    public String getFamily() {
    return COMPONENT_TYPE;
    }

    Hi,
    you don't mention a JDeveloper version. If you are not on a recent version, can you try one. If it reproduces, please provide steps required for a reproducible test case
    Frank

  • MyFaces not rendering, ADF faces IS rendering

    I'm installing my app on the websphere application server, Version 6.1 After having issues of both adf and myfaces not working, I came accross this link which helped me somewhat. http://wiki.apache.org/myfaces/Websphere_Installation .
    By "not working" I mean that my jsp would have <h:commandLink>'s and <af:commandButton/> however the html was never actually generated. (You could view the pages source and the resulting html page was blank).
    After following those instructions, ADF components are correctly rendered, and the html works. However, I can not use any <h:> or <h:> components.
    Keep in mind, every single part of this used to work while using Tomcat (I think it was 5.5, not 6).
    faces-config-app.xml (our replacement for faces-config).
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
         <!-- ************ Application wide settings **************** -->
         <application>
              <!-- Spring resolve allows access to spring managed beans from <managed-bean> tags -->
              <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
              <!-- Local setup -->
              <locale-config>
                   <default-locale>en</default-locale>
                   <supported-locale>en</supported-locale>
              </locale-config>
              <!-- Message bundle base name -->
              <message-bundle>messages</message-bundle>
              <!-- Use the ADF Faces render kit -->
              <default-render-kit-id>oracle.adf.core</default-render-kit-id>
         </application>
         <lifecycle>
                <phase-listener id="responseHeaderController">com.unyric.cias.cm.web.util.HttpResponseHeaderController</phase-listener>
         </lifecycle>
    </faces-config>web.xml (Yes there is a lot of extra things in there such as application context params, but I wanted to paste the whole thing. Please bear with me).
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" 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-app_2_4.xsd">
         <display-name>CIAS Case Management Web</display-name>
         <context-param>
              <description>JSF state setting: Keep state of views on client</description>
             <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
             <param-value>client</param-value>
         </context-param>
         <context-param>
              <description>JSF configuration files</description>
             <param-name>javax.faces.CONFIG_FILES</param-name>
             <!-- faces-config.xml contains applicaiton level configuration
                   faces-config-nav.xml contains screen flow configuration
                   faces-config-beans.xml contains managed bean definitions -->
             <param-value>/WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-nav.xml,/WEB-INF/faces-config-beans.xml</param-value>
         </context-param>
         <context-param>
              <description>Spring configuration files</description>
              <param-name>contextConfigLocation</param-name>
              <!-- presentationContext.xml contains presentation tier object configuration
                         applicationContext.xml contains Service & Dao object configuration as well as transaction demarcation
                         securityContext.xml contains Acegi Security configuration
                         hibernate.cfg.xml contains Hibernate specific configuration -->
                <param-value>/WEB-INF/presentationContext.xml classpath*:spring/applicationContext.xml classpath*:spring/validationContext.xml classpath*:spring/securityContext.xml classpath*:spring/hibernate.cfg.xml</param-value>
         </context-param>
         <context-param>
              <description>Validates JSF configuration files on startup</description>
             <param-name>org.apache.myfaces.validate</param-name>
             <param-value>true</param-value>
            </context-param>  
         <context-param>
              <description>Timmer Setting for Case Queue screen</description>
                 <param-name>pollingTimer</param-name>
                 <!-- Units are milliseconds -->
                 <param-value>60000</param-value>
         </context-param>
         <context-param>
              <description>Maximum number of rows shown in tables.</description>
                 <param-name>tableRowsPerPage</param-name>
                 <param-value>25</param-value>
         </context-param>
         <servlet>
              <description>JSF controller</description>
                 <servlet-name>FacesServlet</servlet-name>
                 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                 <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Requests handled by JSF -->      
         <servlet-mapping>
               <servlet-name>FacesServlet</servlet-name>
                <url-pattern>*.do</url-pattern>
         </servlet-mapping>
         <servlet>
                <description>Serves up ADF Faces resources</description>
                <servlet-name>AdfResourceServlet</servlet-name>
                <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
         </servlet>
         <servlet-mapping>
             <servlet-name>AdfResourceServlet</servlet-name>
             <url-pattern>/adf/*</url-pattern>
         </servlet-mapping>
         <listener>
              <description>Initializes Spring on application startup.</description>
              <display-name>Spring context loader</display-name>
              <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
         </listener>
         <filter>
              <description>Enables Acegi Security framework integration. Acegi is used to secure services.
              Standard J2EE is used to secure web requests.</description>
              <filter-name>AcegiFilterChainProxy</filter-name>
              <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
              <init-param>
                   <param-name>targetClass</param-name>
                   <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
              </init-param>
         </filter>
         <filter-mapping>
              <filter-name>AcegiFilterChainProxy</filter-name>
              <servlet-name>FacesServlet</servlet-name>
         </filter-mapping>
         <filter>
                <description>Pre-processes requests to enable MyFaces extensions</description>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
             <init-param>
             <!-- Set the size limit for uploaded files.
               Format: 10 - 10 bytes
                       10k - 10 KB
                       10m - 10 MB
                       1g - 1 GB
               -->
                   <param-name>uploadMaxFileSize</param-name>
                    <param-value>6m</param-value>
             </init-param>
             <init-param>
                   <param-name>uploadThresholdSize</param-name>
                    <param-value>100k</param-value>
             </init-param>        
         </filter>
         <!-- MyFaces extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages  -->
           <filter-mapping>
                <filter-name>MyFacesExtensionsFilter</filter-name>
             <servlet-name>FacesServlet</servlet-name>
         </filter-mapping>
         <!-- MyFaces extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.)  -->
         <filter-mapping>
             <filter-name>MyFacesExtensionsFilter</filter-name>
             <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
         </filter-mapping>
         <filter>
              <description>Pre-processes requests to enable ADF Faces functionality</description>
              <filter-name>AdfFacesFilter</filter-name>
              <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
         </filter>
           <filter-mapping>
                <filter-name>AdfFacesFilter</filter-name>
             <servlet-name>FacesServlet</servlet-name>
         </filter-mapping>
         <!-- Sitemesh Template Filter --> 
         <filter>
              <filter-name>sitemesh</filter-name>
              <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>sitemesh</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>     
         <!-- Keep Hibernate sessions open until request completes. This allows lazy loading
              of data in all tiers. -->
         <filter>
              <filter-name>OpenSessionInViewFilter</filter-name>
              <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
              <init-param>
                   <param-name>sessionFactoryBeanName</param-name>
                   <param-value>ciasSessionFactory</param-value>
              </init-param>
              <init-param>
                   <param-name>singleSession</param-name>
                   <param-value>false</param-value>
              </init-param>
         </filter>
         <filter-mapping>
              <filter-name>OpenSessionInViewFilter</filter-name>
              <servlet-name>FacesServlet</servlet-name>
         </filter-mapping>
         <!-- The application automatically sends requests at timed intervals. This causes
                    the standard J2EE session to be refreshed at the timed intervals and thus it will
                    never timeout. This filter is used to distinguish between user prompted and
                    automatic requests. -->
         <filter>
              <filter-name>SessionTimeout Filter</filter-name>
              <filter-class>com.unyric.cias.cm.web.filter.SessionTimeoutFilter</filter-class>
              <init-param>
                   <!-- URL to be displayed after session timeout -->
                   <param-name>redirectUrl</param-name>
                   <param-value>timeOut.jsp</param-value>
              </init-param>
              <init-param>
                   <param-name>sessionTimeout</param-name>
                   <!-- Units are in minutes -->
                   <param-value>20</param-value>
              </init-param>
         </filter>
         <filter-mapping>
              <filter-name>SessionTimeout Filter</filter-name>
              <url-pattern>/secure/*</url-pattern>
         </filter-mapping>
         <!-- Session Timeout (in minutes)
              We are essentially disabling container session
              handling in favor of SessionTimout Filter -->
           <session-config>
                <session-timeout>99</session-timeout>
           </session-config>
           <!-- Security Configuration -->
           <security-constraint>
                <web-resource-collection>
                     <web-resource-name>FacesServlet security</web-resource-name>
                     <url-pattern>*.do</url-pattern>
                     <!-- No <http-method> tag implies all methods -->
                </web-resource-collection>
                <web-resource-collection>
                     <web-resource-name>View security</web-resource-name>
                     <url-pattern>/secure/*</url-pattern>
                     <!-- No <http-method> tag implies all methods -->
                </web-resource-collection>
                <auth-constraint>
                     <description>Allow any authenticated user</description>
                     <role-name>*</role-name>
                </auth-constraint>
          </security-constraint>
           <login-config>
                <auth-method>BASIC</auth-method>
                <realm-name>CIAS-CM</realm-name>
           </login-config>
           <security-role>
                <!-- Roles recognized by Case Management. -->
                <!-- EXACT NAMES MUST BE COORDINATED WITH CHOICEPOINT -->
                 <role-name>case</role-name>
         </security-role>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
         <!--  CIAS CM Database -->
         <resource-ref>
              <res-ref-name>jdbc/cias</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
                <res-sharing-scope>Shareable</res-sharing-scope>
            </resource-ref>
         <!--  CIAS Error Handling   -->
           <error-page>
                 <error-code>500</error-code>
                 <location>/secure/errorPage.jsp</location>
           </error-page>
           <error-page>
              <exception-type>javax.faces.FacesException</exception-type>
              <location>/secure/errorPage.jsp</location>
           </error-page>     
    </web-app>Does anyone have any suggestions? Telling websphere to load the web-inf\lib directory before the AppServer\lib directory seems to have somewhat worked, but not completely.
    On a side note, if I have a page such as (ignoring the extra h, f and t declarations)
    <%@ taglib prefix="h"uri="http://java.sun.com/jsf/html" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>
    <%@ taglib prefix="af" uri="http://xmlns.oracle.com/adf/faces" %>
    <f:view>
         <af:document>
              <af:form>
                   <af:outputText value="hello2"/>
                   <af:commandLink id="button" action="#{exploreCaseListAction.promptPersonalQueue}" text="Login"/>
              </af:form>
         </af:document>
    </f:view>When I click on the commandLink button, I receive an error that states
    java.lang.ClassCastException: org.apache.xalan.processor.TransformerFactoryImpl incompatible with javax.xml.transform.TransformerFactory
    at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
    at com.ibm.ws.jsp.translator.visitor.validator.PageDataImpl._getInputStream(PageDataImpl.java:125)
    at com.ibm.ws.jsp.translator.visitor.validator.PageDataImpl.getInputStream(PageDataImpl.java:117)
    at org.apache.taglibs.standard.tlv.JstlBaseTLV.validate(JstlBaseTLV.java:156)
    at org.apache.taglibs.standard.tlv.JstlCoreTLV.validate(JstlCoreTLV.java:96)
    at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.validateTagLib(ValidateVisitor.java:988)
    at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitJspRootStart(ValidateVisitor.java:467)
    at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:138)
    at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:121)
    at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:121)
    at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:181)
    at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:83)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:349)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:317)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:226)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:131)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)
    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
    at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    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.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
    at com.unyric.cias.cm.web.filter.ThreadContextSessionIntegrationFilter.doFilter(ThreadContextSessionIntegrationFilter.java:46)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at com.unyric.cias.cm.web.filter.CiasIntegrationFilter.doFilter(CiasIntegrationFilter.java:112)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
    at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
    at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)I believe they are related, though I can't 100% say for sure. Any thoughts?

    I'm having the same problem, did you get any luck with this ?
    Thanks

  • Jdeveloper 10.1.3.3.0.4157  ADF faces  Do not render in visual editor

    The ADF Faces Components do not display in the visual editor
    The code window shows all these features present and properly coded
    These components are from the ADF Faces Core page of the Component Pallete
    I tried quitting and re-starting jdeveloper , to no avail
    I placed an af:panelPage on h:form and typed in a title-(blank visual editor)
    I placed an ObjectImage and placed it on the branding facet
    I bound a logo.image to this component - (still blank visual editor)
    All of this insertions into the form are recorded in the code window
    but do not appear in the Visual Designer.
    Using jdeveloper10.1.2.2.0.4157
    JDK 1.5.0_15
    windows xp professional
    The example project is from the Book:
    Oracle JDeveloper 10g for Forms & PL/SQL Developers

    Thank you for your reply.
    On jdevelper startup I get the following message:
    ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
    For no Reason at all,(except for starting and shutting down jdeveloper)
    I am now getting a view: An Outline with tags in order , but not a simulation
    of a web page???But a correct development structure with tags/values identified.
    there are many libraries in the properties page , I'm a newbie so wouldn't
    know if any of these would help?

  • How do I create multiple types of child nodes in ADF  Faces Tree Component

    Hi,
    I am trying to construct a tree using ADF Faces. The tree I am trying to develop should look something like:
    - Departments
    + Dept 10
    + Dept 20
    + Dept 30
    + Dept 40
    - Employees
    + SCOTT
    +ALLEN
    + BLAKE
    The nodes shown at the top level should serve as labels, indicating the various types of nodes available.
    I have created the top level RootLabelsViewObj, with a SQL clause:
    select rn, node_label
    from (
    select 1 rn
    , 'Employees' node_label
    from dual
    union all
    select 2 rn
    , 'Departments' node_label
    from dual
    union all
    select 3 rn
    , 'Bonusplans' node_label
    from dual
    I have created ViewLinks between the RootLabelsViewObj and the DeptView and EmpView respectively (created on top of DEPT and EMP table in SCOTT schema), based on the LABEL attribute in the RootLabelsViewObj and with ViewLink SQL specified like:
    :Bind_NodeLabel = 'Departments' for the link with DeptView and :Bind_NodeLabel = 'Employees' for the link with EmpView.
    In the ADF BC Application Module Tester, I get exactly what I want.
    However, when I create a JSF JSPX page and drag the RootLabelsViewObj from the Data Control Panel to the page as ADF Tree, I run into a little issue: it seems like I cannot create a second Branch Accessor rule for the RootLabelsViewObj1: I have created a first Branch Accessor Rule referring to DeptView and now try to create a second one for EmpView, to allow Employees to be displayed under the root label "Employees" - but I cannot.
    The PageDefinition looks like:
    <tree id="RootLabelsViewObj1" IterBinding="RootLabelsViewObj1Iterator">
    <AttrNames>
    <Item Value="Rn"/>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <nodeDefinition DefName="model.RootLabelsViewObj"
    id="RootLabelsViewObjNode">
    <AttrNames>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <Accessors>
    <Item Value="DeptView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="model.EmpView" id="EmpViewNode">
    <AttrNames>
    <Item Value="Ename"/>
    </AttrNames>
    </nodeDefinition>
    <nodeDefinition DefName="model.DeptView" id="DeptViewNode">
    <AttrNames>
    <Item Value="Deptno"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Does anyone know:
    - whether it is possible (intended) to have more than one branch accessor per node (i.e. more than one type of child under a node in the tree)
    - if so, how this can be achieved?
    Right now it looks like I am limited to each node in the tree having only one type of child node.
    Please tell me I am wrong.
    best regards,
    Lucas

    Give this a shot mate
    event.getNativeEventTarget();That will allow you to access the DOM object directly
    Id can be retrieved via
    event.getNativeEventTarget().id;

  • Where can i find a demo of adf faces 11 preview??

    Where can i find a demo of adf faces 11 preview??
    Just like the one in adf-faces-10_1_3_0_4.zip.
    I think it's the best tutorial to study adf faces 11!
    Anyone can help? Thank you!

    http://www.oracle.com/technology/products/jdev/11/index.html
    Here there are some on line demos and also if you click on the Sample Application you can download and try out the sample (5 minutes).
    Regards
    Grant Ronald

Maybe you are looking for

  • CD's are not read / recognised but DVD's are?

    I'm trying to burn a CD for a theatre production here at school and when I insert a blank CD into my optical drive, it spins up and then powers down with no evidence on OSX that I did anything. I can do the same thing with a blank DVD and it mounts j

  • Convert word document to PDF - FONT keeps changing

    Good afternoon, I am the coordinator of the CRC Manjimup, I have been working on our business plan.  Under our marketing brand style guide I have to use a font purchased on the internet and added to my computer font...I am very concerned as if I try

  • How to upgrade MacPro OS 10.6.8 to 10.8?

    How to upgrade MacPro OS 10.6.8 to 10.8?

  • How to disable/enable sites?

    Hi All, I have created couple of sites using site launcher. I want to disable some of the sites for now and enable them at later stages. I have tried to search in admin guide for some possible configurations but no results. How can I enable/disable s

  • SAPNET_RFC-SDCC_OSS and SAPOSS

    hi friends, when i have checked my system through SM59  sapnet_rfc,saposs and sdcc_oss connection test is not ok. All are in red colour.what is the problem? why we need all the above connections ? please tell me process step by step for RFC re-config