Export collection action listener error after second call

Hi all,
I am using the operation export collection action listener to export to excel the content of a table. The first time I clicked the button to export, Microsoft Excel open with the table  information correctly but if  I want to export again then I got the following error:
<08-ago-2013 21H54' VET> <Error> <oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter> <BEA-000000> <ADF_FACES-60096:Excepción del Servidor durante PPR, #1
java.lang.IllegalStateException: ADF_FACES-60003: Component with ID: pt1:r8:4:b1 not registered for Active Data.
  at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.unregisterComponent(PageDataUpdateManager.java:615)
  at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:478)
  at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:540)
  at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
  at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
  at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
  at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
  at java.security.AccessController.doPrivileged(Native Method)
  at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
  at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
  at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
  at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
  at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
  at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
  at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
  at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
Any Idea?
Jhon Carrillo
Jdev 12c

Hi,
there is a bug filed for this that has been fixed for the first (upcoming) Patch Set of 12c. Until then the solution seems to be to get the current row before exporting the table and then to set it back afterwards. So what you can try is to create a hidden button for the export of the table. Say you name the button "expBut". Then have another button with a action reference to a managed bean. This button now will invoke the following code
1. read the current row from the table iterator (bindings --> (DCIteratorBinding) bindings.get("iteratorName") --> (Row) dcIterator.getCurrentRow()
2. invoke the hidden button: ActionEvent ae = new ActionEvent(expBut); ae.queue();
3. Set current row back to where it was: dcIterator.setCurrentRowWithKey(row.getKey().toStringFormat(true));
At least this seems to be the internal bug fix.
Alternatively, disable PPR on the binding layer (ChangeEventPolicy=None on the iterator) and set the same on the PartialTrigger property of the component.
Frank

Similar Messages

  • ADF TUTORIAL: PROBLEMS WITH "Export Collection Action Listener"

    hello all,
    environment:
    windows xp
    jedev 11.1.1.3.0
    firefox 3.6.13
    tutorial: Developing Ajax-Based User Interfaces with JSF: An Introduction to ADF Faces Rich Client Components
    url: http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/adf_richclient/adfrichclient.htm
    mainstep: "working with menus"
    substep: number 5 "add collection action listener"
    until the step "working with menus" works everthing fine. after i added the collection action listener and saved my work, the webapplication will not open. i see only a blank page and no error message.
    when i delete the action listener works everything fine again.
    how can i fix this issue? thx to everyone.
    best regards
    gunnar

    I'm not sure if this is going to help anyone , but if you're stuck at that point of the tutorial , try to drop the "Export Collection Action Listener" onto the menuItem "Export To Excel" not under it;
    So the xml under the source tab should look something like this :
    <f:facet name="menus">
    <af:menu text="My Options" id="m2" detachable="true">
    <af:commandMenuItem text="Export To Excel" id="cmi1">
    <af:exportCollectionActionListener type="excelHTML"
    exportedId="t1"/>
    </af:commandMenuItem>
    <af:commandMenuItem text="Show Specials" id="cmi2">
    <af:showPopupBehavior popupId=":::p1"/>
    </af:commandMenuItem>
    </af:menu>
    Hope this helped somebody .

  • SOAP adapter erro 404 after second call using Web Dispatcher

    Hi XI experts.
    In a  XI  SOAP sender  interface that works if I use the central port of XI.
    In the productive use SAP Web Dispatcher.
    If I use the Web dispatched port, after the first run the application generates the error:
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    I need some help to make the interface works through the Web Dispatcher.
    The client interface was developed in .NET.
    Best Regards
    Marco Zerbini

    1. Please ensure that all nodes balanced by the web dispatcher are fully working and available.
    2. Please check the URL being called by the external service. Check if on the second call it is still using the WD's URL instead of the instance's. This might occur depending on the external service behavior when receiving a 302 MOVED http code.

  • Error after second level approval in ESS leave request

    Hi Experts
    I am using custom workflow for Ess Leave request process which is copied from WS21500001.
    I have added custom class methods to change status from approved to sent.
    Then another method i have set next appovaer.
    The problem i m facing is that I am getting an error on portal after second approval approves the request.
    i.e Field syomol has not been assigned yet.
    from st22 i found its generating from
    Include LPT_ARQ_REQUEST_UIAF06  - Form   execute_approver_update
    By debugging i found that Its not getting next approval with status T as there is only first approval with status 'A'
    This results in unassigned field symbol. and then error.
    Please help me resolve this issue.
    Please confirm why next approver is not found in method.

    Hi All
    Thanks for your reply.
    I checked why it was giving a dump.
    This execute_approver_update subroutine takes approval data from table ptreq_approver .
    I filled this with resp actor id after request is approved and status is changed to sent.
    For every emp its unique actor id is saved in ptreq_actor table agaist his pernr.
       SELECT SINGLE actor_id FROM PTREQ_ACTOR INTO actor_id WHERE objid = nextApprover_pernr.
        wa_appr-mandt = sy-mandt.
        wa_appr-request_id = Request_ID. "Req.requestID ( from Workflow )
        wa_appr-version_no = version_no. "Req.Version ( from Workflow )
        wa_appr-seqnr = seqnr. "Same as version no but in char
        wa_appr-approver_ins = actor_id. "Employee actor id from ptreq_actor
        wa_appr-status = 'T'. "Manual
        append wa_appr to it_appr.
        INSERT PTREQ_APPROVER FROM TABLE it_appr .
        commit work and wait.
    This resolved my issue.
    Thanks

  • Crystal 8.5 Export to Excel 2003 Error after Excel SP3 install

    Post Author: tecboy
    CA Forum: Exporting
    Just upgraded Office 2003 to SP3. When exporting a Crystal 8.5 report to Excel 2003..I now receive an error message...file error data may have been lost crystal...i click ok then the Excel spreadsheet opens. all the data appears to be there. I have tried switching between extented and not and also tried switching between application and disk file...same results...SP3 for Office changed something...Just trying to determine what i need to correct to make this error go away...

    Post Author: tecboy
    CA Forum: Exporting
    Yes and no.....I replaced the export dll for Excel with a newer one...the newer dll removed the error message but the layout of the exported crystal reports was screwed up...so i went back to older version. I think it may have something to do with the default speadsheet or tab name that Crystal Reports creates that SP3 for Excel doesnt like...If i recall...i ran into something similar when i was on Crystal 7 and upgrade to Office 2003....

  • Getting error in Compose call

    In the latest Gumbo release 5022, using TLF, I am getting the
    following error after I call compose...
    Error: Error #2175: One or more elements of the content of
    the TextBlock has a null ElementFormat.
    at flash.text.engine::TextBlock/DoCreateTextLine()
    at flash.text.engine::TextBlock/createTextLine()
    at flashx.textLayout.compose::ComposeState/createTextLine()
    at flashx.textLayout.compose::ComposeState/composeNextLine()
    at
    flashx.textLayout.compose::BaseCompose/composeParagraphElement()
    at
    flashx.textLayout.compose::BaseCompose/composeBlockElement()
    at
    flashx.textLayout.compose::BaseCompose/composeBlockElement()
    at
    flashx.textLayout.compose::BaseCompose/composeBlockElement()
    at
    flashx.textLayout.compose::BaseCompose/composeBlockElement()
    at flashx.textLayout.compose::BaseCompose/composeInternal()
    at flashx.textLayout.compose::ComposeState/composeInternal()
    at flashx.textLayout.compose::BaseCompose/composeTextFlow()
    at flashx.textLayout.compose::ComposeState/composeTextFlow()
    at flashx.textLayout.compose::StandardFlowComposer/
    http://ns.adobe.com/textLayout/internal/2008::callTheComposer()
    at
    flashx.textLayout.compose::StandardFlowComposer/internalCompose()
    at flashx.textLayout.compose::StandardFlowComposer/compose()
    When I look at the container, prior to the call, it has a
    content length of 0, so maybe this is a proper error. Still, I am
    switching over from the previous TLF format API
    (Container/Paragraph/Character to TextLayoutFormat), and I get this
    error where I never did previously.
    From a code standpoint, I am essentially uising the
    recomputeContainers function from the Pagination Example that has
    been on your blog for a while, it loops to create 10 containers at
    a time, then compose call is made, and this process happens until
    the full content has been composed. This loop works a few times,
    but then around the 4th time (I have 30 pages and 40 controllers),
    I get the error on the call to compose.
    My migration was not very creative, I simply found everywhere
    that I was using the previous format APIs and changed them to the
    TextLayoutFormat. Additionally, I am doing a significant
    TextFilter.import call from markup of which I did not make any
    changes to for the migration (do i need to?) at all.
    Is there something in the migration step that I am missing,
    or is there a specific reason why Compose generates this exception
    now versus previous releases of Vellum/
    Thanks for you attention to this,
    Tim

    I have some markup that causes the error in the Pagination
    example when used as the import text instead of the Alice in
    Wonderland text.
    The behaviour is bizarre, because if you use the content
    markup (the div with id='D20070324' and its children) once or
    twice, it usually composes, however, if you put the content in the
    markup 3 or 4 times(as in the example below), it fails.
    The behavior seems related to the ending Div that is empty.
    If I change it to:
    <div
    id='commentsdiv8944'><p><span></span></p></div>
    Then everything renders.
    Is having some content in a Div a new requirement or is this
    a bug?
    Thanks,
    Tim

  • CVI Error : After more than 2000 times connect to database.

    Dear all:
    After connect to the database more than 2000 times ,CVI shows below error,( I also used the DBdiscoected to  free system resources ) 
    It seems out of memory, but when I checked the memory usage with resource track , memory leak is not found .
    and the physical memory of PC is enough .
    All of your advice is appreciated.
    Tks

    Hi -
    I just setup an ran a simple program which connected and disconnected from a databse 2500 times without error. My program was simply a loop around DBConnect and DBDisconnect, checking for errors after each call.
    Please tell us more about your system. What version of CVI are you using? Also, what is your OS? How many connections do you have open at a time?
    Also, from your screenshot, I see that it mentions "Native error code -2147024882". According to this KnowledgeBase article, native error code messages mean that an error occurred in the database itself, and the code is being passed back to CVI to be handled. From a quick google search on this error code, it appears to mean "Not Enough Storage is available to complete this operation".
    If you are able to condense your code into a version that we can run, which reproduces the error, you can post it and we'll take a look at it. Also, I would recommend looking more into the -2147024882 error in regard to the database that you are using.
    Best Regards,
    John M
    National Instruments
    Applications Engineer

  • Calling action listener for a BUTTON component in java bean page

    Hi,
    I have made it like this.
    public void handleButtonPressed(ActionEvent event){
    System.out.println("success!!!!!");
    //code for calling actionlistener
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    Application application = fctx.getApplication();
    ExpressionFactory exprFactory = application.getExpressionFactory();
    MethodExpression methodExpr = null;
    methodExpr = exprFactory.createMethodExpression(elctx, "#{exbean.handleButtonPressed}",null,new Class[] { ActionEvent.class });
    MethodExpressionActionListener actionListener = null;
    actionListener = new MethodExpressionActionListener(methodExpr);
    button.addActionListener(actionListener);
    Even after making the listener Function as Void wHen i click the button i m getting the error saying."ARGUMENTS MISMATCH,ADF_FACES60097"??
    can you help me out?
    and in the msg log i m getting this
    "SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.
    <MethodExpressionActionListener> <processAction> Received 'javax.el.PropertyNotFoundException' when invoking action listener '#{exbean.handleButtonPressed}' for component 'null'
    <MethodExpressionActionListener> <processAction> javax.el.PropertyNotFoundException: Target Unreachable, identifier 'custombean' resolved to null"
    I Have tried with this giving Void TYPE as an argument
    methodExpr = exprFactory.createMethodExpression(elctx, "#{exbean.handleButtonPressed},Void.TYPE,new Class[] { ActionEvent.class });
    I M getting the same error.
    Edited by: chaya on Dec 22, 2011 2:47 PM

    yeah but i m creating button itself dynamically by java code....
    //code
    UIComponent button;
    button = findComponentInRoot("cb1");
    RichPanelGroupLayout pgl;
    pgl = (RichPanelGroupLayout)button.getParent();
    List<UIComponent> children;
    children = pgl.getChildren();
    RichPanelGroupLayout pgll;
    pgll = new RichPanelGroupLayout();
    RichInputText it;
    it = new RichInputText();
    it.setLabel("New textbox " + (children.size()));
    RichCommandButton but = new RichCommandButton();
    but.setPartialSubmit(true);
    but.setText("Delete");
    /*calling actionevent*/
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    Application application = fctx.getApplication();
    ExpressionFactory exprFactory = application.getExpressionFactory();
    MethodExpression methodExpr = null;
    methodExpr = exprFactory.createMethodExpression( elctx,"#{inbean.actionPerformed}",null, new Class[] {ActionEvent.class});
    MethodExpressionActionListener actionListener = null;
    actionListener = new MethodExpressionActionListener(methodExpr);
    but.addActionListener(actionListener);
    /*end of call*/
    children.add(pgll);
    children.add(it);
    children.add(but);
    AdfFacesContext.getCurrentInstance().addPartialTarget(pgl);
    //code to call method
    public void actionPerformed(ActionEvent event) {
    System.out.println("entered sec bean");
    return " ";}
    this way i m trying to create a button programatically and tryin to add actionlistener which is not working.
    the actionlistener is throwing error.... with the line
    methodExpr = exprFactory.createMethodExpression( elctx,"#{inbean.actionPerformed}",null, new Class[] {ActionEvent.class});

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • Action Listener Method called multiple times

    I have a page (fragment .jsff), containing a simple input text and a button called "search". When I click on "Search" the action listener is triggered multiple times. (The results are displayed in a table inside a panel collection).
    The results are actually coming back ok.
    When I debug the code, I can see the action listener method called twice.
    Do you know why is that?
    What should I be taking care of?
    This is my code :
    *** Fragment ****
    <af:commandButton text="#{identityBundle.search_label}" id="cb1"
    actionListener="#{UserDetailsBean.searchUsersListener}"
    disabled="#{!bindings.searchUsers.enabled}"/>
    *** Managed bean ***
    public void searchUsersListener(ActionEvent actionEvent) {
    // Add event code here...
    DCBindingContainer bindings = (DCBindingContainer)getBindings();
    DCIteratorBinding iter = bindings.findIteratorBinding("userIterator");
    DCDataRow row = (DCDataRow)iter.getCurrentRow();
    User user = (User)row.getDataProvider();
    boolean isSearchCriteriaPresent = false;
    if(user != null){
    String fn = user.getFirstname();
    if(fn != null && !fn.trim().equals("")){
    isSearchCriteriaPresent = true;
    user.setLastname(fn);
    user.setNonMTUserLogin(fn);
    try {
    Map <Object, Object> userMap = PropertyUtils.describe(user);
    for(Map.Entry<Object, Object> entry: userMap.entrySet()){
    if(entry.getKey() != null && entry.getValue() != null && !entry.getKey().toString().equalsIgnoreCase("class")){
    isSearchCriteriaPresent = true;
    break;
    } catch (IllegalAccessException e) {
    e.printStackTrace();
    } catch (InvocationTargetException e) {
    e.printStackTrace();
    } catch (NoSuchMethodException e) {
    e.printStackTrace();
    if(!isSearchCriteriaPresent){
    user.setFirstname("*");
    OperationBinding opBinding = (OperationBinding)bindings.getOperationBinding("searchUsers");
    opBinding.getParamsMap().put("user", user);
    opBinding.execute();
    AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
    Map<String, Object> scopePageFlowScopeVar= adfFacesCtx.getPageFlowScope();
    scopePageFlowScopeVar.put("userSearchCriteria", user);
    ADFContext adfCtx = ADFContext.getCurrent();
    Map sessionScope = adfCtx.getSessionScope();
    sessionScope.put("userSearchCriteria", user);
    setUserSearchCriteria(user);
    if(selectedUserID != null){
    selectedUserID.setValue(null);
    RichTable table = getUserResultsTable();
    DCIteratorBinding searchUsersIterator = (DCIteratorBinding)bindings.get("searchUsersIterator");
    Row[] rows = searchUsersIterator.getAllRowsInRange();
    if(rows.length > 0){
    RowKeySetImpl rks = new RowKeySetImpl();
    ArrayList keyList = new ArrayList();
    keyList.add(rows[0].getKey());
    rks.add(keyList);
    table.setSelectedRowKeys(rks);
    table.setDisplayRowKey(keyList);
    refreshState(table);
    if(!isSearchCriteriaPresent){
    user.setFirstname(null);
    else{
    deleteUserButton.setDisabled(true);
    resetPasswordButton.setDisabled(true);
    enableUserButton.setDisabled(true);
    disableUserButton.setDisabled(true);
    Thanks in advance for your help

    Hi,
    Can you try this?
    1. set partialSubmit=true for the "search" button
    2. set "search" button id as partialTrigger in your result table
    -Prasad

  • Calling Action listener in Custom component

    Hello,
    I am currently developing my own component containing an hyper-link and I am stuck with the Renderer. What should I put in the href of my "a" tag (<a href="???">) in order to call an Action listener ? I would like my renderer to do something similar to <h:commandLink actionListener="#{myBean.myActionListener}".
    Could you help me?
    Gerald.</a>

    Hello,
    Did you achieve this??? I'm also planing to put very similar to your thought. If you have a solution on your requirement, pls mail me to [email protected]
    Thanks in Advance.
    regards,
    Ram

  • Second call of an SQL query throws a syntax error?

    Private Sub RefreshDataSet()
    Dim strSQL As String = DataAdapter1.SelectCommand.CommandText
    Try
    DataSet1.Clear()
    DataAdapter1.SelectCommand.CommandText() = Trim(strSQL & " WHERE BadgeID = " & strEmployeeBadge)
    DataAdapter1.Fill(DataSet1)
    Catch ex As Exception
    MsgBox(ex.Message)
    End Try
    End Sub
    When I call the above procedure, the sub does work correctly and I get the expected results / records in the dataset.  But, when I call the Sub again (to refresh the dataset) it gives me an "incorrect syntax" error.
    I'm not sure why it is doing this.  Any suggestions or ideas?

    Youjun,
    It's very frustrating when you keep asking if the code is the same, or if I have tested the code.  I've said that I debugged.. I've said I have tested the code.  Your continuing to ask me this is pointless, rude, and only serves to make YOU look
    stupid.  I'm sorry if that is rude, but please stop asking me!
    To respond:
    I supposed that the original DataAdapter1.SelectCommand.CommandText is "select * from table1"
    -Yes, the base command is similar to this, except that I call each database field, not using the *.
    1) When you run it the first time, the DataAdapter1.SelectCommand.CommandText will be "select * from table1 WHERE BadgeID ='123'".
    -Yes, I append 'WHERE BadgeID = XXX' to the query, the first and
    each subsequent time.  Again, I said that the code/call/syntax DOES NOT CHANGE.  It is the
    same every time.
    2) Then you changed the strEmployeeBadge, I supposed that is '234'
    -NO!  I do NOT change the code!!  I'm sorry, but what part of 'the query is
    exactly the same' is unclear?
    3) when you run it next time, the DataAdapter1.SelectCommand.CommandText will change to "select * from table1 WHERE BadgeID ='123'
    WHERE BadgeID = '234'"
    -NO!  I have specifically tested for this
    and as stated, the SQL syntax does not change!
    So it 'syntax' fail will pop out when second call.
    -NO, your assumptions are INCORRECT.
    I suggest you recording the commandText when first change the DataAdapter1.
    I write a testing program for you.
    -Your 'testing program' is for all purposes, the same exact code as what I used.  There is no difference.  
    Now, as also stated before, I have several other instances
    where I use the same 'technique' to amend the base SQL queries of the DataAdapter.  Each of these other instances work fine, and I use them to 'refresh' my DataSet information several times throughout the running of my program.  Just for some
    reason, this time, it does not work.  I don't know why and was hoping someone else had found the same/similar issue and also found a resolution.  The DataAdapter is configured the same as the others, the code is the same as well.  I will just
    have to find a work around, or other way to do what I want I guess.
    Lastly, yes, I set strSQL in the subroutine because I want that variable to be gone at the end of the procedure.  It recalls, then sets the syntax, every time the Sub is called on purpose.  I do not want strSQL to be 'global', which by the way,
    according to Microsoft documentation I have read, is no longer possible.  Global variables are 'technically' not used/recognized anymore.  If this has changed, then I stand corrected.
    Thank you for responding, I will just find another solution I guess.

  • DeploymentService:290066 error when deploying EAR after a call to a SOAP WS

    Hi all,
    I'm totally disappointing with this behavior on my 10.3.4 weblogic server.
    I have develop a EAR connecting a SOAP WS. Targeted server is a MS one.
    I have used WSImport to generate proxy classes.
    My service goes well, no issue to call and retrieve returns from WS.
    The issue is that, I'm no more able to do any administration command on my managed1 from the admin console or from ant task after a call is done to the WS. I can do with success call to WS from my application without any time limitation.
    when i try to deploy a new release or another application (ear) on managed1 via ANT deploy task  i got the following error in managed1.out
    java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,422,270,380,717". Underlying error is: "null"
            at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)
            at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:153)
            at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:39)
            at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
            at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
            at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:682)
            at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepareDataUpdate(AbstractOperation.java:898)
            at weblogic.deploy.internal.targetserver.operations.AbstractOperation.stageFilesFromAdminServer(AbstractOperation.java:264)
            at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1409)
            at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:162)
            at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:155)
            at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:147)
            at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:28)
            at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:203)
            at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:112)
            at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)
            at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)
            at weblogic.deploy.service.internal.transport.CommonMessageReceiver$1.run(CommonMessageReceiver.java:457)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    When I try to change logging settings from the console I never get any response from server.
    any help will be helpful.
    Regards,
    Stephane

    Hi Stephane,
    The following error "Error occurred while downloading files from admin server for deployment request" occurs when a  service on the machine is preventing the WebLogic Server remote instance from downloading the configuration file.
    This can be Hosts Intrusion Prevention (HIPS) agents or any other agent causing this issue.
    Disabling the agent interfering with the download process should fix this issue.
    Please check and let us know if it helps you!!!
    Vijaya
    =========

  • QT-0544-bfe29850-13ebc4-00 error after exporting

    Has anyone received this error after exporting from other files? I get this and can't show MOV files after I export from AVI to MOV. It show me that it can't find this file on my hard drive. I've removed all and re-installed everything again. Removed the application data apple computer and local application apple computer information and then reinstalled. I still get the error. HELP. Thanks.

    Hello,
    May this dump error is due to the SUM OVERFLOW error
    you can do this way..
    PARAMETERS fact TYPE i.
    DATA: fact_save TYPE i,
          res(16)  TYPE p.
    ARITHMETIC_ERRORS contains COMPUTE_BCD_OVERFLOW ***
    CATCH SYSTEM-EXCEPTIONS ARITHMETIC_ERRORS = 5.
      res = fact_save = fact.
      SUBTRACT 1 FROM fact.
      DO fact TIMES.
        MULTIPLY res BY fact. "<- COMPUTE_BCD_OVERFLOW
        SUBTRACT 1 FROM fact.
      ENDDO.
    ENDCATCH.
    IF sy-subrc = 5.
      WRITE: / 'Overflow! Factorial of', fact_save,
                                   'cannot be calculated.'.
    ELSE.
      WRITE: / 'Factorial of', fact_save, 'gives', res.
    ENDIF.
    the same way you can handle your case.
    Regards
    Vasanth

  • After I make a trailer or movie on my Iphone 4S and try to save it to the camera roll, I get a message that "an error occurred during export".  The message appears after the piece has seeminly finished exporting.  What am I doing wrong???

    After I make a trailer or movie on my Iphone 4S using IMovie and try to save it to the camera roll, I get the message "An error occurred during export."  The message appears after the piece has seemingly finished exporting.  What am I doing wrong????

    I appreciate you taking the time to copy and paste boilerplate responses to increase your points in this forum, but I've already read all those support articles in depth; but you have barely read my post at all. Please don't guess a fix. Only someone with the latest versions of iMovie, iOS, iPhone, Yosemite, and MacBook Pro is qualified to troubleshoot this, because anyone would immediately see that the following option no longer exists:
    Open iMovie on your Mac, and choose File > Import > iMovie for iOS Project.
    Read my post before you reply: It clearly says in the title and within my post that I can neither export nor import through iTunes without receiving an error message. So your response neither solved my question nor helped me whatsoever.

Maybe you are looking for

  • Different versions of Adobe Creative Suite Compatibility (CS5 and CS5.5)

    Our marketing team has two different versions of Adobe Creative Suite (CS5 and CS5.5).  We can save the CS5.5 down to an IDML document so users with CS5 can open/manipulate the file but it reduces the file size significantly.  What I do not know is i

  • Why am I double charged for downloading premier elements 12?

    I downloaded from ADOBE last Thursday the version 12 of adobe premier elements and I am finding out this week that my card was charged twice for the same version of software....................Please help? this is not the ADOBE I know......is there s

  • DROP a database created with SQL

    Hi, I am a newbe in Oracle administration. Usually I use Oracle as simple developper. I want to drop a database on a Oracle 10g database. I tried to connect to Oracle like this sqlplus /nolog connect sys as sysdba shutdown abort; startup mount exclus

  • Javascript on jeditpane

    I have problem with url on JEditPane. I load page like this: www.setPage("http://www.????.com"); www is JEditorPane and i have wwwHyperlinkUpdate:     private void wwwHyperlinkUpdate(javax.swing.event.HyperlinkEvent evt) {          if (evt.getEventTy

  • Trying to sign up, via a cashback site - costs dif...

    topcashback offering a good deal, on top of BT's current 'winterdeal' (£16 a month, 1st 3months free- line rental at £10..?) though I have been told I can get b/b on my basic BT tariff..  it does not give me the option / price for this? http://www.to