Get the existing tab by name at runtime

Hi all,
I need to get weather a tab exist by this name or not .. my scenario is
I will have a properties file with a list of field properties along with information to which tab this field belong ...?
At runtime I need to create a tabstrip...
Then i need to get 1st field's  tabname, check weather a tab exist with this name or not..
if it exist create & add this field to that tab and context, else create new tab and then add.
add the tab to the tab strip. so on to all fields
finally tab strip to the rootcontainer
He ineed how to get a tab by name,
how to create a value attribute under a value node for the view context..
Thanks in advance .
Sai.k.k

Hi Armin,
Have a look at this code
<pre>
for(int i=1;i<=fieldscount;i++)
  IWDAttributeInfo child = parent.addAttribute(resourceHandler.getString("FIELD"i"_FIELDNAME"),"com.sap.dictionary."resourceHandler.getString("FIELD"i+"_DATATYPE"));
  IWDInputField field = (IWDInputField) view.createElement(IWDInputField.class,"Field_"+i);
  field.bindValue(child);
  IWDLabel label     =     (IWDLabel)view.createElement(IWDLabel.class,"Label_"+i);
  label.setText(resourceHandler.getString("FIELD"i"_LABEL"));
  label.setLabelFor("Field_"+i);
  IWDViewElement Ele = view.getElement(resourceHandler.getString("FIELD"i"_TAB"));
  if(Ele instanceof IWDTab)
    IWDTab existtab = (IWDTab)view.getElement(resourceHandler.getString("FIELD"i"_TAB"));
    existtab.setContent(label);
    existtab.setContent(field);
  else
    <b>IWDTab tab1 = (IWDTab)view.createElement(IWDTab.class,resourceHandler.getString("FIELD"i"_TAB"));</b>
    IWDCaption header1 = (IWDCaption) view.createElement(IWDCaption.class,resourceHandler.getString("FIELD"i"_FIELDNAME"));
    header1.setText(resourceHandler.getString("FIELD"i"_TAB"));
    tab1.setHeader(header1);
    IWDTransparentContainer tcont = (IWDTransparentContainer)view.getElement(resourceHandler.getString("FIELD"i"_TAB"));
    IWDGridLayout layout =(IWDGridLayout)tcont.createLayout(IWDGridLayout.class);
    layout.setColCount(3);
    tab1.setContent(label);
    tab1.setContent(field);
    ts.addTab(tab1);
//    count++;     
theActionContainer.addChild(ts);
</pre>

Similar Messages

  • How do i get the acrobat tab to display in Word 2013?

    how do i get the acrobat tab to display in Word 2013?
    i have Adobe Acrobat 11 Pro for Windows. In Word, it's in the Add-Ins area, and set to display at startup, but it doesn't.

    Are you running at least version 11.0.1 of Acrobat? Have you checked to make sure the add-on isn't on the disabled list for Word 2013? This is done under the Word Options button.
    In the categories pane, click Add-ins.
    In the details pane, verify that the add-in appears in the Disabled Application Add-ins list.  The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.
    In the Manage box, click Disabled Items, and then click Go.
    Select the add-in and click Enable.
    Click Close.

  • How do you get the Tones tab on iTune so I can load a song on ringtones?

    How do I get the Tones tab on iTunes so I can load a song on ringtones? Any instructions on how to add a new ringtone?

    I looked into that, and you right.
    I will replace the Class.forName() with ClassLoader.loadClass() and instantiate a new ClassLoader everytime I need a new version of an existing class ( up to a limit of, say, 100 times, after which the server will notify the client that it has to be restarted before that class can be updated ).
    Now, another question: What happens when I load 10 different versions of "Msg404.class", using different loaders ?
    Will the JVM give me the latest version, when I instantiate Msg404.class ?
    ( That is what I would expect to happen ).
    Thanks, Fredrik.
    -RUi

  • I have just fired up a new ipad, and am not getting the "info" tab in the bar, so I can't sync my contacts from my address book on my macBook Pro ... ??

    Any clues as to how I can get this happening, and sync all my data that I can sync to my iPhone ? I don't seem to be getting all the faclilities I am suppopsed to ... most frustrating.

    With Mavericks you won't get the Info tab, you use iCloud to sync contacts - from http://support.apple.com/kb/PH12117 :
    If you use OS X Mavericks v.10.9 or later, your contacts, calendars, and other info are updated on your computers and iOS devices via iCloud. For more information, see iCloud Help at icloud.com.
    About iCloud : http://icloud.com
    iCloud contacts : http://www.apple.com/support/icloud/contacts/

  • Unable to get the SharePoint 2013 List names using Client object model for the input URL

    Please can you help with this issue.
    We are not able to get the SharePoint 2013 List names using Client object model for the input URL.
    What we need is to use default credentials to authenticate user to get only those list which he has access to.
    clientContext.Credentials = Net.CredentialCache.DefaultCredentials
    But in this case we are getting error saying ‘The remote server returned an error: (401) Unauthorized.’
    Instead of passing Default Credentials, if we pass the User credentials using:
    clientContext.Credentials = New Net.NetworkCredential("Administrator", "password", "contoso")
    It authenticates the user and works fine. Since we are developing a web part, it would not be possible to pass the user credentials. Also, the sample source code works perfectly fine on the SharePoint 2010 environment. We need to get the same functionality
    working for SharePoint 2013.
    We are also facing the same issue while authenticating PSI(Project Server Interface) Web services for Project Server 2013.
    Can you please let us know how we can overcome the above issue? Please let us know if you need any further information from our end on the same.
    Sample code is here: http://www.projectsolution.com/Data/Support/MS/SharePointTestApplication.zip
    Regards, PJ Mistry (Email: [email protected] | Web: http://www.projectsolution.co.uk | Blog: EPMGuy.com)

    Hi Mistry,
    I sure that CSOM will authenticate without passing the
    "clientContext.Credentials = Net.CredentialCache.DefaultCredentials" by default. It will take the current login user credentials by default. For more details about the CSOM operations refer the below link.
    http://msdn.microsoft.com/en-us/library/office/fp179912.aspx
    -- Vadivelu B Life with SharePoint

  • How do I get the "Document" tab to appear in the toolbar?

    How do I get the "Document" tab to appear on the "Adobe Reader" toolbar?

    There is no way to add that. All changes to the Adobe Reader toolbar can be found here:
    View->Show/Hide/Toolbar items

  • When I open a new tab, how can I get the second tab to be me my home page also?

    I know how to right click and open a new tab when I am browsing but if I want to open just a blank new tab, how can I get the second tab to be my home page also?

    I know how to right click and open a new tab when I am browsing but if I want to open just a blank new tab, how can I get the second tab to be my home page also?

  • Getting the local full path name of a file from an item File Browser

    Hi all,
    I would like to get the local full path name, of a file selected from an item 'File browser'.
    I see in wwv_flow_files the column 'name', but actually it's a kind of id like 'F1542335/myFile.gif' for example.
    What i want is the local path of this file ("C:\Documents and Settings\All Users\....\myFile.gif").
    I hope this is possible??
    Anyway, thanks all for reading.
    Ludo

    Hello, thank you for the answer.
    Please understand that I searched before posting, and not ony 15 min.
    What i mean is that the value of a File Browser in an Apex applocation is something like 'F1542335/myFile.gif', but what I need is the local path location.
    And 'F1542335/' is not the local path location, i can't use it. Or maybe there is a way to convert it in a proper path name, such as "C:\Documents and Settings\....", but I don't think so.
    So my question is : how to get the local path name of a file in Apex?
    I'll answer if I find some good things.
    Thanks
    Ludo
    Edited by: user12945874 on 06-avr.-2010 3:59

  • How should we get the out put file-name same as in put file-name in file to

    Hi frnds,
    having hundreds of files in the sender system with different names, how should we get the out put file-name  in the receiver system same as the in put file-name in file to file scenario ?
    Thanks in advance.
    truly,
    snrvakiti.

    Hi,
    In Receiver File Adapter you can set under 'Adapter-Specific Message Properties'
    check Use Adapter-Specific Message Properties
    check Fail on Missing Adapter Message Properties
    Check File Name
    Have a look at this link,  [File_to_File|http://allsapnetweavernotes.blogspot.com/2008/09/how-can-i-access-filename-from-fileftp.html]
    Regards,
    P.Rajesh

  • Whenever I click on a link, firefox opens a new tab instead of opening the link in the existing tab. How do I correct this?

    I open firefox and type in CNN(or any other item). When the link appears I click on it. Instead of opening in the existing tab, firefox opens a new tab.

    Thank you for this information. I love learning new things!

  • Can i get the history tab in query designer in bw 3.5 version

    can i get the history tab in query designer in bw 3.5 version plz help me.

    Hi,
    yes..
    do this..
    Go to SPRO->IMG->SAP NEtweaver->SAP BIW->Reprting-relevant Settings->General Reporting Settings in BEx->Activate personalization in Bex.
    Regards,
    San!

  • How to get the dynamic Crosstab header name ?

    Hi ,
    The crosstab resaults shows as below ,How to get the dynamic Crosstab header name ?
    | Countryname |
    | Province1 | Province2 |
    | here to get CountryName | here to get CountryName |
    how to get the Countryname in data ceil?
    thanks

    Could you please elaborate on your requirement?
    You want header to be dynamic?

  • I only get the Artists tab in music app everything else is missing.

    I only get the Artists tab in music app everything else is missing.

    Hi Bosstweeds,
    Welcome to the Support Communities!
    To address this issue, I would suggest you close all open apps, then restart and reset your iPhone.  Here's how:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, Reset All Settings on the iPhone.  This information can be found in the iPhone User Guide:
    Reset iPhone settings - iPhone
    http://help.apple.com/iphone/7/#/iph7a2a9399b
    Reset iPhone settings. Go to Settings > General > Reset, then choose
    Reset All Settings: All your preferences and settings are reset.
    Cheers,
    - Judy

  • Opening a new tab in safari opens an untitled tab while replacing the existing tab with top sites

    When I open a new tab in safari, it opens an untitled tab while replacing the existing tab with top. Then if I have other tabs open, the website url of the page I was on before I opened the untitled tab freezes and is shown on each other tab.
    How can i fix this problem? It is starting to occur with increasing frequency.

    I had the same problem and I suspect you are using Glims. I uninstalled Glims and voila, problem gone. I reinstalled Glims and the problem returned.
    Link to Glims uninstaller for those who have this problem http://www.MacHangout.com/dwnlds/Glims-UnInstall.dmg.zip
    I'll report the bug and hope they fix it soon, I like Glims.

  • I can not get the bookmarks tab to open

    I just installed firefox on my new laptop. I can not get the bookmarks tab to open. I also can not get the right mouse button to open the copy, print, etc menu.

    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.
    *Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

Maybe you are looking for