Custom View Missing when using NSToolBar

Hi all
I have a window with a custom view on it ( PreferencePanelWindowController.h .m .xib ). And I have two views ( PreferenceGeneral.h .m .xib and PreferenceLogging.h .m .xib ) which can be loaded into the custom view.
Now the General view loads when the window is opened however if I add an NSToolBar to the window then the General view won't load when opening the window.
This is the case both when I create the NSToolBar programmatically or if I simply use interface builder to pop the Toolbar on.
Why would this be and how would I get round this.
Incidentially I have tried reloading the view in awakefronib and windowdidload.
Cheers
Steve

Adding on from the above
I have
- (void)awakeFromNib
    [self buildToolBar];
    [self changePreferencesViewController : kPreferencesGeneralTag];
- (void) buildToolBar
    _toolbarItemList = [[NSMutableArray alloc]init];
    _toolbarItems = [[NSMutableDictionary alloc] init];
    // Create Tool Bar Buttons
    [self createToobarButton : _general          : @"General"        : @"General"        : @"NSPreferencesGeneral"       : @""];
    [self createToobarButton : _registration     : @"Logging"   : @"Logging"   : @"NSPreferencesLogging"       : @""];
    _toolbar = [[NSToolbar alloc] initWithIdentifier:@"preferencePanes"];
    [_toolbar setDelegate:self];
    [_toolbar setAllowsUserCustomization:NO];
    [_toolbar setAutosavesConfiguration:NO];
       [self.window setToolbar:_toolbar];
Ok if in awakefromnib I remove [self buildToolBar]; then the view loads but obviously there is now no toolbar.
Futher more you can leave that in and remove [self.window setToolbar:_toolbar]; in the buildToolBar method which obviously stops the toolbar drawing but the view loads.
So why would drawing the toolbar stop the custom view loading even though the view method is run after the toolbar method.
Thanks
Steve

Similar Messages

  • Have not been able to see comments at bottom of espn website page. Have zoomed in aand set view to default with no luck. I can view comments when using IE or Chrome.

    Have not been able to see comments at bottom of espn website page. Have zoomed in and set view to default with no luck. I can view comments when using IE or Chrome.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • Flash player controls missing when using embedding in HTML

    Hi
    I have just created a Flash movie with a .flv file in flash cs4 when playing the .swf file we can see the controls of the player, when I use the html code the player controls are missing.
    it is missing when using the HTML that is generated with in flash as well.
    this is the code used for the HTML
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("myFlashContent", "10.0.0");
    </script>
    </head>
    <body>
    <div>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="272" height="400" id="myFlashContent" align="bottom">
    <param name="movie" value="walkon.swf" />
    <param name="play" value="true" />
    <param name="loop" value="false" />
    <param name="quality" value="best" />
    <param name="scale" value="exactfit" />
    <param name="salign" value="b" />
    <param name="wmode" value="transparent" />
    <param name="allowfullscreen" value="false" />
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="walkon.swf" width="272" height="400" align="bottom">
    <param name="play" value="true" />
    <param name="loop" value="false" />
    <param name="quality" value="best" />
    <param name="scale" value="exactfit" />
    <param name="salign" value="b" />
    <param name="wmode" value="transparent" />
    <param name="allowfullscreen" value="false" />
    <!--<![endif]-->
    <a href="http://www.adobe.com/go/getflashplayer">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    </div>
    </body>
    </html>
    I would really like your help on this one
    Thanks
    Rodney

    Hi,
    Please check that your swfobject.js file is located where your .swf file and.html file are published.  Your .swf file, .html file and swfobject.js should be placed on the same folder.
    In my Flash CS4 the code generated in the HTML file is different and is having 318 lines of code. But the code which you pasted below looks different. If you are not able to see the flash content only in HTML file then it might be active content blocking. Please refer the link which provides fix for active content blocking manually.
    http://www.adobe.com/devnet/activecontent/articles/devletter.html
    Thanks

  • Service Based Revenue Recognition - Prov Account Missing when using WBS

    Hi,
    I´ve activated RR functionality using service based and aceptance date.
    I've followed the intructions from the best practices documents and the notes:
    Note 820417 u2013 IMPLEMENTATION GUIDE FOR REVENUE RECOGNITION
    Note 1172799 u2013 NEW VERSION OF BEST PRACTICES FOR REVENUE RECOGNITION
    Note 678260 CONSTRAINTS
    Note 777996 u2013 ACCOUNT SETTINGS FOR  REVENUE RECOGNITION PROCESS     
    Note 779366 u2013 REVENUE RECOGNITION IN THE SD MODULE
    Note 1166848 u2013 CUSTOMIZING SETTINGS
    Note 782758 u2013 PREREQUISITS FOR USING REVENUE RECOGNITION
    Note 835367 - Activating SAP ERP SD revenue recognition
    Note 1000830 - Revenue recognition through incoming invoice (third-party
    Note 1025066 - Revenue recognition by proof of delivery (POD)
    Note 1120297 - Revenue recognition by acceptance date
    Note 1125456 - Revenue recognition due to customer-specific event
    We are implementing SD, FI (using New Gral Ledger), PS, CO and MM in a company that sells projects. Therefore we're posting everything to the WBS elements.
    We need to post the revenue values to the WBS elements too.
    The problem is that when we create a sales order for RR indicating a WBS element and try to save it, the system activates the incompletion log saying that the provision account is missing, despite the account is in VKOA.
    The strange thing is that if we use a material with profit center (without any WBS or order indication in the sales order) all the revenue recognition process runs perfectly (we save the order, VBREVK is fullfiled, VF44 is run and the invoice is done correctly).
    Does anybody know why when using a WBS element in the sales order, SAKN2 field is not fullfiled and the incompletion log is activated???
    Is it a program error? Or are we doing something wrong?
    Quick responses will be apreciated since we need to move on within two weeks!
    Thanks in advance!
                                     María del Valle Pintor.
    Moderator: This thread has been locked due to crossposting.
    Please do not post the same question in different forums.

    sap note 883544

  • Qosmio x300 - no dual view option when using analogue

    Have plugged in an analogue monitor. I can get an image to appear on either the analogue monitor or the laptops LCD but I can't get it to appear on both, i.e. dual view - either extended desktop or clone.
    I have a Qosmio (a regret since buying it due to all the problems it has and Toshiba customer service have!). Its an x300-13w and I am running win vista x64.
    I have the latest drivers from Toshiba website and looking to various forums I have tried to find a reg key called DisableDualView but cannot find such a key (the key probably only exists in win xp).
    After removing the analogue monitor my laptop is now playing up further in that every time it logs in it does so under a lower resolution then flicks back to the correct high resolution.
    Have tried turning sli off in case that was the cause of the problem but that was no help.
    The problem appears to be that neither the nvidia control panel nor windows display settings shows the option for multiple monitors, both display only a single monitor option.
    In the windows display settings I can only see "generic php monitor on nvidia geforce 9800...." and when I plug in the analogue monitor it says "multiple monitors on nvidia geforce...." however the monitor icon only shows one monitor.
    In the nvidia control panel I only see the option "only use one display (single)".
    Any suggestions on what I might try?
    I seem to have some memory of having to change something in BIOS to switch between using HDMI and VGA but can't remember where I might have seen this.

    frther update:
    have been playing around with the settings... i can only get dual view to appear as an option and to work if i use the 9400m integrated graphics in windows power saver scheme.
    when i turn off SLi (by turning the power scheme to power saver) i note the following:
    1) dual view works
    2) Windows shows only the LCD and CRT on the 9400m graphics (which i understand is the integrated graphics)
    3) Nvidia control panel also shows that the 9400M is in use
    does the 9800m gts not support dual view?
    when i turn on SLi i note:
    1) dual view does not work
    2) windows device manager shows 4 monitors. 2 on the 9400m and 2 on the 9800m gts.
    3) nvidia shows only the LCD on the 9800m gts. there is no sign of the crt.
    so my problem is now narrowed down to:
    i can't use dual view when the computer is in performance or balanced mode (power scheme options).
    has anyone successfully used the dual view option on the 9800m gts when in performance and\or SLi mode? any tips on how i can too ;)
    considerign the advantage of SLi i would have expected the 9400 to complain and the 9800 to be running just fine.

  • Navigate to custom views in PDF using C#

    Dear Team,
    I have a PDF file with many custom views . Its having a page only . But its having lots of view.  its customized pdf file. It has tool bar  to select the views.
    now i want to control the views drop down in tool bar using c# .
    Is it  possible with acrobat x Reader pdf viewer control  ? or do i need to buy the tool for this?
    its very urgent ...
    Thanks to get back to me regarding this ... as soon as possible...

    http://Thanks for your information. can you give some sample codes to me ?
    Please find in above for my requirements. Thanks to help me .
    Thanks !

  • How retrieve custom fields only when using SPListItemCollection?

    Hi with following code I am retrieving a DataTable from a List:
    using (SPSite site = new SPSite("http://..."))
    using(SPWeb web = site.OpenWeb())
    SPList oList = web.Lists.TryGetList("Serverliste");
    if(oList != null)
    DataTable dt = oList.Items.GetDataTable();
    This works fine. My problem is that I only want to get custom ListFields. When working with Fields one can simply call
    FromBaseType which will show if a Field is custom or not. The only value which seems right is
    IsCustomType. Though it is listed under Not public members, which makes it unaccessable via code for me, right?
    Well a dirty approach would be to iterate through ListFields, match them with DataColumns and check whether they are custom or not.
    Is there any clean, efficient solution for this? Is this possible using CamlQueries? If yes, how would that query look like?
    Algorithmen und Datenstrukturen in C#:
    TechNet Wiki

    Hi,
    To retrieve the custom fields, CAML query is incapable, do a iteration with SPField.FromBaseType or the SPField.SourceId property seems the only way at this moment.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Iview contents missing when using FQDN Cisco Load Balancer

    Hello Experts,
    We are using Cisco load balancer to distribute the load across the portal servers. Everything was working fine, but after upgrades to the latest support package stack SP18, we ran into some odd behavior. Some of the contents on the iview are blank when using FQDN load balancer URL e.g. http://sap1234.corp.com/irj/portal .  But those blank contents does show up if we donu2019t use FQDN e.g. http://sap1234./irj/portal .  At this point we are not sure where to start troubleshooting?
    Any helps would be appreciated,
    Dave
    Edited by: davidn on Feb 27, 2009 11:50 AM

    Isn't this the same as your other post? I'm locking this one...

  • Creating a custom view to be used in Discoverer

    Hi Everyone,
    I would like to create a view, that can be used in Discoverer.
    I am new to Oracle and was wondering if
    1) the hardcoded values in the WHERE clause can be made into variables
    2) if (1) is true, can the Discoverer parms drive/be the values of the variables for the sql?
    SQL statement is below,
    tx for any assistance, Sandra
    SELECT
    S1.ID
    , S1.NAME
    , SA1.ACADEMIC_PERIOD
    , SA1.STUDENT_ATTRIBUTE
    , IJ.STUDENT_ATTRIBUTE
    FROM STUDENT_ATTRIBUTE SA1
    INNER JOIN STUDENT S1
         ON SA1.PERSON_UID = S1.PERSON_UID     
    INNER JOIN
                             SELECT
                             SA2.ACADEMIC_PERIOD
                             , SA2.PERSON_UID
                             , SA2.STUDENT_ATTRIBUTE
                             FROM STUDENT_ATTRIBUTE SA2                              
                             WHERE SA2.ACADEMIC_PERIOD = '200920' AND
                             SA2.STUDENT_ATTRIBUTE = 'M4'
                             ) IJ
    ON SA1.PERSON_UID = IJ.PERSON_UID                         
    WHERE SA1.ACADEMIC_PERIOD = '200920' AND
         S1.ACADEMIC_PERIOD = '200920' AND
         SA1.STUDENT_ATTRIBUTE = 'SD'
    ORDER BY S1.NAME

    Hi Sandra
    I'm glad you got it.
    With regards to custom folders, I have to humbly disagree with the opinion expressed by my learned friend John. I have found that the most dramatic improvements I can make to a reporting system lie within the database. Within a tool there is usually nothing I can do to improve the performance that you get out of your database, but there is an awful lot you can do, and typically have done, to mess it up.
    Above everything else, I am a reporting mentor and I get called in to work on systems where reporting is not working very well. I can tell you that rarely do I find that making changes to an EUL solves the problem.
    Most of the time the fault lies in the database with it not being designed for reporting purposes. What I do is evaluate, formulate and activate. I analyze the problem, I work out the solution then I implement the solution. I have worked on systems where Discoverer reports, which granted are not the fastest in the world to begin with, have taken 30 minute or longer to run. When I am done I have these working in 1 minute or less. In a nutshell, or three words actually, you need to SIP your database, that is to summarize, index and partition the data within it in such a way that it has no choice but to behave.This is something you cannot do with a custom folder.
    If anyone reading this is having trouble with a reporting system playing up you need to act now, change it or call someone who can, and make it perform the way you want. Your users will love you for it.
    Best wishes
    Michael
    URL: http//ascbi.com
    Blog: http://learndiscoverer.blogspot.com

  • Footer missing when using Stripe. Has anyone experience the same when using Stripe, is there a way around it?

    I'm trying to implement Stripe onto my website. But when I insert the HTML widget, my footer goes missing, or any graphics below the widget for that matter. So weird.
    Any suggestions?
    Thank you,

    If your whole page suddenly looks weird in the browser after inserting custom HTML, the problem is usually that the HTML you've inserted isn't valid. You may be missing some close tags or something. You can use the HTML validator to check your page:
    The W3C Markup Validation Service

  • Document operations missing when using my palette

    Hi,
    after a lot of trial and error I have finaly managed to get a custom palette running in my Photoshop CS6. The problem I have now is that when my palette is active I am missing some functions from the Photoshop File-menu, i.e 'New', 'Open', 'Browse'. Is this to be expected?
    My palette code is based on this: http://www.davidebarranca.com/2012/10/scriptui-window-in-photoshop-palette-vs-dialog/, the 'PS palette working example' section
    main();
    function main()
              mainWindow = createGui();
              isDone = false;
              mainWindow.onClose = function()
                        return isDone = true
              mainWindow.show();
              while (isDone == false)
                        app.refresh();
    function createGui()
              window = new Window("palette", "Material Picker");
              window.center();
              return window
    Could it be that this code is preventing Photoshop from running all functions?
    I would really like to have this running in a dockable panel in PS but I havn't found a way yet. Any suggestions are very welcome.
    Thanks,
    Johan

    I see.  So when you scan, copy, or fax through the ADF, it acts like everything is working fine, but nothing copies, nothing scans, and nothing faxes.  When you use the glass, scan, copy, and fax work fine.  The c6180 has two seperate scanner lamps, one for the ADF, and the other for the glass.  It sounds like the ADF lamp has gone out.  There are a few things you can try to get it working again outlined here, but most likely if it's gone, it's gone.  The scanner lamps aren't something that you can replace seperately from the printer.  To replace the scanner lamp you gotta get a whole new printer.  If you can make due, then I would hold off, but if you gotta have it and the document doesn't fix it, you gotta get a new one.  The down side to getting a new one, for you at least, is that the PhotoSmart printers don't have traditional faxing anymore.  To get taditional faxing you have to get an OfficeJet or a LaserJet.  The OfficeJets will use way less ink than the PhotoSmarts, but the photo printing quality isn't quite as good, and the scanning options tend to be more limited.  The LaserJets are the most stable printers made.  They are efficent and will last almost forever, because there isn't alot that moves so there isn't alot that can break.  The downside to LaserJets is that they can be a larger initial investment, more so if you want color printing, but they do pay for themselves in the long run.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Custom Report Erroring when using All as parameter

    Hi All,
    I am facing a problem in running custom report.
    => DB Server Info
    RDBMS : 11.2.0.2.0
    Oracle Applications : 12.1.3
    I am getting following error.
    REP-1401: 'afterpform': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    custom report two parameters one is date parameter and name parameter
    date parameter is using as fnd_date.canonical_to_date(:P_EFFECTIVE_DATE) in queries.
    if I give name parameter for individual, then it works fine.
    if I give name parameter as "All", then its erroring. I tried it in my best way, but its not working.
    variable data length increased though its not working, can any one help me on this please....
    Here is the Afterpform code
    function AfterPForm return boolean is
    lName VARCHAR2(5000); -- its changed from lName varchar2(50);
    begin
    IF :P_NAME <> 'All' THEN
    lName:= 'AND name =:P_NAME';
    ELSE
    lName:='AND name in                                                             (select name from <******>
              order by name
    END IF;     
    :P_Where_Clause := lName;
    return (TRUE);
    end;
    Thanks for all your help so far.
    Ram.
    Edited by: user8822881 on Feb 9, 2012 10:43 AM

    excuse i understood that you use All as parameter name
    ORA 6502 is when you assign a char to a number or when assign a value which length is greater than the variable length
    what's the dimension of p_where_clause for example?
    you can trace with srw.message
    --- <Code>
    function AfterPForm return boolean is
    lName VARCHAR2(5000); -- its changed from lName varchar2(50);
    begin
    srw.message(1,'step 1');
    IF :P_NAME = 'All' THEN
    srw.message(2,'step 2');
    lName:='AND name in (select name from <table>
    order by name
    srw.message(3,'step 3');
    ELSE
    srw.message(4,'step 4');
    lName:= 'AND name =:P_NAME';
    srw.message(5,'step 5');
    END IF;
    srw.message(6,'step 6');
    :P_Where_Clause := lName;
    srw.message(7,'step 7');
    return (TRUE);
    end;
    ---</Code>
    i think your query is not good
    for example
    lName:= 'AND name =:P_NAME';
    when instance the query the query search this condition but no use the value of p_name parameter
    write
    lName:= 'AND name = '||''''||:P_NAME||''''; then :p_name take the value

  • Text Missing when using PDF Convert but OK when using print PDF

    I am using Acrobat Pro 9 in Wnidows 7 and Microsoft Publisher 2003.
    When I use the CONVERT command to create a PDF - it is missing all of the text on the master page.
    If I create the PDF with the PRINT command - everything is OK.
    PS: The same Publisher File on another computer using Acrobat Pro 8 works fine -  CONVERT or PRINT and no missing text
    I prefer to use convert because sometimes the PRINT command drops some of the hyperlinks.
    [email protected]

    You're posting in the wrong forum, but you already know that...
    In any case, if you're running XP (you didn't supply any info about your environment, which is critical), there's a Microsoft HotFIX patch for PostScript printers such as Acrobat to fix the missing text problem. Do a Google for "Framemaker hotfix missing text" to locate the patch.

  • Duplicate custom component link when used in panelPage

    Hi Guys,
    I created a custom component, pretty simple component, just to create a list of links, something like :
    Community Discussion Forums » Developer Tools » JDeveloper
    It works fine in other pages, but when I use it with panelPage, panelPage automatically adds another link on the bottom of the page, and each time I refresh the page, the links keep repeating itself ... (behaviors kind of like the facet nemu1 links being added in the bottom)
    How can I avoid this behavior? (maybe set some attribute in panelPage?)
    Would really appreciate any help!

    Hi,
    how does the page source look ?
    Frank

  • Finder Column View Broken when using NAME

    Hi fellow Apple nerds,
    I have found a rather frustrating problem in OSX 10.8 Finder.
    When I use column view in finder I want to have my columns orgainised so I can see the whole name of the files and folders in each column.
    Now this is the problem, when I "arrange" by "kind" the column contents is split into its various kinds of files.  THe problem is if I double click on the column to rezice it, it will only resize to the contents in the first type of files.
    Read it carefully, its a little hard to explain but you can try it for yourself.  You cannot get the column to show the whole file names of the other types of files until you return to the "name" arrange view.
    I find this very frustrating as I like to have my file sorted into the types and also display the full file names.

    I just discovered it only happens with files
    on Windows network shares, so I guess it must be
    something to do with that.
    Ah, that makes sense. Finder is reading the metadata entries, no problem on the Mac, but they might not even exist on the Windows server. And even they are part of the file, as may be the case with, for instance, EXIF data from the camera and/or Photoshop, the pieces of the Spotlight process that Finder uses isn't reading them on the network share. Spotlight doesn't work well over a network.
    Since I don't use networking, I suggest you try posting your request in the Network forum:
    http://discussions.apple.com/forum.jspa?forumID=733
    Someone there might have a work-around or other suggestion.
    Francine
    Francine
    Schwieder

Maybe you are looking for

  • Can't download Photoshop Elements 10 upgrade

    I have a brand new Windows 7 computer with 4GB RAM. Firefox is my browser. I purhcased the downloadable upgrade for Photoshop Elements 10 on the Adobe web site. When I clicked on the Akami Download Manager to download the product, I saw a flashing bo

  • My macbook pro doesn't recognize my cameras

    I have a 13 months old macbook and it won't show my fuji S5 pro camera when connected by usb cable. Even after I installed the cameras driver, the macbook still doens't reconize it. It just doens't show on the screen. Now I put my memorycards in a ca

  • How do I get my iPhone3 to stop showing 2 new messages in the inbox when they are none there?

    The mailbox icon on my iPhone has the little red bubble with a number 2 next to it, but when I go to my inbox, I don't see any unread messages. Is there something I did wrong? What do you suggest I do? Thanks!

  • Very messed up Quicktime movie

    Very new to Flash, this is my first movie. I am using Flash Professional 8. I've created a Flash animation with background music, and I can export it without problems to pretty much any filetype except .mov. In the Quicktime movie, the audio does not

  • Custom Kernel

    Well, I'm finally taking the step of compiling my own custom kernel.  But I'm hitting a big snag. I'm trying to edit the config file for the kernel24 setup I'm using (following the directions in the documentation for arch) but every time I try to cha