UiTabBar inside details view of uiSplitViewController

Hi  I am currently developing an app for the iPad and am having soem difficulties getting a tab bar inside the details view of the split view controller.  I have followed the following post https://discussions.apple.com/message/9913278?messageID=9913278&#9913278?message ID=9913278& and found it useful however I have the following issues.
When a tabItem is clicked my event fires just fine.  I am attempting to add a new View via the following code.
    if (tab1ViewController == nil) {
        self.tab1ViewController = [[ImageController alloc] initWithNibName:@"ImageController" bundle:nil];
    [self.view insertSubview:tab1ViewController.view belowSubview:detailsTabBar];
    if (currentViewController != nil)
        [currentViewController.view removeFromSuperview];
    currentViewController = tab1ViewController;
This shows the view above my detailsTabBar but over the top of my toolbar (at the top of the screen).  Is it possible to have it sit below the toolbar or even squish down below it?
Am I better off adding a UIView in between the tabBar and the toolbar and loading the views into that?
Message was edited by: mattgolding added the wrong link, fixed now

Okay so I was able to achieve this by modifying the insertSubview code to be the following
[self.view insertSubview:tab1ViewController.view belowSubview:_toolbar];
The problem with that is I am unable to get the rotation correct now.  It loads fine in Portrait mode (it is designed in Interface Bulider in Portrait mode) but in Landscape mode the view is not autorezing.
Anyone have any suggestions?
Message was edited by: mattgolding Put code inside a code block

Similar Messages

  • I need to display a web app search form, inside the detail view of another web app. Does anyone know

    I can't seem to get a web app search form to work inside another web app detail page. Does anyone know if this is possible?
    I can display a list of web app items; and the search form works on a standard page; but when I try to load it within another web app's detail page, I get an error: "page not found". This happens regarless of whether I put {module_searchresuts} on the same page as the form, or if I redirect results to another page.
    Does anyone have any suggestions?

    Heya.. You currently can not do that within the detail view but it is possible to redirect the results to another page.
    Simply replace this red portion:
    action="/Default.aspx?SiteSearchID=50&PageID={module_oid}"
    with:
    ID=/results-page.html
    ...results-page.html being the page you want instead.

  • Not able to display bar chart in details view

    Hi every one,
    I created Tiles and when click on Tile it is going to SplitContainer. in SplitContainer container i have two HTML views. I am trying to dispaly bar chat in Detail view. but its not displaying. Can you please help me?
    Here is my code.
    Here is my details view.
    <template data-controller-name="view.LrDetail">
      <div id="page" data-sap-ui-type="sap.m.Page" data-title="Leave Request" data-show-nav-button="true" data-nav-button-press="back">
      <div data-sap-ui-aggregation="content">
      <div data-sap-ui-type="sap.m.ObjectHeader"
      data-title-active="true"
      data-title-press="showRequestor"
      data-title="{lr>requestor}"
      data-number="{lr>days}"
      data-number-unit="days">
      <div data-sap-ui-aggregation="attributes">
      <div data-sap-ui-type="sap.m.ObjectAttribute" data-text="{path:'lr>type', formatter:'util.Formatter.lrType'}">
      </div>
      </div>
      <div data-sap-ui-aggregation="firstStatus">
      <div data-sap-ui-type="sap.m.ObjectStatus" data-text="{path:'lr>agoDays', formatter:'util.Formatter.agoDays'}">
      </div>
      </div>
      </div>
      <div id="reports" data-sap-ui-type="sap.viz.ui5.Bar">
      </div>
      </div>
      </div>
    </template>
    and here is my details controller
    onBeforeRendering: function()
      var oModel = new sap.ui.model.json.JSONModel({
      businessData : [
      {Country :"Canada",revenue:410.87,profit:-141.25, population:34789000},
      {Country :"China",revenue:338.29,profit:133.82, population:1339724852},
      {Country :"France",revenue:487.66,profit:348.76, population:65350000},
      {Country :"Germany",revenue:470.23,profit:217.29, population:81799600},
      {Country :"India",revenue:170.93,profit:117.00, population:1210193422},
      {Country :"United States",revenue:905.08,profit:609.16, population:313490000}
      sap.ui.getCore().setModel(oModel, "MyJSONModel");
      var dataset = new sap.viz.ui5.data.FlattenedDataset({
                dimensions : [ {
                  axis : 1,
                  name : 'Country',
                  value : "{Country}"
                measures : [ {
                  name : 'population',
                  value : '{population}'
                }] ,data : {
                  path : "/businessData"
      var chart = this.getView().byId("reports");
      chart.setDataset(dataset);
      chart.setModel(oModel);
    here is my output screenshot.
    Can you please help me where i am doing wrong.

    Hi Sakthivel Elango,
    My code is working in Normal view and displaying Chart. the same code put into detail view chat is not displaying. Inside HTML code i am posting please check the code.
    <div id="LrDetail--reports" data-sap-ui="LrDetail--reports" class="sapVizChart" style="width: 640px; height: 480px;">
       <div id="UIComp_0" style="position: relative; overflow: visible; font-size: 10px; box-sizing: border-box; left: 0px; top: 0px; width: 640px; height: 480px; display: none;">
          <div id="UIComp_1" class="UIComp_1-2ebc44e6-2f93-46d1-964e-e823b0afe432 v-viz v-bar" style="position: relative; overflow: hidden; font-size: 10px; box-sizing: border-box; display: block; width: 640px; height: 480px; -webkit-user-select: none; left: 0px; top: 0px;">
             <canvas style="width: 0px; height: 0px;"></canvas>
             <svg class="v-m-root" width="640" height="480" style="left: 0px; top: 0px; direction: ltr; position: absolute; box-sizing: border-box;">
                <defs></defs>
                <g class="v-m-title"></g>
                <g class="v-m-legends">
                   <g class="v-m-legend"></g>
                </g>
                <g class="v-m-main">
                   <g class="v-m-background"></g>
                   <g class="v-m-xAxis"></g>
                   <g class="v-m-yAxis"></g>
                   <g class="v-m-plot"></g>
                </g>
             </svg>
          </div>
       </div>
    </div>
    in this svg tags there is no bars.

  • "download" link in Detail View to open in new browser window?

    How would I go about getting the image that opens, after clicking "download" in detail view on a photo page, to open in a new window. I would like to get back to the detail view by closing the window, as opposed to using the back button.
    Thanks!

    you need to change photos page's detail view widget's downloadPhoto function (in DetailView.js file), you can change it in several places:
    1) inside iweb.app, you have to drill into iweb.app by control click on it and select Show Package Contents... to inside iWeb.app/Contents/Resources/Widgets/DetailView.iwdgt
    2) inside your published site: <your site>/Scripts/Widgets/DetailView
    you can get my DetailView.js file here:
    http://www.cyclosaurus.com/iWeb2/Scripts/Widgets/DetailView/DetailView.js
    be sure to make back up of the original DetailView.js file, in case you like to fall back.
    here is my example: http://www.cyclosaurus.com/iWeb2/PhotoAlbums/Pages/Alum_RockPark.html#14
    lastly, adding javascript to html snippet, this is most flexible but you need to know javascript and how to get to iweb widget with javascript.

  • Add SC Item Detail View as an usage in my own WDA?Can you guide me?

    As the title,I want to add SC detail view in my own WDA Viewcontainer.
    And use the item GUID to control the data.
    I tried to add the componet '/SAPSRM/WDC_UI_SC_OIF_CA' in the 'Used componet' and bind the 'IV_L_FPC_OIF_CA' in the view container.
    But when I test it,it raise error--'Access via 'NULL' object reference not possible'.
    Could we make it in SRM7.0?
    Tks a million~~~

    Wow, the forum is totally leaving out my onlick events from the HTML code I posted. In edit mode, it's there. Viewing the reply (and the reply's source), it is not. I even tried spelling it wrong, but it just strips it right out.
    Since it seems to do okay in paragraph form, I'll repost what goes inside the first div tag:
    div id="apexir_LAST_NAME" onclick="gReport.controls.widget(this.id)"

  • Replacement of detail view controller using segues

    Im trying to get a button in the master view controller of a UISplitView controller to change the image being shown in the detail view controller of the same UISplitView controller. Im trying to find out if it is possible to do this with segues alone without defining IBActions. If so, Im having trouble figure out what kind of segue would do this. I tried to control-drag from the button in the master view controller to the instance of the detail view controller that I want replacing the first instance(root instance) of the detail view controller and choosing the replace segue but that isn't working out. Any help would be greatly appreciated. I found this was easier to do in the UINavigationController using storyboard and segues because you just "draw" the different instances with different images on the IB canvas and they get pushed according to what button you pressed in the previously on screen view controller however Im having trouble doing this in a split view controller's detail side which in my case is not inside a UINavigationController.

    Hi Lakshmi,
    Doing with MVC would be simpler one compared to page with flow logic.
    Lakshmi you have specified that u have created HEADER IN ONE VIEW and the buttons needed foe the same page in another view.
    You can replace that by including the coding as follows.
    Write the codings needed for header in page fragment and include that in the needed page using the syntax
    <%@ include file="relative URL"%> relative url is the name of the fragment under which you have to write the coding for header.
    Once you have done this you can include the header in any view just by calling the above syntax alone.
    After the completion of this task,you can design the buttons in the same view in which you have included the header.Time consumption will be advantage here.
    You have specified that, by clicking a button your page should be navigated to second and so on.This can be easily achieved by pressing the following keys under DOHANDLEEVENT.
    case evevt.
    when 'id of button 1'
    navigation ->next_page('*goto'*)
    Follow thew same  for all the buttons in their respective DOHANDLEEVENT
    In the main page(ie by clickin the name of the application you will bw getting a window) in you should specify as
    firstpage.htm   goto secondpage.htm
    Link:[helplink|http://help.sap.com/saphelp_nw04/helpdata/en/28/4bae407e69bc4ee10000000a1550b0/framese
    t.htm]
    Hope this will help you.
    With Regards,
    SHARMILA BRINDHA.M

  • Webapps.  How can I create a link to a page instead of showing the details-view

    I want my client to define what page a webapp shall point to in list-view, instead of showing the  details view, but I cant figure out how.  I have tried this, but it seams that tags don't work inside links:
    <a href="{tag_my_custom_link}">{tag_name}</a>
    .. does any one know how to do this?

    The problem is the format of your tag.  If your field name in the web app is "My Custom Link" then your tag is {tag_My Custom Link} (note the spaces).
    Cedric is right though, make sure the field is a textfield and not a hyperlink field in your web app.  If you use BC's new "Develop" tab up top you can navigate to your web app detail layout in /Layouts/Web Apps/<yourwebapp> and find "list.html".  Then, you can use the toolbox on the right (click the data tab) to insert tags without having to guess.  You can choose your custom field and insert the tag.

  • "Details View" in JFileChooser

    When I load my JFileChooser, I want the file listing inside it to default to the "Details View" rather than the "List View".
    How do I do that? I know that I have to approach this using the FileChooserUI class...but I couldn't find any methods that let me access the "Details View" and the "List View" buttons.
    So how do I do it?

    And, finally, I found this forum thread that has all kinds of cute changes to JFileChooser that can be made. In particular, there is a method added to get the Details button. Author says it is "yucky" - I think it is clever.
    http://forum.java.sun.com/thread.jsp?forum=57&thread=432596

  • MVC - Generate PDF From Details View

    Hello, I have a simple application with a list of items in a grid, so when you click on item's name, a popup div shows you item's details.
    It works fine, however, I would like to have a button inside this details view to generate PDF on the fly.
    I have got ExpertPdf.HtmlToPdf library to do that.
    Here is my method's code:
    public HomeController()
    public ActionResult Index()
    var article = from a in db.Article.Include(a => a.Kind) orderby a.CreatedDate descending select a;
    return View(article.ToList());
    public ActionResult Details(int id = 0)
    Article article = db.Article.Find(id);
    if (article == null)
    return HttpNotFound();
    return View(article);
    public FileStreamResult ContentToPDF()
    byte[] pdfBytes = new PdfConverter().GetPdfFromUrlBytes(Request.Url.AbsoluteUri);
    Stream stream = new MemoryStream(pdfBytes);
    return new FileStreamResult(stream, "application/pdf");
    @Html.ActionLink("To PDF", "ContentToPDF")
    Actually, PDF is generated from the given URL. But my problem is, when you click on ToPDF button, it calls the controller and my details view's URL changes to become: home/contenttopdf/1
    instead of home/details/1, as the newly generated URL returns page not found, PDF converter returns TimeOut exception.
    Can someone please tell me how to properly handle this ToPDF action method, how to call it properly?
    Thanks at advance.

    Please use the ASP.NET MVC forum for MVC specific issues:
    http://forums.asp.net/1146.aspx/1?MVC

  • Issue in search detail view

    Hi,
    I have a issue in search screen.
    I developed a search screen with parameter. Based on the result, I am viewing the details of a selected record in a separate screen. The below steps I followed
    Step : 1
         Search the record based on input parameter.
    Step : 2
         Select a record and view it in another jspx.
    Step : 3
         Updating a column through database (Back end).
    Step : 4
         Return back from detail view page to search page.
    Step : 5
         Selecting the same record (Which I choosed in Step 2) and viewing it in detail page.     Now the update value is not reflecting in the screen.
    In step 2, findByQuery(String poId) is executing and I can see that query in the log file. But in Step 5 I am not able to see the query in the log file (Since the method itself is not called), its displaying the result from the cache.
    Please any one provide solution and where to change and what to change. Excuse me if i asked anything wrongly.
    Thanks & Regards
    Vimalan Balan.

    Hi Frank,
    Thanks and its working.
    I called refreshNeeded (Similar to SRDemo) method in backing bean of view button action in Search Page.
    Thanks & Regards
    Vimalan Balan

  • Detail view with bind variable. TreeTable not showing all detail result.

    I’m having trouble with treeTable using detail view with bind variables and where clause defined in VO definition.
    Both, master and detail view objects, base on the same entity and have the same condition in where clause. The view objects also have bind variables, which are set in prepareRowSetForQuery() method.
    Again, these are two different views, that get different result, based on value of one of the bind variable.
    When I show results in two different tables on jsf page, where master table has "RowSelection" set on "single", all results are displayed in detail table.
    But when I use treeTable, only the first result of the detail is shown.

    I tested it in applicationModule and it works, but i think that's the same as two tables on a jsf page.
    This is the order in which overridden methods are called in ADF BC or two tables on jsf page
    when clicking on row in master table.
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;  -> print of the object2[] parameter in executeQueryForCollection
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313 -> viewLink parameter value
    getEstimatedRowCount_Detail
    count: 2
    getEstimatedRowCount_Detail
    count: 2 And when i click on "expand node" in tree table:
    getEstimatedRowCount_Root
    count: 2
    PrepareRowSetForQuery_Detail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035321
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035321
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2Values of user parameters are OK. Is there another method that i should override?
    I also noticed, that if detail view doesn't have user bind variables, the tree works fine and is shown even in ADF BC (aplication module).
    I guess we loose a tree, when using bind variables in detail view object.
    Is there a way around it?

  • How to set a page template for news detailed view?

    Is there a way to set a page template for the detailed view of the news module?
    I have a page template setup and added the {module_announcement,,,,,} to the page. When the news item is clicked it always opens the default template - is this how it is designed to work or is there a way I can specify it to use a different page template?
    Dave.

    Hey Dave, See the image below:

  • Can there be multiple Master Detail Views, if yes then how? Please suggest

    Dear All,
    In first master-detail view, I have a button, which when clicked will trigger the second detail view.
    I tried invoking second master detail view but was not able to see the second master view. Could you please guide as to how to go about this.
    Thanks.

    Do a Google search. Here's one link.
    http://mobiforge.com/developing/story/developing-split-view-based-apps-ipad
     Cheers, Tom

  • How do I make a Portfolio open in Details view ?

    Anytime I create a PDF Portfolio it opens in LAYOUT View in both READER and
    Acrobat (it was created in Acrobat Acrobat 9 Pro).
    How can I program the Portfolio open in DETAILS View when a user opens the file in Reader ? (or Acrobat for that matter)

    When opening the JS Console by pressing Ctrl-K,  the PREFERENCES menu opens.
    There is an option in this dialog on the left for JavaScript - but this
    isn't necessarily a JS Console. Am I in the right place ?
    With JavaScript selected on the left hand of the Preferences dialog, on the
    right are JavaScript options, one being Enable Interactive Console - so I
    selected that. There is no TRASHCAN icon as you instruct.
    I believe where you want me to go is Control-J, is that correct ?
    Assuming it is the JavaScript Debugger (Control-J_, I click trashcan, then I
    am in INSPECT: Local Variables, VIEW: Console. I enter the text as
    instructed:
    this.collection.initialView = "Details";
    Now what ? Clicking ENTER just gives me a carriage return in the Console
    window.
    Please advise.

  • Bug in details view: index columns not shown correctly, stops at 4th column

    I do have two indices on a table which are shown in the details view. In the column 'columns' only the first 4 columns are shown that belong to the index.
    If I choose an index in another detail view, all columns are shown correctly.
    Where to report this bug?

    I just realized this was an issue today.
    Once one knows that only 4 columns are shown in the summary and that you have to click on the index name for any index that shows 4 columns to see if there are more, well that extra click is pretty simple and not a big deal.
    The problem is BEFORE one knows of this. For weeks, when reviewing some indexes created by others, I was under the wrong impression about some indexes because I thought they only had the 4 columns shown. I didn't know at that time that I had to select the index and look at the detail section.
    It wasn't until I just happened to click on one of them and saw more columns listed that I realized there was a bug. And yes, as far as I'm concerned, this is a bug not a feature.
    At an absolute minimum, there should be something done so users know they have to look at the details. Perhaps the heading could be changed to "Columns (up to 4)" or the ellipsis or (more) could be added as someone else suggested. Even just an additional comma would help. I can't imagine why it was written to stop at 4 anyway - why does that make any sense?
    This is the first time I've come to this forum so I'm not sure how to request an enhancement. I'll read a few other threads and see if I can tell.

Maybe you are looking for

  • Can i add more memory to my macbook pro?

    It currently has 4 GB installed. Can I add more memory?

  • Has Anyone Installed Bootcamp (and XP) on an External Drive?

    I'm thinking of installing Bootcamp and XP on a Maxtor external hard drive to play games because I don't want to take up valuable internal drive space. I have a 120 gig hard drive on my MBP and I need as much space as I can get. How would this work f

  • Changing folder icons issue

    I'm suddenly having a problem in snow leopard (mac os x 10.6.8) that I haven't had before in older versions. When I use copy and paste to change a folder's icon, the folder then contains an 'icon exec' file that I do not want there. If I trash it, th

  • Question on pfile in RAC environment

    DB version:10GR2,11GR2 OS Version: Solaris, AIX, Linux Lets say i have a 2 node RAC environment. DB name is : jerry I have a datagroup called DATA7 Node1's pfile would only contain a single like as shown below $ cat initjerry1.ora SPFILE='+DATA7/jerr

  • Requesting links for Weblogic Server 8.1 (sp5) binaries for all platforms.

    This might seem like a brazen request, but could someone provide me a link for Weblogic 8.1 (sp5) binaries. . .It seems unreasonable to spend $2,000 just to download a product version no longer supported by Oracle. The fact of the matter is that my c