Open specific tab page using button

Hello,
How can I make that one button open specific page on tab.
That page was disabled and I menaged to make my program to show this page when I click one button. So next step would be that by clicking on that button this (previously disabled - unvisible) page is automatically OPENED.
Solved!
Go to Solution.

Chata,
Use property nodes.  First, get the Pages references.  From that array select the specific page reference.  Then write Page Enabled to the Page Enabled property. After that write the value of the page to a local variable (if the tab is a control) or write the value directly to the terminal if the tab is an indicator.  Close references. 
Lynn 

Similar Messages

  • Open Specific Tabbed Panel using Querystring

    I am using the Tabbed Panel on my About page. I have created
    3 tabs within the Spry Tabbed Panel: company, history,
    testimonials. Each displays its respective content.
    On the main menu of my page I have 6 buttons. 3 of them
    (company, history and testimonials) link to this about page, but
    regardless of the menu item selected - only the first tab is
    displayed.
    I would like to use a querystring to pass a variable for the
    respective panel. Example: Company link = about.shtml?tab=0,
    Testimonials = about.shtml?tab=2
    I found this code, but am too much of a javascript newbie to
    know how to use it with a querystring:
    <script>
    var tp1 = new Spry.Widget.TabbedPanels("tp1", { defaultTab:
    2 });
    </script>
    Any help is greatly appreciated. Thank you ;-)
    -Scott

    Hi Scott,
    We just made a utility to make this easy for you:
    http://labs.adobe.com/technologies/spry/preview/samples/utils/URLUtilsSample.html
    The file is:
    http://labs.adobe.com/technologies/spry/includes/SpryURLUtils.js
    I made a working sample here:
    http://dbooth.net/spry/tp.htm
    You can see the code in the constructor:
    (params.panel ? params.panel : 0)
    That just says: if there is a querystring value, use that,
    otherwise, set the first panel as open.
    Note that Spry uses a zero based counting system, so the
    first Tab is '0', the second is '1'.
    Hope this helps,
    Don

  • Safari on my iPad 4 opens the latest page used rather than my home page. This is new ,after I updated to IOS 8.3.How do I get it back to what it was?

    Safari on my iPad 4 opens the latest page used rather than to my home page.
    This is new ,after I updated to IOS 8.3.How do I get it back to what it was?

    You're welcome. You're not alone. The change has left alot of people scratchiing their heads wondering why. Maybe if enough people leave feedback at the link below it will be changed.
    http://www.apple.com/feedback/

  • How to connect one page using button and by link in BSP

    how to connect one page using button and by link in BSP

    hi,
    use on 'onclick' functionality.
    1. In layout, onclick = 'NEXT_PAGE' of the button
    2. Capture the event in onInputprocessing,
    DATA: event_id TYPE REF TO  cl_htmlb_event.
    case event_id.
    when 'NEXT_PAGE'.
                navigation->goto_page( 'URPAGE URL' ).

  • How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    To make a new document, go to File > New From Template chooser and choose the type of document you wish to create.
    To add a new page to an existing document go to Insert > Sections > Blank.

  • Creating Tab pages using JSP

    Can anyone help me in creating Tab Pages using JSP ?

    in JDeveloper 3.1 or greater version
    you have JSP Element wizard
    on riht click on mouse you choise JSP Element wizard
    end JSTabContainer
    or you write folowing code(example):
    <jsp:useBean class="oracle.jdeveloper.jsp.wb.JSTabContainer" id="tbc" scope="request" >
    <%
    tbc.setName("tbc");
    tbc.setTitle("Dr`avi");
    tbc.setHelpText("Drzavi");
    tbc.setUseModalPage(true);
    tbc.setInitialTab(1);
    tbc.setTopFrameURL("DrzaviView_Top.jsp?tc=tbc");
    tbc.setBottomFrameURL("ViewBottom.jsp?tc=tbc");
    tbc.initialize(pageContext);
    tbc.addTab("Tab1", "DR@AVA", "DrzaviView displayed using the Row Viewer", "", "DrzaviView_RowViewer.jsp", true, true, false, null);
    tbc.addTab("Tab2", "DR@AVI", "DrzaviView displayed using the Rowset Browser", "", "DrzaviView_Browse.jsp", true, true, false, null);
    tbc.render();
    %>
    </jsp:useBean>

  • When I select print from any website article while in Firefox it only prints a blank page. When I open same web pages using Safari, they print fine. Documents in other appliations print fine. Only Firefox documents print blank page.

    When I select print from any website article while in Firefox it only prints a blank page. When I open same web pages using Safari, they print fine. Documents in other appliations print fine. Only Firefox documents print blank page.

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running Mac OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of Mac OS X, select Go ▹ Go to Folder… from the Finder menu bar and enter “~/Library” (without the quotes) in the text box that opens.
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.

  • Accessing a tab of a specific web page using cfhttp

    Hello, CFers!
    I need to access a remote page using the cfhttp. To be more specific, I need to access this page: https://sistemas.dnpm.gov.br/SCM/Extra/site/admin/dadosProcesso.aspx?numero=861738&ano=2013 (Sorry, Brazilian government sites works better only in the I.E.)
    This is a site of the Brazillian government that supervises mining areas all over the country. Each mining area has its own "numero" (number) and the "ano" (year) when it was registered at the National Department of Mineral Production - DNPM agency. As you can see (if you clicked the link to the DNPM website) there's a tab "Poligonal" at the top of it. Clicking on it will start a function created probably by the ASP.NET and it will generate a PNG image showing the area and some other processes near it. Example of the link above:
    So here is the problem: Can I get the data from the "poligonal" tab using the CFHTTP, knowing the poligonal page doesn't have a direct link? I tried all I could to find a way to get this image, checked I the sourcecode, but I couldn't find any way to solve my problem. That's why I came here to see if somebody can help me with this.
    Sorry for my bad English. I hope you guys undertand me.
    Being sure of your pacience and attention, since now I thank you.

    Aegis Kleais, I have tried contacting the developer, but I got no answer from him so far.
    I tried something and now I can access the content that the tab shows me (with a little help of a library of Ben Nadal):
    <!--- 
    Função escrita pelo Ben Nadel
    Detalhe de funcionamento em http://www.bennadel.com/blog/779-Parsing-HTML-Tag-Data-Into-A-ColdFusion-Structure.htm
    --->
    <cffunction name="ParseHTMLTag" access="public" returntype="struct" output="false" hint="Parses the given HTML tag into a ColdFusion struct.">
    <cfargument name="HTML" type="string" required="true" hint="The raw HTML for the tag."/>
        <cfset var LOCAL = StructNew() />
    <cfset LOCAL.Tag = StructNew() />
    <cfset LOCAL.Tag.HTML = ARGUMENTS.HTML />
    <cfset LOCAL.Tag.Name = "" />
    <cfset LOCAL.Tag.Attributes = StructNew() />
    <cfset LOCAL.NamePattern = CreateObject("java","java.util.regex.Pattern").Compile("^<(\w+)")/>
    <cfset LOCAL.NameMatcher = LOCAL.NamePattern.Matcher(ARGUMENTS.HTML) />
        <cfif LOCAL.NameMatcher.Find()>
    <cfset LOCAL.Tag.Name = UCase(LOCAL.NameMatcher.Group( 1 )) />
    </cfif>
    <cfset LOCAL.AttributePattern = CreateObject("java","java.util.regex.Pattern").Compile("\s+(\w+)(?:\s*=\s*(""[^""]*""|[^\ s>]*))?")/>
    <cfset LOCAL.AttributeMatcher = LOCAL.AttributePattern.Matcher(ARGUMENTS.HTML) />
    <cfloop condition="LOCAL.AttributeMatcher.Find()">
    <cfset LOCAL.Name = LOCAL.AttributeMatcher.Group( 1 ) />
    <cfset LOCAL.Tag.Attributes[ LOCAL.Name ] = "" />
    <cfset LOCAL.Value = LOCAL.AttributeMatcher.Group( 2 ) />
    <cfif StructKeyExists( LOCAL, "Value" )>
    <cfset LOCAL.Value = LOCAL.Value.ReplaceAll("^""|""$","") />
    <cfset LOCAL.Tag.Attributes[ LOCAL.Name ] = LOCAL.Value />
    </cfif>
    </cfloop>
        <cfreturn LOCAL.Tag />
    </cffunction>
    <cfset urlDestino = "https://sistemas.dnpm.gov.br/SCM/Extra/site/admin/dadosProcesso.aspx?numero=861738&ano=201 3"/>
    <!--- Primeira chamada, com o objetivo de obter os cabeçalhos e os campos ocultos para dar continuidade à navegação aqui você poderá dinamizar o resultado de acordo com o que você precisar --->
    <cfhttp url="#urlDestino#" method="get" charset="utf-8" result="gResult" timeout="900"/>
    <!---//OBTER O CABEÇALHO DA PÁGINA //--->
    <!---capturo o cabeçalho da página  e delimito em uma lista apenas os que quero passar para as páginas seguintes --->
    <cfset requestHeaders = getHttpRequestData().headers/>
    <cfset rhList              = 'accept,accept-encoding,accept-language,cookie,cache-control,connection,pragma,user-agent '/>
    <!---//OBTER OS CAMPOS OCULTOS DA PÁGINA //--->
    <!--- expressão regular para localizar todos os inputs do html da página
       que pode ser aprimorada para localizar apenas os hiddens --->
    <cfset hiddenFields = reMatchNoCase("(?i)<input [^>]*[^>]*?>",gResult.fileContent)/>
    <!--- A partir da função do Ben, eu extraio o nome e os valores dos inputs
       que serão postados para a página seguinte, excluindo os valores que desviam do resultado esperado --->
    <cfset formFields     = []/>
    <cfloop index="input" from="1" to="#arrayLen(hiddenFields)#">
    <cfset inputResult = ParseHTMLTag(hiddenFields[input])/>
        <cfif  NOT findNoCase('btnConsultarProcesso',inputResult.ATTRIBUTES.name)
        AND NOT findNoCase('btnDadosBasicos',inputResult.ATTRIBUTES.name)>
    <cfset formFields[input]["name"]  = inputResult.ATTRIBUTES.name/>
            <cfset formFields[input]["value"] = inputResult.ATTRIBUTES.value/>
    </cfif>
    </cfloop>   
    <!---//NAVEGAR PARA PÁGINA POLIGONAL //--->
    <cfhttp url="#urlDestino#" method="post" charset="utf-8" result="fResult" timeout="900">
         <!--- injeta os form fields --->  
        <cfloop array="#formFields#" index="key">
            <cfhttpparam type="formfield" name="#key.name#" value="#key.value#"/>
        </cfloop>
        <!--- injeta o cabeçalho--->
        <cfloop collection="#requestHeaders#" index="key">
             <cfif listFind(rhList,key)>
             <cfhttpparam type="header" name="#key#" value="#requestHeaders[key]#"/>
            </cfif>
        </cfloop>
    </cfhttp>        
    <!---//VISUALIZA A PÁGINA POLIGONAL //--->
    <cfoutput>#fResult.fileContent#</cfoutput>
    That's it.
    And thanks for helping me!

  • Safari 3.0: How do I force all links to open in tabs without using cmd?

    In a number of other browsers it's easy to set all links to open in tabs. I don't want any separate windows to open and I don't want to have to use the keyboard to force every single link into a tab.
    How do I get Safari to do strictly tabbed browsing?
    Thanks,
    iMactel

    Before posting the very same question, I searched first (like a good boy should) and found your post....which addressed the exact question I have.
    I'm in the process (of hopefully) of transitioning from years of using Firefox to Safari. The reason: I'm amazed at how quickly web pages open in Safari compared to Firefox.
    Anyway, after installing a few Safari add-ons, I'm feeling pretty good about the transion -- except for the fact that I NEVER want Safari to open anything in a separate window unless I specifically ask it to. Evidently, it's simply not designed to do this...

  • Tab page use up all RAM, causing Mac to freeze

    I have reported this as a bug:
    https://bugzilla.mozilla.org/show_bug.cgi?id=975945
    It seems that if a certain site (in this case https://parse.com/ ) has a link in the Tab Page thumb, it grabs all the RAM it can to the point of completely freezing the whole system.
    This happens in a matter of seconds (200MB > 600MB > 900MB ... 1.6GB). Not quitting FF in time cause a complete system lock where you cannot even get to the "Force Quit.." window, and HD will work endlessly.
    I have cleared all history, started in 'safe mode', created a new profile and deleted the old one, problem persist.
    Here's how to easily reproduce (given, problematic site is not in your tab page):
    (This on a Mac OS X 10.8, not sure about other systems).
    1. (optional) Open "Activity Monitor", and switch to 'Memory' tab. (So you can quit FF in time).
    2. Open "Tab Page"
    3. In a new window, go to "https://parse.com/" and drag the link to the 'tab page'.
    4. Watch the RAM pick up (and quit FF before it hit the fan).
    I ended up disabling the tab page as I didn't see the problem getting any attention.
    My bug report did not seemed to make an impression, it's just sitting there, did I miss something in filing it?

    Hi again,
    Just having a coffee break and using someone else's account on a Windows machine.
    No problem seen on that. Note the new tab page may be opened using the ''about'' protocol & navigating to '''''about:newtab''''' and that besides dragging bookmarks or shortcuts the pinned thumbnails may be set from ''about:config'' the preference is
    ''browser.newtabpage.pinned''
    and the string value now includes
    ''[{"url":"https://parse.com/","title":"Parse"}, ''
    I am going out now but will find time later today to also try this in Firefox on Linux.

  • Open specific tab in an accordion

    I have an accordion with 5 tabs. I want to open a specific
    tab depending on which link is clicked on the first tab.
    I have the following, which opens tab 2:
    <a
    href="javascript:acc1.openNextPanel();">{@atitle}</a>
    and I could use openLastPanel() for tab 5, but how do I open
    tabs 3 and 4?
    I have found a query from Auroras giving a function to do
    this, but I would have expected this to be an inbuilt solution -
    has it been incorporated into 1.5?
    Regards
    John

    To answer my own question (partly...), I have added the
    following into my SpryAccordion.js file:
    quote:
    JBB 13/4/07
    Spry.Widget.Accordion.prototype.openPanelNumber =
    function(numbr)
    var indx = numbr - 1 // panel index starts at 0
    var panels = this.getPanels();
    var curPanelIndex = this.getCurrentPanelIndex();
    if( panels && curPanelIndex != indx && indx
    < panels.length && indx >= 0 )
    this.openPanel(panels[indx]);
    -------------------------------------------------------------- END
    Call this from anywhere you like (eg <a
    href="javascript:acc1.openPanelNumber('2');">{@atitle}</a>).
    The number is 'natural' rather than 'logical' - ie the first tab is
    number 1, the second is 2, etc. Quote marks are optional
    (javascript will just cast the string into an integer) and invalid
    values are ignored.
    Regards
    John

  • I am clicking on the open new tab page but nothing happens I am on the latest version of Firefox

    as before the open new tab does not work i have checked the other answers to this question and none of them apply i have just updated to the latest version of firefox, every time i do this however I then get problems with Firefox not responding plus Identity Safe does not appear on the toolbar anywhere and I used this all the time to control websites and passwords

    Hi,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    If you would like to take a listing of the add-ons, important preferences/settings etc. to quickly replicate the previous profile, please open '''Troubleshooting Information''' via '''Help''' ('''Alt''' + '''H'''), '''Copy all to clipboard''' and paste it into MS Office Excel, or OpenOffice/LibreOffice Calc, or notepad. However, it would be a good idea to check for the existence of the issue immediately after the reset.
    After the reset, you can then [https://community.norton.com/t5/Norton-Toolbar-Norton-Identity/Firefox-17-Support-for-Norton-Toolbar/td-p/853416 update Norton products]. Please also see the workaround.
    [http://community.norton.com/t5/Norton-Toolbar-Norton-Identity/bd-p/Toolbar_IDSafe Support]

  • Safari automatically opening new tab when using left click on browser

    Hi Experts,...
    One strange issue I am facing for last 15 days , i.e, safari is automatically opening a blank page with tittle as "index of / " and its pointing to "http://www.digantdeals.com" website. Its opening automatically on new tab, page will appear almost times whenever I am clicking anywhere on browser.
    Is this any malware issue..? How I can remove this .? ..I have installed "adblock" extension also but still its giving issue.
    Please help..also please let me know if any antivirus software need to install on my macbook as its only one month old.
    OS - Mavericks OS X version 10.9.4
    Safari version 7.0.6

    Appears to be malware. I would use thesafemac.com tools to remove it.
    Barry

  • How  to create Tab pages using servlet

    I want to create a tab pages which can carry different pages. Can you help me on this?? Provided if you have some guideline or program which can help me.
    Thanks
    Message was edited by:
    wesleygch

    those kinda tab pages should be coded :) there is no built-in support for them!
    like BalusC wrote you better sould export the layout into CSS, then, you have the option of using javascript when switching between tabs.
    if you want to avoid using of javascript or you want to do it serverside, then you'll have to write that tab handling in your jsp page

  • Open Selected Tab Page in Composition

    I was wondering f I can change the tab ordered to be displayed.
    I don't want to move the tabs up or down (left /right) but I want when the page is loaded the specefic tab to be displayed, It could be the second tab, or fifth tab. Is it possible?
    or in another way of saying:
    Create a hyperlink on a different page, which when clicked, brings the user to the page which has the tabbed pannel and instead of opening the first tab, opens the tab to which you have linked to, for example second tab or the third tab..

    Hi,
    Please refer to the following link http://forums.adobe.com/message/5372756#5372756
    Regards,
    Aish

Maybe you are looking for