***Dynamically create a new tabbed panel***

Really Struck on this ....
Help is greatly appreciated....
I have got a tabbed panel ,with a Form that has got some list box control's that populate the names.This form is used to send an email or message.I have got
a check box ,whenever the user checks this ,the exact replica of the one that is present has to be created .This scenario is for multiple submissions.
code:
<hx:scriptCollector id="scriptCollector1" preRender="#{pc_SecMsgEntry.onPageLoadBegin}">
                         <BR>
                              <h:form styleClass="form" id="frmSecMsgEntry">
                                   <odc:tabbedPanel slantActiveRight="4" styleClass="tabbedPanel"
                                        width="800" slantInactiveRight="4" height="375"
                                        variableTabLength="false" showBackNextButton="false"
                                        showTabs="true" id="tabbedPanelMessageEntry">
                                        <odc:bfPanel id="bfpanel1" name="Message Entry"
                                             showFinishCancelButton="false">
                                   <TABLE width="792">
                                        <TBODY>
                                             <TR >
                                                  <TD width="215" height="28"><h:selectOneListbox
                                                                 styleClass="selectOneListbox" id="listbox1" size="1"
                                                                 style="width: 220px" value="#{secSelectHelper.securityID}" onchange="submit();">
                                                                 <f:selectItems
                                                                      value="#{secSelectHelper.securityProfileItems}" />
                                                            </h:selectOneListbox></TD>
                                                  <TD width="51" height="28"><FONT face="Arial">          </TD>
                                                  <TD height="28" width="335" align="right" valign="middle"><FONT face="Arial">     <h:selectBooleanCheckbox
                                                                 styleClass="selectBooleanCheckbox" id="checkbox2" valueChangeListener="#{pc_SecMsgEntry.handleCheckbox2ValueChange}" onclick="submit();"></h:selectBooleanCheckbox></FONT> </TD>
                                                  <TD height="28" width="148"><h:outputText
                                                                 styleClass="outputText" id="txtAdditionalReq" value="Additional Request"></h:outputText></TD>
                                             </TR>
                                                  <TR >
                                                  <TD width="215" height="20">List Of Users :<BR>
                                                            <h:selectManyListbox styleClass="selectManyListbox"
                                                                 id="lstBoxUsers" size="5" style="width: 250px" value="#{pc_SecMsgEntry.users}">
                                                                 <f:selectItems value="#{secSelectHelper.usersBySecIdItems}" />
                                                            </h:selectManyListbox></TD>
                                                  <TD width="51" height="28" align="center" valign="middle"><FONT face="Arial">          </FONT><BR>
                                                            <hx:commandExButton type="submit" value=">"
                                                                 styleClass="commandExButton" id="btnSingleAdd"
                                                                 style="width: 35px" onclick="return func_2(this, event);"></hx:commandExButton><hx:commandExButton
                                                                 type="submit" value=">>" styleClass="commandExButton"
                                                                 id="btnCompleteAdd" style="width: 35px"></hx:commandExButton><BR>
                                                            <hx:commandExButton type="submit" value="<"
                                                                 styleClass="scommandExButton" id="btnSingleRemove" style="width: 35px"></hx:commandExButton><BR>
                                                            <hx:commandExButton type="submit" value="<<"
                                                                 styleClass="scommandExButton" id="btnCompleteRemove" style="width: 35px"></hx:commandExButton><BR>
                                                  </TD>
                                                  <TD height="28" width="335"><FONT face="Arial">     </FONT>Send To:<BR>
                                                            <h:selectManyListbox styleClass="selectManyListbox"
                                                                 id="lstBoxReceiveUsers" size="5" style="width: 250px"></h:selectManyListbox></TD>
                                                  <TD height="28" width="148">Send Message To:<BR>
                                                            <h:selectManyCheckbox
                                                                 disabledClass="selectManyCheckbox_Disabled"
                                                                 styleClass="selectManyCheckbox" id="checkbox1" layout="pageDirection">
                                                                 <f:selectItem itemValue="Value0" itemLabel="All Users" />
                                                                 <f:selectItem itemValue="Value1" itemLabel="All Brokers" />
                                                                 <f:selectItem itemValue="Value2" itemLabel="All ThirdParty" />
                                                            </h:selectManyCheckbox></TD>
                                             </TR>
                                             <TR >
                                                  <TD width="215" height="28"></TD>
                                                  <TD width="51" height="28"><FONT face="Arial">          </TD>
                                                  <TD height="28" width="335"><FONT face="Arial">     </FONT><h:selectOneRadio
                                                                 disabledClass="selectOneRadio_Disabled"
                                                                 styleClass="selectOneRadio" id="radio2"
                                                                 style="width: 350px">
                                                                 <f:selectItem itemValue="Value6" itemLabel="E mail" />
                                                                 <f:selectItem itemValue="Value7" itemLabel="Message" />
                                                            </h:selectOneRadio></TD>
                                                  <TD height="28" width="148"></TD>
                                             </TR>
                                             </TBODY>
                                             </TABLE>
                                        <TABLE width="792">
                                        <TBODY>
                                             <TR>
                                                  <TD height="20" width="714" align="center" valign="middle"><h:inputTextarea
                                                                 styleClass="inputTextarea" id="textarea1"
                                                                 style="height: 100px; width:775px"></h:inputTextarea></TD>
                                             </TR>
                                             <TR>
                                                  <TD height="10" align="center" valign="middle" width="714"><hx:commandExButton type="submit"
                                                                 value="Send" styleClass="commandExButton"
                                                                 id="btnSendMessage" style="width: 60px"></hx:commandExButton> <hx:commandExButton
                                                                 type="submit" value="Clear" styleClass="commandExButton"
                                                                 id="btnResetMessage" style="width: 60px"></hx:commandExButton></TD>
                                             </TR>
                                             </TBODY>
                                             </TABLE>
                                        </odc:bfPanel>
                                        <f:facet name="back">
                                             <hx:commandExButton type="submit" value="< Back"
                                                  id="tabbedPanel1_back" style="display:none"></hx:commandExButton>
                                        </f:facet>
                                        <f:facet name="next">
                                             <hx:commandExButton type="submit" value="Next >"
                                                  id="tabbedPanel1_next" style="display:none"></hx:commandExButton>
                                        </f:facet>
                                        <f:facet name="finish">
                                             <hx:commandExButton type="submit" value="Finish"
                                                  id="tabbedPanel1_finish" style="display:none"></hx:commandExButton>
                                        </f:facet>
                                        <f:facet name="cancel">
                                             <hx:commandExButton type="submit" value="Cancel"
                                                  id="tabbedPanel1_cancel" style="display:none"></hx:commandExButton>
                                        </f:facet>
                                   </odc:tabbedPanel>
                              </h:form>
                              <BR>
                    </hx:scriptCollector>

Try using a JSP for/while loop with an iterator-count gained from the managed bean to create more bfpanels or tabbedPanels.
One more suggestion: please use JSF components only. HTML in JSF is not-done. Use panelGrid/panelGroup instead of HTML tables.
Also note that the FONT tag is deprecated for years. Use CSS instead.

Similar Messages

  • I cannot create a new tab by clicking on the new tab section (+) or by left clicking and opening a tab.

    FF just downloaded on this computer and I created new account today. From the very beginning, I have been unable to CREATE a new tab. I don't know what other details you need. It's just pain and simple and I hope the answer is too.
    Thank you for your time and attention

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • My firefox won't create a new tab when I click on the tab. It will create a new window. It worked fine till this morning. I've rebooted several time to see if that would make a difference. It doesn't.

    I can only create tabs by clicking on a link in an email or a program or a link in the window I am viewing. It will NOT create a new tab when I click on the tab to create a new tab, nor will it create a new tab when I right click on the tab & click on create a new tab. I'm used to using tabbed browsing all the time & it's driving me nuts. HELP!
    I have not downloaded any new updates on any software or downloaded any new software in the hours before this started happening.
    Just to clarify about my original question. I meant to say that firefox will create a new window when I right click & click on create a new window but will not create a new tab when I click on create a new tab. I think what I wrote may have been somewhat confusing.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Is there a way to create multiple New Tabs pages and name them?

    This feature is great but I would like to be able to create multiple new tabs pages and label them. This would be more useful than tabs groups that all load at once.

    No that is (currently) not possible.
    It will be possible in future Firefox version to specify the number of rows and columns.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=752841 bug 752841] - [New Tab Page] make the number of tabs adjustable
    <i>([https://bugzilla.mozilla.org/page.cgi?id=etiquette.html please do not comment in bug reports])</i>

  • Is it possible to create a new tab in 'Default settings for items' option?

    Hi everybody
    I am Raghu working in EBP2.0 & I have come across a difficlty and that is of creating a new tab and also the fields 'GL a/c', 'cost centre' or 'internal order' in this new tab.
    First of all please let me know whether is it possible to create a new tab for these fields.
    The purpose of this new tab is to default the cost centre and GL account with reference to shopping cart.
    As per current scenario, user has to enter the cost centre & the GL code as many times as the number of items in a shopping cart. I mean, if you have 10 items in your shopping cart then 10 times user has to input the cost centre & GL account. To avoid this we are required to add new tab so that per shopping cart we can enter the GL account & cost centre only once.
    Your immediate response would be very much apprecited.
    Regards
    Raghu

    hi Ram & Sreenivas
    Thanks for your immediate response.
    Ram, we can default GL a/c & cost centre in org structure since client wants to us to keep the option of entering these for every shopping cart.
    Sreenivas, I checked the 'copy to clipboard' option & its not there in EBP2 and I feel what you meant as cost centre tab is account assignment tab.
    Let me explain you more clearly about this requirement.
    Current Scenario
    1.Say a user has added 5 items to his SC.
    2.User has to enter cost centre & GL code 5 times & then he can order
    Required scenrio
    1.Say a user has added 5 items to his SC.
    2.As per the proposed functionality, user will click on 'Default settings for items' button. Three tabs will appear-->Basic data, Internal note & Delivery Address.
    We have to provide a new tab here where in user will default his GL & cost centre for this shopping cart & then order. This will help user to avoid entering GL & cost centre 5 times.
    For some reasons our client is not interested in defaulting this data.
    Please help in this regard if time permits.
    Thanks
    Raghu

  • I am not able to create a new tab, eventhough i have tried all ways to do it.

    Normally the existing (current) tab has at the end an "+", and that gives you the option to make a new tab to the right. My Firefox tab does not have the "+", and I'm not able to create a new tab for another link. The new tab option is not working on my Mozilla internet browser.

    Use Hotkey CTRL + T to Open a Blank Tab. Do the following too:
    go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. You can enable the Add-ons later. Check and tell if its working.

  • BADI:problem with creating a new tab in BADI

    Hi
    I'm new to BADI's.
    i have a requriement to add a new tab in the MIGO transaction and add a field in that new tab .
    my Functional specification author is suggesting to use the BADI "MB_MIGO_ITEM_BADI" to create a new TAB .
    But i'm not find any function code availale in this BADI .
    Can anybody tell me how to use this BADI "MB_MIGO_ITEM_BADI" to create a new TAB .
    Also can anybody provide me any documentation available in designing a new TAB or new screen using BADI's ?

    Hi pawan
    Try this badi :   MB_MIGO_BADI  -
    (BAdI in MIGO for External Detail Subscreens)  as the name suggest ,
    If you want to add a screen in header level use : Method : PBO_header an code as :
        e_cprog   = 'ZMMPRM0001'.     """ Your screen created
        e_dynnr   = '1000'.                     "Your screen No
        e_heading = 'TEXT ID '(004).    """" Name of the screen to be created .
      ELSE .
        e_cprog   = 'ZMMPRM0001'.
        e_dynnr   = '1000'.                     "External fields: Display
        e_heading = 'TEXT ID '."(004).
    or if at item level
    u can use methid : PBO_DETAIL
    for item level screen creation . and code in the same maaner ..
    You can explore the remaning methods as per your requirements .
    Hope it helps ..!
    Regrads
    Swapnil P KAmble

  • How to create a new tab in CRMD_ORDER for custom fields

    Hi Expert,
    I have added custom fields in crmd_customer_ i through EEWB .
    Now i want to display the fields in a new tab in CRMD_ORDER.
    can you please guide me how to create a new Tab step by step procedure.
    Thanks & Regards,
    Avi

    Dear Avi,
    please be aware that crmd_order is no longer supported since crm2007 (6.00). That means EEWB is not the right tool to add customer fields because only WEBUI is supported. There you can use the AET tool to create own fields or tables via configuration.
    However please see note 1037748 where you get more information and help.
    Best regards
    Rene

  • Not able to create a new tab in atg csc 10.0.3

    am trying to create a new tab in csc 10.0.3 in ACC.
    i created a custom tab by duplicating an existign tab and renaming the id and all. bt its not reflecting.
    i had added the newl;y created tab id in componentId of Framework.
    i tried to delete existing tab its working.
    please help me out.

    Check this out:
    Immuraliraj-TechTalks: ATG CSC : Adding a New Tab to Commerce Servie Center

  • What is the BADI to create a new tab in ME21N transaction

    Hi,
    I have created a new document type zbr with the transaction spro.
    I wanted to add a new tab for the given document type zbr. How to create a new tab for the document type.
    How to create a new tab using BADI. what is BADI used to create the tab

    Hi,
    Pls check BAdI 'ME_GUI_PO_CUST'  for your reqmt.
    Pravat.
    <i>*Reward points if helpful</i>

  • Why, suddenly can't I create a new tab through the "file' drop down or by using the "add a tab" button.

    The only way I can create a new tab right now is to right click on a link in the current tab and ask it to "open in new tab".

    This problem in is Firefox on your Mac?
    May users have discovered this problem is caused by Conduit add-ons, such as a Conduit plugin and/or a "Community Toolbar" extension.
    You can check for and disable extensions on the Add-ons page. Either:
    * Command+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Does that help with the "+" button? If so, could you name the specific extension that caused the problem?
    You might also check the Plugins section of the Add-ons page. You can use "Never Activate" to disable plugins that you don't ordinarily use.

  • Double click on the left arrow on the tab bar creates a New Tab at the right hand end.

    With Firefox 29.0.1 double clicking on either the left or right hand arrows in the tab bar creates a new tab at the right hand end of the tab bar. This is annoying behaviour that violates standards around UI design single click and double click. A double click should extend the behaviour of the single click rather than doing something completely different (opening a new tab). An example would be , in Word a single click selects a word, a double click selects the sentence and a triple click selects the paragraph. Note that this is a separate issue from double clicking on the tab bar itself to create a new tab.
    When there are more tabs on the tab bar than will fit in the viewport the tabs scroll sideways so show the tab in use. I can click the left and right arrows at the ends of the tab bar to scroll the bar in that direction to bring a tab that I want to select into view. I believe that double clicking the left arrow would scroll the bar fully right, exposing the left-most tab. Double clicking the right arrow would scroll the bar fully left exposing the right-most tab.
    This is a logical and expected extension of the behaviour of the single click. Single click - scroll once (seems to be about three tab's worth), double click - scroll all the way.
    At the moment, if I want to scroll to the left-most tab I have to click the arrow slowly and carefully until I reach it. I used to single click rapidly on the left arrow until the tabs stopped scrolling without having to count how many clicks. It's possible that my rapid single clicks were actually double clicks. Nevertheless, the tab bar would stop scrolling when it reached the end.
    Now the behaviour is really annoying and unexpected. A double click on the left arrow scrolls the tabs fully right and then fully left and creates a New Tab at the right hand end. Ditto the right hand arrow in the opposite direction.
    While I can (maybe) see that value of a double click on the tab bar itself creating a new tab, double clicking one of the scroll arrows should not produce a new tab.
    Double clicks on the tab arrows should scroll the tab bar fully to that end. If the tab bar is already fully scrolled to that end then additional clicks (single, double and triple...) should be ignored.
    I like the idea of opening a new tab to the right of the one that currently has focus. This should be a right click context menu option.

    That shouldn't happen if you click the scroll buttons on the tab bar.
    A double-click should act as page up/down and move a full screen and a triple-click should move to the far left (first tab) or the far right (last) tab.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I got firefox 30.0 and now I cant press the new tab button to create a new tab D:

    I got firefox 30.0 and now I cant press the new tab button to create a new tab D:, this has not occured since firefox 3

    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''''' {web link}
    While you are in safe mode;
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites and see if there is still a problem. Then restart.

  • Can I specify a Web Page to open (i.e., a Home Page) when I create a new Tab?

    When I create a new Tab, I get a blank page. I'd like the Tab to start-out with a Home Page that I specify - similar to the option that Firefox provides for each instance of Firefox that you start.

    Thanks,
    Those "add-ons" or "extensions" are not working for me.
    Using Windows 7.
    This has been going on for a while with me. 3 months ago I uninstalled FF then re-installed but it has same problems.
    Found about:config but wasn't sure if there is a solution on that screen.
    Uninstall again? Last time I uninstalled FF, I saved the bookmarks. But the re-install already had them in when I first opened. So I don't think i did that one correctly.

  • How to create a new tab inside a existing subtab on a page.

    Hi,
    How can I create a new tab inside a existing subtab on a page?
    If I change directly on the page.xml it will not maintain compatibility with upgrades. Am I right?
    Thanks,
    Marcelo

    Marcelo,
    Well basically you are adding a stackLayout bean and using that adding your region. Are you able to see the changes and run the page without any error?
    As you are manipulating the file manually, you can never be sure of whether its going to cause issues later on or not. And as mentioned earlier if OAF doesn't support creating the subtab using personalization, there are bound to be some limitations from the framework side. Also what personalization allows is to create items and not regions. So better stick to a rigorous testing to catch any issues early on.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Restore Library after hard drive format

    I had to reformat my Windows hard drive and, of course, then I had to restore my Itunes Library. My music files are stored in a different HD so, I didnt have to back them up. I restored my library using the method described in this page article http:

  • How to make multi-tenant business rules

    hi' I want to write tenant specific Business rules in multi-tenant application, please give me some tips of making multi-tenat business rule. I know how to write common business rule for all the tenants. thanks Yatan

  • I am certain I am missing something obvious....

    In Safari 4.0.5, I tried to clean up and organize my gigantic number of bookmarks. I probably did something wrong. I created folders for common bookmarks, like "politics," "shopping," "sports," "diet & exercise," etc. Then I put the bookmarks into th

  • DHTML moving data on it's own

    One particular DHTML was giving me grief (all other woked just fine... but one is not cooperating).  I had several layers of DHTML's to put in, and on the 4th or 5th layer, RoboHelp would delete all the data in my DHTML link (drop down was still ther

  • JBO-25014

    Hi, I am pretty new to ADF and JHeadstart and obtaining te following error: JBO-25014. This error occurs in a master-detail form I created. The form contains one master and two details. I think this error is caused by some triggers defined on the und