How to add model for Detail Page

Hi Friends,
                I'm trying to implement fiori with some mock.json data. i'm able get my orders in master page but unable to see the details in Detail View. If i give some static data to my controls they are visible else they are not appearing in view. I'm using some more screens in project before implementing my fiori. Please help me to solve this.
Thanks& Regards
Moulika

Hi Moulika,
If you raise an event, you properly want to use  source data in your event handler. A  easy way to do this is using the .data property of your UI control.
Event Raiser
var oContext
= new Object();
oContext.attribute = “value”;
var oLink= new sap.ui.commons.Link({text: “Inschrijven”})
.attachPress(oController.onPressCourseInfoLink)
.data
(“oContextSource
“, oContext
, false);
Event Handler
onPressCourseInfoLink:function(oEvent){
var oContext
= oEvent.oSource.data(“oContextSource
Now you can use the data you set in the UI control in the event handler

Similar Messages

  • How to add totals for each page in main window

    hi
      i have problem in scripts
      how to add total in first page ending and carry it to second page , at the end of second page again adding total and so on until last page.
    very urgent
    regards
    ratna

    Hi,
    Check these
    http://help.sap.com/saphelp_40b/helpdata/en/d1/8035c3454211d189710000e8322d00/content.htm
    http://membres.lycos.fr/jolyeric/SAP/Note_de_Cours_Ben/Sapscript/SAPscript_Control_Commands.doc
    try to use the command 'summing' along with one text symbol .Keep the if condtion when page changes at that time u dispay the total as ur keeping the total in text symbol it can be dispayed in the next page
    or this is round about way
    loop at <table>.
    call write_form.
    endloop.
    here u declare a variable 'c' and increment it by 1 in each loop. Then u chgeck if the program has started printing second page then u can print the number of records before printing the next page.
    eg :
    data : c type c value '0'.
    loop at <table>.
    c = c + 1.
    call write_form.
    endloop.
    in form:
    check when the next page is being printed, then u can print the number
    of lines 'c'.
    Feel free to revert back.
    --Ragu

  • Does anywone now how to add cambria police to pages?

    does anywone now how to add cambria police to pages?

    Cambria is a 'serif font that came with Windows Vista and Microsoft Office 2007, specifically designed for screen reading and to keep the good integrity of small characters when printing.' ('Police de caractères' is French for 'font'.)
    Quit Pages. Double-click the font to examine it and have the option to add it to Font Book. If it's compatible with Macs it will be added to the font list and be available in Pages.

  • How to add a watermark in Pages 5.0

    Hello!
    Could anyone please explain to me how to add a watermark in Pages 5.0
    Thank you

    Hi have found the solution. You need go into the View menu and make sure that you have checked the Show Invisibles option. Once you can see the invisibles, you should see a blue line at the top of the "blank" page with a small "document" icon at the right of the line. You need to delete this blue line/icon which will delete the whole page as long as there are no other "invisible items" which may also need to be deleted.
    I did the above and my blank page disappeared from the thumbnails view immediately.

  • How to add services for object in ECC6.0

    Hi everybody,
                        Can anybody tell me how to add "Services for Object" icon in ECC 6.0 because this icon is there in 4.6C but not coming in ECC 6.0.
    Thanks in Advance

    Hi Saurabh,
                Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C)  b'coz its very urgent.

  • Does any know how to add web clips to Pages on iPad?

    Does anyone know how to add web clips to Pages in iPad?  Thanks in advance.

    i have no idea how they were lost - i think i must have updated the ipad and then i found the documents to be lost ? i restored the last back up which should have had the documents but to no avail??

  • How to add fragment in jsf page using include tag in jdeveloper

    Hi all
    Can you tell me wat is syntax of using include tag .or how to add fragment in jsf page ..
    Edited by: 947228 on Jul 18, 2012 5:01 AM

    Hi,
    Why do you want to do that?
    Check [url https://blogs.oracle.com/jheadstart/entry/avoid_use_of_jspinclude_where]this out before proceeding further.
    Btw, always mention your JDev version, clear usecase to get help.
    -Arun

  • How to add security for Azure Cloud Service?

    Hi,
    We have build some API's in azure cloud service.
    We want to add security for Azure Cloud Service.
    How to add security for Azure Cloud Service?

    Hi Santhosh,
    You may add security for your API's by using:
    Mutual certificate authentication
    Using OAuth 2.0
    Manage developer accounts
    Regards,
    Manu Rekhar

  • How to Add Text to logon page

    Hi Experts,
    Could you please guide me how to add a banner text to log in page to provide messages to users (ie future down time, etc)
    Thanks in advance,
    Ratan

    Hi
    You can do it from by editing localized resource
    Override the text and put a meaage or html marquee code for better look and feel
    Regards
    Sudipta

  • How to add security for webservice invoke

    Hi All,
    Please let me know how to invoke the webservice in BPEL process with security details.
    Thanks,
    Suresh

    Hi Santhosh,
    You may add security for your API's by using:
    Mutual certificate authentication
    Using OAuth 2.0
    Manage developer accounts
    Regards,
    Manu Rekhar

  • How to add friendly URLs to pages within the ALUI portal?

    I want to know how to add friendly URLs (human-readable URLs that users can bookmark or type into the browser address bar) to pages within the ALUI portal.
    The portal application is developed using plumtree portlets.
    regards,
    Veeshoo

    In 6.5
    Community links look like this:
    http://your_Server/portal/server.pt/community/lockdown_console/
    Documents look like this:
    http://your_Server/portal/server.pt/document/50541/your_document_name.doc
    If your goal is for users to "type into the browser address bar" then your best bet would be dns mapping.
    At that point you could have communities with urls like:
    http://your_Community.your_Server.com
    or
    http://your_Server/your_Community
    Which is significantly easier for users

  • How to add indents for quotations

    how do you add indents for a quotation

    Hi ealainuisce,
    Do you mean this?
    The quotation has left and right indents set by dragging the blue indent marks on the ruler towards the middle of the page.
    Regards,
    Ian.

  • How to add tracking pixels to pages built in Muse? The code is visible on my page!?!

    I added the tracking pixels by going to "Page Properties" then adding the code in the HTML for <head>: box. I even tried opening up the HTML pages and adding in there. The problem I'm running into is that the code is visible on my site, it should be invisible! Anyone been through this, know how to solve it? Thanks in advance.

    Hello Kerry,
    With regards to our discussion over chat I believe that the issue has been addressed. We found that it was just a syntax issue and you need to add syntax for your code to work.
    Regards,
    Rajan

  • How to add keywords for google search?

    I just published a web site but I don't know how to make my web site available to people who search on google using keywords. How do I add keywords to an iWeb website so people can find my site using google?

    You won't be able to do this directly in iWeb. You will have to edit the HTML files that iWeb publishes either to your iDisk or to a folder (if you are not using .Mac). Just open up the page.html files that represent each of your web pages. On your iDisk, these files should be in the /Web/Sites/iWeb/sitefolder folder.
    <head>
    <title>Your Page Title Goes Here</title>
    <META name="description" content="Your Page Summary Goes Here"><META name="keywords" content="Your Meta-Tag Keywords Go Here Separated By Commas">
    </head>
    This is the general format to add meta information to your pages. The meta tags go between the <head> and </head> tabs in your html code. Including this information will make your Google listing a little more descriptive without having to change the body content of your page (right now it is using the body content and giving you the names of the graphic files).
    The downside is that you will have to do this for every page if you decide to go this route. You will also have to do this everytime iWeb or you make changes to your web pages. You might want to learn how to use something like MassReplaceIt to help you automate the process. Good luck!

  • How to add support for new file type.

    Using the ESDK, I would like to add support for new file type ( a new extension). this new extension will function like any other non visual code editor but will have specific syntax highlighting, code folding and explorer.
    I am trying ot figure out if I need to create a new editor or use existing JDeveloper code editor and add support for new file type. Does anyone have a high level outline on how to do this using the ESDK that is specifically targeted at adding new file type support for a text based code editor?
    I have looked at the Samples and keep going in multipe directions. It would be cool if there was an example that was how add syntax higlighting for new file type.
    Thank you

    Brian, thank you. I looked at this extension and it answered a lot of questions for me. I was going in the right direction but needed a little help and bost of confidence, this is just what I needed. I created the LanguageSupport, LanguageModel, Addin, Node and TextDocument that are specific to the new file type. I was getting hung up on how to hook this into the JDevelpoer editor. I keep thinking I have to create a custom editor but it looks like I don't have to and it looks like I can associate this file support with the editor framwork, for version 10.1.3.2, with the following in the Addin Initilize() method.
    Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
    CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
    LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    I have done this but still not able to recognize the new file type.
    At this point, I just want to be able to recognize the new file and display it's associated icon or display a messare to the message log. I put a System.out.println("test") in the Initilize() method of my addin. then I registered MyAddin in the extension.xml. JDeveloper sees this new extension and it is loaded but I have not been able to show the test message or display the new icon when I open the new file type.
    extension.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <extension xmlns="http://jcp.org/jsr/198/extension-manifest"
               id="teisaacs.jdev.myext.MyAddin" version="1.0.0" esdk-version="1.0"
               rsbundle-class="teisaacs.jdev.myext.resources.MyResBundle">
        <name rskey="EXTENSION_NAME">My Code Editor</name>
        <owner rskey="EXTENSION_OWNER">Me</owner>
        <dependencies>
            <import version="10.1.3">oracle.jdeveloper</import>
        </dependencies>
        <hooks>
            <jdeveloper-hook>
                <addins>
                    <addin>teisaacs.jdev.myext.MyEditorAddin</addin>
                </addins>
            </jdeveloper-hook>
            <feature-hook>
                <description>My Code Editor</description>
                <optional>true</optional>
            </feature-hook>
            <document-hook>
                <documents>
                    <by-suffix document-class="teisaacs.jdev.myext.model.MySourceDocument">
                        <suffix>my</suffix>
                        <suffix>MY</suffix>
                    </by-suffix>
                </documents>
            </document-hook>
            <editor-hook>
                <editors>
                    <editor editor-class="teisaacs.jdev.myext.editor.MyEditor">
                        <name rskey="EXTENSION_NAME">My Editor</name>
                    </editor>
                    <mappings>
                        <mapping document-class='teisaacs.jdev.myext.model.MySourceDocument">         
                            <open-with editor-class="teisaacs.jdev.myrext.editor.MyEditor"
                                       preferred="true"/>
                            <open-with editor-class="javax.ide.editor.CodeEditor"/>
                        </mapping>
                    </mappings>
                </editors>
            </editor-hook>
        </hooks>
    </extension>
    public class MyAddin implements Addin {
        public static final String MY_EXTENSION = "my";
        public void initialize() {
            System.out.println("MyEditor Constructor");
            new MyLanguageModule();
            Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
            CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
            LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    }I have added and removed the editor hook along with many other modificaitons to the extension.xml but still not recognizing the new file extension.
    Todd

Maybe you are looking for

  • Can I keep the data from multiple users on a Time Capsule separate?

    I have a Time Capsule which I use as a wireless router, etc. Everything is working fine. I have another user I'd like to allow to back up data to the same Time Capsule (using Time Machine as well). However, I'd like to keep the backed up data separat

  • How do I export from Compressor 4 to iDVD with chapter markers?

    I get that Final Cut Pro X does not create chapter markers. I send it to Compressor 4 to do this. Ok, so far, so good. How do I export this so that I can then author the DVD to include a menu page, etc? Do I do this in iDVD?  If so, what format, as I

  • How do I create a certain amount of instances at runtime?

    If i want a certain amount of instances at runtime, how can i do it? say, if i write a program that read an input from a keyboard and create a certain amount of instances. or read an input from a keyboard to be an instance variable. Can i do it? How?

  • Problem in replication from R/3 for Relationship type BUR011 in BP

    Hi Experts, My issue is, when I create a customer in R/3 it should be replicated to CRM which it is doing.We just want only 3-4 responsible persons i.e for relationship type 'BUR011', so we need to replace the employee number which does not exist in

  • How to use SEM_RELATED & SEM_MATCH in a single query

    Hi, I am trying to combine RDF and RDBMS data using SEM_RELATED. Below sample is working fine but the requirement is i have to add few more conditions in SEM_MATCH Please suggest me how to combine sem_match and sem_related in a single query. Please p