Changing Book/Page from within a pageflow

We need to define a pageflow action which has the same effect as the user clicking
on a Book (or Page) tab, i.e. switches to another portlet/pageflow - preferably
at the "begin" action.
That's probably 2 problems:
1) define an action to simulate the user clicking on Book tab
2) define book tabs so that the pageflow state is reset to the begin action
This sounds as though it may be related to howie's <"Reset" pageflow portlet state>
problem.
Just to stop you taking the easy route...
1) can be solved simply by forwarding to /portal/my.portal?_nfpb=true&_pageLabel=book_search
(where book_search is the definition label of the book I want to go to)
I don't like this because:
a) this has hardcoded the portal name, which will be different on the live server
b) it hasn't solved problem 2 because _nfpb=true has maintained the pageflow state
in book_search
2) I can lose pageflow state by removing _nfpb=true (see above), but then I don't
actually arrive at the right page!
Can anyone help?

Try
on (release) {
getURL("
http://site.com/team.html","_self");
}

Similar Messages

  • How do I change default page from USA  to United Kingdom

    HHow do I change default page from USA to uk

    Click here and follow the instructions to change the iTunes Store country.
    (108603)

  • How do i extract pages from within a pdf document?

    how do i extract pages from within a pdf document?

    Hi adobespurs,
    To extract pages from a PDF, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. Please see www.adobe.com/products/acrobat.html for more information.
    Best,
    Sara

  • [CRM] Change sales office from within an order

    We've been trying to get the following to work... as you might guess, so far without success.
    From within a CRM order, if we change the partner number for the department a check is being done whether that partner belongs to the same sales office. If that's not the case, the sales office has to be adjusted.
    Since this might have an effect on authorization, the changing of the sales office has to be done in a separate job (action). In this job, I do the following:
    - Retrieve data on the object
    - crm_order_read for that object
    - select the correct sales office
    - prepare the crm_orgman structure with the new data
    - crm_order_maintain with the crm_orgman and inputfields tables
    - optionally commit work, bapi_transaction_commit etc.
    For as far as we can see, the data is correct. However nothing is being changed. Ideally what I'd like to do is break into the process, change the object that's being processed in memory, and let the system do its job.
    What we've also tried is (shame):
    - Retrieve data on the object
    - crm_order_read for that object
    - select the correct sales office
    - direct update the corresponding tables with the new values
    This works, but as soon as we return control to the system, the changed values (verified, if we look at the tables the values are changed) are reset to what they were.
    It's taking way too much hours for something that should be (in my eyes) a pretty simple action. Any suggestions? Thx in advance!

    Hi Egbert,
    Please take a careful look at the GUIDs you are using: if you are using the orgman structures, the REF_GUID is not the ORGMAN-GUID but instead the ORDERADM_H-GUID. Can you confirm if this has been checked and if it then still is not working? The COMMIT_WORK BAPI is also not necessary.
    Kind regards,
    Joost Janssens
    PS Please reward points if this reply helped you!

  • How do I link to an anchor point  within a web page from within a PDF

    Hello,
    Can someone tell me how to link to an anchor point on a webpage from within a PDF?
    I created a page in Word and when i add my url with the # to reference the anchor eg. www.google.com/web#test1 and test the link it all works fine. I then create a PDF of this same page however the PDF seems to strip out the URL and looks to reference a file #test1.
    Any suggestions, ideas?
    Thanks

    see this post near the top . . . if you're using framesets you will scroll to the bottom of the page to see what they posted there.
    http://forums.adobe.com/message/628872#628872

  • Referencing HTML page from within a movie clip

    Hi
    Hope someone can help with this.
    I have a simple horizontal scrolling gallery of 24 thumbnails
    in Flash, the thumbnail images are loaded into the boxes using
    actionscript. I would like each thumbnail to link to a html page of
    my choice. There is a movie clip instance called panel with the 24
    buttons inside it and on the first button as a test I've placed the
    following action script:
    on (release) {
    getURL("team.html","_self");
    When testing this movie from within Flash (CTRL, ENT) the
    button links to the html file (which is in the same folder as the
    SWF) with no problem. The problem is when I preview the page in a
    browser and try to click on the first button nothing is happening.
    I've tried it in both IE7 and Firefox with the same result.
    The flash thumbnail clip is placed as a flash object into a
    html page using dreamweaver.
    I'm sure this is something simple such as navigating the
    timeline but I've tried a few things like _root. but still no joy.
    Hope someone can help.
    Thanks, Jo

    Try
    on (release) {
    getURL("
    http://site.com/team.html","_self");
    }

  • Changing Property Values from within a Function

    I'm wondering how I can change a property of an instance from
    within a function inside a method. I have some code here...
    Basically I just need to set _lynn_idle to false when a tween is
    occuring and _lynn_idle to true when the tween is finished.
    Unfortunately I can't seem to simply set it to false or true inside
    these listener functions like I'm able to anywhere else (seems the
    variable is only local to the function when I need it to access the
    variable associated with the instance). Any help is much
    appreciated.

    Inside callback handlers the class members go out of scope.
    To remedy use a local (local to the function) reference to the
    current object.

  • Going to change password page from link in application

    We don't intend to give our users access to the OID self-service console, but we do want a "change password" button in the SSO partner app. I've written a change password page according to spec and it's plugged into the configuration database, but the question is, how do I invoke it from a link?

    You mean "Customizing the Single Sign-On Interface?
    What that says is "The WWSSSO_APP_USER_MGR.CHANGE_PASSWORD routine is invoked", which, I presumed, in this context means using the URL I found.
    As I said, I can't see how to do this from an external site without making a nasty hole in the firewall. How would you "invoke" WWSSSO_APP_USER_MGR.CHANGE_PASSWORD from a servlet or the like?
    The only idea I could come up with is for the servlet to copy the SSO headers an make it's own URLConnection to the directory interface. That seems improbably clumbsy, and would require me to change the password change page to (in order to relay the results in a similar fashion).

  • Change grub resolution from within grub console

    Hello!
    I'm looking for a way to change the grub resolution from within the grub console. Note, that I am not looking for a way to change the grub resolution in the config files!
    This is why I'm asking: my laptop stopped booting whenever the grub resolution is not set to 800x600x32. This is very strange and I do not know the reason for this issue. It hasn't been a problem so far, because I'm just using the config file to set the resolution to 800x600x32.
    Now I'm trying to reinstall, but the live discs won't boot since the resolution of grub is not 800x600x32. I tried dropping to console and typing
    set gfxmode=800x600x32
    set gfxpayload=keep
    load_video
    insmod gfxterm
    but nothing happens.
    So the question is: Is there any way to change the resolution of grub from its own console? Or is there a way to manipulate the live images before burning them in order to start grub with the desired resolution?
    Thanks so much!
    Last edited by mjb (2013-10-09 19:00:15)

    mjb wrote:
    Hello!
    I'm looking for a way to change the grub resolution from within the grub console. Note, that I am not looking for a way to change the grub resolution in the config files!
    This is why I'm asking: my laptop stopped booting whenever the grub resolution is not set to 800x600x32. This is very strange and I do not know the reason for this issue. It hasn't been a problem so far, because I'm just using the config file to set the resolution to 800x600x32.
    Now I'm trying to reinstall, but the live discs won't boot since the resolution of grub is not 800x600x32. I tried dropping to console and typing
    set gfxmode=800x600x32
    set gfxpayload=keep
    load_video
    insmod gfxterm
    but nothing happens.
    Did you add
    terminal_output gfxterm
    at the end. Although I doubt whether that will change the currently set menu resolution.
    So the question is: Is there any way to change the resolution of grub from its own console? Or is there a way to manipulate the live images before burning them in order to start grub with the desired resolution?
    You may want to checkout grub-emu (available in grub-bzr aur pkg, not in core/grub). It emulates a grub menu from which you can test all graphics related stuff. I haven't tried it myself though.

  • How do I change to a new page from within a cflayout?

    I have a main page (dspSystemsGrid.cfm) that uses a cfgrid
    layout to provide a list of "systems". The user can click on a
    system and get sent to a new page called dspSystemsMain. This page
    is using tab layouts. The first tab is called t1. It contains a
    form with information about the system. On an update, the submit
    calls a processForm page which updates the database. At the end of
    this, I am using a <cflocation url="dspSystemsGrid.cfm" to get
    back to the main page containing the grid. But its not working. Its
    trying to return it inside of the cflayoutarea t1 in my
    dspSystemsMain page.
    What can I put in my processing page to automatically return
    to the dspSystemsGrid page?

    I have a main page (dspSystemsGrid.cfm) that uses a cfgrid
    layout to provide a list of "systems". The user can click on a
    system and get sent to a new page called dspSystemsMain. This page
    is using tab layouts. The first tab is called t1. It contains a
    form with information about the system. On an update, the submit
    calls a processForm page which updates the database. At the end of
    this, I am using a <cflocation url="dspSystemsGrid.cfm" to get
    back to the main page containing the grid. But its not working. Its
    trying to return it inside of the cflayoutarea t1 in my
    dspSystemsMain page.
    What can I put in my processing page to automatically return
    to the dspSystemsGrid page?

  • How do you hyperlink a rollover to another page from within your iweb site?

    Ive made a bunch of rollovers for my iweb navigation bar. If youve created a rollover you know you have to link the images to a image hosting site. here as you would just normally drag and drop a image from your desk top. Because of the way iweb works, if you are using images from a image hosting sit, you can no longer adjust the characteristics of the images i.e. colors, size, and in this case the hyperlink. More specifically you cant change the hyperlink to a page within the iweb site.
    So the problem im trying to figure out is how to link the rollover to a page within my iweb site.
    now you can actually change the hyperlink of the rollover. however you must do this by adjusting the html within the snippet of the rollover. The problem i found is that iweb doesnt creat sub domains for each page. a entire iweb site with multible pages uses only one domain which is the homepage. so i cant just type a subdomain of another page into the snippet hyperlink because the subdomain doesnt exist.
    here is the link to my site. youll notice i did figure out a work around with the "contact us" button but its a huge pain in the butt. i had to create a new domain and a new site then attach the referal index.html to that new domain. todo this for every single button is very difficult.
    http://springgardenranch.tk
    so i guess the bigger question is, is there a easier way to do this?
    perhaps if there was a way to create a subdomains like springgardenranch.tk/contactus withing iweb for each page. but i dont even know if thats possible.
    thanks for you help.

    Because of the way iweb works, if you are using images from a image hosting sit, you can no longer adjust the characteristics of the images i.e. colors, size, and in this case the hyperlink.
    Then use  your own images. Then you can create them the way you want.
    Here's how I do it :
    http://cafenoir.atspace.com/Hover/
    And here's the menu in an iWeb page :
    http://cafenoir.atspace.com/HNBF/
    And here you can learn how to do it. Follow the links to the How-To pages.
    http://cafenoir.atspace.com/
    You may have to learn HTML. CSS, JavaScript, AJAX, DOM and how iweb creates its webpages.

  • Changing current page from backing file

    Using WL 8.1 SP4
    I have a User Acceptance Policy page in my portal, and I want to ensure that users have viewed this page before I allow them to view any other content.
    When users have viewed the UAP, I set a session variable. I then use the session variable in my entitlements, so there's no problem with them viewing content they shouldn't.
    The problem I have is that if users try to access a page directly (or their session has expired), they're left with a blank page (as they're not entitled to see anything), rather than being sent to something helpful (i.e. the UAP).
    So I need a backing file. It can either be on every page (except the UAP), or I can put it on the book - whatever is recommended.
    I've tried this as a page backing file:
    public class UAPCheck extends AbstractJspBacking {
    public boolean handlePostbackData(HttpServletRequest request, HttpServletResponse response){
    PageBackingContext pbc = PageBackingContext.getPageBackingContext(request);
    if (pbc.getLabel().equals("uap_page")
    || request.getSession().getAttribute("UAP Accepted") != null){
    return true;
    } else {
    pbc.setupPageChangeEvent("uap_page");
    return true;
    I've applied this to pages in my book, however nothing happens - the page change request never fires!
    So what's happening here? Am I misunderstanding what setupPageChangeEvent is for?
    Help is appreciated.
    darren

    In the past I have done it as follows:
    1. Create a backing file for the book that has these pages.
    2. In the preRender of the backing file do the following
    BookBackingContext bbc=
    BookBackingContext.getBookBackingContext(getRequest());
    if( //check to see if page change event is needed)
    {PageBackingContext pbc_current =
            bbc.getActivePageBackingContext();
        pbc_default.setActive(false);
        PageBackingContext pbc_pageToBeShown=
            bbc.getPageBackingContextByDefinitionLabel("//  
            def label of page to be shown, in your      
            case 'uap_page'");
        pbc_pageToBeShown.setActive(true);
        return true;
    else return true;
    3. link the backing file to book
    Recommendations:
    * Don't use backing files for Portal components if they are not needed. (From your post, if I am not wrong, you are using backing files for all pages in the book which is not necessary and can cause unnecessary complications)
    * Read this doc to understand life-cycle methods of portal components http://edocs.bea.com/wlp/docs81/pdf/taxonomy.pdf
    Peruse the above document to understand what is going wrong with your code.
    * Remember that the life cycle methods for components that are not active will not be rendered if treeOptimizationEnable parameter is set to true ( this parameter can be seen in workshop under property editor)
    * When calling one of the setupxxevent methods, it must be done on the backing context that the backing file is tied to. If you do not do this the event may not get fired. For more info click http://e-docs.bea.com/wlp/docs81/whitepapers/netix/body.html
    Seenu
    Seenu.

  • View db alerts generated in planning book A from within planning book B?

    Hi,
    I have a db alert macro implemented as a default macro in one of our SNP planning books/data view. This is correctly generating db alerts per the criteria coded into the macro. In Alert Monitor, the database alerts show the planning book (book A) and data view (view 1) from which the alerts were generated.
    The planners monitoring this specific alert do not have/should not have access to planning book A and data view 1,  but will have access to a different planning book (B)/data view (2) within the same planning area.
    Is it possible to generate a db alert from a default macro residing in planning book A, data view 1 but have the db alert as viewed in Alert Monitor display a different planning book (B), data view (2) so that when the user launches Supply Network Planning by right clicking on the db alert, the user is taken to planning book B, data view 2 with the alert selection loaded?
    In short, I need to generate db alerts via a default macro in one planning book/data view but must enable planners who monitor these alerts to do so in a different planning book, data view -- all within the same planning area.
    I saw an earlier thread (id 4517019) that seemed to indicate this was possible to assign db alerts generated in one planning book to another planning book,  but it was not clear how to implement this. We are on APO version 4.0. In the macro's Alert/status element properties I do see a section called 'Different Source' which allows me to specify a different planning book and macro. However, I do not understand how this is meant to be used and whether this will be useful to me.
    I would appreciate any help you can offer.
    Thanks!
    - Heidi

    Saradha,
    Thank you for your reply! I checked the various versions of SAP help and found that only as of Release SCM 4.1 can you assign the alerts that are generated in a planning book/ data view to another planning book/data view via the mechanism you explained.  That tells me that perhaps in SCM 4.0 there is no straightforward way of doing this.
    In 4.0, when I double click the macro alert element I see different attributes - one of them is in a section titled 'Different Source' and contains to fields - one that allows you to specify a planning book and the other to specify a macro in that planning book. I'm experimenting with that now to better understand what it's purpose is. If you have any idea, please let me know. Otherwise, thanks very much for your response!
    Thanks,
    - Heidi

  • Cannot change "Start Page" from the FireFox Google Search Page.

    Under "tools"/"options"/"general" I've changed my homepage to Bing.com & designated this as my "start page" however whenever I open a new tab the FireFox Google Search Page always comes up and I must click the "home" icon in order to get my Bing Home Page to load. This is a step I would rather skip. What must I do to get FireFox to open immediately in my designated home page?

    The home page is just what opens when you click the Home icon on the toolbar, and when you start Firefox, provided that under Options → General you've set "When Firefox starts: Show my home page".
    * [[Startup, home page and download settings]]
    When you open a new tab, you normally get a grid of tiles listing recently visited sites. (From Firefox 31 onward, there's also a search box, but it uses whatever search engine you've selected in the search bar on the navigation toolbar)
    * [[New Tab Page – show, hide and customize top sites]]
    # [https://addons.mozilla.org/firefox/addon/custom-new-tab/ Install Custom New Tab].
    # Open the Add-ons Manager (Ctrl+Shift+A; Mac: Command+Shift+A), then the Extensions category.
    # Next to Custom New Tab, click the Options button.
    # Enter whatever URL you want to open in each new tab, and make sure "Place focus in URL bar" is not checked.
    Strictly speaking, you don't need the above add-on to choose what opens in each new tab. But Custom New Tab allows you to decide whether focus should go to the address bar. Without the add-on, it does, so you have to first click the search box on the web page before you can start typing your search query.

  • Calling a PHP page from within Java

    We have an application that uses a lot of PHP (both web and cmd line based PHP calls) to manage the solution. One of the PHP pages in particular has two parameters that it takes to identify a city and a site within that city. The URL looks like this:
    http://host/directory/page.php?city=somecity&sitecode=1234&log=Y
    This page then logs in to the DB for that city and finds certain records for that site code and deletes them and creates a log file.There is a scheduled job that sends an email every night to a group (of which I am a member) with a listing of sites that contain these records that need to be deleted. Then someone (now me) opens a web browser and modifies the URL using the email and processes each one, one at a time.
    So, short term I have written an html form with a little javascript to give me a couple of fields, one for city and one for site.
    I then read those fields and call a js window.open() and open another page with the correct data. This way I can sit there and type them all in one after another then go back through each page and see the results later. This is a llot quicker as some of the pages can run for minutes finding and deleting the records. This page is provided by a third party so we can't modify it.
    Long term I would like to have a java app that finds all of these records and eliminates the records one at a time. So the class might look like this:
    Public class DeleteRecords() {
    String phpResult = null;
    String phpPage = null;
    Loop Through All DBS {
    // Some SQL that finds the records in this DB
    // The phpResult variable should be the php/html content that makes up the page after the process completes
    phpResult = http://host/directory/page.php?city=somecity&sitecode=1234&log=Y
    if(phpResult.contains("_Successful")){
                   // log successful event for city, site, and path to log file
    else {
              // log failed event for city, site, and path to log file }
    } // End DB loop
    } // End ClassIs this possible and are their samples somewhere on java.sun.com?
    Thanks,
    Shawn

    ShawnTaylor wrote:
    cotton.m wrote:
    HttpURLConnection is what you are looking for for starters. Code samples and explanations can be found in the tutorial here [_http://java.sun.com/docs/books/tutorial/networking/urls/index.html_|http://java.sun.com/docs/books/tutorial/networking/urls/index.html]
    There has to be an easier way though... like JDBC or something?If only that were true... The problem is the application is third-party, so we can't really 'touch' any of the tools being provided. My plan is to identify the orphaned records via JDBC but I need to use the tool provided for the clean up.
    Well then the first part of my post is your answer.

Maybe you are looking for