How to access fragment in controller in ui5?

Hello Folks,
                  i am using fiori design guidelines, so that i have used xmlview .now i want to access xmlview reference in controller.I have tried via sap.ui.getCore().byId(),but it is not working.
Will you please guide on same to relsolve that?
2) how to access fragment inside in xmlview  from controller also?
Thanks,
Ripu

Hi Ripu,
I also use a custom Google search which can help find results in SCN when the SCN search comes back with too many results or poorly ordered for your needs.
https://www.google.com/cse/home?cx=013447253335410278659:k8ob9ipscwg
Cheers, Mike
SAP Customer Experience Group - CEG

Similar Messages

  • Memory Problem on 790fx-gd70 - how to access DDR Voltage in BIOS?

    I have been getting memory related problems on a 6 month old system. I could only boot from one stick of RAM (Corsair TW3X4G1333C9A) but even then system was not stable for gameplay or stability test though this stick did pass overnight memtest. I returned the board, cpu and memory for them to test. They diagnosed faulty RAM and replaced. Well it worked OK for 24 hours then I started getting BSOD "PFN_List_Corrupt" and "Memory_Management" crashes.
    I tested the new sticks and one fails memtest after a few seconds with 2378 errors and the other, although it passes memtest with 20 passes, crashes out straight away on Prime95 Blend Test (i.e. the one that stresses RAM).
    They suggested I enter DDR Voltage manually rather than relying on Auto but no matter what I seem to enable this option is greyed out. Does anyone know which settings need changing from defaults so I can get at the voltage section?
    I have tried swapping around the dimms but they are all the same regardless so not a slot problem. Now of course, I don't see it as a RAM problem either unless I am the unluckiest person to keep getting bad sticks. So now I think maybe something on the board or CPU is causing damage to the RAM or at least causing it to mis-report. Could a fault in the memory controller be doing this and if so how can I test for this?
    At my wit's end here. Hope someone has some ideas - either on how to access DDR Voltage in the BIOS or get to the cause of my problem.
    Many thanks.

    OK thanks for explaining a bit more  .  This power unit did get some very good reviews in the sub $100 from many sites and from these I thought it would suit my needs. I have arranged to try a friend's 650w next week.
    I think I am maybe not being clear.  I have had the system running OK for six months. I had had no need to test the ram and didn't bother with stability tests at that stage.  I am not a gamer and use my machine more for video and graphics work.  One thing I did notice from the start was the couple of games I do have on (Call of Duty and Fallout3) would give occasional freezes.  I put it down to my now rather old hot GPU which I would get around to replacing in due course.
    Now the real problems started recently when I got round to replacing the stock cooler with a Titan Fenrir.  Trouble with this is it overhangs Dimm1 but in moving around the memory sticks I seem to have opened a real can of worms.  I could only get it to boot from one of the sticks.  This stick passed memtest but would crash out of prime95 and games would freeze within a couple of minutes. 
    Now, the retailers here in the UK told me to send back board, cpu and RAM.  They tested all 3 but they only replaced the memory and as you can see from my first post the memory related problems have continued.  The memory by the way is in Corsair's list as "100% tested compatibility".  Is it possible that something about the CPU/Board that is damaging the RAM?  If a stick is failing memtest (it failed another test too called Windiag) is that definitive?  It is bad for sure or board/cpu misreporting?  Am I right in thinking memtest86 does cannot distinguish faulty RAM from faulty memory controller?  Is there a test I can do to check if the CPU alone is faulty?
    I don't know if this means anything to you guys but when I ran the prime95 (Blend) recently with both sticks in it failed straight away on 2 cores but went on running on the other 2. 
    One of my other frustrations is I don't know anyone else with am3 board or memory so swap things around.
    Any suggestions for pinning this down would be much appreciated.  Just don't assume my knowledge is as great as yours  .  But I do learn.  I never knew v x a=w for example. And I now know how to change DDR Voltage in the BIOS - I had been expecting a sub-menu where Auto was greyed out and in fact it was just sitting there waiting for me to press + and -.  Very embarassing that I spent hours trying to change this when the instructions on what to do were right there in the help column!

  • How to remove fragmentation in a table?

    How to find fragmentation in a table?
    How to remove fragmentation in a table?

    Hi,
    sa_index_density --gives the density of stored procedure.
    sa_table_fragmentation-- degree of fragmentation in stored procedure table.
    REORGANIZE THE TABLE -- DOES NOT DISTURB THE DATABASE ACCESS
    REBUILD DATABASE -- DEFRAGMENTS ALL TABLES, INCLUDING SYSTEM TABLESPACE.
    Regards,
    Nirmal([email protected])

  • How to call a custom controller method from view

    Hi,
    I ve created a simple web service and consumed it in a model. Mapped the input & output parameters to custom controller context which in turn mapped to component controller's context which in turn to view's contexts.
    How to call a custom controller method from view?
    Please explain the syntax.
    Regards,
    Manoj.

    Hi Patralekha,
    Give some idea for the below scenario:
    I ve created a simple web service and consumed it in a model. What I did was
    1) for the input parameters, mapped the node from view->custom controller->model
    2)for the output parameter, mapping from model->custom controller->view.
    It works fine.
    But I don't want to access model nodes directly, rather I want to set the input param in somewhere else (like custom controller) before calling the appropriate method, same for the response also.
    Share me your thoughts.
    Regards,
    Manoj.

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

  • Web Dynpro ABAP: How to access the content of a mime object?

    Hi everyone,
    does anybody know how to access the content of a mime object of a Web Dynpro component? I added a XML file as mime object to a web dynpro component. Now I want to read the content of this xml file within a method of the component controller. The code would look something like:
    DATA: xml_content type xstring.
    xml_content = read_mime_object("test_123.xml").
    Any ideas?
    Regards,
    Nils

    dude here's the modification that i've done but I can't still access the content of the properties...
               Mail mail = new Mail();
               String message2 = sqlException.getMessage();
               File file = new File("Add.properties");
               Properties props = new Properties();
               props.load(new FileInputStream(file));
               String[] emailadd = {props.getProperty("emailadd","defaultValue")};
               mail.postMail(emailadd,"An error has occurred, Auto-archive was unsuccessful.", message2,"[email protected]");
               Message was edited by:
    ryshi1264

  • How to access Spectrasonics plug-in?

    I'm brand new to Logic. I'm having trouble accessing a Spectrasonics Omnisphere plug-in that I installed. I checked the Library/Audio/Plug-ins/Components folder and I see a file 'omnisphere.component' yet when I'm in Logic I'm confused as to what to do. I click an insert box in a channel strip - select plug-in's - but there is only some apple effects to choose from.
    Message was edited by: pianoman1976

    I just bought Spectrasonics Omnisphere for my iMac. I am using the computer's default audio settings for now. I am using M-Audio KeyRig 49 for my MIDI keyboard controller. I am new to all this. I tried to use Garage Band (iLife 08) to access the plug in. I cannot. I installed Logic Express 7 to use as a "host sequencer". Since I am new to this, I queried Spectrasonics. They said i had to have a "host sequencer" to use Omnisphere. It cannot be used "on it's own." I cannot, or haven't found out how to access the Omnisphere plug in. Any help here would be appreciated as I am getting very frustrated.

  • How to call another view controller's method from a view controller?

    Hi,
    Iam new to webdynpro . so pls clarify my doubt.
    How to call another view controller's method from a view controller in the same Web Dynpro Component?
    Thanks,
    Krishna

    Hi,
         The methods in a view are only accessible inside same view. you cannot call it outside the view or
         in any other view although its in same component.
         If you want to have a method in both views, then create the method in component controller and
         from there you can access the method any where in whole component.

  • How to access the attributes from a method

    Hi,
    Thanks to all who replied to my previous thread. Please let me know how to access the attributes in method of component controller in the view.
    Let Component_method be my method in component controller which contrains few attributes like this
    method component_method.
    data : node1 type ref to if_wd_context_node,
            itab type standard type of mara.
    endmethod.
    I want to access the above attributes in method of view.
    method view1.
    wd_comp_controller->method_component( ).
    ????? how to access the data of the method_component?
    endmethod.
    Kindly help me out in the syntax.
    Rgrds
    Mahathi

    Hi mahathi
    You should define the parameters in the header, not in the body of the method:
    You can define it as importing, exporting, changing or returning, as you need. For example, in SE80
    Parameter             Cl.declar.          RefTo        Opt        Type ref
    node1                    importing            X                          if_wd_context_node
    itab                       exporting                                        mara
    method_component().
    " code here...
    endmethod.
    and when you have to call the method,
    wd_comp_controller->method_component(
                    EXPORTING     node1 = nodelocal   " not importing!!!
                    IMPORTING      itab   = itablocal      " not exporting!!!
    i think that it's this what you want, don't i?

  • How to access .asmx Web Service using JAVA? Newbie

    Hello Experts,
    Currently, I have a project where in I have to access a ,NET web service. It is made of C#. I just want to ask how will I start the accessing process? I made this simple equation on how my project is.
    Java Project + C#.Net Web Service = Integration
    1. Do i need to create a Web Service too for the Java Project? If yes, What are the necessary tools needed for the creation of this Java Web Service?
    2. The .NET Web Service is available online. (It is made by other people).
    3. Based on the equation, what is the equivalent technology for the + sign?
    4. Can you site a concrete example for accessing a web service?
    5. I'm new here. Totally I have no idea where to start.
    6. Thank you experts.
    Edited by: Benedict.Aluan on 05 30, 08 1:38 PM
    Edited by: Benedict.Aluan on 05 30, 08 1:39 PM

    Hello
    Thanks a lot for your help ...
    I am developing simple J2EE based web service client using IBM WSAD 5.1. I have used the following code to call .asmx web service in Java
    String url = "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl";
         String namespace = "http://tempuri.org/";
         name = request.getParameter("txtName");
         try
              System.out.println("In Internet Service");
              ServiceFactory factory = ServiceFactory.newInstance();
              Service serv = factory.createService(new URL(url),new QName(namespace,"TempConvert"));
              System.out.println("Got Service......");
              Call obj = (Call)serv.createCall();
              System.out.println("Got Call......");
              obj.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY,"");
              obj.setProperty(Call.OPERATION_STYLE_PROPERTY,"wrapped");
              obj.setTargetEndpointAddress(url);
              obj.setPortTypeName(new QName(namespace,"TempConvertSoap"));
              obj.setOperationName(new QName(namespace,"FahrenheitToCelsius"));
              obj.addParameter("param1",XMLType.XSD_STRING,String.class,ParameterMode.IN);
              obj.setReturnType(XMLType.XSD_STRING);
              System.out.println("Parameters Set.....");
              Object[] params = new Object[]{name};
              k = (String)obj.invoke(params);
              System.out.println("Result: "+k);
         catch(Exception e)
            System.out.println("Exception is : "+e);
        }But this code is throwing exception that
    Invalid Address "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl"I have also tried this URL with Java Proxy. But it showing the same error.
    Plz can u tell me how to access .asmx web service ?
    Waiting 4 reply.

  • How to access a  web service(.wsdl) from portal component.

    Hi ,
    Is there any document/tutorial available on how to access a webservice from portal component ?
    I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
    but the urls in the link are not working...
    i want  to know the steps to access webs service and sample code if some body has already done that..
    Thanks for the help.
    Lakshmi

    Hi Lakshmi,
    See the links below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
    Hope this helps.
    Regards,
    Pooja.

  • How To Access HTTPS Web Service  in Application Module

    I need to know how to access HTTPS web service in application module.
    If you can provide the tutorial or guidance to achieve this really appreciate.
    Thanks
    Sameera

    Use the Web Service Proxy wizard in JDeveloper to create a class that calls your Web service, and then call this class from code in your AM.
    http://docs.oracle.com/cd/E16340_01/web.1111/b31974/web_services.htm#CJAHGIEF

  • How to access a web service from a XLet

    Hello,
    I am new in software development to ITV and I dint find too many usefull information teaching how to access a web service from a XLet running in a STB. Are there anybody who can give me some help, maybe sample or tutorial?
    Gratefull
    David

    hi,
    you can "borrow" the source code from [Yambo a free soft open source presentation engine (AKA XML microbrowser Xlet )|http://www.cineca.tv/labs/mhplab/index-en.html] both local and on a http remote connection.
    hope it helps..
    bye
    andrea

  • How to access a value from "List of Values" by giving a name?

    I have a "List Of Values" defined in my BI Report. It comprises list of label-value pairs.
    I have defined a parameter :p_Value for the above "List Of Values" defnition. this parameter is used in datasource sql defnition to filter the query results. I configured a template which has a table that shows all the parameters used for filtering query results. If I give <?$p_Value?> in the template then the parameter value is rendered on it. But I want the "name" of the parameter and not the value. Can anybody tell me how to access name of the parameter which refers to one of value in "List of Value" defnition?

    option 1:
    Can you get the value from the DB in the report sql ?
    You have the code, inside the report query, if you can get the decoded value form that
    option2:
    create another paramater, LOV and query, and make it as hidden, and use the first :param_1_value in the lov query in the second param and decode the value.
    Now , you can refer the :PARAM_2_value in template which will have decoded value.

  • How to access my macbook pro from a windows pc?

    how to access my macbook pro from a windows pc?

    Depending on what you mean by "access" the following may help:
    File sharing: How to connect with File Sharing on your Mac - Apple Support
    One way (and there are others) for remote control and remote access between Mac and Windows: http://www.teamviewer.com/en/index.aspx

Maybe you are looking for

  • 23.0.1 causes errors in Yahoo Mail.

    [1] On reloading Yahoo Mail, a "compose message" window pops up with an old address. Canceling it only has it saved to Drafts. Erasing it from Drafts doesn't clear it. On reload, it pops up again. Does not appear in Chrome. [2] When multiple tabs are

  • The ovmcore-console libraries were not found on the system!!

    Hi all, I need help to open serial console from Oracle VM Manager GUI. I'm using the beta version 3.3 of Oracle VM Manager and the agent with Oracle VM Server 3.1 installed on a SPARC Enterprise T5240. I created a virtual machine with the manager, bu

  • Why cant I see any pictures when I start iPhoto?

    I just imported a new set of photos from my iPhone.  When I start iPhoto, I see a spinning disc saying "Loading Photos...", then I see my most recent imported set appear very briefly, then they disappear.  Then I just see an empty iPhoto window, with

  • Since the newest update, my Trend Micro DirectPass icon will not launch.

    In addition to the above, when I try to launch the DirectPass icon, the Firefox window decreases to the top half of my browser window. If I reinstall, I will lose all of my password information. There is no difficulty in launching this application in

  • How to register the Photoshop Photography Program

    Where do I find a serial number to register my Photoshop Photography Program?  I do not have a 'triangle' in the product services menu - so nothing is popping up.