Page and iView refreshing

Hello!
How can I refresh a page programmatically? I also want to manage the order of my page iViews' loading. Could you give me some advice of doing this?
Thanks.

Elena,
- you can only do a page reload using javascript (you can't reload from the server directly. (And 'when' would you decide to do so?)
there are many ways to do it, just one here for the example:
<script>
  location.href=location.href;
</script>
or (HTMLB speaking)
Button b = new Button("reload");
myform.addComponent(b);
b.setOnClientClick("location.href=location.href");
if your iView's/page's isolation method property is set to 'URL', only this iView/page will be reloaded then.
- you can't control what is loaded first and what next. It's up to the browser on what to load when. Usually IE loads from top to bottom, so you can 'control' it by deciding on your page layout.
Regards,
Armin

Similar Messages

  • How to transport roles, pages and iViews in the PCD from DEV to QA

    Hi
    Please would someone telll me how I can transport/move roles, pages and iViews we have created in our own area of the Portal Content Directory from our Development to our QA portal environment.
    Kind Regards
    Claire

    Hi,
    Please check help.sap.com.
    http://help.sap.com/saphelp_nw70/helpdata/en/c5/56599164d0c04cb566ba0e2d7ed55c/frameset.htm
    Your Basis/NetWeaver consultants can help you.
    Regards,
    Masa

  • How to display an USERID on  "Portal Activity Report - Pages and iViews"

    HI,All.
    I have a question.
    It is as follows.
    A purpose&#65306;
    iView of EP is used and called for contents of the WEB-AP server of various (Tomcat(Java)).
    The acquisition of "EP login user ID" is difficult from the log of each WEB-AP server.
    It wants to acquire information on "Which iView which EP login user how many times executed?" by using EP, and analysis/to use it.
    A present specification&#65306;
    "Only information on "Number of users using iView" can be acquired in this function
    though "Page and iView of portal activity report" of EP was verified to achieve the above-mentioned purpose.
    It is impossible to analyze it, that is, "Which user ID used iView?".
    A question&#65306;
    In "Page and iView of portal activity report"
    How should I do to display "Which iView how many times did each EP login user execute?"?
    Or, I want to know if there is a table with the informations.
    Environment&#65306;
    EP6.0&#12288;SP18
    OS:WindowsServer2003 EE sp1  rc2
    CPU:Xeon3.2GHz x2
    MEMORY:4GB
    HDD:36GB*2
    Other:Clustering
    Thanking you in advance.
    matsu.

    Hi,
    You can try Setting the 'Monitor Users' property of the pages to 'Yes'. We did this for one of our portal but there seem to be a slight performance trade-off.
    Please award point if helpful.

  • Transporting VC Models and related pages and iviews across portals

    Hi,
    Hope you all are doing good.
    We have a particular requirement, which i hope you will be able to give some inputs.
    We have models for which we have .gml files. In addition we have the models deployed in Portal as iviews under Visual Composer folder.
    Our requirements is to transport the models in VC and iviews in Portal to a new installation.
    When we take the content dump from portal for the models and import into new installation it works fine.
    But when we want to make changes in VC model (.gml) files and redeploy the VC application in Portal, it does not over write the existing iview for same VC application in Portal.
    The ID's of the deployed iviews for same VC appls are getting changed and hence not updating the same one.
    Any idea what we are missing ?
    Appreciate your help
    Regards
    Sumit

    HI Sumit,
    Whenever you import .gml file in new Portal firstly one model name should be created then only we can import the existing model from Dev box at that time the package name differ in such case.
    this may be a precaution from SAP
    I also tried the same thing what you did but getting the same kind of deployment what you are getting.
    Hope your doubt are clear
    Swapnil

  • Mouse wheel stops scrolling page, and sometimes refresh does not refresh the correct tab, but the first one in the window.

    I have 27 firefox windows open with a grand total of 141 tabs.
    Some times the input is directed to the wrong window. I will click refresh and it will refresh the first tab in a window, but not the tab I am on. Apparently this also happens when I try and use the mouse wheel or the up and down arrow to scroll a page.
    Some times it works correctly on 1 window, but when I switch to another scrolling stops working.
    Usually rebooting the computer helps, but I should not have to do that.

    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
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Client Eventing between a html page and iviews

    I have an iview with static html(anchor tags) in the navigation panel, basically these links should open up corresponding iviews in the content area. What would be the best way to solve this problem.

    hi Mukesh,
    you should use the follow link to open an iview and mkark the navigation:
    a href="/irj/portal?NavigationTarget=ROLES://portal_content/YourRoleID/YourWorksetID/YourPageID/YouriViewID" target="_top">
    you can stop the link string at a page or an iView a page is a better option
    Hope it helps,
    Yoav

  • Find the iViews, Pages and Folders assigned to Role

    Hi,
    Does any one has the idea about how to retrieve the worksets, pages and iviews assigned to a role.
    I found a piece of code that will retrieve the roles, worksets, pages and iviews from PCD.
    Here is the code, that is to retrieve the roles, worksets, pages and iviews from PCD
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, WDClientUser.getCurrentUser().getSAPUser());
    env.put(com.sap.portal.directory.Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_ADMINISTRATION);
    InitialContext initialContext = null;
    DirContext dirCtx;
    initialContext = new InitialContext(env);
    dirCtx = (DirContext) initialContext.lookup("pcd:portal_content/");
    PcdSearchControls pcdSearchControls = new PcdSearchControls();
    pcdSearchControls.setReturningObjFlag(false);
    pcdSearchControls.setSearchScope(PcdSearchControls.SUBTREE_WITH_UNIT_ROOTS_SCOPE);
    dirCtx.addToEnvironment(Constants.APPLY_ASPECT_TO_CONTEXTS,Constants.APPLY_ASPECT_TO_CONTEXTS);
    // Gets the full path of the iViews from the PCD
    NamingEnumeration ne =      dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)",     pcdSearchControls);
    while (ne.hasMoreElements())
         IPcdSearchResult searchResult = (IPcdSearchResult) ne.nextElement();
         String location = "pcd:portal_content/" + searchResult.getName();
         wdComponentAPI.getMessageManager().reportSuccess("View ="+location);
    // Gets the full path of the pages from the PCD
    NamingEnumeration nePage = dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.page)",pcdSearchControls);
    while (nePage.hasMoreElements())
         IPcdSearchResult searchResult = (IPcdSearchResult) nePage.nextElement();
         String location = "pcd:portal_content/" + searchResult.getName();
         wdComponentAPI.getMessageManager().reportSuccess("Page ="+location);
    // Gets the full path of the worksets from the PCD
    NamingEnumeration neWorkSet = dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.workset)",pcdSearchControls);
    while (neWorkSet.hasMoreElements())
         IPcdSearchResult searchResult = (IPcdSearchResult) neWorkSet.nextElement();
         String location = "pcd:portal_content/" + searchResult.getName();
         wdComponentAPI.getMessageManager().reportSuccess("WorkSet ="+location);
    But my requirements is, if I have the role as "Sales Role", I want to find the iViews, Pages and worksets assinged to this role.
    Your help is really appreciated.
    Thanks in Advance,
    Chinna.

    Hi,
    All you need to do is to change the search root object:
    DirContext dirCtx;
    initialContext = new InitialContext(env);
    dirCtx = (DirContext) initialContext.lookup("pcd:portal_content/mypath/myrole");
    PcdSearchControls pcdSearchControls = new PcdSearchControls();
    pcdSearchControls.setReturningObjFlag(false);
    pcdSearchControls.setSearchScope(PcdSearchControls.SUBTREE_WITH_UNIT_ROOTS_SCOPE);
    dirCtx.addToEnvironment(Constants.APPLY_ASPECT_TO_CONTEXTS,Constants.APPLY_ASPECT_TO_CONTEXTS);
    all the rest stays the same.
    BTW - you can also retrieve all the objects using one search by putting
    (|(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview),(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.page),(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.workset))
    In the search query. Then you can get the type using PCM (portal content model) APIs.
    Hope this helps, Elisha

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the itunes

    I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the itunes store pop up like they normally would when browsing the itunes store but when I click on one of them, it is a blank page. Is there a setting I need to change? Does it just take an extremely long time to load? Please help!!

    Bucktr09:
    I'm having the exact same problem.  I upgraded to the newest version of iTunes on my iMac and ever since I did the store is a blank white screen.  I can get my library content but the store is a no go.  Is there any one out there with a solution?

  • Eventing between iView on different pages and different models

    Hi guys,
    Though I read carefully as many related posts as possible,
    I haven’t been able to determine a definite answer to the following question.
    I am creating an ‘application’ that will show several graphs about a month n in the portal.  Each graph is an iView in a different page, and I want the iViews to be completely independent.  I mean, I can’t go for the option of having all the iViews in the same model.
    Therefore, I have to design each iView with an event in,
    They would receive as parameter, the month n issued as event out of a first iView.
    I have not been able to have those iView communicating with each others up to now.
    I saw that maybe Guided Procedure would be an alternative, but fear that I then have to pass in the graphs in the exact same following order each time, which I want to avoid.
    Any pointer is welcome.
    Ch

    Thanks for your trial, Jan.
    Using one single model is not an option (and I know how to do it should I decide to go that way).
    Think about authorizations, for instance : user1 can see graph a b c and user2 can see graph a d e. 
    If the graphs are all in a big iView, I can't segregate graphs b c d e that are not common to the two users.  If each graph is in a different iView/page, I can assign them one by one.
    Another application of the concept : if I have a 'summary' page and a 'detailed' page, showing the same graph but at a different size, for instance : going for the 'indenpendancy' solution allows me to re-use exactly the same iView, just the layout properties would be changed at 'portal' level.
    Ch

  • Installed latest version, now back button seems to refresh the page and I have to click it 2-5 times to make it actually go to the previous page.

    installed newest version of firefox, now back button seems to refresh page and it takes 2-5 clicks to actually make it go back.

    installed newest version of firefox, now back button seems to refresh page and it takes 2-5 clicks to actually make it go back.

  • Album and Photo Pages Paint In/Refresh Slowly

    It seems about 60 days or so ago, everything worked fine. When displaying a picture page or one linked through albums, the screen view painted in very quickly. Now it hesitates on showing the album view and really takes a long time for the picture pages. Slow as it...paint in one picture border, then another, then another, then start filling the border with a picture or two, then another and so on. This all occurs when viewed using Safari, which one would expect to be synced pretty efficiently with iWeb. Try the same using Firefox and everything works the way it used to in Safari. I know it's not my Internet connection and speed. I'm on DSL 6 and do not see the slow down anywhere else. I'm thinking it may be the way that iWeb handles the number of images I've posted...but it shouldn't if Firefox doesn't have the issues. Have a look for yourself and tell me what you see and think: http://www.shutterartphotography.com/MHS/HOME/HOME.html

    I found Safari 3.0.4 quicker on the entry page and only slightly slower on the photo pages. I've got a very fast cable connection but did see a hesitation on the entry page in loading. In the photo pages Safari would load the frames slightly before adding the photos. FF2 was a bit fasters.
    OT

  • Need a Single iView Refresh

    Hi
    Need an iView Refresh  at its own place
    Business Scenario
    Have a Portal Page with Layout of 2 columns
    Column 1  has a Webdynpro iView with drop Down content say
    Google
    Yahoo
    Column 2  has a URL iView with Google web page
    Now when User selects Yahoo In the Drop Down of webdynpro iView
    The Column 2 iView needs to change to Yahoo web page
    and when the user selects Google in the drop Down  the Column2 iView needs to change back to Google web page.
    The webpages needs to opened in the second iView area. i.e Column2 iView
    you can change the URL Dynamically using forcedURL method and it is working fine if I try to open in external window.
    Any Ideas
    Thank you
    Regards
    Krishna Kanth

    Hi,
    Sure, you can do that in a single statement. Here's one way:
    SELECT       employer_id
    FROM       employers
    WHERE       SUBSTR (name, 1, 1) BETWEEN  CASE p_batch
                                 WHEN  1  THEN  'A'
                                 WHEN  2  THEN  'N'
                               END
                         AND      CASE p_batch
                                 WHEN  1  THEN  'M'
                                 WHEN  2  THEN  'Z'
                               END
    AND       (     (     p_frequency = 2
              AND     freq_flag   = 2
           OR     p_frequency  = 1
    ORDER BY  name
    ;

  • How do I get back my AT&T Yahoo Home Page and Tool Bar?

    I am a senior citizen with little computer knowledge. I cannot cope with changes to my home page because I do not have the knowledge/skills to undo the changes your program has installed.
    AT&T is my Internet Service Provider. Firefox is my browser. Right? When I installed the newer version of Firefox it usurped my AT&T Yahoo Home Page and Task Bar. I want my old home page and task bar back.
    I used system recovery to go back a couple hrs. prior to when the new Fire Fox was installed and lost Firefox & At&T. Was in a great state of frustration when I couldn't get system recovery up after going to control panel. System recovery finally popped up again and I went forward to after installation of new Fire Fox and have system up again.
    I am unable to read up on new Fire Fox program now. All I want is my old AT&T Yahoo Home Page back with their Task Bar. I can learn new Fire Fox as time permits.
    For a non-profit organization I find Fire Fox quite aggressive. That is good when mobilizing us to write or call Congress but not to take over my Home Page.
    Will have to admit new Fire Fox sure is faster.
    I do want to commend you for taking a stand against what Congress is trying to do and also for your non-intrusive, not obnoxious way of asking for donations. You help inform us and let us know of your need and anyone that is not a free loader with a conscience, I think, would make a donation according to what one can afford. Keep up the good work and the good fight..........please do help me restore my home page back to AT&T with the old task bar.
    I appreciate all the help you can give me. Please excuse this long note.
    Blessings, Helen
    Added Note: AT&T home page returned. Still need Tool Bar. Troubleshooting information from Firefox help for Tool Bar below. Also info to restore Refresh and Home icon below.

    This is the answer from Firefox Help to get Tool Bar back up:
    Why are the menus (File, Edit, View, etc.) missing?
    If you're using Windows 7 or Windows Vista, you now have an orange Firefox button that takes the most common functions and puts them in one menu.
    To temporarily show the old style menus, just press the Alt key.
    To have them shown all the time, right-click on an empty section of the Tab Strip and check Menu Bar in the pop-up menu.
    Menu Bar - Win
    Pressing the Alt key didn't work for me but the latter instruction did the trick.
    Check the Navigation Bar too on the pop-up menu if you want your Refresh and Home Icons to show. It took quite a few right-clicks for me before the pop-up menu I needed came up so keep trying until the right menu comes up.

  • Problem with "Next Page" And "Zoom" in CrystalReportViewer With VS 2010

    Hello,
    i am using crystal report v 13 sp1 with visual studio 2010,
    As mebtioned, the next page and the zoom is not working in my report, whiwh has as data source "Stored Procedure"
    This is my code, and i think it's correct, i was using this code in previous versions of crystal report (cr10) and it worked fine,
    When i used the Data set , the next page and zoom worked fine, but with stored procedure it doesn't work,
    Note: when i open the Tree of Data on the left, then click on the next page or the zoom, it become funtional, it's very weird,
    protected void *Page_Init*(object sender, EventArgs e)
    if (!IsPostBack)
    reportDocument = (ReportDocument)this.Page.Session ["_reportDocument"];
    if (reportDocument != null)
    string rptFile = reportDocument.FileName.Split('
    ', '/').Last();
    LoadReportRessource(reportDocument);
    TableLogOnInfo log = new TableLogOnInfo();
    ConnectionStringSettings conn = WebConfigurationManager.ConnectionStrings[0]; //la premiere connectionstring
    SqlConnectionStringBuilder SConn = new SqlConnectionStringBuilder(conn.ConnectionString);
    log.ConnectionInfo.ServerName = SConn.DataSource;
    log.ConnectionInfo.DatabaseName = SConn.InitialCatalog;
    log.ConnectionInfo.UserID = SConn.UserID;
    log.ConnectionInfo.Password = SConn.Password;
    log.ConnectionInfo.Type = ConnectionInfoType.SQL;
    for (int i = 0; i < reportDocument.Database.Tables.Count; i++)
    reportDocument.Database.Tables.ApplyLogOnInfo(log);
    for (int i = 0; i < CrystalReportViewer1.LogOnInfo.Count; i++)
    CrystalReportViewer1.LogOnInfo.ConnectionInfo = log.ConnectionInfo;
    CrystalReportViewer1.ParameterFieldInfo = (ParameterFields)this.Page.Session ["_paramFields"];
    CrystalReportViewer1.ReportSource = reportDocument;
    CrystalReportViewer1.DataBind();
    CrystalReportViewer1.ShowFirstPage();
    else
    CrystalReportViewer1.ReportSource = (ReportDocument)this.Page.Session ["_reportDocument"] ;
    Edited by: Soumaya on Sep 7, 2011 6:16 PM

    @Don:
    Sorry, but i donno what do you mean by "what is the App Pool running in 32 or 64 bit?",
    i am running the application locally, ( the IIS is installed locally ),
    as i told you, my OS is 64bit,
    And yes i tried a very simple report, with just one field , and the "next button" is also not working,
    Its only not working with stored procedure, in the others methods ( push or pull method is working fine)
    i think its a problem in refreshing page, because when i open the tree on the left, then click on next page or zoom, its works fine
    @Ludek:
    i changed my code as below, and it doesn't solve my problem:
            ReportDocument reportDocument;
            protected void Page_Init(object sender, EventArgs e)
                if (!IsPostBack)
                    reportDocument = (ReportDocument)this.Page.Session["_reportDocument"];
                    if (reportDocument != null)
                        string rptFile = reportDocument.FileName.Split('
    ', '/').Last();
                            TableLogOnInfo log = new TableLogOnInfo();
                            ConnectionStringSettings conn = WebConfigurationManager.ConnectionStrings[0];
                            SqlConnectionStringBuilder SConn = new SqlConnectionStringBuilder(conn.ConnectionString);
                            log.ConnectionInfo.ServerName = SConn.DataSource;
                            log.ConnectionInfo.DatabaseName = SConn.InitialCatalog;
                            log.ConnectionInfo.UserID = SConn.UserID;
                            log.ConnectionInfo.Password = SConn.Password;
                            log.ConnectionInfo.Type = ConnectionInfoType.SQL;
                            for (int i = 0; i < reportDocument.Database.Tables.Count; i++)
                                reportDocument.Database.Tables<i>.ApplyLogOnInfo(log);
                        this.Page.Session["_reportDocument"] = reportDocument;
                        CrystalReportViewer1.ParameterFieldInfo = (ParameterFields)this.Page.Session["_paramFields"];
                        CrystalReportViewer1.ReportSource = reportDocument;
                        CrystalReportViewer1.ShowFirstPage();
                else
                    CrystalReportViewer1.ReportSource = this.Page.Session["_reportDocument"];
    Edited by: Soumaya on Sep 8, 2011 10:39 AM

Maybe you are looking for

  • How to make a group for selectd Object javascript

    How to make a group for selectd Object javascript

  • The most efficient way to search a large String

    Hi All, 2 Quick Questions QUESTION 1: I have about 50 String keywords -- I would like to use to search a big String object (between 300-3000 characters) Is the most efficient way to search it for my keywords like this ? if(myBigString.indexOf("string

  • Sent mail lost

    I reverted to 10.6.1 after having problems upgrading to 10.6.2 with Adobe and Microsoft apps (slow/beach ball). I did it by restoring from the latest 10.6.1 Time Machine back up. Everything worked fine, except there were some sent emails in Mail that

  • Breakout table (fill table with matching data from another table)

    Hi I've been trying to study old discussions about breakout tables. I feel I'm close, but still no cigar :-) In plain english, I'm trying to autocreate rows with data on a table, based on matching values from another table. E.g. have a table to displ

  • ORA-01031: insufficient privilege while running a batch job

    Hi Gurus... I have created a oracle scheduler job to run a batch file (On WS2k8, Oracle 11.2.0.1) as BEGIN sys.dbms_scheduler.create_job( job_name => 'MY_JOB', job_type => 'EXECUTABLE', job_action => 'C:\WINDOWS\system32\cmd.exe', repeat_interval =>