Graph not loaded on navigating to another detail page

Folder Structure :
webcontent
index.html
    view
      -lineDetails.controller.js
      -lineDetails.view.js
      -lineStatus.controller.js
      -lineStatus.view.js
      -MainApp.view.js
      -MainApp.controller.js
      -MasterPage.controller.js
      -MasterPage.view.js
I've a splitapp consisting of a masterpage - MasterPage and two detail page - lineStatus & lineDetails.
there is a table in lineStatus page and a line graph in lineDetails page,
when one clicks on show graph in table user is navigated to lineDetails page.
The problem is that graph in lineDetails page is not visible, though <div> for graph is created.
If I load lineDetails page first(where the graph is), then everything works fine and graph is visible.
Code :
Adding a column to table.
var oColumn4 = new sap.ui.table.Column({
         label: new sap.ui.commons.Label({text: ""}),
         template: new sap.ui.commons.Link({text:"show graph",press:function(){
          splitapp.toDetail("lineDetails");
         width: "25%"
Adding a graph to the page and returning it.
createContent : function(oController) {
  oModelLineDetail = new sap.ui.model.json.JSONModel({
  businessData1 : [
  {Time :"1:00",Level:10},
  {Time :"2:00",Level:10.5},
  {Time :"3:00",Level:9.5},
  {Time :"4:00",Level:4},
  {Time :"5:00",Level:9.6},
  {Time :"6:00",Level:10.1}
  oDatasetLine = new sap.viz.ui5.data.FlattenedDataset({
    // a Bar Chart requires exactly one dimension (x-axis)
    dimensions : [
    axis : 1, // must be one for the x-axis, 2 for y-axis
    name : 'Time',
    value : "{Time}"
    // it can show multiple measures, each results in a new set of bars in a new color
    measures : [
       // measure 1
    name : 'Oil level', // 'name' is used as label in the Legend
    value : '{Level}' // 'value' defines the binding for the displayed value 
    // 'data' is used to bind the whole data collection that is to be displayed in the chart
    data : {
    path : "/businessData1"
  oLineChart = new sap.viz.ui5.Line({
    width : "80%",
    height : "300px",
    plotArea : {
    'colorPalette' : d3.scale.category20().range()
    xAxis : {
                isIndependentMode : false,
                title : new sap.viz.ui5.types.Axis_title({text: 'Time', visible: true})
    yAxis : {
                isIndependentMode : false,
                title : new sap.viz.ui5.types.Axis_title({visible: true})
  oTextView = new sap.ui.commons.TextView({
  text: "Line Speed",
  tooltip:"Line Speed",
  //width: "100%",
  design: sap.ui.commons.TextViewDesign.H1
  }).addStyleClass("lineDetHeader");
  oLineChart.setModel(oModelLineDetail);
  oLineChart.setDataset(oDatasetLine);
  var btn = new sap.ui.commons.Button({text:"button",press:function(){location.reload();}});
  lineDetPage = new sap.m.Page({
  title: "Line varaible details",
  showNavButton:true,
  navButtonPress : function(){splitapp.toDetail("lineStatus");},
  content: [oTextView,oLineChart,btn]
  return lineDetPage;

Hi,
Use the following code for navigation from one iview to another:
WDPortalNavigation.navigateAbsolute(
"ROLES:portal_content/com.cv.kaar.Test_Page2",
WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
"Name=" + wdContext.currentContextElement().getName());
You have other options too like, External Window etc. other than the SHOW_INPLACE.
The last line of the above coding is used for passing parameter to another iView.
Give the right path of the iview PCD path, omitting pcd:
Hope this helps.
Regards,
Srinivasan T
<b>Helpful answers=>points</b>

Similar Messages

  • Will not load sites linked from another website--have cleared cache, cookies, history, restarted, checked in Safe Mode--still does not work.

    Some sites load fine. But some sites will not load when linked from another web site, or, occasionally, even from my bookmarks. I went through troubleshooting routine--cleared cache and cookies, history, checked in Safe Mode for extensions, etc., but still will not work in Safe Mode. No other problems with computer or browser.

    What happens when you click the link that does not open up the new page? Is it a blank page? Does this also happen if you Shift Click the link?
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • 17.0 Browser update not loading my navigation on MANY sites I have developed

    leandesign.com navigation bar not loading. View in different browser to see the proper page. This is happening on MANY sites that have been designed for clients.
    A prompt response would be great!

    That looks like a victim of the user agent sniffing change that changed the Gecko part in the user agent to Gecko/17.0 instead of Gecko/20100101 that previous Firefox versions have.<br />
    This change should be reverted in a Firefox 17.0.1 release, so you will have to wait for that.<br />
    *https://wiki.mozilla.org/Firefox/Planning/2012-11-28#Current_Releases
    Quote: ''We're planning a FF17.0.1 and 17.0.1esr for these changes, to be released (unthrottled) on Friday''
    It works in the current Aurora build that already has this change (for some reason Nightly doesn't have it).
    Found a workaround in this bug report by creating a special override pref (there seem to be a lot of them)
    * Bug 814970 - FireFox 17 does not display DHTML menu in PhotoCamel.com
    * general.useragent.override.leandesign.com = Gecko/[^ ]*#Gecko/20100101
    * Bug 814138 - Javascript/DHMTL not appearing or working in Firefox 17

  • My background image not loading after 32765 px. My page total height is 129866px.

    I am developing a website . When i open my website in Firefox it does not load background properly. It stops at 33,565 px from top. when i load it more time it stops on same situation. Can you please asssit me where i am wrong or it is bug of Fifefox. Is there any salutation of this problem.
    Many Thanks
    Bhhpendra

    This is an old problem in Firefox on Windows that apparently is not solved yet. See:
    * [https://support.mozilla.org/en-US/questions/950826 Firefox suddenly stops showing background]
    * Likely related: [https://support.mozilla.org/en-US/questions/960717 "This image cannot be displayed because it contains errors"]
    I'm not aware of any excellent workarounds. In some cases, you can place a background-color behind the image that will be acceptable once the image stops rendering. In other cases, you may be willing to fix the image to a shorter container and scroll the text within that container.

  • Google Crome is not loading scripts from my check out page

    I recently developed a page for my client and it seems all fine in all browser and all the pages are responsive so far in its just the CHECK OUT page which is not loading scripts on GOOGLE CHROME.
    SCREENSHOT:
    https://www.dropbox.com/s/f4s2kz9ghl0g1xz/13.jpg
    WEBSITE:
    www.simplyscotlandshop.com
    Thanks guys

    Hey there,
    Few things..
    You got a script error -
    Timestamp: 31/05/13 9:25:35 PM
    Error: TypeError: $(...).swipe is not a function
    Source File: http://www.simplyscotlandshop.com/js/MASTER.js
    Line: 100
    Your calling for an alement that does not exist here thus you have a script error. Wrap that call in a condition where it checks if the element exists first before it runs.
    Secondly your calling scripts incorectly.
    All you need to do is set the source as ..
    src="/yourfolder/youfile.file"
    So everything starts with just a slash, no absolute url or ../
    This will address other issues.
    Do these and see how you are and then post if there are other issues

  • Installed Firefox 3.6.6 and I could not load any webpages even the home page

    When I opened Firefox and went to the error console I was getting a bunch of messages. This is one of the messages.
    Error: Permission denied for (document.domain has not been set) to call method Location.toString on (document.domain=).
    If I could please get assistance with stopping these messages I would appreciate it.
    == This happened ==
    Not sure how often
    == After I closed and reopened Firefox after installing 3.6.6 update

    Well, this is kinda a generic solution of yours, cor-el. As I expected, disabling addons and entering safe mode doesn't solve the problem.
    This is a more or less wild guess: it seems the problem is with the couple '''newest Firefox + newest Flash update'''. I don't know who causes the problem, but the searches I made seems to also refer to Flash. As I have updated both recently, I cannot isolate one or another right now.
    In some web page, it seems that all of those who provide Flash content should make a change to their crossdomain.xml files. As I'm just the client, I don't see a workaround right now.
    My workaround right now: installed '''IE View Lite''' extension, and open these pages in Internet Explorer or whatever browser might work as expected.
    Will be more than happy if there's any available workaround for Firefox itself.
    When will those flash content pages finally reach the HTML5 nirvana? :-(

  • Pages slow to load or do not load, then time out, sometimes stopping page from loading will reveal it or stopping and refreshing it, though not always.

    pages will not always load or take forever, if i stop it from loading and refresh it it may load right away though not always. It is like the old days @ 33K, never used to happen, basically have all the same plugins have always had.
    has been doing this for several months now, finally can't take it any more, all malware, virus, scans are clean, settings are the same for last ? years.
    do get script problems from time to time but not very often.
    loading say New egg, will take forever or will not completely load page, have backed up all bookmarks, etc: removed and reinstalled but no change.
    any Ideas would be of great help. I have been using Firefox, since it's inception and don't want to switch browsers.
    Thank You,
    Mark

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Updated Firefox 18.0.2: Homepage and all other websites will not load anymore, tab remains a blank page. I tried resetting, checking firewall, to no avail.

    When I start firefox, instead of loading the homepage, firefox displays a blank page with "New Tab" as its title. If I try to open a new tab and try to enter ANY website it will show it's loading for a second, stop, and remain at the same situation, a blank page with "New Tab" as its title. Other browsers work perfectly fine.
    I tried running firefox in safe mode, disabling all plug-ins and extensions, checking my firewall, resetting firefox... all to no avail. Please help!

    hello, when this is happening immediately after an update, then it's almost certainly your firewall that is blocking the new version. please try to remove all rules for firefox from your firewall settings and let it detect the new version again. you may also want to try restarting your pc once...
    [[Fix problems connecting to websites after updating Firefox]]

  • Torrent websites not loading, no error message just blank page

    Whenever I try to load any kind of '''torrent ''' sites, e.g., torrentz.eu, www.picktorrent.com, it doesn't load and just stop leaving a blank white screen. This problem has been occurring for last few weeks. I have the latest version of Firefox(4). There is no error message.
    Please Help.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I just switched to FF3.6.4 from IE. While my gmail pulls up fine, the Calendar does not load. I get an error page telling me that I need to enable cookies, but they are enabled. On the google website other people are documenting this problem as well.

    I am having this problem on Windows 7 running Firefox 3.6.6. Gmail opens fine, but when I click calendar I get an error page open in a new tab which says:
    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    * This problem can sometimes be caused by disabling or refusing to accept
    cookies.

    Hello Wyodor,
    thanks for your reply on my question.
    You are wright the index file is 308 KB.
    And offcourse that I delete my files and documents is not an Iweb problem, but because my English is not that good, that I thougt I try to tell the whole story, and hope people can read trough the lines.
    Why I didn't use Iweb to upload to the server is because the server company recommanded to use file zilla. And I am a nobody with this kind of things, so I did exactly what they tell me to do.
    No, i did not make a backup of Iweb and the domain file, but reading other messages on this forum showed me that I can maybe try to make empty the cashfile (?)
    and otherwise I have bad luck and have to make my website again. Offcourse I have a lot of examples from all the pages (copied from the local map to my USB stick) and my website is aprox. 15 Mb, (not so big) so it will cost me a few nigths.
    But I'm still hoping on a miracle :-)
    greetings Lasource

  • My pages are not loading at the top of the page in my browser

    When designing all of my pages, I have placed thee top of the page and header guideline at 0px. All of my master pages are 40px long. When I preview within the program, there is no problem. All of my pages start at the top of the page (scroll bar at the absolute top). When I preview the site in my browser, none of my pages are starting at the absolute top. Why could this possibly be happening? Nothing is pinned and I do not have a header (even when I moved the header guideline, I still received the same results). Please help! Thank you for your time!

    Hi,
    This is how it looks to me,
    It starts at the top, without any scrollbar. Am I missing anything. Could you please provide a screenshot how it looks at your end, after publishing.

  • Yesterday, March 2, 2013, MSN is set for my home page and it will not load. I can access other pages such as: Facebook, bank accounts, etc.

    I tried deleting cookies, reloading page and nothing has worked.

    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Safari not loading "safari can't open the page"

    I can connect to the wireless network but when i open safari it says "safari can't open the page becasue it can't find the server" other internet apps don't work either.

    I have reset to WiFi manually and it now does not go into WiFi--It stays in Edge, unless I softboot it. Don't think I should have to do that everytime. It see the WiFi network and even has it selected in settings, but E is still show at top of screen. It reverts when iphone goes to sleep. This may be a problelm with new update. I just bought my phone yesterday 9.19 and it upgraded. Now I have these problems along with some others who upgraded. HELP,
    Re Boot, Re Set okay, but it if reverts everytime, that is a waste of time.

  • How do I get aperture to allow exports to two Facebook accounts. It allows 1 email address and does not recognize that there is another Facebook page attached.

    How do I get aperture to allow photo downloads from aperture to two facebook pages that are attached to my one email address.  I have icloud and photostream and I am not sure how to attach my second facebook page  so that I can download pics to that page.

    I did not know you could have the same email for two different FB accounts?
    I can only tell you that Aperture can upload to more than one account when they have different identifiers.
    Ernie

  • I have a Lexmark Z705 printer. When I click Properties on the printer dialogue box i get error message "Prop Res DLL not loaded." This only for web pages using Firefox.

    no more to add

    Copy '''LXBCPRP.DLL''' to the following location: '''C:\WINDOWS\system32\spool\drivers\w32x86\3 '''
    See also: http://support.microsoft.com/kb/918730

Maybe you are looking for

  • Can somebody please help me with this Panic Report?

    Hi Guys, I am having a little difficulty deciphering these panic reports we keep getting from our Mac Pro here. They've been crashing our Mac ever since we got our Hasselblad Camera back from Hasselblad repair however after submitting logs to Hasselb

  • Updating on a tabular form

    hi, i have two extra column on my tabular form and one say 'UPDATED_BY" and the other says "DATE_UPDATED" i am trying to set the parameters so that every time someone adds a row to that column the system automatically displays the name of the user an

  • ORA-00904 over DBLINK

    Hi, I have a cursor which queries some tables over a DBLINK. The remote database is Oracle 8.1.7.4 and package is being compiled on 10.2.0.3 Since this morning I am getting the below error message while trying to compile the package: 112/10 PL/SQL: O

  • Why doesn't even freshly & cleanly installed Firefox allow MS Silverlight to run, while other browsers will?

    I've tried uninstalling, including all personal information, etc., then reinstalling without any importing of external data-- in other words, a very fresh and clean installation. Still, I can't get Silverlight to run at the Fidelity site. Internet Ex

  • Can't reinstall Mavericks since there's no option for disk selection

    I'm trying to reinstall Mavericks through the Recovery Utilities. When asked to select a disk, I don't get any option. It's just blank. I tried doing the same through Internet Recovery. This started last night when I got the whole grey screen issue.