Problem while dropping a .JSFF onto .JSPX page

Hi All,
I have a very simple BTF with just an output text filed and a blank Main page (.JSPX) . Whenever I am trying to drop.JSFF on to .JSPX. it prompts me for an component Identifier. I dont know what to put in that Prompt.Please help me. I am struck
Thanks

Got my problem resolved ... Was creating the JSFF with Facelets , changed it to XML and my thing resolved

Similar Messages

  • Problem while dropping a table

    Dear All,
    I am facing a problem while dropping a table in Oracle 10g.
    I am able to find the number of records in the table but unble to delete it.
    SQL> select count(*) from merchant_audit;
    COUNT(*)
    30028278
    SQL> drop table merchant_audit;
    drop table merchant_audit
    ERROR at line 1:
    ORA-00942: table or view does not exist
    I have to drop this table from the database. Please help.
    regards,
    Santhosh

    Hi,
    IS it a table ? Is it your table ?
    Read this example :
    sqlplus scott/*****
    SQL> create table merchant_audit(col1 number);
    Table created.
    SQL> create public synonym merchant_audit for merchant_audit;
    Synonym created.
    SQL> grant select on merchant_audit to merchant;
    Grant succeeded.
    SQL> conn merchant/merchant
    Connected.
    SQL> select count(*) from merchant_audit;
    COUNT(*)
    0
    SQL> drop table merchant_audit;
    drop table merchant_audit
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>
    See owner into the dba_tables, and if synonym into dba_synonyms.
    Nicolas.
    Message was edited by:
    Nicolas Gasparotto

  • JDeveloper : Problem while navigating from one to another page.......

    Hi,
    I am using JDeveloper 11.1.1.4.0.
    Assume that Eo name : EmployeesEO. I want to display all employees those who r all under coreesponding Department. For that i have created ViewCriteria Named as EmployeeByDepartment for DepartmentId in EmployeesVO. where clause in Viewcriteria is:
    *( (Employees.DEPARTMENT_ID = :Departmentid ) )* .
    Then exposed that viewCriteria in AM for EmployeesVO Instance.
    Now i created taskFlow where I created two jsff page. In page 1 just i drag and drop EmployeeByDepartment viewcriteria from datacontrol [DataControl->EmployeesVO1->NamedCriteria]. Then i drag and drop EmployeesVO1 from Datacontrol to Page 2 as ADF Form.
    Now while clicking Search Button in page 1 it should navigate to Page 2 and also it should display Employee details those who r all under same Department.
    How can i achieve??
    Regards,
    Praveen.

    First question: which component do you use (af:query or anything else)?
    next question if you use af:query why not show the result on the same page (query with table)?
    Timo

  • Problem with Firefox rendering using a jspx page

    Hello, your help will be very important for me, so please read this :
    this is the code of my jspx page :
    <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:af="http://xmlns.oracle.com/adf/faces"
         xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
         <jsp:directive.page contentType="text/html;charset=utf-8" />
         <f:view locale="#{locale.locale}">
              <!-- Load localized messages -->
              <f:loadBundle var="bundle" basename="localizedMessages" />
              <!-- Main document element -->
              <af:document title="#{bundle.account_bucket_title}">
                   <af:panelBorder>
                        <f:facet name="top">
                             <af:panelGroup>
                                  <!-- Top bar -->
                                  <jsp:directive.include file="includes/header.jspf" />
                                  <!-- Top menu -->
                                  <jsp:directive.include file="includes/MenuTop.jspf" />
                             </af:panelGroup>
                        </f:facet>
                        <f:facet name="bottom">
                             <af:panelGroup inlineStyle="position: relative; bottom:0px">
                                  <!-- Bottom menu -->
                                  <jsp:directive.include file="includes/MenuBottom.jspf" />
                             </af:panelGroup>
                        </f:facet>
                        <!--bucket details-->
                        <af:panelGroup layout="vertical"
                             inlineStyle="overflow:auto; height=88%; position:relative">
                             <af:objectSpacer width="100" height="20" />
                             <af:panelHeader text="#{bundle.account_bucket_title}" size="0" />
                             <af:objectSpacer width="100" height="20" />
                             <af:table emptyText="#{bundle.account_bucket_no_items}" var="item"
                                  value="" width="100%">
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col1}"
                                       headerNoWrap="true" formatType="text">
                                       <af:outputText value="" />
                                  </af:column>
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col2}"
                                       headerNoWrap="true" formatType="text">
                                       <af:outputText value="" />
                                  </af:column>
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col3}"
                                       headerNoWrap="true" formatType="text">
                                       <af:table emptyText="#{bundle.account_bucket_bucket_no_item}"
                                            var="item" value="" width="100%">
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col1}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col2}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col3}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col4}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col5}"
                                                 headerNoWrap="true" formatType="icon">
                                                 <af:commandButton
                                                      text="#{bundle.account_bucket_bucket_adjustment_btn}"
                                                      action="" />
                                            </af:column>
                                       </af:table>
                                  </af:column>
                             </af:table>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                        </af:panelGroup>
                   </af:panelBorder>
              </af:document>
         </f:view>
    </jsp:root>
    When i use IE there is no problem, an iFrame is generated and the bucket detais are rendered into it.
    The problem is with Firefox, the is an iFrame in the HTML code, but there is no rendering of it : why ?
    it seems that iFrames are well-rendered with FireFox and i don't no how to change my page to render it good with both FireFox and IE
    Please tell me a solution, something to change with my ADF tags ?...
    Sincerely,
    edward.

    i found solution for the problem that i use the following code to include JavaScript file
    i found that the problem occurred when i use the following code to include JavaScript file
    <script type="text/javascript" src="javascriptfile.js"/>
    also if i included 2 JavaScript files only one file is included at runtime
    but when i used the following code to include JavaScript files
    <afh:script source="javascriptfile.js"/>
    the two problems were solved (the problem of LOV and the problem of including multiple /js files)
    i don't know if it is a bug in the ADF or i made a mistake in the previous way
    any way thanks to you all for helping me

  • Problem while dropping snapshot

    Dear sir
    I am a junior dba, now I have a problem while I drop a customerinfo snapshot from Oracle 9.2.0.4 database. It seem to be the snapshot has been dropped correctly. But I found it's still remained in user's schema and looks like normal table.
    I tried to drop it again but I got error ORA-12083: must use DROP MATERIALIZED VIEW to drop "customerinfo". But when I used command DROP SNAPSHOT CUSTOMERINFO; and DROP MATERIALIZED VIEW CUSTOMETINFO; It's still error ORA-12003 : materialized view "CUSTOMERINFO" does not exist.
    Please give me some advice.
    PS. Our system is Linux RHAS3 and Oracle 9.2.0.4 Database.

    It could be that the MV was created on a prebuilt table.
    If that is the case, the table must be dropped separately.
    First make sure that you actually want to drop the table and lose the data.
    Look for 'PREBUILT' under 'CREATE MATERIALIZED VIEW' in the docs.

  • Problem when inserting xml flow into jspx page

    When I drag and drop the xml into the jspx I should get a pop up menu where I would choose region (Im following a tutorial) but I get nothing. I drag and drop and It just opens it in the design editor.
    I would appreciate any help you guys could give

    OK, let cover the basics first:
    JDev version?
    I assume you are on 11.1.1.2.0 or 11.1.1.3.0:
    You created a new task flow (right click on the 'Web content'->new->'ADF Task FLow'
    the check box 'Createas Bounden Task flow was set and the check box for 'Create with Page Fragments' was set
    The filename was something like 'search-email-flow.xml'
    This should create a new bounden task flow with the name of search-email-flow (which creates a xml file with the same name).
    Then you put one view to the flow. After creating the page fragment (the file created should have the jsff file type) you saved all work.
    The you open up an existing jspx file and drag the new flow from the 'Page Flows' folder under 'Web content' onto the design view of the jspx file.
    after dropping the flow you should then see the 'Create' dialog. e careful, you can't drop the flow everywhere on the page. You should drop in into a panel group or some other container. If you drop it i.e. onto a table you see the effect you described: it's opening the flow!
    Timo

  • Problem while dropping tablespace

    Hi all,
    I am getting following error while i am trying to drop tablespace
    ORA-02449: unique/primary keys in table referenced by foreign keys.
    I am using followin statement to drop tablespace;
    drop tablespace QAREF430 including contents and datafiles;
    wat might be the problem?
    Thanks.

    wat might be the problem?You have some referential integrity constraints, outside QAREF430 tablespace, pointing to a table inside QAREF430 tablespace. Try
    drop tablespace QAREF430 including contents and datafiles cascade constraints;

  • Problem while adding attachment in a custom page

    Hi,
    I have a custom page with a standard attachment table item. On adding an attachment the attachment fails to upload and the blue status bar continues to grow. This is happening only in one particular environment. I am not able to replicate this problem any in other environment. Error Stack shows the following Exception.
    ## Detail 0 ## java.io.EOFException at oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler._skipBoundary(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at
    oracle.apps.fnd.framework.webui.OAPageContextImpl.parseMultipartForm(OAPageContextImpl.java) at oracle.apps.fnd.framework.webui.OAPageContextImpl.
    (OAPageContextImpl.java:555) at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(OAPageBean.java:4458) at
    oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1224) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage
    (OAPageBean.java:509) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430) at oa_html._OA._jspService(_OA.java:84) at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch
    (JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at
    org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:595) java.io.EOFException at
    oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler._skipBoundary(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageContextImpl.parseMultipartForm
    (OAPageContextImpl.java) at oracle.apps.fnd.framework.webui.OAPageContextImpl.(OAPageContextImpl.java:555) at
    oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(OAPageBean.java:4458) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage
    (OAPageBean.java:1224) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509) at
    oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430) at oa_html._OA._jspService(_OA.java:84) at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch
    (JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at
    org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:595)
    Could anyone tell why is this exception raised and what is the solution to this problem?

    The first step to the solution would be for you to post your question to the OA Framework forum; you won't get the specialized help you need in this forum.
    Regards,
    John

  • Problem while dropping partitions

    Hi All,
    I'm using oracle 11g. I have 2 tables A and B. A is the master table and B is the child table. Both the tables are partitioned based on month. Now when i have to drop partition for previous month, i first drop partition from table B then from table A. With table B the partition is getting dropped successfully. But when i try to drop partition for A it gives an error as it is a master table. Table A does not have any data in the partitioned to be dropped that is being referenced by table B. How do i drop the partition for master table.
    Thanks in Advance

    Hi,
    There may be Chance of Have some rows .. just find out the rows existing in the partition of master table with existence of records in Child table that makes it clear clarificaiton...
    - Pavan Kumar N

  • Problem while redirecting from servlet to wml page

    Hello everybody
    I am developing a WAP site but I am a begnner in wml and servlet. So I need some help from you ppl.
    I have made a wml page whch redirects to a Login servlet now from that LoginServlet I want to gain redirect to a wml page. I have written the following code so that when the user clicks on Login he is redirected to emailreaderwap/Login.wml page
    PrintWriter out = response.getWriter();
    String url="/emailreaderswap/login.wml";
    response.addHeader("Content-Location:", Double.toStringMath.random()));
    response.setContentType("text/vnd.wap.wml");     
    out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?> ");
    out.println("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.3//EN\" ");
    out.println("\"http://www.wapforum.org/DTD/wml13.dtd\"> ");
    out.println("<wml>");
    out.println("<card>");
    out.println("<p>"+ "Email Address or Password are wrong Please Try Again!\r\nClick On The Link Below to go back to Login Page"+
                                "<a href=\""+url+"\">Login</a>");               
    out.println("</p>"+"</card>"+"</wml>");But when I run this in my Nokia Mobile Browser4.0 I get "malformed output" as output whereas I want to see the /emailreaderwap/Login.wml page as the output.
    Please tell me whether this is the right way to go abt it or is there any other way i can accomplish my task.
    I hope you ppl reply as soon as possible as I have a deadlne to meet.
    Eagerly waiting for your reply.
    Thankyou
    Heti Shah

    hi ,
    u forgot to give the slash ("/") before jsp file when u r creating the RequestDispatcher object. I tried the following example. Its working fine.
    check this code:
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.GenericServlet;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    * @author sivakumar
    public class TestServlet extends GenericServlet  {
          public void service(ServletRequest request,ServletResponse response)throws ServletException,IOException{
                   PrintWriter out=response.getWriter();
                   response.setContentType("text/html");
                   out.println("Hi this is first servlet");
                   RequestDispatcher requestDispatcher=getServletContext().getRequestDispatcher("/test.jsp");
                   requestDispatcher.forward(request,response);
    }test.jsp shows images also.
    try it...
    good luck...

  • Is it possible to add a JSFF to a page programmatically without Task Flows?

    My use case is this: My application does not use task flows. If a value returned from the database is 0, I am creating a UIComponent and adding it to a PanelGroup on a page. If the value returned is 1, I need a way to programatically add a JSFF to the page. So, that means I cannot define the JSFF on the page with a <jsp:include... />.
    The closest solution I have found so far is to use af:declarativeComponent, but when attempting to create this component via the ADF Faces API, I find that there is a method for getViewId, but not for setViewId, meaning I cannot add the JSFF to the declarativeComponent and in turn add the DC to the PanelGroup.
    Thanks.

    Frank,
    I stand corrected on utilizing a Task Flow. After some learning on my end, Task Flows and Regions appear to be a solution for my requirement.
    I created a dynamic task flow (jsff), dropped it on the jspx page to create a region and it executed successfully.
    Now that I know drag and drop works for this task flow, I am attempting to add the region to the page at runtime. Here is the code I am using:
    private void ProcessEmailUpdateFragment(String id, FlexContent fc) {
    RichRegion rr = new RichRegion();
    // this is the tag created via drag and drop: <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"/>
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExpressionFactory elFactory = facesContext.getApplication().getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp = elFactory.createValueExpression(elContext, "#{bindings.taskflowdefinition1.regionModel}", Object.class);
    RegionModel model = (RegionModel)valueExp.getValue(elContext);
    rr.setRegionModel(model);
    rr.setId("r" + id);
    rr.setValue(model);
    FlexUIContainer.add(rr);
    }Here is the error I am receiving:
    <UIXRegion> <getRegionModel>
    java.lang.IllegalStateException: The "value" attribute on a region component with id "r0" was null or not specified thus its RegionModel is null. Now using an empty RegionModel instead.
         at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:455)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeBegin(UIXRegion.java:279)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)I do not see any references to this error anywhere online and was hoping you could provide a bit of guidance. Initially, I only was setting the RichRegion Id and RegionModel, then when I received the above error, I set the Value, with no change.
    Thanks,
    MattC
    UPDATE: The reason for the error is that the model object is null...looking into it now.
    Edited by: MattC on Jan 17, 2012 5:27 PM
    UPDATE: Copy/paste error. EL needed to be #{bindings.dynamicRegion1.regionModel}, not #{bindings.taskflowdefinition1.regionModel} (copied from example). Now I have encountered an additional error, which I believe may reveal I have reached a dead end:
    <PropertyKey> <saveValue> Unserializable value:oracle.adf.controller.internal.binding.DCTaskFlowBinding$InnerTaskFlowRegionModel@3694d537 for key:UINodePropertyKey[value,14]In this post from 3 years back, you wrote that a use case that resulted in this same error was not supported: insert a region programatically
    It appears this may still the case. Either way, I was hoping you would provide additional insight.
    Thanks.
    Edited by: MattC on Jan 17, 2012 5:49 PM
    I am running JDev 11.1.1.5
    Edited by: MattC on Jan 18, 2012 9:05 AM

  • OutputLabes, values in selectOneChoice are appearing twice in the jspx page

    Hi All,
    In a Jspx Page, there are two menu tabs. Each Tab has a PanelForm and each panelform has certain components.
    By default the first panelform in the first tab will be shown on page load and while clicking on second tab, the second panelform will be shown.
    The first panelform has three selectonechoices and three command buttons.
    If i click on reset button, these 3 selectonechoices are set to null by backing bean.
    Here comes the problem, after clicking on reset, if you click on second tab where the second panel form available, certain components like outputLabel and the values in selectOnechoice, are appearing twice on the page.
    Can anyone suggest me how to get rid of this problem..
    Here is my Jspx Page..
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:loadBundle basename="GeneralAdmin" var="gadmin"/>
    <f:loadBundle basename="HoldCapabilites" var="holdc"/>
    <f:view>
    <afh:html>
    <afh:head title="editManualProfileAttributes">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <script type="text/javascript">
    function cancel() {
    var flag = false;
    flag=window.confirm('You want to discard the entered data');
    return flag;
    </script>
    </afh:head>
    <afh:body>
    <af:messages/>
    <h:form>
    <afh:tableLayout>
    <afh:rowLayout width="100%">
    <jsp:include page="/jsps/webutils/template/header.jsp"/>
    </afh:rowLayout>
    <afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:menuPath>
    <af:commandMenuItem text="#{gadmin.admin}" action="adminHome"/>
    <af:commandMenuItem text="#{gadmin.epaAttr}" selected="true"/>
    </af:menuPath>
    </afh:rowLayout>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout halign="center" valign="bottom">
    <afh:cellFormat width="20%" height="20px" valign="bottom">
    <af:menuTabs>
    <af:commandMenuItem text="#{gadmin.epAttr}"
    action="#{EditManualProfileAttributes.firstTab}"
    binding="#{EditManualProfileAttributes.commandMenuItem2}"
    id="commandMenuItem2"/>
    <af:commandMenuItem text="#{gadmin.auditHistory}"
    action="#{EditManualProfileAttributes.secondTab}"
    binding="#{EditManualProfileAttributes.commandMenuItem1}"
    id="commandMenuItem1"/>
    </af:menuTabs>
    </afh:cellFormat>
    <afh:cellFormat styleClass="bottomLine" width="80%"
    height="20px" valign="bottom">
    <af:objectSpacer height="1" width="1"/>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="100%" height="10"/>
    </afh:rowLayout>
    <af:panelForm id="panelForm1" width="100%"
    binding="#{EditManualProfileAttributes.panelForm1}">
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.mpAttr}"
    inlineStyle="font-family:Arial; font-size:9.0pt; font-weight:bold;"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <f:verbatim>
    <hr align="left"
    style="border-width:2.0px; color:rgb(219,238,243);"/>
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.refName}"
    styleClass="outputText"/>
    <af:outputText value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="80%">
    <af:selectOneChoice id="navList1" autoSubmit="true" partialTriggers="commandButton2"
    valuePassThru="true" unselectedLabel="Select"
    binding="#{EditManualProfileAttributes.navList1}"
    valueChangeListener="#{EditManualProfileAttributes.getDetails}">
    <af:forEach var="li"
    items="#{bindings.GetRefNamesVO1.rangeSet}">
    <af:selectItem label="#{li.ReferenceName}"
    value="#{li.Id}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.refId}"
    styleClass="outputText"/>
    <af:outputText value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="15%">
    <af:selectOneChoice id="navList2" autoSubmit="true"
    partialTriggers="navList1 commandButton2"
    binding="#{EditManualProfileAttributes.navList2}"
    valueChangeListener="#{EditManualProfileAttributes.getColumns}">
    <af:forEach var="li"
    items="#{bindings.LookupRefTableVO1.rangeSet}">
    <af:selectItem label="#{li.LookupDesc}"
    value="#{li.LookupId}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    <afh:cellFormat width="15%">
    <af:selectOneChoice id="navList3"
    binding="#{EditManualProfileAttributes.navList3}"
    partialTriggers="navList1 navList2 commandButton2">
    <af:forEach var="li"
    items="#{bindings.EditRefColumnVO1.rangeSet}">
    <af:selectItem label="#{li.DetailDesc}"
    value="#{li.DetailsId}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    <afh:cellFormat width="50%"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="6%">
    <af:outputText value="#{gadmin.stDt}"
    styleClass="outputText" id="outputText1"
    binding="#{EditManualProfileAttributes.outputText1}"/>
    </afh:cellFormat>
    <afh:cellFormat halign="left">
    <af:outputText value=" * " id="outputText2"
    binding="#{EditManualProfileAttributes.outputText2}"
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="4%"/>
    <afh:cellFormat width="80%">
    <af:selectInputDate id="startDate"
    binding="#{EditManualProfileAttributes.startDate}"
    partialTriggers="navList1 commandButton1 commandButton2">
    <af:convertDateTime pattern="dd/MMM/yy"/>
    </af:selectInputDate>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.edDt}"
    styleClass="outputText" id="outputText3"
    binding="#{EditManualProfileAttributes.outputText3}"/>
    </afh:cellFormat>
    <afh:cellFormat width="80%">
    <af:selectInputDate id="endDate"
    binding="#{EditManualProfileAttributes.endDate}"
    partialTriggers="navList1 commandButton1 commandButton2">
    <af:convertDateTime pattern="dd/MMM/yy"/>
    </af:selectInputDate>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="20%"/>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.save}"
    action="#{EditManualProfileAttributes.save}"
    id="commandButton1"
    binding="#{EditManualProfileAttributes.commandButton1}"/>
    </afh:cellFormat>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.reset}"
    action="#{EditManualProfileAttributes.reset}"
    id="commandButton2"
    binding="#{EditManualProfileAttributes.commandButton2}"/>
    </afh:cellFormat>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.cancel}"
    id="commandButton3"
    binding="#{EditManualProfileAttributes.commandButton3}"
    action="adminHome"
    onclick="return cancel()"/>
    </afh:cellFormat>
    <afh:cellFormat width="59%"/>
    </afh:rowLayout>
    </af:panelForm>
    <af:panelForm id="panelForm2" rendered="false" width="100%"
    binding="#{EditManualProfileAttributes.panelForm2}">
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputLabel value="#{holdc.mpaAttr}" id="abc"
    inlineStyle="font-family:Arial; font-size:9.0pt; font-weight:bold;"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <f:verbatim>
    <hr align="left"
    style="border-width:2.0px; color:rgb(219,238,243);"/>
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputLabel value="#{holdc.refeName}"
    styleClass="outputText"/>
    <af:outputLabel value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <af:selectOneChoice id="navList4" autoSubmit="true"
    unselectedLabel="Select"
    valuePassThru="true"
    binding="#{EditManualProfileAttributes.navList4}"
    valueChangeListener="#{EditManualProfileAttributes.getVersions}">
    <af:forEach var="li"
    items="#{bindings.AuditRefNamesVO1.rangeSet}">
    <af:selectItem label="#{li.ReferenceName}"
    value="#{li.Id}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    </afh:rowLayout>
    </af:panelForm>
    </afh:tableLayout>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

    Hi Puthanampatti,
    Thanks a lot for your reply, but i am using JDev 10.1.3.3. There is no panelFormLayout component and i am not using that component.
    Even i am strange this duplicating of components and values in selectoneChoice occuring from past 2 days in the old file. I am wondering whether my file got corrupted by any sort.
    Regards,
    R N V Prasad

  • [SOLVED] Can JSPX page have two PageDefs? (Importing pages in ADF)

    Is there a way to make a JSPX page to reffer two or more pageDefs? I have this problem when importing one or more JSPX pages with their own pageDef files into surrounding JSPX page. Binging container creates only objects defined in PageDef of the surrounding page, but I need all objects from imported pages also in binding container.

    Hi,
    no you can't. ADF loads one binding container at a time and cannot handle multiple in parallel. This is changed in JDeveloper 11 when we support templates with binding references. Until then there is no referencing mechanism to external pagedef files
    Frank

  • Problem in Dropping Constraints..

    Hi All,
    I am facing problem while dropping and recreating constraint.Requirement is i have table there is 4 check(C) type constraint and all are having different search condition.I need to alter table and drop one of them C type constraint and again recereate it.
    select * from user_constraints where constraint_type='C' AND TABLE_NAME='xyz'
    It will return multiple rows.
    when i do
    select * from user_constraints where constraint_type='C' AND TABLE_NAME='xyz' and search_condition = 'V_PARAM_CDE IN ''(''F_RECEP_PATCH'', ''NLS_LANGUAGE'')'
    its throwing error : ORA-00997 illegal use of long datatype
    Now i am not able to drop and recreate constraint.I need to write a script and through script need to drop and recreate it.
    Please help me to sort out above problem.
    Thanks n advance.
    Anwar

    1) Rather than dropping and recreating a constraint, you're better off disabling and re-enabling it. Depending on what you're trying to do, you could also make the constraint deferrable and defer validation to the end of the transaction.
    2) Do you name your constraints? If not, could you? The easiest way to be able to uniquely identify a constraint is generally to give it an informative name.
    Justin

  • Drag and drop a bounded task flow in a jspx page

    Hi!!
    I am using jdeveloper 11.1.2.1 I had created a Bounded task flow which contains a jsff
    page.While i am trying to drag and drop this Bounded task flow as a region in jspx page
    am getting the error as
    Cannot create a region from a taskflow containing facelets fragements in a
    jspx page.

    see the difference between JSP XML documents and Facelets-
    http://oracleadf-java.blogspot.in/2013/05/beauty-of-adf-taskflow-difference-bw.html
    both are different view technology.
    Always Remember if
    fragment is .jsff (JspXML type)-- main page must be of JSP XML type (.jspx )
    fragment is .jsff (Facelets typee)-- main page must be of Facelets type (.JSF)
    _Ashish

Maybe you are looking for

  • Error message 'Enter unit of measure' in Webclient

    Hello Experts, We are working on CRM 5.0 SP 7, IC WebClient and have implemented the BAdi "<b>CRM_SERVICEPROD_BADI</b>" to assign a service product ''<b>INVESTIGATION'</b> whenever user selects service ticket in WebClient. However, when confirming a

  • How to create an array of doubles??

    hi i want to be able to enter several numbers as string which are then converted into doubles. these will have to be stored into a doubles array. how can i do this????? below is somethin that i have done but i dont think its right! can some1 lend me

  • BEx Analyser: how to add filter information in query output

    Hello, When query is executed in BEx Analyser, there are three buttons with additional info. But none of them shows the selections that were made when the report was executed (variable screen) and the "static" filters within the query definition. How

  • Two versions of the sport kit

    I ordered a new sensor on the CompUSA web site today, and noticed that they are selling two different versions. One is (340383) $29.99 and the other is (52575532) $27.99. In looking at the product comparison, the cheaper one is described as working w

  • Poker hole cards animation solution

    Hi, We are going to produce a poker tv show, with video table etc. I was wondering, what is the best way to bring hole cards animation on screen? You can check out an example from here: YouTube - NEW Poker After Dark s05e46 Season 5 episode 46 FULL ,