How to close a view

hello all,
I have a view that opens an html view on a button click.
how can I go back to the first iview from the html view?
I tried to use a toolbar button with different system action - but without success....
thanks,
Michal

Hi,
one thing you can do is :
- create two layers
- put the first form is the first layer
- put the HTML view in the second layer
- drag and drop each layer to another and add the event you want to switch from one layer to the other
With this you can define a Submit button on the first layer which will make the HTML view appear, and have a button on the HTML view that will make the first layer appear (and so close the HTML view).
Layer documentation :
http://help.sap.com/saphelp_nw04s/helpdata/en/ca/fbdb4269b2f340e10000000a1550b0/frameset.htm
You just have to define the layer navigation control to "None" to make it looks like what you want.
Fabien.

Similar Messages

  • How we close Views without using Java Script

    Hi All,
    can you please suggest me how i close view with out using java script.
    if possible please reply with code.
    Thanks
    Siva

    Hi Siva,
    You can do this either by hiding your window or by closing the window. Following is the sample code to do that
    IWDWindowInfo windowInfo = null;
    IWDWindow window =null;
    windowInfo = (IWDWindowInfo)  wdComponentAPI.getComponentInfo).findInWindows("<<WindowName>>");
    if(windowInfo!=null)
    window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
    window.hide();
    Try with this code, might be useful for your scenario.
    Thanks,
    Sandeep

  • How to close the detach popup on click of a button in the panel collection

    Hi,
    I'm using Jdeveloper 11.1.2.3.0.
    I have an af table surrounded by panel collection. There is a button on panel collection to commit the changes in the table.
    Clicked detach button to view the table in full browser.
    On click of Commit button, the detach popup is not closed. I have set partialSubmit of that button to false. Then also detach popup is not closed.
    Can anybody suggest me how to close the detach popup on click of a button in the toolbar.
    Thanks,
    Vinod

    Hi Frank,
    Thanks for your response. Popup is not closed.
    I tried this approach, when the view tree is navigated on the Detach, I see that the tree is same as if it is traversed on the page without detach.
    Printed client id and UI component class in the while loop, result is as below.
    r1:0:pc1:t3 class oracle.adf.view.rich.component.rich.layout.RichToolbar
    r1:0:pc1 class oracle.adf.view.rich.component.rich.output.RichPanelCollection
    r1:0:ph2 class oracle.adf.view.rich.component.rich.layout.RichPanelHeader
    r1:0:pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    r1 class oracle.adf.view.rich.component.rich.fragment.RichRegion
    pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    db2 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    db1 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    psl1 class oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout
    ps1 class oracle.adf.view.rich.component.rich.layout.RichPanelSplitter
    f1 class oracle.adf.view.rich.component.rich.RichForm
    Tried with setting partialsubmit property to false on the command button, still the popup is not closed and my Faces Message are shown behind the detach popup.
    Thanks,
    Vinod

  • How to close receivable period. when unposted item exists.

    Hi All,
    I want to close May period in receivables. But receive error "APP-AR-11332: You must post all transactions in this period before you close it".
    I have already posted in the General Ledger. We ran the Unposted Items Report for may and it did return records but we believe that report is invalid because our General Ledger balanced.
    Now, Question is how to close this period..
    Please help me in this regard...
    Your view will be appreciate..
    Thanks
    Raman

    You must reconsider unposted trascations and post them into GL. Pls check trascations which are showing in "Unposted Items Report".
    you also check note and run diagnostic. 11i : Oracle Receivables Period Closing Activity Test [ID 255941.1]
    11i / MRC --- Unable to Close AR Period - Unposted Transactions In The Reporting Set Of Books. Items Do Not Get Posted. [ID 232707.1]
    regards,

  • How to close apps in the new operating system .

    How to close apps in the new operating system

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • HT4064 How to close the function in iPad

    HOw to close function in I pad

    Close inactive apps?
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app upwards to close
    3. The app will fly off the screen

  • How to close application with IOS 7

    With the new update, I don't know how to close all my app. Could someone please help me :)
    Thanks in advance
    Vicky

    All you have to do is double tap the home button to bring up the multi-tasking view, then swipe up on the screenshot of the app you want to exit.

  • How to close apps in IOS 7.0.2

    How to close apps in IOS 7.0.2. I usually held the home buttom, to get the underlay.

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • How to close AIR on android

    I find a problem of my application. I use navigator.pop() to switch the view.
    When user push back button on the root view,
    the application doesn't close directly. Just go to the backend~
    How can close the application ?

    you can use:
    NativeApplication.nativeApplication.exit();
    but it will make more sense to listen to the keyboard events to do so.
    check - http://blogs.adobe.com/flashplatform/2010/10/tip-close-your-android-air-app-on-back-button .html

  • After I installed iOS 7.0 for iPad update I noticed that I can't close apps like I was used to do till now. Does any one know how to close apps now.

    After I installed iOS 7.0 for iPad update I noticed that I can't close apps like I was used to do till now. Does any one know how to close apps now.

    Close Apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe up on the screenshot of the app you want to exit.
    3. The app will fly off the screen

  • HT4623 I did the update, and now I don't know how to close an app when I'm done with it

    I did the update and don't know how to close apps that are open

    Force close apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • Can't install Adobe flash cuz  I don't know how to close   "system preferences"

    CAN'T INSTALL   ADOBE  FLASH PLAYER  CUZ  I  DON'T KNOW HOW TO CLOSE  SYSTEM PREFERENCES  ON MY  MAC  !!!

    Open your Linux distribution's package manager and install Flash Player from there.
    * https://help.ubuntu.com/community/RestrictedFormats/Flash
    The following support article lists alternative installation methods.
    * [[Install the Flash plugin to view videos, animations and games]]
    If you continue having problems, please describe exactly what steps you've taken and what went wrong (error messages, if any).

  • How to close apple account, please?

    Hello,
    How to close an apple account, please?
    If it not possible for good then it will be for bad. I will force Apple to close my account.
    Regards.
    P.S.: I HATE APPLE.

    Here's what the iTunes Store has said about cancelling an account (paraphrased from an email to another poster):
    There are a couple of options that will allow you to retain full access to your purchases while preventing your account from being used to make additional purchases:
    1) You can remove your billing information from your account at any time so that it can't be used to make purchases. By doing this, you retain the ability to authorize computers to play the items you have purchased with the account, and you will still have the account open in case you decide to use it later. To remove the billing information while keeping the account open, go to the Store menu in iTunes and choose View My Account. Log in, go to Payment Information, and in the credit card area choose the "none" option.
    2) Apple may be able to disable your account, which will prevent it from being used to make purchases, but you will still be able to use the items you purchased with the account.
    It is possible to cancel the account (or at least Apple has done so in special circumstances in the past), but you will lose the ability to re-download or update any items you've already purchased from the iTunes Store, or to authorize any existing or new devices to use that contant. For example, if your computer is repaired, you may not be able to reauthorize the computer to play your purchases after the repair. Also, you wouldn't be able to authorize computers that were not already authorized before you canceled the account. You may sign up for a new account in the future, but your new account will not play any of the songs or videos purchased with the canceled account (and you can't reactivate the canceled account). You should not cancel the account if you want to be sure you can continue to use your iTunes Store purchases. I therefore strongly recommend either just removing your billing information or disabling the account as described above.
    If you really insist on asking Apple to disable (or cancel) the account, you'll need to send a message to the iTunes Store via their contact page:
    http://www.apple.com/support/itunes/contact/
    specifying if you would like it disabled (or canceled). They should then respond with additional information (some of which I've given above).

  • How to blick tree view few specific nodes

    here i got a code which show how to blink tree view node but i am confuse that how to blink few node.
    Answered by:
    Avatar of Tamer Oz
    20,185
    Points
    Top 0.5
    Tamer Oz
    Partner Joined Sep 2009
    2
    8
    17
    Tamer Oz's threads
    Show activity
    Treeview control - How to make a node blink?
    Visual Studio Languages
    .NET Framework
    >
    Visual C#
    Question
    Alert me
    Question
    Vote as helpful
    0
    Vote
    Hi,
    Is there a "elegant" way to make blink a treeview node?
    I am thinking to use a timer with the collection of nodes that I want to make the blink effect, and update the icon ...
    Friday, November 06, 2009 6:19 PM
    Reply
    |
    Quote
    |
    Report as abuse
    Avatar of Kikeman
    Kikeman
    R. BOSCH
    105 Points
    All replies
    Question
    Vote as helpful
    0
    Vote
    Hi,
    You can develop your custom control for this purpose. The logic you mentioned was correct. Here is a sample control that I developed by the logic you mentioned.
    public class BlinkingTreeView : TreeView
    private Timer t = new Timer();
    private List<TreeNode> blinkingNodes = new List<TreeNode>();
    public BlinkingTreeView()
    t.Interval = 1000;
    t.Tick += new EventHandler(t_Tick);
    bool isNodeBlinked = false;
    void t_Tick(object sender, EventArgs e)
    foreach (TreeNode tn in blinkingNodes)
    if (isNodeBlinked)
    //update Icon
    tn.Text = tn.Text.Substring(0, tn.Text.Length - 1);//to test
    isNodeBlinked = false;
    else
    //update Icon
    tn.Text = tn.Text + "*";//to test
    isNodeBlinked = true;
    public void AddBlinkNode(TreeNode n)
    blinkingNodes.Add(n);
    public void RemoveBlinkNode(TreeNode n)
    blinkingNodes.Remove(n);
    public void ClearBlinkNodes()
    blinkingNodes.Clear();
    public List<TreeNode> BlinkingNodes
    get { return blinkingNodes; }
    public int BlinkInterval
    get { return t.Interval; }
    set { t.Interval = value; }
    public void StartBlinking()
    isNodeBlinked = false;
    t.Enabled = true;
    public void StopBlinking()
    t.Enabled = false;
    just show me how to use BlinkingTreeView class. i will have tree view which will have few node and few nodes may have few child nodes. now how to achieve by this class BlinkingTreeView and show me how to blink few specific node not all. thanks

    better to come with code. first populate tree view with some dummy node this way
    Root
           Child1
                    Child1-sub1
                    Child1-sub2
           Child2
                    Child2-sub1
                    Child2-sub2
    now blink Child1-sub2 & Child2-sub1. please come with code. thanks

  • How to wrap a view in oracle

    Does any one know how to wrap a view in Oracle, I know it is not possible, yet. Are there any third party software to wrap the logic in the view.
    Thanks,
    Sanjay

    Your best bet is to write a view that queries the source tables and contains any necessary business logic
    CREATE VIEW VBASE AS SELECT A.COLUMN_A FROM TABLE_1 A, TABLE_2 B, TABLE_3 C WHERE A.ID = B.ID AND B.ID = C.ID;
    create a view for exposure to the user that queries the base view.
    CREATE VIEW VSECURE AS SELECT COLUMN_B FROM VBASE;
    and grant privileges to VSECURE.
    GRANT SELECT ON VSECURE TO SECURE_USER;
    This will allow the user to see, query, and describe VSECURE without seeing the definition for VBASE.
    The advantage of the this approach is that the query engine can still push predicates down into the base view to optimize the performance or the query where as this is limited with the pipeline function and can become a tuning headache.
    eg.
    SQL> -----------------------------------------
    SQL> -- create some tables
    SQL> -----------------------------------------
    SQL> CREATE TABLE table_1(ID NUMBER, MESSAGE VARCHAR2(100))
    Table created.
    SQL> CREATE TABLE table_2(ID NUMBER, message2 VARCHAR2(100))
    Table created.
    SQL> CREATE TABLE table_3(ID NUMBER, message3 VARCHAR2(100))
    Table created.
    SQL> -----------------------------------------
    SQL> -- populate tables with some data
    SQL> -----------------------------------------
    SQL> INSERT INTO table_1
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'HELLO there joe'
    ELSE 'goodbye joe'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> INSERT INTO table_2
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'how are you joe'
    ELSE 'good to see you joe'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> INSERT INTO table_3
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'just some data'
    ELSE 'other stuff'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> -----------------------------------------
    SQL> --create base view
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE VIEW vbase AS
    SELECT a.MESSAGE,
    c.message3
    FROM table_1 a,
    table_2 b,
    table_3 c
    WHERE a.ID = b.ID
    AND b.ID = c.ID
    View created.
    SQL> -----------------------------------------
    SQL> --create secure view using base view
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE VIEW vsecure AS
    SELECT MESSAGE,
    message3
    FROM vbase
    View created.
    SQL> -----------------------------------------
    SQL> -- create row type for pipeline function
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE TYPE vbase_row
    AS OBJECT
    message varchar2(100),
    message3 varchar2(100)
    Type created.
    SQL> -----------------------------------------
    SQL> -- create table type for pipeline function
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE TYPE vbase_table
    AS TABLE OF vbase_row;
    Type created.
    SQL> -----------------------------------------
    SQL> -- create package
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE PACKAGE pkg_getdata AS
    FUNCTION f_get_vbase
    RETURN vbase_table PIPELINED;
    END;
    Package created.
    SQL> -----------------------------------------
    SQL> -- create package body with pipeline function using same query as vbase
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE PACKAGE BODY pkg_getdata AS
    FUNCTION f_get_vbase
    RETURN vbase_table PIPELINED IS
    CURSOR cur IS
    SELECT a.MESSAGE,
    c.message3
    FROM table_1 a,
    table_2 b,
    table_3 c
    WHERE a.ID = b.ID
    AND b.ID = c.ID;
    BEGIN
    FOR rec IN cur
    LOOP
    PIPE ROW ( vbase_row ( rec.MESSAGE, rec.message3 ) );
    END LOOP;
    END;
    END pkg_getdata;
    Package body created.
    SQL> -----------------------------------------
    SQL> -- create secure view using pipeline function
    SQL> -----------------------------------------
    SQL> CREATE or replace VIEW vsecure_with_pipe AS
    SELECT *
    FROM TABLE ( pkg_getdata.f_get_vbase ( ) )
    View created.
    SQL> -----------------------------------------
    SQL> -- this would grant select on the 2 views, one with nested view, one with nested pipeline function
    SQL> -----------------------------------------
    SQL> GRANT SELECT ON vsecure TO test_user
    Grant complete.
    SQL> GRANT SELECT ON vsecure_with_pipe TO test_user
    Grant complete.
    SQL> explain plan for
    SELECT *
    FROM vsecure
    WHERE MESSAGE LIKE 'HELLO%'
    Explain complete.
    SQL> SELECT *
    FROM TABLE ( DBMS_XPLAN.display ( ) )
    PLAN_TABLE_OUTPUT
    Plan hash value: 3905984671
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 16939 | 2365K| | 3098 (3)| 00:00:54 |
    |* 1 | HASH JOIN | | 16939 | 2365K| 2120K| 3098 (3)| 00:00:54 |
    |* 2 | HASH JOIN | | 24103 | 1835K| | 993 (5)| 00:00:18 |
    |* 3 | TABLE ACCESS FULL| TABLE_1 | 24102 | 1529K| | 426 (5)| 00:00:08 |
    | 4 | TABLE ACCESS FULL| TABLE_2 | 1175K| 14M| | 559 (3)| 00:00:10 |
    | 5 | TABLE ACCESS FULL | TABLE_3 | 826K| 51M| | 415 (3)| 00:00:08 |
    Predicate Information (identified by operation id):
    1 - access("B"."ID"="C"."ID")
    2 - access("A"."ID"="B"."ID")
    3 - filter("A"."MESSAGE" LIKE 'HELLO%')
    Note
    PLAN_TABLE_OUTPUT
    - dynamic sampling used for this statement
    23 rows selected.
    SQL> -----------------------------------------
    SQL> -- note that the explain plan shows the predicate pushed down into the base view.
    SQL> -----------------------------------------
    SQL> explain plan for
    SELECT count(*)
    FROM vsecure_with_pipe
    WHERE MESSAGE LIKE 'HELLO%'
    Explain complete.
    SQL> SELECT *
    FROM TABLE ( DBMS_XPLAN.display ( ) )
    PLAN_TABLE_OUTPUT
    Plan hash value: 19045890
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 2 | 15 (0)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | 2 | | |
    |* 2 | COLLECTION ITERATOR PICKLER FETCH| F_GET_VBASE | | | | |
    Predicate Information (identified by operation id):
    2 - filter(VALUE(KOKBF$) LIKE 'HELLO%')
    14 rows selected.
    SQL> -----------------------------------------
    SQL> -- note that the filter is applied on the results of the pipeline function
    SQL> -----------------------------------------
    SQL> set timing on
    SQL> SELECT count(*)
    FROM vsecure
    WHERE MESSAGE LIKE 'HELLO%'
    COUNT(*)
    19999
    1 row selected.
    Elapsed: 00:00:01.42
    SQL> SELECT count(*)
    FROM vsecure_with_pipe
    WHERE MESSAGE LIKE 'HELLO%'
    COUNT(*)
    19999
    1 row selected.
    Elapsed: 00:00:04.11
    SQL> -----------------------------------------
    SQL> -- note the difference in the execution times.
    SQL> -----------------------------------------

Maybe you are looking for

  • Manage multiple iphones on itunes account

    How can I manage multiple iphones on one itunes account?  I am trying to sync my daughters phone whom has different applications than mine - but my itunes account won't cooperate.  Cant find any info on this.  Wanted to download the new iOS 5 but nee

  • Fill additional details street2 and street3 using program rfbikr00

    I am using the program rfbikr00  for creating vendors. I want additonal fields like street2 and street3. But the standard program does not have the provision. can u please provide me the solution to get this done.

  • Background folder went black

    I have macbook pro mid 2010 with Snow Leopard. I formated my laptop 3days ago, so right now I have to install all the softwares I need I was just installed my calibrator software (Spyder Elite 3) and when I tried to calibrate my monitor, the software

  • PROTECT command in script

    hi all, I am developing reservation sheet, when i print the reservation the line items are printing different page. I used the PROTECT command like this but still it is printing different page. /E     ELE1 /:       PROTECT /M1     itab-rspos,,itab-ma

  • Loss % in process order confirmation

    Dear all, During process order confirmation,loss should not to take above 10%. It should be within 10%. Kindly let me know hat customization to be done for this scenario Regards Rajasekaran