Initialization of the page, first disclosed tab

Hello,
I have a series of tabs inside a panel tab. When disclosing the tabs actions are invoked from within the actionListener according to the id or other attributes of the tabs.
However, the problem is with the first disclosed tab after the page is rendered or reloaded. In this case the page is set with a default open tab (the first one in the panel) and no events are issued.
What I want is to issue a "disclose" event for the first disclosed tab in such situations, as if the user clicked on it.
Is there a way to do this?
Thanks.

Hi,
you can queue events. In the tab case, its an DisclosureEvent: org.apache.myfaces.trinidad.event.DisclosureEvent
DisclosureEvent myInitialEvent = new DisclosureEvent(componentBindingToShowDetail, boolean_epxanded_true_flase);
myInitialEvent.queue();
However, the tricky part is when you want to queue the event because clicking onto an opened tab does not raise any other event. Adding a JavaScript af:clientListener may be an option to try. Its complex however as you would need to use an af:serverListener to call the server for the Java code to execute
Frank

Similar Messages

  • When I click a link to open the page in new tab, it open the new page beside my page.

    After I update FireFox to version 3.6.8, I could not open the new page in the last tab, it always opens the new page in beside the tab.
    Mmm…I could not make sure the new page or new tab I said is the same with you…?? (I use Chinese version so that I don’t know if it’s the same or not…)
    A window could open several pages with different tabs, and I could click different tab to different page, right?
    If I right clicked a link to open the page to “new tab” in the same window, the new tab opened in the last tab of my window.
    But after I update FireFox to version 3.6.8 and I click a link to open the page to “new tab” in the same windoe, the new tab will open beside my page. (Mmm…Open on right of my page.)
    I would like the “new tab” open to the last tab in my window, not “beside” the tab I used. How could I change the setting??)
    == This happened ==
    Every time Firefox opened
    == After I update FireFox to 3.6.8

    That feature isn't new to 3.6.8, it was changed in 3.6.
    Type '''about:config''' in the URL bar and hit Enter.
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''browser.tabs.insertRelatedAfterCurrent'''
    Double-click that preference to change the value to '''''false'''''

  • I am using an anchor to go to a certian spot on a page from but it jumps up to the top of the page first before getting to that spot.

    I am using an anchor to go to a certian spot on a page from but it jumps up to the top of the page first before getting to that spot. Any suggestions on this not happening?

    Hi,
    Kindly share the link to the site, so I will be able to understand the issue better.
    Regards
    Sonam

  • How can I define the page of new tab instead of a blank page ?

    Hello,
    I would like to define define the page of new tab instead of a blank page but without having to install a new extension.
    (see here for your answer if it is what you are looking for https://support.mozilla.com/fr/questions/716280 )
    Is it possible?
    Like changing something in about:config ?
    thanks

    too bad...
    (If I am not wrong I should add "there is no MORE about:config setting")
    So is there a way anyway ?

  • After a few minutes, the page down won't work without clicking the mouse pointer on the page I am reading to activate page down again. Is there a way to go back to page down working every time without having to click the page first?

    Question
    After a few minutes, the page down won't work without clicking the mouse pointer on the page I am reading to activate page down again. Is there a way to go back to page down working every time without having to click the page first?

    Today, two other users reported issues with the back-forward history list dropping down if they hovered the mouse pointer over the back or forward button -- without clicking -- and then moved the pointer downwards. One user was on a touchpad, I don't know about the other user. Are you experiencing anything like that?

  • How is it possible to change the page of 1 tab to Page 2 then to page 3 etc using a boolen control?

    Hi sir,
             I created A tab control of 4 pages.How is it possible to change the page of 1 tab to Page 2 then to page 3 etc using a boolen control?
    Please Mark the solution as accepted if your problem is solved and donate kudoes
    Solved!
    Go to Solution.

    You have a couple of possiblities:
    Keep the tab value in a shift register and use a value changed on the boolean to increment or decrement the tab. Write to a local variable of the tab as needed (I would recommend against value property nodes as in the above examples by others).
    You could also hide the tabs and make the tab control an indicator. Now you can write directly to the terminal if the boolean changes and you don't even need a local variable.
    Here is an example showing both (LabVIEW 8.2).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    TabSwitcher.vi ‏18 KB

  • Change the pages of a TAB control programmatically

    How can I change the pages of a TAB control programmatically, but not by pushing the tabs in Front Panel when program runs?

    100% correct, Thanks
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • When I try to open any kind of links, the page first shows me "the document has moved" and then goes on to some advertisement page.

    When I follow any kind of links or try to open something in another window or new tab, the browser first shows the white page with text "the document has moved", and then moves to advertisement page of some sort. Usually in the small box where the page description is it says "Jump". I don't know how to disable it, it is really irritating.

    Sounds like Malware.
    Install, update, and run these programs in this order. '''''(Not all programs detect the same Malware.)''''' They are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • How do you change the page that a tab opens to?

    my tabs are opening to a blocked website and I want my tab window to open on my home page.

    The only way a tab can be set to open something other than a blank page is a add-on. Try disabling all of your add-ons and then see if it is fixed.

  • Hyperlink + ctrl click opens the page in new tab in my website. it should open it in the same window of my website

    When i do a ctrl+hyperlink click in my website running in firefox, it opens up in a new tab, I dont want the ctrl+hyperlink click to open in new tab or new window. It should open in the same browser. (works as required in IE 7)
    == This happened ==
    Every time Firefox opened

    Ctrl+left click on a link or bookmark will open in a new tab. That is a standard Firefox keyboard shortcut. Middle-click will do the same (Middle-click = press the scroll wheel). On the following page, scroll down to "Web Navigation" or Find (Ctrl+F), enter "Ctrl+lef" (without quotation marks) in the Find box. Read the footnote 4 about how to change from background tab to foreground tab.
    See: http://www.7is7.com/software/firefox/shortcuts.html
    To open a link or bookmark in the currently active tab, simply click on the link or bookmark. Your current tab will be over-written with the new link or bookmark.
    The following page shows the shortcuts for IE7. Click "Working with tabs". It shows Ctrl+click will "Open links in a new tab in the background" and on the next line, it shows CTRL+SHIFT+click will "Open links in a new tab in the foreground".
    See: http://windows.microsoft.com/en-US/windows-vista/Internet-Explorer-keyboard-shortcuts#
    Maybe you have installed something to change the shortcuts on your installation?
    <u>'''''Other Issues''''': to correct security/stability issues</u>
    <u>'''Update Java'''</u>: your version 1.6.0.18; current version 1.6.0.20 (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed

  • Can I individually change any of the attributes of an individual tab (not the page) on a Tab Control?

    I have a Tab Control with approx. 15 tabs. After the user changes anything (adding text, changing a ring control, etc. ) from the default configuration on any of the 15 tabs, I would like a change to that individual tab only (say color change, text change, anything) so when the user sees all 15 tabs, they know what tab page has had changes to the defaults.
    I appreciate your help with this one!
    (Note: I tried using a imported bitmap control of a red checkmark - and use true/false to an
    visible property node -this only works when placed in any of the Tab control pages, but not on the individual Tab itself.)
    -Karl H.

    Karl,
    I have attached a LabVIEW 6i example to this post that indicates with an LED if the control on the Tab has been changed from its default value. I used the classic LED's to make them invisible when the value is still the default. Hope this helps.
    Attachments:
    tabcontrol_default.vi ‏27 KB

  • I want to change the page a new tab opens to. I am only getting "Yeppo" no matter what I do. I will permanently movve to Chrome if this cannot be fixed.

    I am able to set my homepage, but not the new tab. I want to change the new tab to my homepage. Right now, it only opens to Yeppo. If this cannot be fixed, I will be forced to permanently move to Google Chrome.

    Firefox is highly customizable, you can make Firefox 4 look and behave more like Firefox 3.6, for details see http://redherring2.wordpress.com/2011/01/17/firefox-4-restoring-firefox-3-ui
    The search option is at the top of this page, or for advanced search use https://support.mozilla.com/en-US/search?a=2

  • I want my first pin tab to be the start up page when I open Ff and not my first regular tab that opens. Any suggestions?

    I have 2 pin tabs and 4 additional regular tabs that open when I start Ff. I want my start page to be the very first pin tab that I have, but instead Ff opens to the first regular tab and not the first pin tab. Any suggestions?

    Ok, thanks. That's fine, but that also means if I do want Ff to open to one of my pinned tabs then I have to make sure that is the last page I was on before I exit out of Ff. Oh well. Do you know if pinned tabs will be able to open on start pages in the future? Thanks.

  • VO got executed but is not showing the rows on the page the first time

    Hi, Below are my senario:
    I have one jspx which contain a panel tab and 2 tabs inside it: tab A and tab B, under each tab is its own taskflow, jsff page, and its own AM and datacontrol also.
    tab A have a table
    tab b have a table with search panel. The view criteria that used to generate the search panel is not check "Run Automatically"
    What I am trying to do is in tab A, user can select some rows and click one button, then below action happen:
    1. the id of the selected rows will be pass to a AM method of tab B as string that separated by comma, and this AM method will execute the VO that the table of Tab B is based on
    2. set tab b disclosure to be true to show tab B
    3. The row that selected in Tab a will be shown in the table of tab b
    Below are the code in the AM of tab b, it is exposed to client and it will be invoked by the button actionlistener of Tab A from the bean:
    public void applyDashbaordViewCriteria(String listOfPS) {
    if (listOfPS != null) {
    PullSequenceSetupVOImpl psvo = this.getPullSequenceSetupVO2();
    ViewCriteria vc = psvo.createViewCriteria();
    vc.setName("PSDashboardVC");
    ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
    ViewCriteriaItem vcItem =
    vcRow.ensureCriteriaItem(PullSequenceSetupVORowImpl.PULLSEQUENCEID);
    vcItem.setOperator(JboCompOper.OPER_IN);
    vcItem.getValues().get(0).setValue(listOfPS);
    vc.add(vcRow);
    psvo.applyViewCriteria(vc);
    psvo.executeQuery();
    However my issue here is:
    Whenever the first time entering the page, which will show tab A, I select some rows in the table and click the button, AM got executed correctly and before it leave above code, VO executed and row count is correctly match with what user selected in Tab A. However, the rows in the vo is not showing in tab B. Table in tab B show no rows.
    Workaround for the issue:
    If first time entering the page, I go to tab B first, without doing anything then come back to tab A, select some rows and click the button again, then this time, the row I selected start showing in the table of Tab B.
    So my question is, how can I solved this issue to make the selected rows show in tab B without going to tab B to load the page first? Is that something to do with datacontrol scope?
    I am using Jdev 11.1.1.3.0
    Thanks.

    Hi, now I think i know what is the root cause:
    I overide executeQueryForCollection and executeQuery method in the VOImpl that table of Tab B is based on. And I notice the following:
    Even when select row in tab A and click the button to call AM method to apply the view criteria and execute the query to return some row, when tab b loading the first time, I notice executeQueryForCollection is being fired again and invoked by executeEmptyRowSet.
    It looks to me that even thought before the page load, VO already executed and have some row, somehow when ADF load the page, it will empty all the rows in the VO. And also since I have a query panel which I uncheck the Query Automatically. So even my applied view criteria still there, but VO will not get re executed again and show the result.
    I think that is why this issue is happening. And also, that is why if I navigate to tab B first and come back to Tab A, now perform the same action, the selected rows start showing on the page.
    Anybody can help me how can I resolved this issue? And also, I don't want to check the "Query Automatically" of the view criteria that I used to genreate the search panel because it may impact the performance.
    Edited by: user10867484 on Apr 21, 2011 2:48 PM

  • Standard tabs - Burned into the page?

    Suppose there is an application with dozens of pages, one standard tabset with a bunch of tabs, all the pages are attached to tabset (default page template One Level Tabs)
    I would like to conditionally display one of the pages without any tabs on it because it also functions as a standalone page.
    Seems like this is not very easy to do. Yes, I can go to each of the tabs and conditionally hide them but that is too difficult to maintain.
    Is there a easy way to hide the entire tabset from one place? The tabset is part of the page attributes (like the template) so this seems not possible.
    Am I missing something? If not, please consider this an enhancement request for the next release.
    Thanks

    Hello,
    It's pretty easy actually.
    Copy the One Tab page template.
    Replace the #TAB_CELLS# with an unused #REGION_POSITION_0N# in my example I used #REGION_POSITION_07#
    Copy the snippets from that page template for your current and non current tabs (into your favorite text editor).
    Create Named Row report template. (using the tab snippets you just saved off to the side).
    For the first row of your named row template put in the html code for your current tab. Use the pl/sql conditional to figure out what makes it current (page number, item value whatever)
    For the second row just put in the code for your non current tab.
    Create a Report Region with no region template in the #REGION_POSITION_0N# that you replaced the #TAB_CELLS# with.
    Create your report sql , make sure to alias your link and display columns to "TAB_LABEL" and "TAB_LINK" set the report template to the Named Row Template you created, set the pagination to none and !bamn! there you go.
    http://apex.oracle.com/pls/otn/f?p=15802:1
    It actually much more powerful than the built in tabs and is really nice because you can create as many tab types as you want not just current and non current.
    Or provide specific images, styles, classes, or even custom tab html per tab as all you need to do is query it in.
    Like I said it's my new favorite.
    Carl

Maybe you are looking for

  • Can't download videos I bought on iTunes. Lack of space but I already erased lots of applications and still not working.. Can you help ASAP please as I can't watch videos anymore..

    Hi, I bought the last version of IPad that came out recently ( I bought it 3 weeks ago). It is a 16GB. So far I love this product, but I 'm getting stuck with movie downloads from iTunes. Indeed I just ordered 3 movies in HD and they don't download a

  • MIGO in MM

    during GR in MIGO transaction i have following error "period 003/2008 is not open for account type S and G/L 400000" some one can help me to resolve the error thanks

  • Itunes 10.5 update no longer syncs IPhone 4

    I updated my itunes on 10/11/11 when i got home from work now my iphone 4 will no longer sync my computer will recognize the connection but nothing shows in my itunes i've tried restarting my computer and uninstalling and reinstalling itunes and noth

  • PROBLEM WITH INVENTORY ARRAY

    I am needing help on a inventory program for a class that was due a couple of days ago. The program needs to use an array to store items, output should display the value on the entire inventory, and use a method to calculate the inventory and sort th

  • JFileChooser and links .lnk

    Hi. I'm having a problem with JFileChooser. When I try to click on a shortcut I get the file .lnk selected instead of the directory to it associated. Do you know how can I do this task? Alternatively I could use FileDialog..but, does it support Multi