Problem in Navigation from one tab to another

Hi All,
In my forms, I have three tabs. In one tab, i have a set of records displayed(like table) in which all columns are bound to a table. I want to sort the records in the tab based on one column. So i wrote the following code in WHEN-TAB-PAGE-CHANGED trigger in form level. It works fine when i click on the particular tab. But when i try to navigate from one tab to another tab which i want to sort, the records in the tab are not sorted. The buton i used to navigate from one tab to another is tab in key board.
DECLARE
l_order_by VARCHAR2 (70) := '(select code from emp)';
BEGIN
IF (:SYSTEM.tab_new_page) = 'PAGE1' OR :SYSTEM.cursor_block = 'BLOCK1' THEN
SET_BLOCK_PROPERTY ('BLOCK1', order_by, l_order_by);
GO_BLOCK ('BLOCK1');
EXECUTE_QUERY;
END IF;
END;
please help asap.
Thanks,
Gopi.

Gopi,
Based on your sample code, the only data block that you are modifying the sort on is "BLOCK1". Rather than combine all of your logic into the When-Tab-Page-Changed (WTPC) trigger, I suggest you simply use the WTPC trigger to set the cursor to the block associated with the selected tab page and then set your block properties and query your block in the When-New-Block-Instance (WNBI) trigger for each block. For example:
/* Sample When-Tab-Page-Changed trigger */
DECLARE
   tp_nm    VARCHAR2(30);
BEGIN
   tp_nm := :SYSTEM.TAB_NEW_PAGE;
   IF ( tp_nm = 'PAGE1' ) THEN
      Go_Block('BLOCK1');
   ELSIF ( tp_nm = 'PAGE2' ) THEN
      Go_Block('BLOCK2');
   ELSIF ( tp_nm = 'PAGE3' ) THEN
      Go_Block('BLOCK3');
   END IF;
END;Bare in mind, that clicking on a Tab Page does not move the navigation cursor the block associated with the tab page displayed. You must manually perform the navigation as demonstrated above. Now, in your WNBI triggers you would write something like the following:
/* Sample When-New-Block-Instance trigger */
DECLARE
   l_order_by VARCHAR2 (70) := '(select code from emp)';
BEGIN
   SET_BLOCK_PROPERTY ('BLOCK1', order_by, l_order_by);
   EXECUTE_QUERY;
END;You could combine this code into the WTPC trigger if you don't want to seperate the code and orgainze it according to your data blocks. The key, however, is that cursor navigation doesn't occur when you click on a tab, you have to perform the navigation yourself.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Problems in navigating from one report to another in Obiee 10g

    Hi,
    I am trying to navigate from One report another report.
    In the first report, the filters are being passed using the presentation variable.
    In the second report, the filter are also based on presentation variable.
    In the first report, filters are being passed but when I navigate to second report I face the problem.
    The presentation variable are not getting passed.
    Kindly help with you suggestions.
    Regards,
    Biswadeep

    Hi Biswadeep,
    in your first report you use the presentation variables to filter data. But in your second report, you must include all fields where you want filter data and in the properties of each field you indicate that these fields are prompted.
    Hope it helps,
    Benoit

  • Problem in navigating from one report to another in OBIEE 10g

    Hi,
    I am facing an issue with OBIEE 10g while applying navigation on my reports.
    Lets suppose I made a report showing list of all items(in broad categories) sold on a particular day, say Dairy, Frozen Foods, Chocolates etc.In this report there is a date prompt showing the date of sale.
    Now there are certain items that are distributed within these categories, like dairy includes milk, cheese, butter etc.
    Hence, my navigation should be like when I click on a particular item category, the control should move on to the report which has all items under that particular category and the prompt for this report should show the same date as passed in the previous report.
    But sometimes what happens is that on clicking the navigation from first report to the second one, the date is not persisting in the prompt. I say sometimes because at times the navigation does work correctly. This is a bug of Obiee or something which is giving unexpected results.
    Kindly help with your suggestions.
    Thanks
    Ankita

    Ankita,
    This is not a bug in OBIEE...I'm sure something is missing. If this is working for some cases and not working for some other case then you will need to find the root cause. Try in bits and pieces...Step by Step with some dates (unit testing). Ideally this shud work properly.
    For an instance try with OBIEE drilldown feature and not with navigation with a single sale date and observe the behavior.
    Hope its clear...

  • Problem in Navigation from one component to another component

    Hi,
    Here my requirement is:
    I have component - SRQM_INCIDENT_H/MainWindow. Now I have a buttopn in this window called "Create Task". When I clicke on this button, I need to navigate into another component carrying with some data. The other component is - BT125H_TASK/MainWindow.
    I have done the following steps:
    1. Added Task as component usage.
    2. Added Outbound plug in Service Request
    3. Now I am trying to create navigation link. Here, I am not able to see my component usage in Target views list.
    So, I am not able to create navigation link itself.
    Could you please help me out with some stepsfor this.
    Thanks,
    Sandeep

    1)Add the window to you component usage,the one whihc u want to navigate to .
    2) add this wuindow in the runtime repository to your main window.
    Only then u shud b able to c ur window in the "target" list for creating nav links.
    Suvidha

  • Blank Screen while navigating from one screen to another in a web applicati

    Blank Screen while navigating from one screen to another in a web application.
    While navigating through the screens of the web-based application, I get blank screen at times. The application menu bar is still visible and the header and footer jsps are also still available. The main processing frame alone goes blank. Once I get the blank screen, I am able to choose from the menu option and contine navigating through the screens.
    The application has been deployed on WebSphere Application Server v6.0 and uses JDK 1.4.2. I have checked the application, server and systemerr logs. And there are no exceptions in any of the log files. There is no difference in the logs for a normal flow and the flow when the blank screen occurs.
    The blank screen does not occur always. It occurs around 3 out of 10 times. If you consider a particular page, mostly it loads normally and very few times, the blank screen occurs.
    Compression filter is being used and it gets invoked for every request. Size before and after compression also gets printed in the logs.
    Could this be causing any issue in terms of memory handled or could any jsp timeout be happening, though there are no exceptions in the logs.

    Well, since no one has any ideas, here is my two cents worth:
    Can you turn off compression and see if the problem goes away? If not, I suggest creating a small separate project with the same functionality as that part of the program that causes problems and see if you can duplicate it. Use System.out.println() in the java code and out.write() in the JSP pages throughout the java and JSP code to write to the log file or console as each section is run to see what section is causing problems. You can also consider commenting out sections of code in your JSP page to see if you can isolate the problem.
    I had a similar problem with the screen being blank and this is what I found:
    My JSP page had an include tag in it that included another JSP page. The outer JSP page was drawn and waited for the included JSP page to be drawn. The logic took several minutes to run and something timed out. The inner JSP page was never drawn. No log entry occurred. It appears that it was not Apache or Tomcat that caused the problem, but some firewall or similiar such device. If you have a firewall or similar device, see if the person who maintains it can temporarily set its timeout to a very long time (15 minutes) to see if the problem goes away. Apache and Tomcat probably also have a timeout feature too. You will have to read up on their configuration settings on how to set them.
    By the way, each of those devices probably has its own log file you can read to see if its reporting an error.

  • Pass Value from one tab to another

    Hi,
    I have a requirement to pass a value from one tab to another.
    For ex: I have a CC&B page with two tabs (Main, Steps).
    In the Main tab, I choose a Field Activity. Once it is chosen, I want to pass the value of the Field Activity ID to the 'Steps' tab. Once I get the value of the field Activity, I can then query up a table and populate some fields in the Steps tab. How can i achieve passing the value if FA Id from one tab to another?
    I tried to create an extension of the page using ext_page.jsp. But this extension just provides us methods like extPreOnWindowLoad(), extPostOnWindowLoad() etc which really is not helpful.
    Any suggestions?
    thanks

    Hi,
    We cannot pass multiple values using Drill Filters beause it is based on hierarchy that can take only one value at a time.
    If you want you can use Report Level Filter instead.
    Neither can we pass dril filters from one tab to other.

  • Passing items from one tab to another

    Hi there,
    I have two reports, each on a seperate tab, I would like to pass values from one tab to another, anybody know how I can achieve this. Thanks...
    Edited by: user9129179 on 10-Mar-2010 04:21

    Ahh, I see - thanks for clarifying.
    I think in that case it would be easier simply to reference the value of the item on the other page instead of pushing the value to the target page.
    e.g. on page 100...
    :P100_SOME_ITEM := :P200_SOME_ITEM; -- Read value from Page 200Would that work for you?
    Additional:
    Editing the item on the target page, under the Source section:
    - Source Used = Always, replacing any existing value in session state
    - Source Type = Item (application or page item name)
    - Source Value = <name of item on source tab>
    Edited by: FFS on 10-Mar-2010 07:35

  • Photoshop: how to drag a layer from one tab to another?

    Hello, I am trying to drag a layer from one tab to another in Photoshop and I was able to do this less than 1/2 hour ago and now it will not drag. I have closed the program, restarted my computer, everything and it will not drag. What is wrong???

    Does this work for you?
    Document A - left click to select the layer to be copied, then Layer command in the menu bar (or right click in the Layers panel) > Duplicate Layer
    In the Duplicate Layer dialogue box, Destination: Document, select the open file to which you want to copy the layer from the dropdown menu
    Click OK

  • Navigation from One page to another page through hyperlink in webcenter

    Hi All,
    I created ADF unbounded taskflow and want to use it in my webcenter portal application for navigation from one page say Page x to another say Page y by clicking on the hyperlink in the Page x. How to do this in webcenter portal application. When I try to add the taskflow in the navigation model it is taking to the blank page instead of taking to Page x. Many thanks in advance.
    Regards
    Kaushik Gopalakrishnan

    Take a look at this discussion (and referenced resources): http://groups.google.com/group/webcenter-emg/browse_thread/thread/b32d3252228c9e0a

  • Problem moving mail from one computer to another...

    Hello.
    I'm trying to move a specific mailbox from one computer to another computer. I'm doing this to 2 pairs of machines and with the first pair I had no issues. But, then second pair I get errors.
    On the first computer I just copied the .mbox folder (which contains the sub "Messages" folder & info.plist file) from the one computer to the other. Then, in mail.app I "import" the messages via the Import option (importing mail from Mac OS X). No problem and all messages are imported.
    On the second pair of computers, I did the same thing, but when I try and Import the messages onto the second machine, it says it can't find any OS X mail messages to import.
    I really need to get these messages from one machine to another. "Forwarding" or "Redirecting" all the messages from one machine to another isn't an option.
    Can anyone suggest what might be wrong, or another way of migrating the single folder of messages (not the entire account) from one machine to another?
    Thanks,
    Kristin.

    Hi Kristin,
    I stay away from mbox files because it has never worked for me, but I may have a solution. This may not be THE award winning answer, but you could consider it when the other options don't work:
    I assume you want to import a mailbox that is NOT part of an IMAP account, because otherwise you would not have this problem (right?) (otherwise just open that IMAP account on the computer you want the messages on).
    But if you have an IMAP account, besides the POP account that contains the mailbox in question, you can use that account to fix your problem:
    Go to the compu that has the desired mailbox, make a new folder in the IMAP account called 'backup' or whatever. Copy all messages from the desired mailbox to that new IMAP folder (depending on size this may take a while, because you are uploading via your internet connection). Now go to the other compu, make a new 'local folder' in mail.app. Open the IMAP account in mail.app and open the 'back up folder'. Now copy all messages to the new, local folder.
    If you don't have an IMAP account, you can always open a free one with gmail.
    I know, it's not very elegant, but this will work guaranteed.
    Good luck,
    Feddeg

  • What are the methods called while navigating from one applet to another one

    Hi All,
    Could any one brief me about "When you navigate from one applet to another what are the methods called ?".
    Thanks in advance.
    Best Regards,
    N.Madhusudhanan.

    http://forum.java.sun.com/thread.jsp?forum=421&thread=426771&tstart=0&trange=100

  • Problem transferring website from one PC to another.

    I’m trying to transfer a site from one PC to another, but it won’t open on the second PC. I’ve tried exporting the site definition and also transferring individual files, all to no avail.
    It’s the same copy of Dreamweaver CS4 on both machines (version 10.0, build 4117) but it acts as though Dreamweaver doesn’t exist on the second PC, even when I have it open first.
    Would the fact that the first PC is running Windows 7 while the second PC is running Windows XP have any bearing on it? Or am I doing something else wrong?

    Murray,
    I export to a memory stick and then import it from that. It loads the folder into DW local files on the second PC, but there's nothing inside the folder. It's just empty.
    John,
    I purchased one copy and installed on both machines. They're not networked. I had hoped to keep one PC offline and just transfer files to the other one and use it for connecting to the Internet.

  • How to transport data from one tab to another(mapinfo)?

    Hello all,
    due to a change of design i have to transport datas from one
    spatial table to another in order to use them in mapinfo.
    How can i handle this with polygon datas?
    if i just do a simple "insert into tab select * from anothertab;
    all std datas are moved but the spatials generate errors while
    opening in mapinfo (illegal data type) any ideas or suggestions?
    Thanks i advance,
    Volker I. Lipper

    Hi,
    just a guess - maybe the necessary metadata is missing. I suggest
    you check the MAPINFO.MAPINFO_MAPCATALOG table for the
    appropriate entry (for "anothertab"). If there is no
    corresponding row, you need to make the table mappable in Mapinfo
    Pro first.
    Hope this helps,
    --- Hans.

  • Problems importing mail from one user to another on same computer

    Hi,
    I work from home so I created a new account on my computer so I could have a personal user and a business user. That way maybe I won't always end up working when I'm trying to relax. So I want to bring all my old work emails over the the new work account. But when I copy the mail files to the new user account and then try to import, the folders all have red circles with minus signs. I gather that this has something to do with permissions, but when I change the owner to the new user, they still have the red circles. I also tried just moving the whole mail folder over to the new user, but it's "read only".
    Both users are administrators. I'm running OS 10.4.4.
    Thanks in advance for any advice!

    Hi Andrew.
    What you tried to transfer the Mail folder from one user to the other should have worked, except I believe you didn't properly change ownership of the files and folders involved.
    7. open new user Mail
    8. Mail asks me to set up an email account
    This probably happened because you didn't change ownership of the com.apple.mail.plist file. If Mail doesn't have access permission to write to that file, it just deletes the file and creates a new one (Mail can delete the file because doing that requires write permissions for the directory the file is in, which it has). As a result of re-creating the preferences file, Mail asks you to set up your accounts from scratch all over again.
    14. change the ownership of the mail folder to the
    new user, but I still can't look inside the folder
    and it has the red circle with the minus sign.
    It looks like you tried changing ownership of the enclosing Mail folder only. Ownership of all the items within it must be changed as well. Unfortunately, there is no way to do this properly in the Finder, as the Apply to enclosed items button in the Get Info window also overwrites access permissions, not just the changes you make to ownership. Usually, this is wrong, as a different set of permissions may be appropriate for each item. In the particular case of the Mail folder, however, you can come close to doing the right thing as follows:
    1. In the Finder, go to HOME/Library/. Locate the Mail folder, select it and choose File > Get Info (⌘I). Under Ownership & Permissions, expand Details by clicking on it.
    2. Change the settings as follows (you may need to click on the lock icon to authenticate first). Owner: username, with "Read & "Write" access permissions; Group: username, with "Read only" access permissions; Others: "No Access".
    3. Click on the Apply to enclosed items button at the bottom of the Get Info window.
    4. Change Group access back to "No Access", which probably was (or should be) the initial setting when you opened the Info window.
    5. Close the Get Info window.
    The right way to (recursively) change ownership of the Mail folder without altering access permissions would be issuing the following command in Terminal:
    sudo chown -R username:username ~/Library/Mail
    And while you're at it, you may as well use Terminal to change ownership of the preferences file:
    sudo chown username:username ~/Library/Preferences/com.apple.mail.plist

  • JDeveloper : Problem while navigating from one to another page.......

    Hi,
    I am using JDeveloper 11.1.1.4.0.
    Assume that Eo name : EmployeesEO. I want to display all employees those who r all under coreesponding Department. For that i have created ViewCriteria Named as EmployeeByDepartment for DepartmentId in EmployeesVO. where clause in Viewcriteria is:
    *( (Employees.DEPARTMENT_ID = :Departmentid ) )* .
    Then exposed that viewCriteria in AM for EmployeesVO Instance.
    Now i created taskFlow where I created two jsff page. In page 1 just i drag and drop EmployeeByDepartment viewcriteria from datacontrol [DataControl->EmployeesVO1->NamedCriteria]. Then i drag and drop EmployeesVO1 from Datacontrol to Page 2 as ADF Form.
    Now while clicking Search Button in page 1 it should navigate to Page 2 and also it should display Employee details those who r all under same Department.
    How can i achieve??
    Regards,
    Praveen.

    First question: which component do you use (af:query or anything else)?
    next question if you use af:query why not show the result on the same page (query with table)?
    Timo

Maybe you are looking for

  • Lost Data | Hard Drive Failure

    hello, after a series of unrecoverable crashes running safari, i tried running disk utilities from the start up disc, only to make matters worse. it won't boot up now. simply stalls while loading for about 15 minutes and shuts down entirely. i tried

  • Unable to download

    Why am  unable to download, in order to print from any site online. I have removed and re -downloaded Adobe Reader several times and it still does not work.  When I try to download to print from any site all I get is ablue page showing that something

  • Fully Qualified Host Name does not work

    Hello, I've EP 7 with Usage Types AS Java, EPC, EP, BI Java, BP-ERP & XSS. I am using fully qualified hostname by means of making entries in hosts file at OS level. I've also set icm/host_name_full parameter correctly. Now when I enter URL as http://

  • TNS : Connection closed error

    I am using Toad 9.7.2 which is configured for use of Oracle databse 10 g stored on Network. It was running fine. But after installing oracle 11g on my computer. The toad is not not connecting to any of the database. Kindly guide how to solve this iss

  • Can I pair iPhone to iMac to utilise Bluetooth function?

    Hi everyone, I currently own one of the first iMacs built in 2006 that were originally built for the education sector. This model doesn't have a Bluetooth card so obviously I can't use any wireless peripherals with it. But my question is whether I ca