UITableView with other components

Hi guys.
I am trying to make the screen like this : http://202.131.244.11/Picture5.png
I think in order to work with UITableView, need to implement UITableViewController.
Actaully I don't know how to add UIButtons, UILabel to UITableView.
Please share the knowledge. guys.
Thanks in advance.

I would still like to know what your view looks like so far, since I can't guess what problem you're experiencing. I was able to build a working table view in a content view approximating Picture5.png as follows:
1) Start a new project named WelcomeScreen with the View-Based app template;
2) Code the WelcomeScreenViewController class as follows:
// WelcomeScreenViewController.h
#import <UIKit/UIKit.h>
@interface WelcomeScreenViewController : UIViewController
<UITableViewDataSource, UITableViewDelegate> {
IBOutlet UITableView *myTableList;
@property (nonatomic, retain)UITableView *myTableList;
@end
// WelcomeScreenViewController.m
#import "WelcomeScreenViewController.h"
@implementation WelcomeScreenViewController
@synthesize myTableList;
- (void)didReceiveMemoryWarning {
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Release any cached data, images, etc that aren't in use.
- (void)viewDidUnload {
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
- (void)dealloc {
[myTableList release];
[super dealloc];
#pragma mark -
#pragma mark Table View Data Source Methods
- (NSInteger)numberOfSectionsInTableView:(UITableView *)aTableView {
return 1;
- (NSInteger)tableView:(UITableView *)aTableView numberOfRowsInSection:(NSInteger)section {
return 4;
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
reuseIdentifier:CellIdentifier] autorelease];
// cell.textLabel.text = [NSString stringWithFormat:@"%@-%@",data0, data1];
cell.textLabel.text = [NSString stringWithFormat:@"Row %d", indexPath.row];
cell.textLabel.font = [UIFont fontWithName:@"Helvetica" size:16.0];
return cell;
#pragma mark -
#pragma mark Table View Delagate Methods
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
NSLog(@"tableView:didSelectRowAtIndexPath");
@end
2) Add a table view to the view of WelcomeScreenViewController.xib;
3) In the Size Inspector, set the table view frame to (0, 170, 320, 176);
4) Connect the table view dataSource and delegate outlets to the File's Owner;
5) Connect the myTableList outlet of File's Owner to the table view;
6) Add and connect the tool bar and other controls.
If you continue to have problems, please build a separate test bed as above, and see if you can get the test bed view working as you expect. That should help you see what went wrong in your project.
- Ray

Similar Messages

  • [svn:fx-trunk] 12878: When sub-components don' t have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage .

    Revision: 12878
    Revision: 12878
    Author:   [email protected]
    Date:     2009-12-11 19:07:40 -0800 (Fri, 11 Dec 2009)
    Log Message:
    When sub-components don't have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as

    Michael,
    "Michael Caughey" <[email protected]> wrote in message news:413f0af6$1@mail...
    If I'm doing something wrong what is it? Obviously there is something
    different about how I configured my environment a year ago.What happens if you bring down ms02?
    Regards,
    Slava Imeshev

  • TinyMCE editor conflicts with other components?

    Having problems with a page that implements both the TinyMCE editor and Carl's DHTML Shuttle. The latter works on its own, but when the TinyMCE code is added to the page we're getting:
    Error: dhtml_ShuttleObject is not defined
    Error: g_ShuttleMe1 has no properties
    Yesterday I noticed that Re: Tree questions.
    I'm hoping that my inexperience with Javascript means I'm missing something obvious that will stop these useful components from interfering with one another.

    Figured this out. Was trying to include TinyMCE javascript reference in a page template, but the editor initialization from the page HTML header and ApEx scripts are included via the #HEAD# substitution in the template, resulting in things being in the wrong order.
    Including the TinyMCE script reference in the page HTML headers has solved the problem, but I'm still not clear on why including this before the #HEAD# placeholder in the page header stopped all the ApEx scripting from working?

  • Simple Connect access other Components

    Hi !!
    I'm using FMS components, in that I'm not able to connect the
    simple connect component with other components which were in other
    frame.
    Can any one please help in solving this issue.
    Thanks in advance
    Anil Golla :

    Hi anil!
    well it was not the problem with the instance name! well i
    even i am not quiet sure what is the problem or now can say what
    was the problem!
    one fine day it started working automatically, with out me
    doing any changes!!!
    Unusual right?

  • Any known issues with Essbase 64 bit and other components as 32 bit

    Hi Everyone,
    Are there any known issues with 64 bit Essbase and other components (Planning, EAS, Provider services, EAS, Workspace and Reporting) in 32 bit?
    Version is EPM 11.1.1.3
    The reason for choosing ESSBASE 64 bit is of course performance. We decided to stick to 32 bit for the web applications due to some known issues and bitter experiences in past in this version with 64 bit web deployments.
    OS is Windows 2003 Server (64 bit for the ESSBASE server and 32/64 bit for the application server)
    Thanks,
    Sayantan

    Hyperion 32-bit Web Apps are fully compatible with Essbase 64-bit. Same with 32-bit Essbase client.

  • Error while accessing application with custom components

    Hi experts,
    I have an application (HAP_MAIN_DOCUMENT) of component FPM_OIF_COMPONENT which uses a Webdynpro component with the same name (HAP_MAIN_DOCUMENT). This Webdynpro component (HAP_MAIN_DOCUMENT) uses 2 other components (HAP_DOCUMENT_BODY and HAP_DOCUMENT_HEADER).
    For my client requirement, i need to create the custom components by copying from standard components as the UI layout changes are quiet huge and not manageable with the enhancements. To accomodate this i have changed the standard configurations by replacing the standard web dynpro components with the custom ones copied. Apart fomr this there are no changes to the standard.
    While trying to access the application, i am getting the error as Null object reference. the details of the error is as below. Please advice.
    Portal Error
    Error when processing your request
    What has happened?
    The URL http://ddrsap12.dubal.domain:8001/sap/bc/webdynpro/sap/HAP_MAIN_DOCUMENT/ was not called due to an error.
    Note
    The following error text was processed in the system DSD : Access via 'NULL' object reference not possible.
    The error occurred on the application server ddrsap12_DSD_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: WDDOINIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
    ST22 Dump Analysis
    Short text
        Access via 'NULL' object reference not possible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Information on where terminated
        Termination occurred in the ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" -
         in "WDDOINIT".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 4640
        of the (Include) program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU".
        Termination occurred in a Web Dynpro application
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
        The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
        procedure "WDDOINIT" "(METHOD)", but it was neither handled locally nor
         declared
        in the RAISING clause of its signature.
        The procedure is in program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP "; its source
         code begins in line
        4619 of the (Include program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU ".
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
          Name
       33 METHOD       /1BCWDY/LUR96POELQNL3TIUWPYS==CP    /1BCWDY/B_LUXVEOR5WUW66V6QRRNU       4640
          CL_VW_HEADER_MAIN_CTR=>WDDOINIT
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
       32 METHOD       /1BCWDY/LUR96POELQNL3TIUWPYS==CP    /1BCWDY/B_LUXVEOR5WUW66V6QRRNU         70
          CLF_VW_HEADER_MAIN_CTR=>IF_WDR_VIEW_DELEGATE~WD_DO_INIT
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
       31 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM003     3
          CL_WDR_DELEGATING_VIEW=>DO_INIT
       30 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM00Q     3
          CL_WDR_CONTROLLER=>INIT_CONTROLLER
       29 METHOD       CL_WDR_VIEW===================CP    CL_WDR_VIEW===================CM00K     5
          CL_WDR_VIEW=>INIT_CONTROLLER
       28 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM002     7
          CL_WDR_CONTROLLER=>INIT
       27 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM008    70
          CL_WDR_VIEW_MANAGER=>GET_VIEW
       26 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM005    23
          CL_WDR_VIEW_MANAGER=>BIND_ROOT
       25 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM00B    17
          CL_WDR_VIEW_MANAGER=>INIT
       24 METHOD       CL_WDR_INTERFACE_VIEW=========CP    CL_WDR_INTERFACE_VIEW=========CM004    11
          CL_WDR_INTERFACE_VIEW=>INIT_CONTROLLER
       23 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM002     7
          CL_WDR_CONTROLLER=>INIT
       22 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM008    70
          CL_WDR_VIEW_MANAGER=>GET_VIEW
    Thanks in advance,
    Regards,
    Ravi.

    Hi ,
    How are you able to configure Custom Web dynpro application to Appraisal document instead of HAP_MAIN_DOCUMENT. could you please share the steps. We have created custom application a copy of HAP_MAIN_DOCUMENT and the other two webdynpro components are also copied.
    We dont know how to link this to Appraisal template. BADI HRHAP00_BSP_TMPL is used to change application names for BSP application. How to change application name for Web dynpro ABAP. Please share the stpes which will help us
    Thanks and Regards,
    Kothand

  • Problems with Logical Components

    Hi All,
    I am having problems with Logical Components with our project. We are implemeents SAP HCM and we have defined a logical component Z_ERP for the ECC server. now when you look at the transaction from SOLAR02 it seems they also have a logical Component SAP Learning Solution that is assigned to them. what could be the cause of this???

    Hi Trevor,
    If you brought them in from the Business Process Repository, the logical component is going to be the default one. If you want to use your own, you need to replace the default one with yours.
    You can do this in SOLAR_PROJECT_ADMIN by going to the System Landscape tab > Systems tab > highlight the SAP Learning Solution logical component row > press F4 > replace it with Z_ERP.
    If for some reason SAP Learning Solution isn't listed as a logical component you may have to add it, you can also just go to SOLAR02 > Edit > Replace Log. Comp > Enter SAP Learning Solution in the top box and Z_ERP in the bottom one > click Save.
    regards,
    Jason

  • PApplet/component is always above all other components except...

    Hi,
    I am working with java and a program off shoot of Java called Processing. Processing aids in the creation of java and it integrates itself into a swing component by extending into a PApplet(Processing�s version of an applet) which a JFrame sees as a component.
    Example:
    newJFrame.add(PApplet); <--- works perfectly except�
    The integration of java/swing and processing in an application works very well except for one problem. The Processing class (PApplet) draws to the screen and when I put it into a JFrame, JPanel, JInternalFrame, etc � the graphics are always above all other component except the JMenuBar. I found a fix for the JMenuBar to be this line of code �JPopupMenu.setDefaultLightWeightPopupEnabled(false);� I guess it tells the popup manager of the JMenuBar to not setDefaultLightWeightPopupEnabled which in turn, allows the JMenuItems to popup above the PApplet.
    Is there a way to force the PApplet/component to follow the rules of all other components? (setComponentZOrder, setLayer, etc�) It works for the JMenuBar so I feel it should be able to work for all other components � is there a way?
    Thanks,
    4dplane

    Thanks for the info; I believe you hit the nail on the head. Processing is open source so I looked in the PApplet class and it extends Applet, so this means processing is awt based.
    Thanks,
    4dplane

  • Menus appearing underneath other components

    I am having a problem making my menus appear on top when they 'pop up'. I know this is a problem with mixing heavyweight and lightweight components, and I have been trying to force the menus to be heavyweight but to no avail.
    I have been trying to set the menus to be heavyweight by calling this method after the menu has been instantiated:
    [menuname].getPopupComponent().lightWeightPopupEnabled(false);
    Here is an image showing my problem:
    http://www.inf.brad.ac.uk/~jpcatter/menus.jpg
    Edited by: JonCat on Jul 26, 2008 8:47 AM

    It is not a mix of swing and awt. The browser component is the mozswing MozillaPanel component, and it is this that is being drawn on top of my menus, as can be seen from the screenshot that I posted. Another thought I had was that the browser component is the last to be drawn, as it is added to the tab control once all other components are drawn. Could it be the Z ordering of components causing the overlap, or is it strictly a heavy / light weight issue?
    Here is a link to the mozswing homepage for anyone who is interested:
    http://confluence.concord.org/display/MZSW/Home

  • Does Studio Creator support Oracle ADF Faces and other components?

    Hi everyone
    According to:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/faq.html
    "Although ADF Faces is "vanilla" JSF we have not been able to run with Java Studio Creator Build 04.06.2. We are working with Sun to resolve the issues in Java Studio Creator."
    Does anyone know if Oracle ADF faces now work with Studio Creator and if so which version.
    In addition I am also looking for JSF visualization components. In addition to advanced 3-D graphs (send as PNG to client) I am also looking for components to visualize the structure of a website. These all need to work with Studio Creator.

    Importing 3rd party libraries used to be complicated. The .complib stuff was added precisely to make it easy.
    It does make packaging slightly harder for third party -vendors-, since there's one extra step, but this makes everything easier for (the much larger number of) users of the third party components, since the packaging format specifies a bunch of stuff that we used to have to ask of users when trying to add the jar and associated metadata into the IDE.
    The complib stuff is documented, so if you're producing a 3rd party JSF library, or if you really want to use one that hasn't yet been packaged, you can do the steps yourself.
    See http://wiki.java.net/bin/view/People/EdwinGoei -- the first couple of links describes the process. Yes, we're working with third party vendors to get this done for their component sets, and yes, there's talk with other IDE vendors to standardize all this.
    -- Tor
    http://blogs.sun.com/tor

  • SCC u2013 Sub contracting with Chargeable components

    we need to use SCC u2013 Sub contracting with Chargeable components.
    For that, Activated u2018SCCu2019 at Client level and Valuation area level.
    Any further config process required to use this process?
    I did not find any difference in postings between normal Sub-con process and SCC.
    Please advise what is the difference?
    Advance THANKS for replies.
    V. RAMAN.

    Hi,
    This procedure provides the way of manual payment for Subcontract expense.
    I want to clear Accrued revenue by deduction AP using T code /n/SAPNEA/JSCR19
    While posting, I am getting error message “Amount too large to clear", maybe the system set the limit for the tolerance value for clear document. Please suggest me, where to change the settings.
    Rahul

  • Deleting row with inputText components throws error:

    How delete a row in table with inputText components in it?
    I tried just deleting it from the model but then I get the following error:
    javax.faces.el.EvaluationException: java.lang.IndexOutOfBoundsException: Index: 3, Size: 2

    oops. I posted to the wrong group. sorry. I've since moved it to jdeveler.

  • Product version inconsistent with software components

    Hi,
    after upgrading our sandbox from 4.6C to ERP 6.0 EHP4 SP06 i've changed the product assignment in SMSY and fetched the new data using "Read System Data Remote". Now there are two problems:
    1.) Read System Data Remote shows error message S:032:000 trying to fetch data using RFC. No more explanations or long text. Although data is been read and updated and RFC test connection is ok.
    2.) The related system shows exclamation mark "Product version inconsistent with software components". The product version is SAP ERP 6.0, Product Instance is SAP ECC Server.  Now i tried "Change Product Assignment" and "Clean-Up Inconsistencies".  This results in a list of "Inconsistent Database Assignments" like "Product: SAP ERP" and "Product Instance: SAP SRM-Server". Nothing i can change here. I'm confused as i haven't defined SAP SRM-Server anywhere just SAP ECC-Server.
    Any ideas about 1.) or 2.)
    It seems to me that Solution Manager doesn't make life easier in the first.
    Thanks.

    Miguel,
    i have checked note 1165438 but can't see how this should help. The technical usage is correct and there is only one specified which is ECC / Central Applications. Still SMSY complains about SAP SRM-Server and more.
    Let me say that the system was defined as 4.6C before the upgrade and that we used Solution Manager to download all required packages for ERP 6.0 EHP4 SP06 which worked fine. The problem is as said before that after changing the product version to ERP 6.0 there are inconsistencies shown on the product assignment page (inconsistent database assignment) for SAP SRM-Server, SRM-Catalog, cProject Suite, Workforce Management, E-Recruiting, NW-Business Intelligence, NW-Process Integration, SEM, SRM-Server ECC AddOn, SRM Catalog Content, NW Mobile Infrastructure, FSCM-FSCM Server (ABAP), Application Platform-IPC and Learning Sol-Frontend ABAP. Never heard about them nor specified them anywhere.

  • Component always displays "under" other components......

    Hi there,
    I have a component derived from a "panel" - I'm adding it to the applet but it always displays itself "under" the other components in the applet, never above (which is where I want it).
    I've tried adding it last and adding it first - doesn't make any difference. When I add the component I set it to "setVisible(false)" and "setVisible(true)" when the user clicks a button. I'm a bit confused as to why its underneath everything else!
    Any ideas?
    Thanks.

    I am using my own paint methods indeed - I mean I'm calling "super" and then rendering the component - or calling "super" in a container component and rendering other stuff on the container afterwards.
    But this is all working on the version you see on the website - the one I'm working on is broken.
    btw. I'm using a "Panel" (derives from Container, its a lightweight thingy, nout to do with Schwing etc.).

  • Ideas to display which component drives the other components in the canvas

    I have 4 components in my canvas and I would like to learn some ideas from gurus on what are the best ways to display which component drives (drills down)  the other components in the dashboard.  Any info would be appreciated.

    Hi,
    There is no such rule on which component should drive other in Xcelsius. It all depends upon the data that you are using. Always a component with summarized data should drive a component with granular data. For eg: If you are showing Total sales in a country using Column chart and want to drilldown to the percentage of sales in each region of a particular country , you can use pie chart to show it. Here Column chart drives Pie chart and u can show this in other way also.
    Hope it helps!
    Thanks,
    Arun US

Maybe you are looking for

  • Finding Music Files

    I purchased a larger external drive (500 GB upgrade from 120 GB). I used to store my music on the 120. I copied the files to the new drive, but when I play a song, it wants me to go through and find the individual song file in the new drive. I have a

  • System Restore Problem

    Dear All: The system is CRM5.0 Unicode based on JAVA+ABAP stack. When we get the backup files, it contains DB files (SQL Server detach files) and whole copy of \usr\sap\<SID> folder (including DVEBMGS51, SCS50, SYS). And we also get the info that the

  • WebService XML Parsing

    Hi, I am trying to parse the XML returned from this webservice http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl . I need to get the information in the city tag. I am not sure what I am wrong here. I am not sure how to get the City from the XML returne

  • Skype to go website has no response.

    I use skype to go feature a lot. recently, when i open skype to go website, want to registere new phones. when i am on the page "Manage your registered phones", Neither "Add new number" nor "Edit" respond when I click on it. I tried using different b

  • I am unable to attend calls even when the network is full!

    I am using Pure Sola v2 Custom Rom.Network signal is great but i can neither attend calls nor can call to a number.Most of the time I have to try 6 or 7 times in order to make a successful call. My SIM works fine on other cellphones.No such issue..Th