Af:panelTabbed get currently displayed tab

Hello
I'm using JDeveloper 11.1.1.0.2. I have a af:panelTabbed in my application and I want to be able to call a method in my backing bean when the current tab is switch to another.
Or can I at some point programatically get the currently displayed tab ?
Thank you!
Angel

Hi,
you may need to give us more information on this usecase. What is contained on the tabs? If you can, what is the display in FF ? Note that tabs work fine for me so moe information is needed
Frank

Similar Messages

  • How to get current displayed position of an item in listcontrol ?

    Hi,
    can anyone please help me to get current displayed position of an item in a listbox control in vc++ mfc. I am using CListCtrl class to manipulate.
    Thanks,
    saffiuddin 

    On 4/11/2015 3:45 AM, "David Lowndes [MVP]" wrote:
    can anyone please help me to get current displayed position of an item in a listbox control in vc++ mfc. I am using CListCtrl class to manipulate.
    Have you tried GetItemPosition?
    ... or GetItemRect (a bit more information).
    Igor Tandetnik

  • How to get current active tab (Detailitem)

    Hello,
    i have searched everywhere and still can't find a solution for such simple task. I want to get the current active Detailitem value (af:showDetailitem) from a panelTabbed (using java class)
    Working on Jdeveloper 11.1.2.4.0,
    can you help me please?

    Was hoping something more abstract solution, like getting the current instances of active tabs and find out what is the active at that running moment. Ah well, its 2013 and still disappointed by Java.
    Thanks a lot for your help Subramanina, i used something similar to your suggestion:
    1) i have change my main function, and set it to accept a string (that will be the tab's id) for my purpose
    2) on each tab, i add a disclosure event function. Inside that, i just simply save the tab's id on a private variable. So when ever
    i want the current active tab id, i just get that variable's value.
    3) PartialTrigger the panel with tabs
    Almost the same solution with yours, just mine is less professional since i lost you there

  • Adobe DPS Reading SDK: how to get currently displaying page orientation?

    Hi All,
    I've been trying to extract page/article information using the Adobe DPS Reading SDK.
    There is a tutorial (New APIs and features in r30, including folio navigation, article metadata and calendar events | Adobe Developer Connect…) which i've heavily reused but there is on last thing in the puzzle that I need to extract.
    I need to extract the page layout / orientation when displayed on a device.
    adobeDPS.folioDataService only extract article metadata and those methods do not contain any reference to orientation or layout.
    Interesting enough, i was able to locate a "ApplicationState" object which is produced from the ConfigurationService.( Adobe DPS - Reading SDK 2.30 : adobeDPS-ConfigurationService : JsDoc Reference )
    I haven't try this the "orientation" field description is not exactly what i want: "The orientations this view supports."
    I need the:  orientation which i'm currently displaying this page.
    Any thoughts? Should i be using a different SDK?
    Your help is very appreciated.
    Regards

    You can use the javascript native attribute "window.orientation".
    Something like this should work:
        function currentOrientation(){
              switch(Math.abs(window.orientation)){
                   case 90:
                         alert('landscape');
                         break;
                   default:
                        alert('portrait');
                        break;
    window.addEventListener('orientationchange' , function(){ currentOrientation() });
    //Call it first if needed
    currentOrientation();

  • Do Controls/Indicators in all display tabs get updated even if not visible?

    I have a pretty simple Labview VI that I need to run at a 10 ms loop. Currently, I can only get it to run at 17 ms. It has a RS422 that has to send and receive a message every 10 ms. I have a lot of troubleshooting indicators on a Debug Tab. I am wondering if these indicators are being updated even though they are not on the currently displayed tab. If so, will changing the "visible" property node of all these indicators speed up execution?
    Thanks,
    Solved!
    Go to Solution.

    Hello tootalled,
    Do you happen to have synchronous display enabled?  In most applications, having asynchronous display enabled significantly speed up execution without affecting what the user sees. For example, you can update a Boolean value hundreds of times in a second, which is more updates than the human eye can discern. Asynchronous displays permit the execution system to spend more time executing VIs, with updates automatically reduced to a slower rate by the user interface thread.
    If you want asynchronous displays, right-click the control or indicator and select Advanced»Synchronous Display from the shortcut menu to uncheck the menu item.
    Please see this document regarding VI execution speed: http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/vi_execution_speed/
    Like crossrulz said, I also recommend using the Producer/consumer architecture. This way, you can process your data in one loop, pass the data via a queue, and update your indicators in a separate loop that does not affect the speed of your processing vi. 
    K. Anderson
    Applications Engineer
    National Instruments

  • How to get current tab name or tab id or related info?

    Hi ,
    I would like to hide/show tabs according to users' page privileges list. So I need get current tab ID or tab Name in runtime environment to know if show/hide it for current user. :APP_USER
    Could you please provide any info about this requirement? Or do you have alternative method to control tabs' hide/show?
    thanks
    Ruiping

    最爱用中文 wrote:
    Hi Jari,
    Thanks for your info. Even if set authorize schema to tabs, I still need to get the relationship between "current tab" and "privilege&users". So I think evrm's hard-code method above is avaliable.I agree with Jari: APEX provides Authorization schemes specifically for this purpose. You need to reverse your thinking on how to implement this.
    For more information consult the documentation on APEX security, specifically using authorization schemes to restrict access to pages and control rendering of components.
    Tutorial: Adding Security to your Database Application (APEX 4.0)
    Use Authorization Schemes to control access/rendering for security ("only managers see/access this page and it's associated tab"); and Conditions to control rendering for functional reasons ("region only displayed if account is in arrears").
    Authorization Schemes have the benefits of being reusable, performing better, and allowing central maintenance of security-related code. This makes it easier to change the implementation—say moving from role information held in database tables to groups defined in LDAP.
    I worked for a number of years with an application where authorization schemes are not properly used (decisions made before my involvement) and all security and business logic relating to rendering and processing is wrapped up in spaghetti code in conditions. It's impossible to maintain.
    It is of course advisable to make both authorization scheme and business logic condition code more reusable and maintainable by locating it in API packages.

  • How do i get the acrobat tab to display in Word 2013?

    how do i get the acrobat tab to display in Word 2013?
    i have Adobe Acrobat 11 Pro for Windows. In Word, it's in the Add-Ins area, and set to display at startup, but it doesn't.

    Are you running at least version 11.0.1 of Acrobat? Have you checked to make sure the add-on isn't on the disabled list for Word 2013? This is done under the Word Options button.
    In the categories pane, click Add-ins.
    In the details pane, verify that the add-in appears in the Disabled Application Add-ins list.  The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.
    In the Manage box, click Disabled Items, and then click Go.
    Select the add-in and click Enable.
    Click Close.

  • How to get and display current year

    hi,
    how to get and display current year
    and need it to convert numeric format if it is orginally
    in character format.

    Hi,
    chk this FM.
    CALL FUNCTION 'GET_CURRENT_YEAR'
      EXPORTING
        BUKRS         = '1000'     " Company Code
        DATE          = SY-DATUM   " Date to find fiscal year for
      IMPORTING
        CURRM         = w_currm    " Current Fiscal Month
        CURRY         = w_curry    " Current Fiscal Year
        PREVM         = w_prevm    " Previous Fiscal Month
        PREVY         = w_prevy.   " Previous Fiscal Year
    rgds
    anver
    if hlped pls mark points

  • Get the name of the jsp currently displayed

    Hi,
    how can i get the name of the jsp currently displayed?
    Thanks.

    Yep
    I thought about
    UIViewRoot viewRoot = FacesContext.getCurrentInstance().getViewRoot();
    String name = viewRoot.getViewId(); Message was edited by:
    nereidahoxhaj

  • What type of form need to be using to get Display tab on the Section Properties of my Optional Section?

    What type of form need to be  using to get Display tab on the Section Properties of my Optional Section?
    CRISTINA&amp MICROSOFT Forum

    Hi perezco,
    Are you using SharePoint?
    Please provide more information and screenshots about this issue.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • After the currently active tab is closed, can the previously acitve tab be automatically displayed?

    After the currently active tab is closed, I don't want to see the tab on its right or on its left. I want to see the tab that was active before the closed one, whatever its position is on the tab strip.
    Can that be achieved?

    My trackball has 4 buttons and a scroll wheel. Each of the 4 buttons is programmable. The 4 buttons are normally pre-programmed for single-click, double-click, drag and right-click by simply pressing on them
    Each of the 4 buttons may be programmed to also have other functions. For example, I programmed "control/single-click" to produce a middle click. I could also have used "shift/single-click" or "alt/single-click" to produce the middle-click. Or I could have similarly programmed double-click or drag or right-click. The Kensington Expert Mouse is quite versatile ... once you get the hang of programming it.
    I have had it for about 4 years and I had never had the need to program one of them until you told me about using a middle-click.
    Milt Beychok

  • Get current event in iCal

    I'm trying to create a script that would run as a trigger to set my away message in Adium to currentEventName - eventLocation
    Theoretically, my code works, and it does... sometimes. I figure there is some bug in it I'm just missing. Any help would be appreciated. Note that this has to work for for repeated items. I have cut the date off at the minute since the date and time has to be exact - unless of course you know of a way to fix this. Thanks. Below is the code.
    set myEvent to "Unknown Event"
    --gets the current date minus the time
    set curDate to (weekday of (current date)) & ", " & month of (current date) & ¬
    " " & day of (current date) & ", " & year of (current date) as string
    set curTime to round ((time of (current date)) / 60) rounding down
    set curHour to round (curTime / 60) rounding down
    set curMin to curTime mod 60
    --fixes the 0 problem
    if curMin < 10 then
    set curMin to "0" & curMin as string
    end if
    if curHour > 12 then
    set today to curDate & " " & curHour - 12 & ":" & curMin & ":00 PM" as string
    else
    set today to curDate & " " & curHour & ":" & curMin & ":00 AM" as string
    end if
    --today should now be the correct time without the seconds
    set today to date today
    tell application "iCal"
    repeat with i from 1 to count of every calendar
    if myEvent is "Unknown Event" or myEvent is {} then
    set myEvent to (summary of every event of calendar i whose start date is today)
    set myPlace to (location of every event of calendar i whose start date is today)
    end if
    end repeat
    end tell
    if myEvent is {} then
    set myEvent to "Unknown Event"
    --display dialog "No event on " & today
    end if
    if myPlace is {} then set myPlace to "Unknown location"
    set myAway to myEvent & " - " & myPlace as string
    tell application "Adium"
    set my status type to away
    set my status message to myAway
    end tell
    PowerMac G5 DP 2.0Ghz   Mac OS X (10.4.6)   1.5GB RAM, 160GB SATA HD, 160GB ATA HD (enclosure)

    Apparently, it works even faster if executed from iCal (as opposed to running with the events tab closed).
    There were a couple of minor bug fixes, but I've tested it on a fake repeated event, and will see if it really works tomorrow.
    Known bugs:
    does not work for daily
    does not work for monthly (ie, things on the third sunday)
    For now though, this is fine as almost all my things are custom weekly events.
    Here's the code:
    --Get current time, current time without seconds, and day abbreviation
    set current_date to (current date)
    set today to current_date - (seconds of current_date)
    set now to (time of (current date)) - (seconds of (current date))
    log now
    log today
    set thisYear to year of (current date) as number
    set thisMonth to month of (current date) as number
    set thisDay to day of (current date) as number
    set thisDate to characters 1 thru 2 of (weekday of (current date) as string) as string
    log thisDate
    --Init vars
    set freq to ""
    set interval to ""
    set endDate to ""
    set myEvent to ""
    set myPlace to ""
    set setBool to false
    tell application "iCal"
    repeat with i from 1 to count of calendars
    if setBool is true then exit repeat
    repeat with j from 1 to count of events of calendar i
    set rec to recurrence of event j of calendar i as string
    set curDays to my getDays(rec, j, i)
    if thisDate is in curDays then --Check if the event ocurrs today
    set endDate to my getEnd(rec, j, i)
    --If the end date is equal or greater to the current date (minus seconds)
    if item 3 of endDate ≥ thisYear and (item 2 of endDate > thisMonth or (item 2 of endDate = thisMonth and item 1 of endDate ≥ thisDay)) then
    set eventStartTime to (start date of event j of calendar i)
    set eventStartTime to (time of eventStartTime) - (seconds of eventStartTime)
    if eventStartTime is now then
    set myEvent to summary of event j of calendar i
    set myPlace to location of event j of calendar i
    set setBool to true
    exit repeat
    end if
    end if
    end if
    end repeat
    end repeat
    end tell
    try
    if myEvent is "" then set myEvent to "Unknown Event"
    on error
    set myEvent to "Unknown Event"
    end try
    try
    if myPlace is "" then set myPlace to "Unknown Location"
    on error
    set myPlace to "Unknown Location"
    end try
    set myAway to myEvent & " - " & myPlace as string
    if myAway is "Unknown Event - Unknown Location" then set myAway to "Out. Call the cell."
    tell application "Adium"
    set my status type to away
    set my status message to myAway
    end tell
    --display dialog myAway
    (* Parse Recurrence *)
    on getFreq(str)
    try
    return word 3 of str
    on error
    return ""
    end try
    end getFreq
    --Not used right now, but I feel it should be...
    on getInterval(str)
    try
    return word 6 of str
    on error
    return ""
    end try
    end getInterval
    on getStartDay(eventNum, calNum)
    tell application "iCal"
    set startDay to items 1 thru 2 of (start date of event eventNum of calendar calNum as string) as string
    end tell
    return startDay
    end getStartDay
    on getEnd(str, eventNum, calNum)
    try
    set endDate to items 1 thru 8 of word 9 of str as string
    set endYear to items 1 thru 4 of endDate as string
    set endMonth to items 5 thru 6 of endDate as string
    set endDay to items 7 thru 8 of endDate as string
    set endYear to endYear as number
    set endMonth to endMonth as number
    set endDay to endDay as number
    log {endDay, endMonth, endYear}
    on error --It isn't a recurring event
    tell application "iCal"
    set endDate to end date of event eventNum of calendar calNum
    set endYear to year of endDate as number
    set endMonth to (month of endDate) as number
    set endDay to (day of endDate) as number
    log {endDay, endMonth, endYear}
    end tell
    end try
    return {endDay, endMonth, endYear}
    end getEnd
    on getDays(str, eventNum, calNum)
    set dayList to {"MO", "TU", "WE", "TH", "FR", "SA", "SU"}
    set recDays to {getStartDay(eventNum, calNum) of me}
    log recDays
    try
    repeat with i from 12 to length of str
    if word i of str is in dayList then
    set recDays to recDays & word i of str
    else
    exit repeat
    end if
    end repeat
    return recDays
    on error
    return recDays
    end try
    end getDays

  • The new ribbon user interface in Win 8.1 should display appropriate buttons depending on the currently displayed folder within the explorer.exe window.

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

  • I have Firefox 13.0. I have the homepage with the icons such as history, but I do not have the updated tabs.How do I get the updated tabs? Thanks.

    I have just updated to Firefox 13.0. I have the AVG Secure Search on my browser or whatever it is that is where the search engines and refresh, and bookmarks icons are located. Even though on my add ons page it says it is disabled. But obviously it isn't because it still works. I have removed AVG Secure Search from the list of search engines in the drop down list in the search bar, but this did not solve the problem with my tabs. The Firefox website says that my Firefox is up to date, but if it is up to date why do I still have the same old tab page when I open a new tab? When I click on the plus sign to get a new tab, it takes me to about:Tabs and says on the screen "You've opened a new tab." Then it has a search bar and a button next to it that says "Web Search!" Then it goes on to say "With Tabs You Can..." So, how do I change my current tabs to the updated Firefox tabs with icons of the my recent tabs and websites I regularly visit. Also can you please provide detailed step by step ways to solve this problem. Thanks.

    You only see items on the about:newtab page if the history is enabled and the browsing cache is working (stores thumbnails).
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox
    You can check the current cache usage on the about:cache page and in Tools > Options > Advanced > Network > Offline Storage.

  • Smartview 9.3.3 issue with Options Display tab Replacement NoData

    I am testing an upgrade from 9.3.1 to 9.3.3. I have Office 2010 on a new WindowsXP laptop and using IE8.
    What I have found with the Options menu on the Display tab that it will NOT let me put the value zero in the fields for Replacement #NoData or #NoAccess.
    This is a huge problem for us as we use excel packs to upload our monthly reporting packs and have excel formula and HsGet formula built into the pack and when you refresh you get #Value error now instead of the no data fields populating with zero.
    Has anyone else had this issue and can suggest a solution please.
    Thanks
    Lynda

    Try #numericzero. I don't have an 9.3.x client handy but if my memory is correct this is what you need. Please note the memory is not as good as it used to be so don't be too mad at me if this is not it...

Maybe you are looking for

  • BO DI for extracting data from legacy system to SAP BW 7.0

    Hi, Has anyone worked on scenario where BO Data Integrator is being used as ETL tool for extracting data from legacy systems to SAP BW 7.0 ? Please share your experience on such a landscpae or related documents any of you had come across. Regards, Pr

  • Oracle where do I put it?

    I will be creating some jsp, java, jdbc applications that I will use to connect to different oracle db's all over the state. I have the standard Oracle Db on my system, but I havent really put it anywhere. I did a cpio on it and it created and extrac

  • Get Row and Column info from an Array Cluster

    I have an array with a cluster of 2 elements (string and double). Within my application, I am using the State Machine architecture with an Event Structure. When I click on a element within the cluster array, is there a way to retrieve the row and col

  • SUBMIT RSBDCSUB  in a program after a BDC_INSERT doesn't work

    Hi, I have a program with create a batch-input, after the call function BDC_INSERT, I use a SUBMIT RSBDCSUB to call the execution of the BI. My problem is, the batch still doesn't exist when I call the program. This problem only occurs in one server,

  • BADI application in CRM

    Hi Experts, I have see the usage of BADI in several occasion, in which areas the BADI is been used frequenlty. wat can be the application of BADI in webui Thanks & regards Prajith P