Lose Context SelectedItems on calling Create_popup_to_confirm

Hi,
I hope someone can give me an advice,
I have a multiselectable table and an delete selected rows option,
I want to confirm the delete action, I have subscribed an event ok_delete that is triggered after the user select ok in the popup window,
The problem is that when the popup is displayed, the selected items i have get unselected.
I could save selected items in a different context node before calling the popup window and read it from onactionok_delete, but i think this is not the better way.
Can anyone tell me why the selected items get unselected after calling the popup to confirm window.
Waiting for comments,
Greetings.

You can keep the table/structures by declare them as global attributes. For this refre to the below steps:
1) Go to Comp controller and create a Global Node (Which you want to access globally), add attributes in this Node.
2) click on Attribute tab.
3) Declare the Table/structure here and give the attribute type as ELEMENT_<Context Node Name> for structure and ELEMENTS_<Context Node Name> for Table.
4) Make sure to check the Public check box.
Now you can access this attribute anywhere in ur Component as below.
I) in Comp Controll - WD_THIS-><Attribute Name>
II) In View - WD_COMP_CONTROLLER-><Attribute Name>
Hope it helps you.

Similar Messages

  • EJBException::No valid security context for the caller identity

    Hi,
    I was working with EJB and i had a basic doubt in security propogation from the web tier to EJB tier.
    I deployed an EJB on JBOSS app server and in that bean i was trying to get the caller principal object from the EJBContext and i was printing the name of the principal.
    System.out.println(ctx.getCallerPrincipal().getName());
    then i created ordinary EJB client which is a java class and when i invoked the business method i was getting the below error
    Exception in thread "main" javax.ejb.EJBException: java.lang.IllegalStateException: No valid security context for the caller identity
    at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
    This error sounds meaningful but how will i set the security context from the java class. If it can be done then is this the same way that the security principal propogates from web tier to EJB tier.
    Thanks,
    Suresh B

    Hi,
    I was working with EJB and i had a basic doubt in security propogation from the web tier to EJB tier.
    I deployed an EJB on JBOSS app server and in that bean i was trying to get the caller principal object from the EJBContext and i was printing the name of the principal.
    System.out.println(ctx.getCallerPrincipal().getName());
    then i created ordinary EJB client which is a java class and when i invoked the business method i was getting the below error
    Exception in thread "main" javax.ejb.EJBException: java.lang.IllegalStateException: No valid security context for the caller identity
    at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
    This error sounds meaningful but how will i set the security context from the java class. If it can be done then is this the same way that the security principal propogates from web tier to EJB tier.
    Thanks,
    Suresh B

  • Z10 loses signal during a call

    I have a issue with loss of signal during a call on my z10.
    When the automatic mail checking enabled and during a call mail is checked, I hear snatches of words and communication break, look at the screen see the message "network is busy" and zero signal icon. But after a few seconds the signal becomes full again.
    Sometimes I have to call back 3-4 times to finish the conversation.
    I have tried different OS versions, but nothing helps.
    I had to turn off push notification in gmail account and switch to manual mail check for this to happen as infrequently as possible. But still it happens sometimes.
    Many users from Russia have same problem.
    My current OS: 10.2.1.3247
    STL100-2
    Operator "MTS" Russia
    P.S. Sorry for my English

    Hey TalG,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    I would suggest removing the battery and placing it back in.  If the issue still persists, then I suggest contacting your network service provider and try a new SIM card.
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • I sometimes lose my signal when calling/texting someone. Is the case program from Apple still active or do I have to spend $30 on one?

    So I sometimes get the "No signal" text when texting or receiving a call or calling someone. I knew that Apple gave free cases before, but don't anymore. Will they make an exception for me? I really don't feel like spending $30 on a case when I spent $700 on an iPhone. Oh, and I live in Sweden, by the way. If that'll change anything.
    What to do? :S

    Did you manage to get it working mine disappeared after I while I managed to download it but now my laptop/iTunes won't recognise my iPhone!

  • Caller Id not working after update

    My caller id pictures are not working after the update.

    Still having the same problem.  It appears to be a problem with City ID.  Local Verizon office told me it could be uninstalled.  I can't seem to find out how to uninstall an application that has the uninstall button "greyed out".  After forcing stop the application, it turns itself back on after every call.  When that happens I lose the city the call is coming from, but I still get the number showing.  Other times I don't receive anything.  I NEVER know who's calling me and it's getting annoying. Hell, with AT&T, I knew who was calling me....just couldn't stay connected.  Now if I miss a call..I don't have any clue as to  who to call back.
    Get this City ID crap app off my phone....that's all I want...it's not too much to ask....please...!

  • How can I get the context-parm from a web.xml file using struts?

    Hello:
    I need get the context-param from the web.xml file of my web project using struts. I want configurate the jdbc datasource connection pooling here. For example:
    <context-param>
    <param-name>datasource</param-name>
    <param-value>jdbc/formacion</param-value>
    <description>Jdbc datasource</description>
    </context-param>
    and then from any Action class get this parameter.
    Similar using a simple server can be:
    /** Initiates new XServlet */
    public void init(ServletConfig config) throws ServletException {
              for (Enumeration e = config.getInitParameterNames(); e.hasMoreElements();) {
                   System.out.println(e.nextElement());
              super.init(config);
              String str = config.getInitParameter("datasource");
              System.out.println(str);
         public void doPost(HttpServletRequest req, HttpServletResponse res)
              throws ServletException, IOException {
              // res.setContentType( );
              System.out.println("Got post request in XServlet");
              PrintWriter out = res.getWriter();
              out.println("nada");
              out.flush();
              out.close();
    but only this works for init-params, if I use
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <display-name>MyServlet</display-name>
         <servlet-class>myExamples.servlet.MyServlet</servlet-class>
         <init-param>
         <param-name>datasource</param-name>
         <param-value>jdbc/formacion</param-value>
    </init-param>
    </servlet>
    inside my web.xml. I need something similar, but using struts inside the action class for that I can get the context-params and call my database.
    Thank you

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • Big overhead calling stored procedure vs query in oci program

    My previous question hasn;t got a reply. I guess I did not state it well so I rephrased it a little and repost here. Hopefully somebody can help me with this problem.
    I'm a newbie on OCI. I hope to use OCI for array DML to improve performance. It takes only 1 seconds to insert 20,000 records using the simple insert query, which is almost a miracle to me.
    Then I tested using a stored procedure. This SP does exactly the same thing as the query: Inserting into the table with the 10 parameter provided.
    However, it takes 23 seconds for 20,000 records.
    Is calling a stored procedure fundamentally slower than a query in Oci, or I just did it wrong?
    Following is the codes:
    sword Tform_1::update_all_rows(OCIEnv envhp, OCISvcCtx svchp, OCIError errhp, OCIStmt update_p, OCIStmt *select_p)
    int *intArry = new int[20000];
    for (int i = 0; i < 20000; i++)
    intArry = 50000 + i;
    // text mySql = (text ) "Insert into testPro (a, b, c, d, e, f, g, h, i, j) VALUES (:a, :b, :c, :d, :e, :f, :g, :h, :i, :j)";
    text mySql = (text ) "BEGIN\
    CDSDEVELOPER_UTILPKG.INSERTTESTPRO(:a, :b, :c, :d, :e, :f, :g, :h, :i, :j);\END;";
    ub4 prefetch = 10;
    sword errr;
    ub4 c1;
    text c2[30];
    OCIBind *bndhp;
    OCIDefine *defnp1,
    *defnp2;
    for (int i = 0; i < MAXROWS; i++)
    if (OCIDescriptorAlloc((dvoid *) envhp, (dvoid **) &(intArry),
    (ub4) OCI_DTYPE_ROWID, (size_t) 0, (dvoid **) 0))
    ShowMessage("FAILED: OCIDescriptorAlloc()\n");
    return (OCI_ERROR);
    if (OCIStmtPrepare (update_p, errhp,
    mySql, strlen(mySql), OCI_NTV_SYNTAX, OCI_DEFAULT))
    ShowMessage ("Prepare failed \n");
    return (OCI_ERROR);
    for (int k = 1; k <= 10; k++)
    if (OCIBindByPos ( update_p,
    &bndhp,
    errhp,
    k,
    intArry,
    sizeof(int),
    SQLT_INT,
    (ub2 *) 0,
    (ub2 *) 0,
    (ub4) 0,
    (ub4) 0,
    (ub4 *) 0,
    (ub4) OCI_DEFAULT))
    ShowMessage ("Bind failed \n");
    return (OCI_ERROR);
    if (errr = OCIStmtExecute(svchp,
    update_p,
    errhp,
    (ub4) MAXROWS,
    (ub4) 0,
    (OCISnapshot *) NULL,
    (OCISnapshot *) NULL,
    (ub4) OCI_DEFAULT))
    report_error(errhp);
    ShowMessage ("Update failed \n");
    return (OCI_ERROR);
    delete[] intArry;
    Can anybody tell me what is wrong? Thanks very much.
    Changsong

    Karl: Thanks a lot for your reply. I think you are right about context switch when calling a stored procedure.
    I found even wrapping a 'begin' and 'end' around the query text in the call slows down a great deal (from 1 second to 5 seconds for 20000 inserts).
    so a lot of the array binding benefits come from bulk-insert feature in oci, which is not allowed when calling a stored procedure. I've compared the performace using oci array binding to call a sp vs. traditional borland C++ builder BDE stored procedure component, and it is 23seconds vs 45 seconds. Still a lot of gain here, but compared with the bulk insert feature, I'm quite disappointed. My problem is most of the database transaction is done within some stored procedures and thus cann't take much advantage of bulk insert.
    Changsong

  • CTI OS can't transfer call

    Hi i am facing an issue with ctios agent desktop. If agent try to blind transfer or consultative transfer or make a conference call system displays some resources error like "Resources are not available" while if we try to make all these scenarios through IP Phone it works perfect.
    ICM version : 8.0.1
    CTIOS ver: 8.0.1
    CUCM ver: 8.5.1.10000-26

    Hi folks,
    I am still facing this problem while transfering call from Agent to Script to Queue customer call with call variables. following are the logs i gathered first one is showing successful transfer while 2nd one appeared when the mention above error comes up.
    First One: Successful Transfer
    00:42:21:381 CTIOS1-ctios Trace: >>CG:[call.5000.33604262]:eCallBeginEvent(PrphID:5000 PrphTyp:17 NumCTIClnts:0 ConnCID:33604262 CallTyp:2 ConnDevIDTyp:1 NumNamVars:9 NumNamArrs:4 CalldPtyDisp:0 ANI:03439111032 DNIS:42158 Dialed#:81112 ConnDevID:03439111032 RCallKeyDay:150210 RCallKeyCID:410 MsgID:eCallBeginEvent DvrKey:call.5000.33604262 ecc:(...) ICMEntUniqID:icm.150210.410 RCallKeySeq#:5)
    Error: while transfering to Script
    01:10:57:387 CTIOS1-ctios Trace: [call.5000.33604410.42158]CCA::ProcessEvent(ENTRY) eCallBeginEvent(PrphID:5000 PrphTyp:17 ConnCID:33604410 CallTyp:2 SVC#:203 SVCID:5008 SGID:5014 SGPri:0 NumNamVars:9 NumNamArrs:4 ANI:0514577932 DNIS:42158 Dialed#:81112 CallrEntrDig:(null) RCallKeyDay:150210 RCallKeyCID:444 UniqObjID:call.5000.33604410 ecc:(...) RCallKeySeq#:5)
    I am using CUCM as RC for this transfer in order to send the call variables context with this call and it is working perfect but some time this issue comes up .
    ICM : 8.5.3
    CTIOS: 8.5.3
    CUCM: 8.5.x

  • Context Mapping and data binding

    Hi,
    Please explain about the context mapping and data dinding
    and also differences
    Thank's & Regard's.
    Sri

    Hi Sridevi Sudunaguntla ,
    context mapping-> means mapping between different contexts
    ie suppose if we are creating a node in the component controllet and if we want to use that node in view a and view b, then  we have to map this node from component controller to the required view.. this mapping of context nodes is called context mapping..for context mapping, create nodes in compcontroller.. tehn go to view-> context-> tehn drag and drop required node from component controller to the view ..
    data binding-> means binding the data from nopde to the ui elements or viceversa... after the nodes are created in indudual views or after context mapping.. we have to bind these nodes to the ui elements... suppose we have an input field and we want to read that,, so we have to bind the input field to an attribute in the node.. this binding is called.. data binding.
    Regards
    Sarath

  • Dynamic Context Mapping in Web Dynpro ABAP

    Hi Experts,
    How can I create two dynamic Context nodes, one in ViewController and the other in Component Controller and finally create a context mapping between them?
    Regards,
    Johan Kriek.

    Hi Johan,
    I found a method IF_WD_CONTEXT_NODE_INFO~ADD_NEW_MAPPED_CHILD_NODE that seems to be the one that I am looking for.
    I do have same idea but i have been trying to give solution by using above method,unfortunately here my server is down.check the below code. i didnt check this code due to server down.
    DATA: lo_nd_purchase_header TYPE REF TO if_wd_context_node,
          lo_el_purchase_header TYPE REF TO if_wd_context_element,
    ls_purchase_header TYPE wd_this->element_purchase_header,
          lo_node_info type ref to if_wd_context_node_info,
          lo_child_node_info type ref to if_wd_context_node_info,
          MAPPING_INFO type WDR_CONTEXT_MAPPING_INFO.
    * navigate from <CONTEXT> to <PURCHASE_HEADER> via lead selection
      lo_nd_purchase_header = wd_context->get_child_node( name = wd_this->wdctx_purchase_header ).
                  CALL METHOD LO_ND_PURCHSE_HEADER->GET_NODE_INFO
                    RECEIVING
                      NODE_INFO = lo_node_info.
           MAPPING_INFO-controller = 'ZWDC_ALV'. "conponent name
           MAPPING_INFO-path = 'PURCHASE_HEADER'. "Controller context node name
          CALL METHOD LO_NODE_INFO->ADD_NEW_MAPPED_CHILD_NODE
            EXPORTING
              CHILD_NAME      = 'PURCHASE_HEADER'
              MAPPING_INFO    =  MAPPING_INFO
    *          IS_STATIC       = ABAP_TRUE
            RECEIVING
              CHILD_NODE_INFO = lo_child_node_info

  • Problem using multiple contexts in same thread

    Hello,
    I am having problem using multiple contexts in the same thread. Here is the scenario:
    front-end is calling a ejb1 with a user1 and password. Ejb1 is then calling ejb2
    using user2 and password. I am getting security exception when calling ejb2 with
    the message user1 is not authorized. Looking at the documentation, context 2 should
    be pushed on stack on top of context 1 and context 2 should then be used until
    context.close() is called. It looks like this is not the case in this scenario?
    Regards,
    Jeba Bhaskaran

    I have the GTX670. So pretty much the same.
    When I go to  Edit>Preferences>Playback I see:
    When I select the monitor I am not currently using for Premiere Pro, the Program Monitor shows up full size at 1920X1080 in that monitor.
    While that may not help you, at least you know a similar card can do the job and you know that it should work.. What happens if you drop down to two monitors? Will it work then?
    Also, have you performed the hack that allows Premiere Pro to use the card since that card is not in the file? I have no idea if that is relevant at all, by the way. It is just an attempt at getting our systems to work the same way.

  • Cleaning up after a call to OCIAttrGet

    In the code below, I call OCIAttrGet to get a session handle from the Service
    Context handle svchp. After I am done with the session handle in sh_ptr, I think
    I should do something to clean it up as it looks like something gets allocated.
    That being said, I don't think I should call OCIHandleFree on it as it ultimately
    points to a handle that is the responsibility of the service context.
    Should I do something else to clean this up?
    Here is the code:
    // Set an application context via OCI calls.
    // Extract the session handle into sh_ptr.
    OCISession *sh_ptr = 0;
    ub4 sh_size;
    sword OCIAttrGetStatus = OCIAttrGet ( svchp,
    OCI_HTYPE_SVCCTX,
    &sh_ptr,
    &sh_size,
    OCI_ATTR_SESSION,
    errhp );
    // Should I free sh_ptr with OCIHandleFree?? Boil on this. While ultimately,
    // sh_ptr points to a session handle that exists and is owned by something else,
    // something is allocated to hold that pointer.
    // Using the session handle, set the responsibility variable to the value
    // manager.
    sword err = OCIAppCtxSet((void *) sh_ptr,(void *)"CLIENTCONTEXT",(ub4) 13,
    (void *)"responsibility", 14,
    (void *)"manager", 7, errhp, OCI_DEFAULT);
    Thanks for any advice . . .
    Karl

    Hi Karl,
    You need not bother about freeing the session handle(sh_ptr) which resides inside the service context handle. Infact one should not do it since the user handle is used internally. When you do OCISessionEnd (in case of non pooled session) the service context handle will be freed up which will also result in freeing up of all the dependent handles (user handle being one of them). In case of pooled sessions the service context handle will be freed up when the session pool is destroyed.
    Thanks,
    Sumit

  • Map ID call in RH11

    I have been using RH7 and Map IDs.  I have upgraded to RH11, but I cannot figure out how to get my Map IDs to work.  In RH7 it was a simple URL call, .../roboapi.asp?Context=Map ID  What would the call be in RH11?

    Unfortunately, your post shows a generic string and I can't really grasp what you are asking. The error could be anything.
    Perhaps it will help if I give some examples.
    Here are some common CSH calls to show examples of the syntax:
    Context Sensitive Help call with RoboHelp Server 9 (WebHelp Pro)
    Here is the syntax of forming the help topic call to a Map ID number.
    http://<servername>:<portnumber>/<contextname>/server?area=<areaname>&prj=<robohelpprojectname>&c txid=<Map ID>&wnd=<windowname>
    Anything in angle brackets means you would substitute your actual project information.
    Some assumptions in this scenario:
    You are using the defaut "context" name, robohelp.
    The <windowname> property is optional and created by the Author in the client app under Project Setup pod (Window). If not defined, the topic will appear in a default window.
    So this is what a "real" string might look like:
    http://localhost:8080/robohelp/server?area=general&prj=HumanResources&ctxid=1&wnd=CSHWindow
    Finally, be sure you have all RoboHelp 11 client and RoboHelp Server 9 "updates" installed:
    Adobe - Support : RoboHelp Support Center : Service Releases
    RoboHelp Server Update 9.0.1 is here ! « TechComm Central by Adobe
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • How to set the default context value for flexfield in OAFramework pages

    Hi,
    I have a page which contains a contexxt value field i.e Flexfields
    To select the context value we have to select the value from drop down
    So Here we want to display the context value immediately when the page is called
    How to set the default valu in this case
    Regards,
    Krishna

    You can set the Attribute category view attribute to the Flexfield context value and call prepareforRendering in the flex bean. Check the dev guide for details.
    Regards
    Sumit

  • Calling webservice in webdynpro component

    Hi All
         I am working on a scenrio where I need to call a webservice outside SAP system into my webdynpro abap component.Kindly let me know how to achieve this.
    Regards
    Sudheendra

    In Web Dynpro ABAP there is nothing special about calling a web service.  Unlike WD Java, there are not dedicated model object types in WD ABAP.  WD ABAP simply has the ability to interact with other ABAP development object types.  You can call function modules, ABAP classes, even modules in old dynpro apps. 
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class.  This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object.  You can then call the proxy class from WDA just like any other type of ABAP class.  There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class.  The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.

Maybe you are looking for

  • Latest Photo's not showing in pictures tab?

    My Z10 camera and photo's have been working fine but now when I take a picture it will no show in my pictures file? All my older photo's are showing as normal. Any ideas?

  • Material aging reports

    Dear All, Needs to knw the transaction codes for material aging standard reports. Thanks

  • Purchase Order three decimal places

    Dear Experts I want to change purchase order decimal places to three. Standard sap setting allow two decimal places. My client want to create some raw material purchase orders in three decimal places. Also vendor bill is received in three decimals. B

  • Rental movie not working

    i get to to the end of a movie, and it freezes, so i cannot see the end, Says it will not download error -50, stops working at 1:20 into the film,  Movie is tucker & dale vs evil

  • Oracle license - Partitioning option

    Can I buy Partitioning option only on top of Oracle Standard Edition 10g? According with [Oracle Technology Global Price List|http://www.oracle.com/corporate/pricing/technology-price-list.pdf], Partitioning option is 11,500/processor but I don't know