Oracle Web Center Portal - af:showDetailItem/ Client Listener using Javascript

Dear,
I wonder if it is possible to run a JavaScript function whenever a tab is selected in the component <af: panelTabbed /> which contains components <af: panelTabbed /> I need to run the function each time you select a tab, it is possible this??
Here my example:
<af:resource type="text/javascript">                                                   
                    function alertTabSwitch(disclosureEvent){
                        var tab = disclosureEvent.getSource();
                        if(tab.getDisclosed()==true){
                           alert("test tab : " + tab);
                           disclosureEvent.cancel();                         
</af:resource>
<af:panelTabbed id="pt1" styleClass="detalleAutoridad" dimensionsFrom="auto">
      <af:showDetailItem text="#{portalBundle.BIOGRAFIA}" id="sdi1" disclosed="true"  persist="disclosed" clientComponent="true">
Thanks,
Best Regards.

Here is the code snippet, which is will call every time you click the tab.
<af:resource type="javascript">
function performOnTabSwitch(disclosureEvent){
    var tab = disclosureEvent.getSource();   //This is the tab to close
    if(tab.getDisclosed()==true){
       alert(tab);
       disclosureEvent.cancel();
</af:resource>
      <af:panelTabbed id="pt1">
            <af:showDetailItem text="FirstTab" id="sdi1" disclosed="true" stretchChildren="first"
                               clientComponent="false">
                               First Tab
                <af:clientListener method="performOnTabSwitch" type="disclosure"/>
               </af:showDetailItem>
            <af:showDetailItem text="SecondTab" id="sdi2" stretchChildren="first" clientComponent="false">
            Second Tab
            <af:clientListener method="performOnTabSwitch" type="disclosure"/>
               </af:showDetailItem>
        </af:panelTabbed>
-K

Similar Messages

  • Oracle Web Center Suite and Oracle Portal

    1)What is Oracle Portal and why it is used?
    2)What is Oracle Web Center Suite and why it is used?
    3)What is the difference between Oracle Portal and Oracle Web Center Suite?

    1) Oracle Portal is the Portal product that was deployed together with the application server before weblogic server. It is still used a lot for corporate intra and extranets. It is mosly used for intranets and extranets. When you bought the licence for the application server you automaticly had the licence for Oracle Portal. That's why it is so popular.
    Oracle portal is not realy standard based. You mostly will create portlets with PL/SQL or PDK and not realy use the JSR168 standard.
    No with Oracle Portal 11g you can consume JSR168 portlets using WSRP.
    2) Oracle WebCenter suite is the next strategical choose of oracle in portal software. Webcenter is an enterprise 2.0 portal environment while oracle portal is more web 1.5 and has limited web 2.0 stuff. Oracle Portal comes with a complete UI for the user to use to create websites and groups but webcenter is more a framework to incoorporate enterprise 2.0 features into your own fusion web application. Webcenter suite comes with Webcenter spaces. THis is a complete UI to create collaborative websites.
    Webcenter framework is a powerfull framework to create complete enterprise 2.0 sites.
    3) The difference... Oracle Portal is an old product and will not be developt anymore. I've heard portal 11g will be the last version meaning support will stop at 2014. Webcenter is a new product to create state of the art enterprise 2.0 websites.
    Oracle portals is not build on standard and is not realy standardbased meaning is you develop portlets for portal you will not be able to use them in other portals.
    Webcenter on the other hand is completly standard based. It is JSR168 compliant and in the near future it will also support JSR286.
    Oracle portal is PL/SQL based while webcenter is completly java based, based upon the ADF framework from oracle.
    Because WebCenter is based upon the ADF framework you can use the complete ADF framework for your application. For example consuming webservices are very easy in webcenter. If you are using a service oriented architecture you will have lots and lots of work to integrate it with portal. With webcenter this is peace of cake.
    Hope this helps you :)
    If you have other questions, just let us know.

  • Proxy error while connecting Web Center Portal to Oracle SES

    While creating a connection between Web Center Portal and Oracel SES facing the following error:
    Feb 26, 2014 2:30:17 PM oracle.webservices.client
    WARNING: Unable to connect to URL: http://mysearchhost:port/search/query/OracleSearch due to javax.xml.soap.SOAPException: Bad response: 407 Proxy Authorization Required from url http://myhost:port/search/query/OracleSearch

    OMG, Sorry, I read a document which was out of date!

  • Oracle Web Center on Weblogic ?

    Hello there,
    I don't know nothing about Oracle Web Center.
    Do you known if it's possible mount some version of Oracle Web Center into some version of Weblogic?
    Thanks in advance.

    In a nutshell, yes.
    Here is a link to the interoperability chart (login required): http://one.bea.com/portal/server.pt?open=512&objID=3422&&PageID=5325&mode=2&in_hi_userid=726696
    In case you don't have a login to that site, here is a copy of the WCI/WebLogic part:
    WCI - Application Server
    10.3.0 - BEA WebLogic 9.2 MP1, BEA WebLogic 10.0 MP1, MP2 and MP3, Oracle WebLogic 10.3.0
    6.5, 6.5 MP1 - BEA WebLogic 8.1 SP4^, BEA WebLogic 9.1^, BEA WebLogic 9.2^, WebLogic 10.0^
    6.1 MP1 - BEA WebLogic 8.1 SP4^, BEA WebLogic 9.1^, BEA WebLogic 9.2^, WebLogic 10.0^
    6.1 - BEA WebLogic 8.1 SP4^, BEA WebLogic 9.1, BEA WebLogic 9.2
    6.0 SP1 - BEA WebLogic 8.1 SP4^
    6 - BEA WebLogic 8.1 SP4^
    5.0.5 - BEA WebLogic 8.1 SP3^

  • Installation error in Oracle Web Center 11.1.1.3.0

    Hi,
    I have downloaded the ofm_wc_generic_11.1.1.3.0 from OTN.
    I installed the WLServer successfully. While trying to install Oracle Web Center 11.1.1.3.0 I am getting the below error.
    Do I need to install Web Center Suite 11.1.1.2.0?
    Is there any sequence to install?
    Please help me.
    INST-07010: Validation of Oracle Home location failed. The location specified does not exist.
    Enter a valid existing directory
    INST-07286: Specified Oracle Middleware home location does not have version 10.3.3 of WebLogic server. If the version is incorrect then configuring with the Weblogic server will fail.
    Provide a Oracle Middleware home location which contains WebLogic server with version 10.3.3.0 or upgrade the Weblogic server to 10.3.3.0 and restart the install.
    INST-07100: The Oracle home provided does not contain Oracle WebCenter 11.1.1.2.0.
    In order to patch your existing version please provide an Oracle home that contains the product mentioned above. If you choose to continue, only the oracle_common directory and any components that both products have in common will be patched.
    INST-07293: Middleware home location specified does not have the required Oracle homes installed in it. The Oracle homes for the following components is not installed oracle.as.webcenter.top.
    Provide a different Middleware home location or install the required Oracle Products and try the install again
    Regards,
    Venu--
    Edited by: [email protected] on Sep 6, 2010 5:04 AM

    Hi,
    Thanks for reply.
    I installed the latest WLServer from
    http://download.oracle.com/otn/nt/middleware/11g/wls1033_oepe111150_win32.exe
    Is this is the right one?
    Regards,
    Venu--

  • How to subscribe to a group space in Oracle Web Center application

    Hi All,
    I am a newbie to Oracle Web Center and playing in and around with the Oracle WebCenter Spaces..
    At the time of creation of Group Space in Oracle WebCenter Application, there are two options :
    1. Adding the members by the owner of the group space
    2. Opening the open group space which allows others users can join by searching the specified GroupSpace and joining into that group space.
    If i try to do like this, I was getting this error :
    WCS#2010.07.21.15.05.39: Unable to send subscription notification to moderator(s). The reason is : Can not retrieve group space workflow configuration. Please contact administrator.
    Can anyone please help me to solve this out..
    Thanks in advance
    Regards,
    Sandeep
    Edited by: user10681665 on 22-Jul-2010 02:13

    Sandeep,
    To get this notifications to work, you need to setup BPEL and connect WebCenter to your BPEL server.
    Regards,
    Rob

  • How to start EM in Oracle Web Center?

    Please guide how to start EM in Oracle Web Center?
    as i am not getting emctl file in BIN Directory of Oracle Web Center Home...
    Please guide and help
    Thanks,
    Waheed.

    Hi All,
    I got the solution how to start EM in Webcenter .
    If in your configuration is there any other HTTP server is running then its comfilect with your current Webcenter with HTTP server installation. so try to installed only Oracle Webcenter Freamwork only...after that try to open the Application server control page with 8888, it will definately work...

  • Oracle Web Center New Features Demo

    Hi,
    Does anybody have oracle web center new features demo?
    It will be great, If you can share it.
    Documentation states that, It has features like below:
    New capabilities to operate on multiple assets efficiently, including bulk deletion, approval, and bookmarking. These operations are conveniently available from search results screens. Operations can be executed by selecting multiple assets and pressing a single button.
    But I can not perform bulk delete asset.
    Documentation also states that, It has features like Drag And Drop:
    My understanding from the documentation is an asset's attributes are dragged and dropped into advanced UI. Pls correct me, If I am wrong.
    Is there any demo available for drag and drop feature of oracle 11g webcenter?
    Documentation also states that, It has features like customizable dash board:
    New customizable dashboard: A customizable dashboard is now provided out-of-the-box. Widgets to manage assignments, bookmarks, and checkouts are included. Widgets can be rearranged on the dashboard using simple drag-and-drop, and custom widgets can be added to satisfy unique business needs.
    Pls let me know, where the dashboard is available and how to implement the above mentioned features.
    Thanks And Regards
    Dhaya
    Edited by: 932938 on May 8, 2012 5:15 PM

    Hi,
    If you mean video demo, then there is a link to it on WebCenter blog (https://blogs.oracle.com/webcenter/) - On Demand Webcast - Introducing Oracle WebCenter Sites: Transforming the Online Experience. You can start from ~ 10th minute to see content administration.
    Direct link: http://event.on24.com/r.htm?e=452133&s=1&k=FCDEB088AD5C4685EB385DBC59393F31&partnerref=odblog (requires registration).
    "dropped into advanced UI." - There is no more advanced UI, there is an Admin UI and New tab-based Contributor Interface which merge an Insite and Dash and somehow Advanced Interfaces together.
    BR,
    Martins

  • Documentation/ Links for oracle web center suite

    I was looking for more documentation like developer's guide , maybe a zip for evaluating whats offered in Oracle web center.
    Any pointers ?

    The documentation (including a tutorial and developer's guide) is posted at http://www.oracle.com/technology/documentation/appserver.html
    (Click View Library under Oracle Application Server 10g Release 3 (10.1.3.2.0) and click the WebCenter Suite tab.)

  • Getbynder vs oracle web center

    I am been tasked to do comperative study between oracle web center and getbynder.. anyone with some information on this item? Please assist..the customer would like to decide between getbynder and  oracle web for marketing purposes..
    Please assist in comparing these product features

    Hi,
    If you mean video demo, then there is a link to it on WebCenter blog (https://blogs.oracle.com/webcenter/) - On Demand Webcast - Introducing Oracle WebCenter Sites: Transforming the Online Experience. You can start from ~ 10th minute to see content administration.
    Direct link: http://event.on24.com/r.htm?e=452133&s=1&k=FCDEB088AD5C4685EB385DBC59393F31&partnerref=odblog (requires registration).
    "dropped into advanced UI." - There is no more advanced UI, there is an Admin UI and New tab-based Contributor Interface which merge an Insite and Dash and somehow Advanced Interfaces together.
    BR,
    Martins

  • Web center portal

    Hi,
    I just want to know after installation of the web center portal,how I am I going to use it ??
    can I use it without J developer,if yes then how I am I going to use it ??

    Hi.
    When you install WebCenter Suite you install next components:
    - WC_Spaces: That includes the pre-built WebCenter Portal : Spaces application. You can use this application to build secured spaces / portals and start developing in it. The question is... you need WebCenter Spaces or Portal??.
    - WC_Collaboration: For discussions and announcements.
    - WC_Utilities: Analytics and more utilities.
    - WC_Portelts: For portlets WSRP 2.0.
    If you need to work with a Custom Portal Application you need to extend the domain for WebCenter Portal:
    WC_CustomPortal: For a WebCenter Custom Portal Application.
    If you already installed WebCenter Suite access to http://[host]:[WC_SpacesPort]/webcenter to access WebCenter Spaces.
    There are a lot of information / tutorials in the official and unoffical web sites.
    In addition, if you want Content Management you should install WebCenter Content.
    I hope this help you.

  • Invoking client listener from javascript

    Hello,
    I am using ADF Faces 11g.
    I wonder if it is possible to invoke a UI control's client listener from javascript method. For example i have a command link with a client listener, defined like this:
    <af:commandLink id="cl1" text="click here" partialSubmit="true">
    <af:clientListener method="onClickLink" type="action"/>
    </af:commandLink>
    I can find the control in a javascript method, with this: AdfPage.PAGE.findComponent("cl1");
    Now i want to invoke the onClickLink(event) method. How can i do it?
    Thanks.

    Isn't this just calling onClickLink(event)?
    Or do you want to know how to get the function the client listener calls?
    May be you should take a look at http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/classic_api_mistakes_part2/classic_api_mistakes_part2.html
    At about min 35 of he video Frank shows something like what you like to do (as fas as I recall).
    Timo

  • Set client var using javascript

    i have a form where a user enters a line of info, and i want
    to save that as a client variable without having to post the form.
    is it possible to set a CF client variable using javascript?

    > cookies can be created/edited/deleted using js, so i just
    need
    > to know how i would go about editing a cf created
    cookie using js.
    You've inched away from your original question. It was about
    how to use Javascript to save form data in Coldfusion without
    having to send the form from the browser. The answer is, you can't.
    > i used javascripts document.cookie to make changes to the
    correct coldfusion
    > client variables..works like a charm
    You've not changed any Coldfusion variable at all. What
    you've simply done is use Javascript to write a new cookie, which
    Coldfusion then reads later. To see that, do this test.
    Save and run the following code as the page
    testCookieJS.cfm
    <html>
    <head>
    <title>testCookieJS</title>
    <script type="text/javascript">
    document.cookie="JS test cookie";
    </script>
    </head>
    <body>
    Coldfusion cookie struct dump:
    <cfdump var="#cookie#">
    </body>
    </html>
    You will find that the "JS cookie" is not dumped. However,
    you will find that the cookie is actually present in the browser.
    Now, close the browser and delete all cookies. Save and run
    the following code as the page
    testCookieCF.cfm
    <cfcookie name="CFCookieTest" value="CF test cookie">
    <cfdump var="#cookie#">
    You will find that the "CF cookie" is dumped. The difference
    in the result of the two tests shows that one cannot use Javascript
    to change the cookie that Coldfusion sets. In fact, generally
    speaking, you cannot use Javascript to modify any Coldfusion
    variables. If you could, anyone would be able to use an HTML page
    to rewrite your Coldfusion site.

  • Oracle Web Center - Records Management Sessions at Collaborate 12!

    Save the Date For COLLABORATE 12!
    The COLLABORATE 12 Conference will take place April 22-26 2012 at Mandalay Bay resort in Las Vegas.
    Three and a half days of sessions | Search now to determine topics of interest to you and your team members. | Four full tracks dedicated to:
    Oracle WebCenter Content, Portal, Sites and Social
    Topic Spotlight - Records Management
    Trying to control the growth of records in your organization? Do you need to ensure regulatory compliance? Trying to minimize litigation risks? Then Monday at Collaborate is the day for you! On Monday April 23rd, we will have an entire room dedicated to Oracle records management (URM) topics. Learn what Oracle did to implement records management internally and how their email strategy is connected. Discover Nevada Energy’s approach to records management. Listen to the folks from Bezzotech as they teach you how to reclaim physical storage space through records management. All this AND MORE! But, you’ll never know if you’re not there, so get busy and register today! http://events.ioug.org/p/cm/ld/fid=22
    This year, collaborate will consist of over 800 sessions total available with more than 75 sessions dedicated to WebCenter and how to optimize and manage your Oracle WebCenter implementations. Hear from Oracle customers, product managers & partners on their experiences with: WebCenter upgrades, user provisioning, workflow, integration, and more! Include Collaborate 12 in your training plans for 2012!
    Use this URL see the full line up of WebCenter sessions that will be presented at COLLABORATE 12: http://www.box.com/s/5tec7l46l4c35mhg3vc4
    Please take the WebCenter COLLABORATE survey so we can better understand what you would like to see at the COLLABORATE conference. https://www.surveymonkey.com/s/WCSIG1
    Make sure to attend WebCenter sessions to be entered in a drawing for prizes. The more WebCenter sessions you attend, the better your odds of winning an Apple iPad 2!
    Get an additional entry to the drawing when you register for COLLABORATE. On page three of the registration form when you see the question “What Special Interest Group (SIG) would you like to attend?” select “WebCenter SIG” from the dropdown list.
    Register Today! http://events.ioug.org/p/cm/ld/fid=22

    First, can you see the agent and host in EM?  If not, then you'll need to follow these steps:
    emctl secure agent
    emctl start agent
    emctl config agent addinternaltargets
    emctl config agent listtargets
    The host and agent must be "green" in EM to discover targets.   The last command listtargets will show you what the agent has "auto-discovered".  Not all targets can be auto-discovered.
    Did you check the Auto Discovery Results to see if the targets are waiting for promotion?  If they're not there, then you might have to "manually" discover them.  
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/discovery.htm#CBAEGHBH
    For each target type, there could be additional pieces that you need to look for when discovering, for example for
    SOA - http://docs.oracle.com/cd/E24628_01/install.121/e24215/disc_mon_soa.htm#GSSOA9921
    IDM - http://docs.oracle.com/cd/E24628_01/install.121/e24215/idm_discover_config.htm#GSSOA10201

  • How to read and write Xml file at client side using JavaScript !

    Hello,
    i am new to javascript.
    I have requirement to read and update XML file at client side.
    Will you please guide what could be the best way to read and update XMl file using javascript.
    Thanks,
    Zuned

    This is a Java forum,not a Javascript forum. Maybe you should ask here [http://www.webdeveloper.com/forum/forumdisplay.php?forumid=3&s|http://www.webdeveloper.com/forum/forumdisplay.php?forumid=3&s].

Maybe you are looking for