PanelTabbed how to change tab as per command link button

Hi Team,
I have a page which has 3 tabs under the panel tab and the page is being built under a page template.
The page template has 3 command links buttons on whose selection opens that particular tab.
Can some one guide me for how to approach this.
Thanks in Advance.
Regards,
Ajay

Hi Cycle,
I am getting the following error after executing the code.
Caused by: java.lang.NullPointerException
     at com.lifetech.portal.ui.beans.LifeTechTemplateBean.refreshTabs(LifeTechTemplateBean.java:108)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.sun.el.parser.AstValue.invoke(Unknown Source)
     at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
     at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
     at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:444)
     at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:541)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1394)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
I wish to clarify one thing.
is it correct that the binding property of the showdetailsItem components is on the bean page of the template.

Similar Messages

  • How to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

  • How to change the color of Menu links in obiee

    Does anyone knows how to change the colors of Menu links in obiee. With menu I mean the menu links default right top (Search, homepage, Catalogus, Dashboards, new, Open). This should be set in skin and style files, not? I searched a lot. I could not find It. It is now Oracle blue, we want to change this.
    obiee 11.1.1.5.
    Thanks

    You have to customize portal banner and portal content CSS files as needed in OBIEE server.
    below links will guide u but will will not tell you exactly but your req can be done by customizing portal content and portal banner CSS files. try to identify the exact code using firebug in mozilla.
    http://www.rittmanmead.com/2009/04/customizing-obiee-dashboard-banners/
    Customization of login page, banner,logo in obiee11g
    Thanks
    Jay.

  • How to make a column as command link

    hi,
    how to make a column as command link.i want to make a table column as a command link so that a popup will come.please let me know.
    thanks in advance

    JDeveloper 10.1.3 does not have a popup but a dialog framework that opens a dialog in a separate browse window. As Chris pointed out, the developer guide contains a section about how to launch the dialog. To programmatically launch the dialog from a command link use its action listener property
        public void commandButton_action2(ActionEvent event) {
    // make the clicked row the current
      //Get access to the value binding
       ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.DepartmentsView1Iterator}");
       DCIteratorBinding dciter = (DCIteratorBinding) vb.getValue(FacesContext.getCurrentInstance());
      //the command link is a child of af:column, which is a child of af:table
      CoreTable ct = (CoreTable)actionEvent.getComponent().getParent().getParent();
      //access the row data, to obtain the Row object and the formatted key string
      JUCtrlValueBindingRef juctrlref = (JUCtrlValueBindingRef) ct.getRowData();
      String rowKey = juctrlref.getRow().getKey().toStringFormat(true);
    //set the current row in the binding
      dciter.setCurrentRowWithKey(rowKey);
    // open dialog
            FacesContext fctx = FacesContext.getCurrentInstance();
            AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
            UIViewRoot viewRoot = new UIViewRoot();
            viewRoot.setViewId("/yourDialogPage.jspx");
            HashMap properties = new HashMap();
            properties.put("width",300);
            properties.put("height",200);       
            adfFacesCtx.launchDialog(viewRoot,properties,(CoreCommandLink)event.getSource(),true,null);
      }If the dialog is based on the same VO then the current row is selected. If not then you may want to pass the value ofthe rowKey in a HashMap as the last argument to open dialog
    Frank

  • JS confrim popup message box - How to change it into yes or no button?

    confirm popup message box is always with OK or Cancel Button?
    How to change it into Yes or No Button?
    Thank you.

    I don't think you can change those buttons. However you may try use some rich Javascript library like YUI (Yahoo! User Interface) to pop up custom alert and confirm boxes.
    See [http://developer.yahoo.com/yui/examples/container/simpledialog-quickstart.html]
    Cheers,
    Hari

  • Command link / button action is not taking place if i use it in iterator.

    Hi,
    I am new to ADF, i am facing 1 issue while implementing ADF mobile browser application.
    Issue: command link / button action is not taking place if i use it in iterator. its just refreshing the page it self and displaying as no records.
    Scenario is i am populating the search results in results page from search page using iterator, i want to get the complete details in different page (results page -> details page) .
    I have tried in different ways.like
    case1:
    <tr:panelGroupLayout id="pgl2" layout="vertical" styleClass="af_m_panelBase">
    <tr:panelHeader text="#{classviewBundle.SEARCH_RESULTS}" id="ph1"/>
    <tr:iterator id="i1" value="#{bindings.SubjectVO1.collectionModel}" var="subject"
    varStatus="subIndx" rows="100">
    <tr:panelBox text="#{subject.Subject} #{subject.CatalogNbr} - #{subject.CourseTitleLong}"
    styleClass="af_m_listingPrimaryDetails" id="pb1">
    <f:facet name="toolbar"/>
    <tr:table var="ssrClass" rowBandingInterval="1" id="t1" value="#{subject.children}"
    varStatus="clsIndx" rowSelection="none"
    binding="#{SessionBean.subjectTable}" verticalGridVisible="true"
    emptyText="No Records" width="100%">
    <tr:column id="c9" sortable="false" styleClass="width:100%">
    <*tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"*
    id="commandLink2" styleClass="af_m_listingLink"
    *action="#{pageFlowScope.BackingBean.searchaction}"></tr:commandLink>*
    //remaining code
    in this case commandlink action is not able to invoke serachaction() method
    case 2:
    <tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"
    id="commandLink2" styleClass="af_m_listingLink"
    action="classdetails}"></tr:commandLink>
    in this case its not able to navigate to classdetails page.
    I gave correct navigation cases and rules in taskflow,but its working fine when the command link is out of iterator only.
    i tried with actionlistener too.. but no use.. please help me out of this problem .
    *Update to issue:*
    The actual issue is when i use command link/button in an table/iterator whose parent tag is another iterator then the action is not taking place.
    the structer of my code is
    < iterator1>
    #command link action1
    < iterator2>
    #command link action2
    </ iterator2>
    < /iterator1>
    #command link action1 is working but "#command link action2" is not...
    Thanks
    Shyam
    Edited by: shyam on Dec 26, 2011 5:40 PM

    Hi,
    To solve my problem I used a af:foreach instead.
    <af:forEach items="#{viewScope.DataBySubjectServiceBean.toArray}" var="text">
    <af:commandLink text="#{text.IndTextEn}" action="indicator-selected" id="cl1">
    <af:setActionListener from="#{text.IndCode}" to="#{pageFlowScope.IndicatorCodeParam}" />
    </af:commandLink>
    </af:forEach>
    By the way you need to convert the iterator to an Array using a ManagedBean.
    public Object[] toArray() {
    CollectionModel cm = (CollectionModel) getEL("#{bindings.TView1.collectionModel}");
    indicators = new Object[cm.getRowCount()];
    for(int i=0;i<cm.getRowCount();i++){
    indicators[i] = cm.getRowData(i);
    return indicators;
    public static Object getEL(String expr) {
    FacesContext fc = FacesContext.getCurrentInstance();
    return fc.getApplication().evaluateExpressionGet(fc,expr,Object.class);
    Hope that helps-
    Edited by: JuJuZ on Jan 3, 2012 12:23 AM
    Add getEL Method

  • How to change tab history to a list instead of thumbnails

    When i open a new tab in Firefox the former visited history appears as thumbnails. How to change the past history to a LIST instead

    Please see this support article - https://support.mozilla.org/en-US/kb/new-tab-page-show-hide-and-customize-top-sites
    The '''new Tab page''' isn't intended to be a text listing of recent browsing history, but rather a visualization of "top sites" that you visit based upon the number of visits over time. There is nothing built into Firefox to switch over to a text listing, and I am unaware of an add-on available to display a text list of recent browsing history, either.

  • How to change password with commadmin command?

    I am using JES 2004Q2, Directory shema2.
    HOw to change password for email account ?
    Email account created in identity server with commadmin comand.
    I can't find this information in :
    "Sun Java System Communications Services 6 2004Q2 User Management Utility Administration Guide"

    http://docs.sun.com/source/817-5703/commcli_ref.html#wp1021656
    commadmin doesn't seem to offer a password modify/replace option.
    You can use the Directory Console to replace a password, or ldapmodify, or webmail/comms express.

  • OH-Edit Medical Service: How to change tab pages text

    Hi All,
            Is it posible to change TAB pages text in Edit Medical Serivce(EHSAMBTAET) like Protoco/GeneralExamination, Vaccination etc to some other text?
    Thanks
    Bhuwan

    HI Dhaval,
    Can you be more clear. At what point of time you want to change.
    Thanks
    Aravind

  • How to change default close maximize and minimize button in mac?

    How can I change default close, maximize and minimize button in mac?

    no. but you can make resizable.

  • How to change G/L A ccount linked to a Material Group in SRM

    Dear
    I want to change the G/L account linked to a material group in SRM
    Can any body tell how I can I do it?
    Nitin Susladkar

    Hi
    <b>SPRO Path is</b>
    <u>SRM -> SRM Server -> CrossApplication Basic settings -> Account Assignment -> Define GL Account for Product category and Account Assignment category.</u>
    Do let me know.
    Regards
    - Atul

  • How to change color when I using delete button?

    Hi experts,
      When I using delete button on input schedule before enter any data, it display the same color on the data range, how can fix the color after using delete button? or is it a formatting problem?
    BPC ver : 7.5 sp3 for NW
    best regard
    Evans.

    Evans,
           Is delete button custom made? i think it is possible with Formatting Range.
          check the below for advanced formatting.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70573b01-657a-2b10-a2b2-ec54bb0a9c8c?quicklink=index&overridelayout=true
    I think you need use CHANGED  as value for CRITERIA.  I don't think NW doesn't support CHANGED value for CRITERIA i guess.
    Thanks,
    Ben.

  • How to change a tip on a link

    Hi,
    I have trouble finding a way to change a tip on a link on a page - the one that pops up when you point on a link. I can see the link item among items listed in personalizations page but I can't find where or what governs the tip for that link item or the text in the tip.
    Can somebody please give me a 'tip' here?
    Thank you.
    Anatoliy

    Hi,
    Try to change the Text Property of that Link through personalization.
    Through Personalize page link which is on top of the page Left Side-
    Click on Pencil icon which is in front of that item and change the property to whatever text so want to see like=> "click here to go back"
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to create an lov with command link

    hi all
    i want to create an lov such that each of the values in the list have a command link. when i click on a particular value, that value should be removed from the lov list and displayed on my page.
    like for example, i want to send a mail to many ppl at the same time. from my address book, i click on the name of the person i want to send the mail and that name is added to my "Send To" list.
    Can anyone help me do this? i'm using jdev10g adf.
    thanks.
    preeti

    Hi,
    you should use the shuttle control in ADF Faces for this
    Frank

  • How can I get rid of the Link button on Query Reslut ?

    I run a query where I pool data to a temp table then gives me a select list from a Temp table.
    basically it is
    SELECT * INTO #Temp_1 FROM Table1
    "SELECT * FROM #Temp_1"
    On SAP, I get the result fine, but almost all the columns get a Orange arrow that don't link to anything when clicked, undertsandably becuase the result is comming from the temp table.
    I dont need those links buttons but dont know how not to display them.
    appreciate any ideas.
    Thanks,
    Indika

    Hi again!
    >> i was always of the idea that FOR BROWSE was to
    >> include the Yellow arrows !!!
    i was too
    now we all now that FOR BROWSE is move effective "bug-feature"

Maybe you are looking for

  • "Your video is turned off" on Skype for Mac

    Recently, my iMac is displaying "Your video is turned off" when I try to videoconference with some other Skype users. I have Skype 6.3 installed. My wife is overseas for 6 months, and she is using a MacBook with Skype 2.8 installed. She refuses for p

  • Labview 2010 crashes XP while looking for webserver

    Hi, I am using a Windows 7 laptop with LV 2010 to compile my 32-bit executable.  I've copied it to my target Windows XP, SP3 computer and after running it for a short while it rebooted the computer automatically (I believe the reboot was caused by a

  • BBP_SC_UI_ITS  code

    Hi. I need source code BBP_SC_UI_ITS function groups and screen 120 's elemnet list. Can you send me this code and element list for SRM 6.0. My mail: [email protected] Thanks for your help. Best regards Message was edited by: fatih canca

  • CSM redundant or failover management configurations?

    Is it possible to have more than one CSM server in a network? We would like to deploy CSM 3.1 but company requirements call for more than one device management server at different locations that can manage all devices. Is this possible? I can't find

  • BootCamp on an already partitioned disc

    I want to install windows xp using bootcamp. My disc has alredy been partitioned into two partitions (one for OSX startup and the other one for my documents etc.) when I open bootcamp assistant it says: "The startup disk must be formatted as a single