Adf popup not closing

Hi ,
i am working on Oracle Jdeveloper 11g Release 1.
I have included a popup jspx in side my parent page using:
<jsp:include page="/core/gccompliance/library/packages/complianceStandards/AddStandardToPackage.jspx"/>The jspx code is as below:
<?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:c="http://java.sun.com/jsp/jstl/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <c:set var="coregccomplianceuiBundle"
         value="#{adfBundle['oracle.sysman.core.gccompliance.view.CoreGccomplianceUiMsg']}"/>
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <af:resource type="javascript">
    /** * Shows the popup dialog **/
    function showAddCSDialog()
        var popup = AdfPage.PAGE.findComponent("addCsDialog");
        popup.show();
    function folderBtnListener()
        var popup = AdfPage.PAGE.findComponent("addCsDialog");
        popup.hide();
  </af:resource>
  <af:popup id="addCsDialog" contentDelivery="lazyUncached">
    <af:dialog modal="true"
               title="#{coregccomplianceuiBundle.INCLUDE_COMPLIANCE_STANDARD}"
               id="addCS1" closeIconVisible="false" styleClass="AFStretchWidth"
               dialogListener="#{pageFlowScope.packages_libraryBean.handleAddStandardToPackage}"
               contentWidth="900" contentHeight="350" type="cancel">
      <af:panelGroupLayout id="includeCS2" layout="vertical">
          <af:query id="addcss"
                      headerText="#{coregccomplianceuiBundle.COMPLIANCE_SEARCH}"
                      value="#{bindings.CSSelectorForPackageVOCriteriaQuery.queryDescriptor}"
                      model="#{bindings.CSSelectorForPackageVOCriteriaQuery.queryModel}"
                      queryListener="#{bindings.CSSelectorForPackageVOCriteriaQuery.processQuery}"
                      queryOperationListener="#{bindings.CSSelectorForPackageVOCriteriaQuery.processQueryOperation}"
                      resultComponentId="::cst1" rows="3" maxColumns="2"
                      saveQueryMode="hidden" disclosed="false"/>
          <af:table value="#{bindings.CSSelectorForPackage1.collectionModel}"
                    var="row" rows="#{bindings.CSSelectorForPackage1.rangeSize}"
                    emptyText="#{bindings.CSSelectorForPackage1.viewable ? coregccomplianceuiBundle.MSG_NO_DATA_DISPLAY : coregccomplianceuiBundle.MSG_ACCESS_DENIED}"
                    fetchSize="#{bindings.CSSelectorForPackage1.rangeSize}"
                    styleClass="AFStretchWidth"
                    binding="#{pageFlowScope.packages_libraryBean.includeCsTable}"
                    selectionListener="#{bindings.CSSelectorForPackage1.collectionModel.makeCurrent}"
                    rowBandingInterval="0"
                    rowSelection="multiple" id="cst1"
                    columnStretching="column:resId1c2"
                    summary="#{coregccomplianceuiBundle.PACKAGE_INCLUDE_CS_SUMMARY}"
                    contentDelivery="immediate">
            <af:column id="csSelehdr" width="10" rowHeader="true"/>
            <af:column sortProperty="CsDname" sortable="false"
                       headerText="#{bindings.CSSelectorForPackage1.hints.CsDname.label}"
                       id="resId1c1" rowHeader="true" align="left">
              <af:outputText value="#{row.CsDname}" id="ot1"/>
            </af:column>
            <af:column sortProperty="Description" sortable="false"
                       headerText="#{bindings.CSSelectorForPackage1.hints.Description.label}"
                       id="resId1c2">
              <af:outputText value="#{row.Description}" id="ot6"/>
            </af:column>
            <af:column sortProperty="TargetType" sortable="false"
                       headerText="#{bindings.CSSelectorForPackage1.hints.TargetType.label}"
                       id="resId1c3">
              <af:outputText value="#{row.TargetType}" id="ot5"/>
            </af:column>
            <af:column sortProperty="LifecycleStatus" sortable="false"
                       headerText="#{bindings.CSSelectorForPackage1.hints.LifecycleStatus.label}"
                       id="resId1c4">
              <af:outputText value="#{row.LifecycleStatus}" id="ot4">
                <af:convertNumber groupingUsed="false"
                                  pattern="#{bindings.CSSelectorForPackage1.hints.LifecycleStatus.format}"/>
              </af:outputText>
            </af:column>
            <af:column sortProperty="Author" sortable="false"
                       headerText="#{bindings.CSSelectorForPackage1.hints.Author.label}"
                       id="resId1c5">
              <af:outputText value="#{row.Author}" id="ot3"/>
            </af:column>
            <af:column sortProperty="CsType" sortable="false"
                       headerText="#{bindings.CSSelectorForPackage1.hints.CsType.label}"
                       id="resId1c6">
              <af:outputText value="#{row.CsType}" id="ot2">
                <af:convertNumber groupingUsed="false"
                                  pattern="#{bindings.CSSelectorForPackage1.hints.CsType.format}"/>
              </af:outputText>
            </af:column>
          </af:table>
        </af:panelGroupLayout>
      <f:facet name="buttonBar">
        <af:group id="g15b">
          <af:commandButton text="#{coregccomplianceuiBundle.OK}" id="addcsokb"
                            partialTriggers="cst1"
                            actionListener="#{pageFlowScope.packages_libraryBean.handleAddStandardToPackage}"
                            partialSubmit="true"/>
        </af:group>
      </f:facet>
    </af:dialog>
  </af:popup>
</jsp:root>When i click on ok button the action listener {pageFlowScope.packages_libraryBean.handleAddStandardToPackage} is called which executes some bussiness logic and then invokes folderBtnListener() java script method in thee jspx.
The code for action listener is:
    public void handleAddStandardToPackage(ActionEvent ae)
        handleAddStandardToPackage();
        addScript("folderBtnListener();");
    public void addScript(String script)
        FacesContext fcxt = FacesContext.getCurrentInstance();
        Service.getRenderKitService(fcxt,
                                    ExtendedRenderKitService.class).addScript(fcxt,
                                                                              script);
    }But when i click on ok the bussiness logic is executed fine but the popup does not get closed. I have to click cancel button to close it.
Can someone suggest what am i missing in my code?

Hi,
Did you try with autoCancel property of popup
See
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_popup.htmlOr you have to bind popup to Bean then use
RichPopup.hide();
See
how to close a popup

Similar Messages

  • Live Connect Sign/Consent In popup not closing

    I have a web app eg www.webapp.com that uses Win Live javascript to sign in users, following the example at https://msdn.microsoft.com/en-us/library/hh550845.aspx  
    It works from the desktop and mobile devices as long as I use the browser to navigate to the site.
    PROBLEM: I can install it to the (eg "Add to Homescreen" on mobile devices). But when I run it from the homescreen, the authentication/consent screen gets stuck on a blank page and a "connecting" message. My manifest.json
    file has display: standalone.  
    I have to manually close the popup, and use the "Back" button on the mobile device to get back to the login screen. The response token etc. are there as expected. Why is the popup screen not closing? How can it be forced to close without user intervention?

    When a user signs in and then provides consent, the OAuth service will redirect to your redirectURL and add the necessary info into the cookie on your callback page.  When you add a web app to your homescreen, it can either open a web
    browser or run "standalone".  Running standalone (depending on which OS) may be preventing the cookie from being stored and accessed due to security restrictions. 

  • ADF Popup not showing at fragment load

    Hi,
    I am calling a bean method in getter of command link at the load by binding it to a command link defined in bean, so when this fragment is called from other fragment then
    in this method i m doing some checks ,and based on particular condition i have popup.show but it doesnt show the popup and code is not raising any exception.
        public RichCommandLink getC1() {
            populatedata();
            return c1;
      Now in populatedata ,I have popup shown for some conditions but when fragment is getting called for first time it doesnt show the popup ,but same populatedata is called from button on the fragment 
      so when i click on button ,this popup is shown properly.
    So as I understand first time getC1 gets fired when fragment was getting loaded ,so how to make sure popup is displayed during that ..
    public void populatedata()
    if ....
                        System.out.println("showing popup");                   
                       RichPopup.PopupHints p2 = new RichPopup.PopupHints();                   
                         p1.show(p2);
                        System.out.println("after showing popup");
    In logs i see both system out messages , can you guys suggest me how to get this popup displayed when fragment loading for first time and getter for c1 is getting fired.
    Jdeveloper version :11.1.2.3.0
    Regards,

    Hi,
    have you debugged the method call to prove that it is called at all? Instead of a component binding as a trigger, can you try a value property e.g. on a hidden output text component?
    Since you are on JDeveloper 11g R2, the use of JSF 2 system events also becomes possible. The system event would be added to a component on the fragment (e.g. the fragment root layout container) and then listen for the render pre-render phase.
    see: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/108-triggerpopupinregion-1994836.pdf
    Frank

  • ADF popup not shown from BPM

    Hi,
    I'm working on a project that requires me to integrate a custom designed ADF task flow into a BPM user task. Unit testing of the task flow was working fine, but upon integrating this task flow with the BPM process, it seems that none of the popup components are working.
    Could anybody please help me out?
    Debojit

    ... JDeveloper version? Have you tried a recent build?
    Frank

  • Popup not firing on closing browser or refreshing

    Hi ADF experts,
    I have set the af:document tag uncommittedDataWarning="on". But my popup not firing.
    I have made inputText's autoSubmit="true"
    Please help me out.
    Thanks.

    Hi Frank,
    Yes I made a POJO in model layer and created a datacontrol from that. After that I dragged to the jsff as a table with 2 columns.
    The 2 columns are inputText.
    The below scenario happened
    Created a sample taskflow and a jsff page fragment
    Created model based on POJO.
    The POJO datacontrol dragged onto a jsff page as a table with 2 fields.(The fields made inputtext).
    First field I kept autoSubmit=”true” and added a valuechangeListener
    Second field kept as it is.
    Tested as below:
    I tried entering a value in the first textbox. And closed the browser it got closed(No warning message)
    Second textbox after I entered value and closed browser(warning message shown)
    Difference: valuechangeListener implemented in first.
    Product.java
    public class Product {
        private String productId;
        private String productName;
        public Product() {      
            super();
        public Product(String productId,String productName) {      
           this.productId=productId;
           this.productName=productName;          
        public void setProductId(String productId) {
            this.productId = productId;
        public String getProductId() {
            return productId;
        public void setProductName(String productName) {
            this.productName = productName;
        public String getProductName() {
            return productName;
    ProductBean.java
    public class ProductBean {
        private List<Product> products=new ArrayList();
        public ProductBean() {
           this.createData();
        private void createData(){
            products.add(new Product("101","Alto"));
            products.add(new Product("102","Benz"));
            products.add(new Product("103","Chevrolet"));
            products.add(new Product("104","Cruze"));
            products.add(new Product("105","Accord"));
        public List<Product> findAllProducts() {
            return products;
    jsff
    <af:table value="#{bindings.Product.collectionModel}" var="row"
                  rows="#{bindings.Product.rangeSize}"
                  emptyText="#{bindings.Product.viewable ? 'No data to display.' : 'Access Denied.'}"
                  fetchSize="#{bindings.Product.rangeSize}" rowBandingInterval="0"
                  filterModel="#{bindings.ProductQuery.queryDescriptor}"
                  queryListener="#{bindings.ProductQuery.processQuery}"
                  filterVisible="true" varStatus="vs"
                  selectionListener="#{bindings.Product.collectionModel.makeCurrent}"
                  rowSelection="multiple" id="t1">
          <af:column sortProperty="#{bindings.Product.hints.productId.name}"
                     filterable="true" sortable="true"
                     headerText="#{bindings.Product.hints.productId.label}" id="c1">
            <af:inputText value="#{row.bindings.productId.inputValue}"
                          label="#{bindings.Product.hints.productId.label}"
                          required="#{bindings.Product.hints.productId.mandatory}"
                          columns="#{bindings.Product.hints.productId.displayWidth}"
                          maximumLength="#{bindings.Product.hints.productId.precision}"
                          shortDesc="#{bindings.Product.hints.productId.tooltip}"
                     valueChangeListener="#{pageFlowScope.managedBean1.sdas}"     autoSubmit="true" id="it2">
              <f:validator binding="#{row.bindings.productId.validator}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="#{bindings.Product.hints.productName.name}"
                     filterable="true" sortable="true"
                     headerText="#{bindings.Product.hints.productName.label}"
                     id="c2">
            <af:inputText value="#{row.bindings.productName.inputValue}"
                          label="#{bindings.Product.hints.productName.label}"
                          required="#{bindings.Product.hints.productName.mandatory}"
                          columns="#{bindings.Product.hints.productName.displayWidth}"
                          maximumLength="#{bindings.Product.hints.productName.precision}"
                          shortDesc="#{bindings.Product.hints.productName.tooltip}"
                          id="it3">
              <f:validator binding="#{row.bindings.productName.validator}"/>
            </af:inputText>
          </af:column>
        </af:table>
    Please help..Shall I raise it as a bug.
    Thanks,
    Roy

  • Taskflow context not maintained with ADF popups

    JDev build: JDEVADF_11.1.1.4.0_GENERIC_101212.1926.5912
    A coworker also reproduced this using JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    This is a simple WebCenter custom app created using JDev. I'm seeing exceptions when canceling a popup that contains a taskflow (the DocViewer taskflow). The popup was launched from another taskflow called Content Presenter. Upon canceling the popup (i.e., clicking the 'x' in the upper right corner), I see this error message in a javascript alert:
    "Target Unreachable, 'presenterNavigationBean' returned null
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1"
    In the server console, I see these exceptions (abbreviated to keep this post a bit smaller, but I can provide the entire stack trace if necessary):
    java.lang.IllegalStateException: The expression "#{bindings.rbxzy5vg6jr1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "oc_4478173184region1") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.rbxzy5vg6jr1}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "portal_cpPageDef". Now using an empty RegionModel instead.
         at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:692)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:632)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:300)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    javax.el.PropertyNotFoundException: Target Unreachable, 'presenterNavigationBean' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.setValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.setValue(Unknown Source)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:656)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.access$000(LifecycleImpl.java:71)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$1.call(LifecycleImpl.java:697)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$1.call(LifecycleImpl.java:693)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
    (basically the same thing as above repeats a few times) presenterNavigationBean is the bean for the Content Presenter taskflow which launched the popup.
    The steps I'm taking to see this problem are:
    1. Launch JDev and create a WebCenter app, accepting all defaults. This requires the WebCenter extension, i.e., oracle.webcenter.framework_bundle.zip
    2. Create a content repository connection to an Oracle Content Repository
    3. Create a jspx in Web Content/oracle/webcenter/portalapp/pages using the global page template (select that checkbox). I typically call it cp.jspx, thus the references to "portal_cpPageDef" in the exceptions above.
    4. Open the jspx in source view, place the cursor after the pageTemplate tag, and add a "page customizable" component from the Oracle Composer group in the Component Palette. Save the page.
    5. Open Web Content/oracle/webcenter/portalapp/pagehierarchy/pages.xml and drag your jspx to the root of the hierarchy. Save all pages.
    6. Run the Web Content/index.html page.
    7. Login using weblogic/weblogic1
    8. Click on the page you created in the toolbar
    9. Click "shift + ctrl + E" to put the page in edit mode.
    10. click the "Add Content" button (it launches a popup)
    11. In the popup, click on "Content Management"
    12. Click on "Add" next to the Content Presenter taskflow and close the popup
    13. Now select an HTML document from the content repository by using the Content Presenter wizard (click on the first wrench icon in the chrome). If you don't have one, you'll have to add it to the repository.
    14. In the Content Presenter wizard, select the "Preview" page
    15. click the "Open in Document Viewer" button. This launches the DocViewer taskflow in an ADF popup.
    16. Click the cancel button in the upper right corner.
    17. This is when the javascript alert will show the errors mentioned above. The server console in JDev will show the stack traces.
    Please let me know if this is a configuration issue on my end or a bug within ADF. I'll monitor this thread closely today to provide any information that could be helpful asap. Thank you.

    It's the bean that the Content Presenter taskflow uses. All I did was create a page using the global page template and added the Page Customizable component to it, then customized the page to have an instance of the Content Presenter taskflow. I can use Content Presenter normally until I attempt to edit an HTML doc (which launches the DocViewer taskflow in an ADF popup). At that point I start seeing binding errors, like the taskflow context is lost.

  • Cancel button on ADF popup does not work with AutoSubmit Fields

    Hello,
    I currently have a very simple form inside of and ADF popup. I the form contains one SelectManyListbox. Here's my issue.
    Lets say my form contains option A, B, and C.
    Okay I open the popup for the first time, and a select, A and B, and I click cancel. When I open the form again, I would expect no options to be selected. HOwever, that is not the case, the last options I selected, prior to hitting Cancel are still selected.
    I was able to fix this issue by setting contentDelivery to "lazyUncached".. However, as soon as I set autoSubmit to "true", the behavior goes back to keeping the selections I made, even if I hit cancel.
    Question :
    How can tell the popup to deselect the items that were selected in the SelectManyListbox during the canceled operation of the popup, when autoSubmit is enabled? IN other words, if A and B were selected, and I hit cancel, when I open the popup again, I should see zero items selected in the list.
    Regards,,.

    Here, is a sample that i have in my project.
    <af:popup childCreation="deferred" autoCancel="disabled" id="p1"
    binding="#{backing_dev_rma_cart_Details.showCartDetails}"
    contentDelivery="lazyUncached">
    <af:dialog id="d2" type="none"
    title="#{userinterfaceBundle.MODIFY_CART_DETAILS}"
    inlineStyle="font-size:small;" closeIconVisible="false">
    <f:facet name="buttonBar"/>
    <af:panelGroupLayout id="pgl33" layout="vertical">
    <af:panelFormLayout id="pfl2" rows="4" maxColumns="1">
    <af:panelLabelAndMessage label="#{userinterfaceBundle.SERIAL}"
    id="plam1">
    <af:outputText value="#{bindings.SerialNumber.inputValue}"
    id="ot9"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{userinterfaceBundle.PART}"
    id="plam2">
    <af:outputText value="#{bindings.ItemNumber.inputValue}"
    id="ot10"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.Description.hints.label}"
    id="plam3">
    <af:outputText value="#{bindings.Description.inputValue}"
    id="ot12"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage id="plam12"
    label="#{bindings.CustomerPo1.hints.label}"
    rendered="#{pageFlowScope.RmaAttributesBean.categoryId == 'RET ONLY' ? false : true}">
    <af:inputText value="#{bindings.CustomerPo1.inputValue}"
    label="#{bindings.CustomerPo1.hints.label}"
    columns="30" maximumLength="25"
    shortDesc="#{bindings.CustomerPo1.hints.tooltip}"
    id="it11" simple="true"
    required="#{sessionScope.GlobalInfo.rmaPOreq == true ? true : false}"
    rendered="#{pageFlowScope.RmaAttributesBean.categoryId == 'RET ONLY' ? false : true}">
    <f:validator binding="#{bindings.CustomerPo1.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.TrailerNo1.hints.label}"
    id="plam5">
    <af:inputText value="#{bindings.TrailerNo1.inputValue}"
    label="#{bindings.TrailerNo1.hints.label}"
    required="#{bindings.TrailerNo1.hints.mandatory}"
    columns="30" maximumLength="15"
    shortDesc="#{bindings.TrailerNo1.hints.tooltip}"
    id="it8" simple="true">
    <f:validator binding="#{bindings.TrailerNo1.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage id="plam11"
    label="#{userinterfaceBundle.REASON_FOR_RETURN_0}">
    <af:selectOneChoice id="soc5" autoSubmit="true"
    unselectedLabel="#{'--'} #{userinterfaceBundle.REASON_FOR_RETURN_0} #{'--'}"
    valueChangeListener="#{backing_dev_rma_cart_Details.reasonForReturnValueChange}"
    simple="true"
    value="#{bindings.ProblemTypeId.inputValue}">
    <af:forEach items="#{bindings.RmaProblemCodes.rangeSet}"
    var="item">
    <af:selectItem id="si4" value="#{item.Meaning}"
    label="#{item.LookupCode}"/>
    </af:forEach>
    </af:selectOneChoice>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CompanyNotes1.label}"
    id="plam4"
    showRequired="#{bindings.ProblemTypeId.inputValue eq 'OT'}"
    partialTriggers="soc5">
    <af:inputText value="#{bindings.CompanyNotes1.inputValue}"
    label="#{bindings.CompanyNotes1.label}"
    required="#{bindings.CompanyNotes1.hints.mandatory}"
    columns="60" maximumLength="150"
    shortDesc="#{bindings.CompanyNotes1.hints.tooltip}"
    id="it9" simple="true" partialTriggers="soc5"
    rows="2">
    <f:validator binding="#{bindings.CompanyNotes1.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName1}"
    id="plam6"
    showRequired="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired1 == 'Y' ? true : false}"
    rendered="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName1 != null}">
    <af:inputText value="#{bindings.Attribute1.inputValue}"
    label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName1}"
    columns="60" maximumLength="150" rows="2"
    shortDesc="#{bindings.Attribute1.hints.tooltip}"
    required="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired1 == 'Y' ? true : false}"
    id="it14" simple="true">
    <f:validator binding="#{bindings.Attribute1.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName2}"
    showRequired="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired2 == 'Y' ? true : false}"
    rendered="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName2 != null}"
    id="plam7">
    <af:inputText value="#{bindings.Attribute2.inputValue}"
    label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName2}"
    columns="60" maximumLength="150" rows="2"
    required="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired2 == 'Y' ? true : false}"
    shortDesc="#{bindings.Attribute2.hints.tooltip}"
    simple="true" id="it15">
    <f:validator binding="#{bindings.Attribute2.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName3}"
    showRequired="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired3 == 'Y' ? true : false}"
    rendered="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName3 != null}"
    id="plam8">
    <af:inputText value="#{bindings.Attribute3.inputValue}"
    label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName3}"
    columns="60" maximumLength="150" rows="2"
    shortDesc="#{bindings.Attribute3.hints.tooltip}"
    required="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired3 == 'Y' ? true : false}"
    simple="true" id="it16">
    <f:validator binding="#{bindings.Attribute3.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName4}"
    showRequired="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired4 == 'Y' ? true : false}"
    rendered="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName4 != null}"
    id="plam9">
    <af:inputText value="#{bindings.Attribute4.inputValue}"
    label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName4}"
    columns="60" maximumLength="150" rows="2"
    shortDesc="#{bindings.Attribute4.hints.tooltip}"
    required="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired4 == 'Y' ? true : false}"
    simple="true" id="it17">
    <f:validator binding="#{bindings.Attribute4.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName5}"
    showRequired="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired5 == 'Y' ? true : false}"
    rendered="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName5 != null}"
    id="plam10">
    <af:inputText value="#{bindings.Attribute5.inputValue}"
    label="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customName5}"
    columns="60" maximumLength="150" rows="2"
    shortDesc="#{bindings.Attribute5.hints.tooltip}"
    required="#{pageFlowScope.RmaAttributesBean.rmaReturnType.customRequired5 == 'Y' ? true : false}"
    simple="true" id="it18">
    <f:validator binding="#{bindings.Attribute5.validator}"/>
    </af:inputText>
    </af:panelLabelAndMessage>
    <f:facet name="footer"/>
    </af:panelFormLayout>
    <af:spacer width="10" height="10" id="s19"/>
    <af:panelGroupLayout id="pgl40" layout="horizontal"
    styleClass="AFStretchWidth">
    <af:panelGroupLayout id="pgl41" layout="horizontal"
    styleClass="AFStretchWidth">
    *<af:commandButton text="#{userinterfaceBundle.CANCEL}"*
    styleClass="Button2" id="cb8" immediate="true"
    *actionListener="#{backing_dev_rma_cart_Details.showDetailsPopupCancel}">*
    *<af:resetActionListener/>*
    *</af:commandButton>*
    </af:panelGroupLayout>
    <af:panelGroupLayout id="pgl42" layout="horizontal" halign="end"
    styleClass="AFStretchWidth">
    <af:commandButton text="#{userinterfaceBundle.OK}" id="cb10"
    partialSubmit="true"
    actionListener="#{backing_dev_rma_cart_Details.okAction}"
    icon="/iq/skin/images/CommandButtonIcon.png"
    iconPosition="trailing"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer height="-25px" id="s20"/>
    </af:dialog>
    </af:popup>

  • On submit button clicked , adf form is not closing but going to next task.

    Hi,
    In my application when In a adf form when I am clicking on the Submit button task is moving to next task but that adf form is not automatially closing .I need to close the adf form by closing the window on clicking X button.
    I have tried with closing or commenting the line from task flow.xml...
    <!--<finalizer id="__111">#{invokeActionBean.invokeScript}</finalizer>--> but still it is not working.
    Please suggest me how we can achieve this.
    Any suggestion,ideas are welcome.
    I am using 11.1.1.6.
    Thanks &Regards,
    Ganesh

    ADF related questions should be asked in appropriate sections. There you might have a good chance to get any help.

  • Uncomitted warning popup not firing

    Hi ADF Experts,
    JDev Version 11.1.1.7.0
    I have a jspx page in which the af:document tag has uncommitedDataWarning="on".
    Inside my jspx page I have a region. Whenever I dont save any changes in the region and try to refresh the browser or close icon, the popup is not appearing.
    Also I kept the region(inside jspx) bounded taskflow with critical selected. But still I dont see the popup on closing the browser or refreshing.
    The jspx page code is below
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
              xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" uncommittedDataWarning="on">
           <af:form  id="f1">
                <af:resource type="css" source="//webresources/css/portal.css"/>
                <af:pageTemplate viewId="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_kesko.jspx"
                                 value="#{bindings.pageTemplateBinding}" id="pt1">
                   <f:facet name="content">
                      <pe:pageCustomizable id="pcl1">
                         <af:panelGroupLayout id="pgl1" layout="scroll"
                                              styleClass="page_content_area">                                    
                            <pe:layoutCustomizable id="lc1"
                                                   showLayoutChanger="#{pageServiceBean.isEditMode}"
                                                   text="#{pageUIBundle['TEMPLATE.CHANGE_LAYOUT']}"
                                                   showIcon="false"
                                                   type="threeColumnNarrow"
                                                   shortDesc="#{pageUIBundle['TEMPLATE.CHANGE_LAYOUT']}">
                               <cust:panelCustomizable id="mainC"
                                                       styleClass="main_column">
                                  <af:region value="#{bindings.BTFForFBRProposals1.regionModel}"
                                             id="r1"/>
                               </cust:panelCustomizable>
                               <f:facet name="contentA">
                               </f:facet>
                               <f:facet name="contentB">
                               </f:facet>
                            </pe:layoutCustomizable>
                         </af:panelGroupLayout>
                    <f:facet name="editor">
                    <pe:pageEditorPanel id="pep1"/>
                  </f:facet>
                      </pe:pageCustomizable>
                    </f:facet>
                </af:pageTemplate>
             </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    jsff code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
       <c:set var="suiviewBundle"
              value="#{adfBundle['com.capgemini.kesko.view.SUIViewBundle']}"/>
       <af:resource type="javascript">
              var customJsFunction = function(event)
          var exceptiondata = event.getSource().findComponent("ot32").getValue();
          AdfCustomEvent.queue(event.getSource(),
                           "mycustomserverEvent",
                           {param1:exceptiondata},
                           true);
          return true;
       </af:resource>
       <!--parent panel group layout-->
       <af:panelStretchLayout id="psl1" dimensionsFrom="children">
          <f:facet name="center">
             <!-- <af:panelGroupLayout id="pgl1"  styleClass="AFStretchWidth"
                           inlineStyle="border-color:Green; border-style:solid; border-width:2px;">-->
             <!-- panelbox is contains a panelsplitter and panelbox is used for hiding on click of search results-->
             <af:panelGroupLayout layout="scroll" id="pgl1" styleClass="sui_search_panel">
                <af:outputText value="#{suiviewBundle.FORECAST_BASED_REPLENISHMENT}"
                               id="ot13"
                               inlineStyle="font-weight:bold; font-size:small;"/>
                <af:spacer width="264" height="35" id="s32"/>
                <af:panelBox text="#{suiviewBundle.SEARCH_FILTERS}" id="pb1"
                             styleClass="AFStretchWidth"                      
                             binding="#{pageFlowScope.MerchandizeBean.searchFilterPanelBox}"
                             partialTriggers="cb3">
                   <af:panelSplitter id="ps1" disabled="true" splitterPosition="444"
                                     styleClass="AFStretchWidth"
                                     dimensionsFrom="parent"
                                     inlineStyle="height:583px; width:970px;">
                      <!-- left side pane-->
                      <f:facet name="first">
                            <af:panelGroupLayout id="pgl9">
                               <af:outputText value="#{suiviewBundle.SELECT_ASSORTMENT_CATEGORIES}"
                                              id="ot9"
                                              inlineStyle="font-weight:bold; font-size:small;"/>
                               <af:tree var="node"
                                        value="#{pageFlowScope.MerchandizeBean.model}"
                                        id="tree" immediate="true"                                  
                                        >
                                  <f:facet name="nodeStamp">
                                     <af:commandLink text="#{node.classId} #{node.classDescription}"
                                                     actionListener="#{pageFlowScope.MerchandizeBean.createListManyItemForMerchandise}"
                                                     id="displayTable"
                                                     partialSubmit="true">
                                        <af:setPropertyListener from="#{node.classId}"
                                                                to="#{sessionScope.chosenNode}"
                                                                type="action"/>
                                        <af:setPropertyListener from="#{node.classDescription}"
                                                                to="#{sessionScope.chosenClassDescription}"
                                                                type="action"/>
                                     </af:commandLink>
                                  </f:facet>
                               </af:tree>
                               <af:selectManyListbox label="#{suiviewBundle.SELECTED_ASSORTMENT_CATEGORIES}"
                                                     id="sml2"
                                                     contentStyle="width:180.0px;"
                                                     autoSubmit="true"
                                                     valuePassThru="true"
                                                     partialTriggers="tree:displayTable tree"
                                                     value="#{pageFlowScope.MerchandizeBean.lovValueTree}"
                                                     binding="#{pageFlowScope.MerchandizeBean.assortmentCategory}">
                                  <f:selectItems value="#{pageFlowScope.MerchandizeBean.actualListTree}"
                                                 binding="#{pageFlowScope.MerchandizeBean.assortmentItems}"
                                                 id="si2"/>
                               </af:selectManyListbox>
                               <af:spacer width="16" height="20" id="s9"/>
                               <af:panelGroupLayout id="pgl20">
                                  <af:spacer width="148" height="10" id="s8"/>
                                  <af:commandButton text="#{suiviewBundle.REMOVE_SELECTED_ITEMS}"
                                                    partialSubmit="true"
                                                    binding="#{pageFlowScope.MerchandizeBean.removeButtonAssortmentCategory}"
                                                    partialTriggers="tree:displayTable cb1"
                                                    disabled="#{pageFlowScope.MerchandizeBean.assortmentCategoryRemove}"
                                                    actionListener="#{pageFlowScope.MerchandizeBean.removeSelectedItemsFromTreeView}"
                                                    id="cb1"/>
                               </af:panelGroupLayout>
                            </af:panelGroupLayout>
                      </f:facet>
                      <f:facet name="second">
                         <!-- right side  pane-->
                         <af:panelGroupLayout id="pgl10" layout="scroll">
                            <af:outputText value="#{suiviewBundle.SELECT_VENDORS}"
                                           id="ot3"
                                           inlineStyle="font-weight:bold; font-size:small;"/>
                            <af:panelGroupLayout id="pgl2" layout="horizontal">
                               <af:panelGroupLayout id="pgl11">
                                  <af:spacer width="21" height="48" id="s1"/>
                                  <!--commented as of now-->
                                  <af:selectManyListbox label="#{suiviewBundle.VENDORS}"
                                                        id="sml1"
                                                        value="#{pageFlowScope.MerchandizeBean.lovValue}"
                                                        contentStyle="width:300.0px;"
                                                        autoSubmit="true"
                                                        valuePassThru="true"
                                                        binding="#{pageFlowScope.MerchandizeBean.selectListBoxSuppliers}"
                                                        partialTriggers="cb2">
                                     <f:selectItems value="#{pageFlowScope.MerchandizeBean.actualList}"
                                                    id="si1"
                                                    binding="#{pageFlowScope.MerchandizeBean.selectedItems}"/>
                                  </af:selectManyListbox>
                               </af:panelGroupLayout>
                               <af:panelGroupLayout id="pgl15" layout="horizontal" styleClass="crop_search_button"
                                            inlineStyle ="height:66px; width:108px;"         >                           
                                  <af:commandButton id="cb4"
                                                    actionListener="#{pageFlowScope.MerchandizeBean.selectedSupplierValues}"
                                                    partialSubmit="true"
                                                    inlineStyle="width:30px;"
                                                    icon="/images/lov.png"/>
                               </af:panelGroupLayout>
                            </af:panelGroupLayout>
                            <af:spacer width="10" height="10" id="s3"/>
                            <af:panelGroupLayout id="pgl3">
                               <af:spacer width="254" height="12" id="s2"/>
                               <!--remove functionality for suppliers-->
                               <af:commandButton text="#{suiviewBundle.REMOVE_SELECTED_ITEMS}"
                                                 id="cb2" partialSubmit="true"
                                                 disabled="#{pageFlowScope.MerchandizeBean.supplierListRemove}"
                                                 binding="#{pageFlowScope.MerchandizeBean.removeButtonSupplier}"
                                                 actionListener="#{pageFlowScope.MerchandizeBean.removeSelectedValues}"
                                                 partialTriggers="cb2 cb5"/>
                            </af:panelGroupLayout>
                            <af:spacer width="449" height="59" id="s14"/>
                            <af:panelGroupLayout id="pgl4"                                              inlineStyle="width:400px;"
                                                styleClass="other_items">
                               <af:outputText value="#{suiviewBundle.OTHER_FILTERING_OPTIONS}"
                                              id="ot10"
                                              inlineStyle="font-weight:bold; font-size:small;"/>
                               <af:spacer width="10" height="10" id="s30"/>
                               <af:panelGroupLayout id="pgl5" layout="horizontal">
                                  <af:spacer width="21" height="21" id="s4"/>
                                  <!-- checkbox to be used for promotions -->
                                  <af:selectBooleanCheckbox text="#{suiviewBundle.NO_LIMITATIONS}"
                                                            valueChangeListener="#{pageFlowScope.MerchandizeBean.promotionalValueChange}"
                                                            id="sbc1"
                                                            binding="#{pageFlowScope.MerchandizeBean.promotionChkBox}"
                                                            label="#{suiviewBundle.ARTICLES_WITH_PROMOTIONS}"
                                                            contentStyle="width:360.0px;"
                                                            autoSubmit="true"/>
                               </af:panelGroupLayout>
                               <af:spacer width="10" height="10" id="s22"/>
                               <af:panelGroupLayout id="pgl17" layout="horizontal"
                                                    partialTriggers="sbc1">
                                  <af:spacer width="21" height="21" id="s5"/>
                                  <af:selectManyChoice label="#{suiviewBundle.PROMOTION_PRODUCT_ITEMS}"
                                                       disabled="#{pageFlowScope.MerchandizeBean.chkbox}"
                                                       partialTriggers="sbc1" valuePassThru="true"
                                                       binding="#{pageFlowScope.MerchandizeBean.promotionalProductBinding}"
                                                      value="#{pageFlowScope.MerchandizeBean.promotionalProductItems}"
                                                       id="promotionsMC"                                                 
                                                       contentStyle="width:292.0px;">
                                     <af:forEach items="#{pageFlowScope.MerchandizeBean.promotionalProductList}"
                                                 var="item">
                                        <af:selectItem value="#{item.value}"
                                                       label="#{item.label}"
                                                       id="si4"/>
                                     </af:forEach>
                                 </af:selectManyChoice>
                                  <af:spacer width="8" height="74" id="s28"/>
                               </af:panelGroupLayout>
                               <af:panelGroupLayout id="pgl6" layout="horizontal">
                                 <af:spacer width="21" height="21" id="s6"/>
                                  <!-- checkbox to be used for deviations -->
                                  <af:selectBooleanCheckbox text="#{suiviewBundle.NO_LIMITATIONS}"
                                                            contentStyle="width:360.0px;"
                                                            label="#{suiviewBundle.ARTICLES_WITH_EXCEPTIONS}"
                                                            id="sbc2"
                                                            binding="#{pageFlowScope.MerchandizeBean.exceptionChkBox}"
                                                            autoSubmit="true"
                                                            valueChangeListener="#{pageFlowScope.MerchandizeBean.deviationValueChange}"/>
                               </af:panelGroupLayout>
                               <af:spacer width="10" height="10" id="s27"/>
                               <af:panelGroupLayout id="pgl7" layout="horizontal">
                                  <af:spacer width="20" height="21" id="s7"/>
                                  <af:selectManyChoice id="exceptionsMC"
                                                       label="#{suiviewBundle.EXCEPTION_PRODUCT_ITEM}"
                                                       contentStyle="width:300.0px;"
                                                       partialTriggers="sbc2" valuePassThru="true"
                                                       binding="#{pageFlowScope.MerchandizeBean.exceptionProductBinding}"
                                                       disabled="#{pageFlowScope.MerchandizeBean.DChkBox}"
                                                       value="#{pageFlowScope.MerchandizeBean.deviationProductItem}">
                                     <af:forEach items="#{pageFlowScope.MerchandizeBean.deviationProductList}"
                                                 var="item">
                                        <af:selectItem value="#{item.value}"
                                                       label="#{item.label}"
                                                       id="si11"/>
                                     </af:forEach>
                                  </af:selectManyChoice>
                               </af:panelGroupLayout>
                            </af:panelGroupLayout>
                            <af:panelGroupLayout id="pgl14" layout="horizontal"
                                                                                              styleClass="trade_group" inlineStyle="width:564px;">
                               <!-- use for auto suggest-->
                               <af:spacer width="26" height="10" id="s50"/>
                               <af:inputText label="#{suiviewBundle.MERCHANDISE_CATEGORY_RANGE}"
                                             id="tradegroupIB"  autoSubmit="true"
                                             binding="#{pageFlowScope.MerchandizeBean.tradeGroupInbound}"
                                             value="#{pageFlowScope.MerchandizeBean.tradeGrpIBValuePrpty}"
                                             contentStyle="width:50px;">
                                  <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.MerchandizeBean.suggestedValue}"/>
                               </af:inputText>
                               <af:inputText  id="tradegroupOB" autoSubmit="true"
                                             binding="#{pageFlowScope.MerchandizeBean.tradeGroupOutbound}"
                                  contentStyle="width:50px;"           value="#{pageFlowScope.MerchandizeBean.tradeGrpOBValuePrpty}">
                                  <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.MerchandizeBean.suggestedValue}"/>
                               </af:inputText>
                               <af:spacer width="10" height="44" id="s12"/>
                            </af:panelGroupLayout>
                            <af:panelGroupLayout id="pgl12" layout="horizontal"
                                       styleClass ="subscription_amount"          inlineStyle="width:560px;">
                               <af:spacer width="20" height="10" id="s29"/>
                               <af:inputText label="#{suiviewBundle.ARTICLES_WITH_ORDER_PROPOSAL_Q}"
                                             binding="#{pageFlowScope.MerchandizeBean.productWithSubscription}"
                                             id="quantityMoreThan"
                                             contentStyle="width:50px;"
                                             value="#{pageFlowScope.MerchandizeBean.subscriptionValuePrpty}"/>
                            </af:panelGroupLayout>
                            <af:spacer width="10" height="10" id="s13"/>
                            <af:panelGroupLayout id="pgl13" layout="horizontal"
                                                 inlineStyle="width:516px;"
                                                 styleClass="sui_search_row">
                               <af:spacer width="126" height="9" id="s15"/>
                               <af:commandButton text="#{suiviewBundle.SEARCH}"
                                                 id="cb3" partialSubmit="true"
                                                 actionListener="#{pageFlowScope.MerchandizeBean.searchResults}"/>
                               <af:commandButton text="commandButton 1" id="cb10" rendered="false"
                                                 actionListener="#{pageFlowScope.MerchandizeBean.callForSearchresults}"/>
                            </af:panelGroupLayout>
                            <af:popup id="p1" contentDelivery="lazyUncached"
                                      binding="#{pageFlowScope.MerchandizeBean.selectSupplierPopup}">
                               <af:dialog id="d1" type="none"
                                          title="#{suiviewBundle.CHOOSE_VENDORS}"
                                          inlineStyle="width:600.0px;">
                                  <af:panelGroupLayout id="pgl23" layout="scroll">
                                     <af:table value="#{bindings.SupplierClient.collectionModel}"
                                               var="row"
                                               rows="#{bindings.SupplierClient.rangeSize}"
                                               emptyText="#{bindings.SupplierClient.viewable ? 'No data to display.' : 'Access Denied.'}"
                                               fetchSize="#{bindings.SupplierClient.rangeSize}"
                                               rowBandingInterval="0"
                                               filterModel="#{bindings.SupplierClientQuery.queryDescriptor}"
                                               queryListener="#{bindings.SupplierClientQuery.processQuery}"
                                               filterVisible="true" varStatus="vs"
                                               selectionListener="#{bindings.SupplierClient.collectionModel.makeCurrent}"
                                               rowSelection="multiple" id="t1"
                                               binding="#{pageFlowScope.MerchandizeBean.supplierTable}"
                                               columnStretching="last"
                                               inlineStyle="width:inherit;">
                                        <af:column sortProperty="#{bindings.SupplierClient.hints.releaseTimeGroup.name}"
                                                   filterable="true" sortable="true"
                                                   headerText="#{suiviewBundle.CLOSING_TIME}"
                                                   id="c3" width="105">
                                           <af:outputText value="#{row.releaseTimeGroup}"
                                                          id="ot4"/>
                                        </af:column>
                                        <af:column sortProperty="#{bindings.SupplierClient.hints.supplierId.name}"
                                                   filterable="true" sortable="true"
                                                   headerText="#{suiviewBundle.VENDOR_NUMBER}"
                                                   id="c4" width="105">
                                           <af:outputText value="#{row.supplierId}"
                                                          id="ot6"/>
                                        </af:column>
                                        <af:column sortProperty="#{bindings.SupplierClient.hints.suppliername.name}"
                                                   filterable="true" sortable="true"
                                                   headerText="#{suiviewBundle.VENDOR}"
                                                   id="c2" width="106">
                                           <af:outputText value="#{row.suppliername}"
                                                          id="ot1"/>
                                        </af:column>
                                        <af:column sortProperty="#{bindings.SupplierClient.hints.quantity.name}"
                                                   filterable="true" sortable="true"
                                                   headerText="#{suiviewBundle.QUANTITY}"
                                                   id="c1" width="104">
                                           <af:outputText value="#{row.quantity}"
                                                          id="ot5"/>
                                        </af:column>
                                     </af:table>
                                  </af:panelGroupLayout>
                                  <af:commandButton text="#{suiviewBundle.OK}"
                                                    id="cb5" partialSubmit="true"
                                                    actionListener="#{pageFlowScope.MerchandizeBean.selectedSupplierList}"/>
                                  <af:commandButton text="#{suiviewBundle.CANCEL}"
                                                    id="cb6" partialSubmit="true"
                                                    actionListener="#{pageFlowScope.MerchandizeBean.cancelSupplier}"/>
                               </af:dialog>
                            </af:popup>
                         </af:panelGroupLayout>
                      </f:facet>
                   </af:panelSplitter>            
                </af:panelBox>
             </af:panelGroupLayout>
          </f:facet>
       </af:panelStretchLayout>
       <af:spacer width="10" height="30" id="s31"/>
       <af:panelGroupLayout id="pgl16"
                            binding="#{pageFlowScope.MerchandizeBean.searchResultsDisplay}"
                            partialTriggers="cb3"
                            visible="#{pageFlowScope.MerchandizeBean.renderSearchResults}">
          <af:panelDashboard id="pd1" columns="5" dimensionsFrom="children"
                             rowHeight="150px">
             <af:panelBox text="#{suiviewBundle.CATEGORIES}" id="pb2">
               <af:panelGroupLayout id="pgl18" layout="scroll">
       <af:forEach var="items"
                            items="#{pageFlowScope.MerchandizeBean.handleDuplicateTreeDesc}">
                   <af:panelFormLayout id="pfl4">
                      <af:outputText id="ot25" value="#{items}"/>
                   </af:panelFormLayout>
                   <af:spacer width="10" height="10" id="s17"/>
                </af:forEach>
    </af:panelGroupLayout>
             </af:panelBox>
             <af:panelBox text="#{suiviewBundle.VENDORS}" id="pb3"
                          binding="#{pageFlowScope.MerchandizeBean.supplierListPanelBox}">
               <af:panelGroupLayout id="pgl25" layout="scroll">
       <af:forEach var="items"
                            items="#{pageFlowScope.MerchandizeBean.supplierDisplay}">
                   <af:panelFormLayout id="pfl3">
                      <af:outputText id="ot24" value="#{items}"/>
                   </af:panelFormLayout>
                   <af:spacer width="10" height="10" id="s18"/>
                </af:forEach>
    </af:panelGroupLayout>
             </af:panelBox>       
             <af:panelBox text="#{suiviewBundle.ARTICLES_WITH_PROMOTIONS}" id="pb5">
               <af:panelGroupLayout id="pgl27" layout="scroll">
       <af:forEach var="items"
                            items="#{pageFlowScope.MerchandizeBean.promotionDisplayLabel}">
                   <af:panelFormLayout id="pfl1">
                      <af:outputText id="ot26" value="#{items}"/>
                   </af:panelFormLayout>
                   <af:spacer width="10" height="10" id="s10"/>
                </af:forEach>
    </af:panelGroupLayout>
             </af:panelBox>
             <af:panelBox text="#{suiviewBundle.ARTICLES_WITH_EXCEPTIONS}" id="pb4">
               <af:panelGroupLayout id="pgl26" layout="scroll">
       <af:forEach var="items"
                            items="#{pageFlowScope.MerchandizeBean.exceptionDisplayLabel}">
                   <af:panelFormLayout id="pfl2">
                      <af:outputText id="ot27" value="#{items}"/>
                   </af:panelFormLayout>
                   <af:spacer width="10" height="10" id="s19"/>
                </af:forEach>
    </af:panelGroupLayout>
             </af:panelBox>
             <af:panelBox text="#{suiviewBundle.OTHER_CRITERIAS}" id="pb6"
                          partialTriggers="cb3">
               <af:panelGroupLayout id="pgl28" layout="scroll">
       <af:panelFormLayout id="pfl0">
                   <af:outputText value="#{suiviewBundle.INBOUND_TRADE_GROUP}::#{pageFlowScope.MerchandizeBean.tradeGrpIBValuePrpty}"
                                  id="ot28"/>
                   <af:spacer width="10" height="10" id="s20"/>
                   <br/>
                   <af:outputText value="#{suiviewBundle.OUTBOUND_TRADE_GROUP}::#{pageFlowScope.MerchandizeBean.tradeGrpOBValuePrpty}"
                                  id="ot29"/>
                   <af:spacer width="10" height="10" id="s21"/>
                   <br/>
                   <af:outputText value="#{suiviewBundle.PRODUCTS_WITH_SUBSCRIPTION_GRE}::#{pageFlowScope.MerchandizeBean.subscriptionValuePrpty}"
                                  id="ot30"/>
                </af:panelFor
    ...etc...
    Please help me
    Thanks,
    Roy
    the jspx
    Message was edited by: user8696578
    Message was edited by: user8696578

    Roy, have you tried to reduce the complexity of your user case?
    Try your use case with a simple page without a region in it first and see if you get the eating them. If yes add a region to your page and verify you get the result you expect. Only then add the portal stuff.
    This will help to narrow down the error.
    Timo

  • Close the ADF popup window from deployed JSP in other server

    I am attempting to open jsp page which one is deployed on tomcat server in adf pop up window from cmd button event.and this first jsp will forward to second jsp and i should able to close from pop window from second jsp close button.
    This is what i did:
    1) created pop-up window and run the delployed jsp on pop up page
    2) i used window.close script in second jsp but not popup window is not get closed .
    help me to achieve this pblm ....

    i was trying to open &close other server's jsp from ADF pop-up window ... so base is internal window (pop-up) only ,
    and already i used onclick="window.close();" in command button...but its not closeing the adf pop-up window ... how that jsp cmd button onclick event take control of adf pop-up to close ?
    help me ???

  • Jdev 10.1.3.3 + ADF popup window

    Hello,
    We are using the adf popup window to show some of the application data. But when session times out we are facing the issue in redirecting the page. Currently when session times out popup window is getting redirected to login page,but parent window is not closing.We want to close the popup window,parent window and redirect to login page.Any idea or thoughts around how to handle session time out in case of popup windows??
    Thanks
    Edited by: user645222 on Nov 10, 2009 9:48 AM

    Hi,
    its a while ago that I looked into this and the only thing that worked for me is to use a JavaScript timer you set to fire before the session expires to close the window.
    Frank

  • How to refresh Adf  table from Adf popup

    Hi all,
    i have and adf query panel with table. On this table for each record, there is a button to perform some operations. When i click this button i am launching an adf popup. Inside this popup i have used a adf dialog of type yes/no. i am using this as a confirmation. (ex- Are you sure you want to change (ex- deactivate) this record?) If yes is clicked i change only one field. Suppose the record belongs to a client. On click of yes, i change the status to some value. ex- deactivate. so with the dialog's button click, i change the table data. but it is not reflected unless i made a query. i want to automatically refresh this table on click of dialog button's yes. I hope i made my self clear. Can this be done with Jdev. Im using Jdev 11.1.1.0.1. Pls help me with this.
    Thanks in advance,
    Nad

    Hi Maxi, Timo, i tried the solutions by both of you. Thanks alot for replying. But i get an error. This is what i did. for Deactivate btn in the table, i have added the below return listerner code.
    public void onReturnFromDialog(ReturnEvent returnEvent) {
    if (returnEvent.getReturnValue() != null) {
    refreshCurrentPage();
    protected void refreshCurrentPage() {
    FacesContext context = FacesContext.getCurrentInstance();
    String currentView = context.getViewRoot().getViewId();
    ViewHandler vh = context.getApplication().getViewHandler();
    UIViewRoot x = vh.createView(context, currentView);
    x.setViewId(currentView);
    context.setViewRoot(x);
    but i noticed that both these methods are not invoked. So i added the below dialoglistener code to the af:dialog that is inside my popup. This popup is shown when the deactivate btn is clicked.
    public void DialogListenAction(DialogEvent dialogEvent) {
    if(dialogEvent.getOutcome().toString().equals("yes"))
    DCIteratorBinding iter = ADFUtils.getIterator("MembersVO3");
    String des = (String) iter.getCurrentRow().getAttribute("MemberCode");
    service.deactivateMember(des); //This is where i update the record and set the attribute value to des
    System.out.println("suspect1");
    RequestContext.getCurrentInstance().returnFromDialog(des,null);
    //AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    //afContext.getCurrentInstance().returnFromDialog(des, null);
    System.out.println("suspect2");
    //ifCancel Do nothing
    when i add 'RequestContext.getCurrentInstance().returnFromDialog(des,null);'
    OR
    'AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.getCurrentInstance().returnFromDialog(des, null);'
    i get the error - java.lang.IllegalStateException: popView(): No view has been pushed.
    i cant figure out what is the wrong here. Can some one pls suggest how to resolve this?
    Thanks alot.

  • Opening pdf in ADF popup menu

    Hi All,
    I have big issue in opening a pdf file under ADF popup menu. currently, the popup menu is working fine and but i dun know how to load the pdf once the popup menu is loaded. I tried to put javascript code in <body> with "onLoad=...", however, i dun know how to load pdf from javascript.
    Any one has a good idea to get around this problem???
    Cheers,
    -T

    Hi!
    I would like to insert a pdf file into the database and then display it. Actually I do not know how to insert the file into the db nor how to extract it. I use a library (jpedal) to show the pdf and am able to represent a byte stream, but how do I get it?
    regards,
    Mario Udina

  • Database connection not closing on time out

    Hi All,
    Not sure if this is the right place for this question but..
    I've moved my app (built using jdev10.1.2., adf bc's and jsp's) to an app server. For some reason, the database connection is not closing. I have 46 connections to the database and I''m the only one with the URL, not good.
    So can anyone shed any light on this? I thought it should disconnect after a time out but its not.
    Any ideas would be gratfully received.
    Thanks in advance

    or try this one..
    Go to the bottom of the tutorial, you will find the configuration...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bc9baf90-0201-0010-479a-b49b25598ebf

  • ADF Popup problem

    Hi,
    I am working on ADF popups. I have created a simple popup as shown below:
    <af:popup id="test" contentDelivery="lazyUncached" >
    <af:panelWindow modal="true" title="Update Sample Type" closeIconVisible="true">
    <af:inputText value="test"/>
    </af:panelWindow>
    </af:popup>
    When I launch this popup and try to input value in input text, it does not display the cursor inside input text box.
    Does anybody know how to make it display the cursor?
    Thanks.
    Regards,
    Umesh

    Hi,
    I am working on ADF popups. I have created a simple popup as shown below:
    <af:popup id="test" contentDelivery="lazyUncached" >
    <af:panelWindow modal="true" title="Update Sample Type" closeIconVisible="true">
    <af:inputText value="test"/>
    </af:panelWindow>
    </af:popup>
    When I launch this popup and try to input value in input text, it does not display the cursor inside input text box.
    Does anybody know how to make it display the cursor?
    Thanks.
    Regards,
    Umesh

Maybe you are looking for