Using a method (with paramter) as a value?

I'm using JSF 1.2 and am trying to accomplish the following:
Say I have a class, Entity, which has a method:
public String getResult(String name)
In my web page, I'd like to loop through some values for name and display each result in a <h:outputText ...>, using things like 'entity.getResult("foo")' in the value attribute, where foo is one of the names in the list I'm looping through.
Is something like this possible, or would I just be better off building a HashMap or something with the names and results?
Thanks,
Matthew

Isn't an option to collect the data in a List and use the h:dataTable to display them in a table?
Check http://balusc.xs4all.nl/srv/dev-jep-dat.html how to use datatables.
Anyway, if this isn't an option, then use f:attribute:
JSF<h:outputText id="myId" value="#{myBean.text}"><f:attribute name="text" value="blah" /></h:outputText>MyBeanpublic String getText() {
    UIComponent component = FacesContext.getCurrentInstance().getViewRoot().findComponent("myId");
    String text = (String) component.getAttributes().get("text");
    return text;
}This will show "blah" in the outputText. Of course you can use this to fill in the virtual param of getRequest().

Similar Messages

  • How to use NODIM func with out it's values being rounded

    I created a new calculated key figure in Query Designer 3.x, and used the function NODIM() - Value with out dimensions. When I use this function, the values are rounding off to the nearest value.
    For example, I have a value 0.000075 US$, when I use NODIM function the value is displayed as 0.000080. Value is getting rounded to nearest value.
    I tried using absolute value it did not work.
    Can any one tell me how to use NODIM function with out it's value being rounded to nearest value.
    Thanks,

    Hi,
    According to your description, you might want that "Notice" field has a default value when form is created and users can be able to change the value of that
    field.
    As a workaround, you can add an action rule in “Name” field via InfoPath to fill the default value in “Notice” field only when “Name” field is not blank and “Notice”
    field is blank.
    Settings of the rule are as below, you can modify it based on your need:
    Here is a link about how to add an action rule in InfoPath form, you can use it as a reference:
    https://support.office.microsoft.com/en-us/article/Add-rules-for-performing-other-actions-5322d726-b787-4e5f-8d37-ba6db68b451d?CorrelationId=8a64c12f-aa60-4d90-b1f9-a44fcc4e74b5&ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

  • Why not to use static methods - with example

    Hi Everyone,
    I'd like to continue the below thread about "why not to use static methods"
    Why not to use static methods
    with a concrete example.
    In my small application I need to be able to send keystrokes. (java.awt.Robot class is used for this)
    I created the following class for these "operations" with static methods:
    public class KeyboardInput {
         private static Robot r;
         static {
              try {
                   r = new Robot();
              } catch (AWTException e) {
                   throw new RuntimeException(e + "Robot couldn't be initialized.");
         public static void wait(int millis){
              r.delay(millis);
         public static void copy() {
              r.keyPress(KeyEvent.VK_CONTROL);
              r.keyPress(KeyEvent.VK_C);
              r.keyRelease(KeyEvent.VK_C);
              r.keyRelease(KeyEvent.VK_CONTROL);
         public static void altTab() {
              r.keyPress(KeyEvent.VK_ALT);
              r.keyPress(KeyEvent.VK_TAB);
              r.keyRelease(KeyEvent.VK_TAB);
              r.keyRelease(KeyEvent.VK_ALT);
                   // more methods like  paste(), tab(), shiftTab(), rightArrow()
    }Do you thinks it is a good solution? How could it be improved? I've seen something about Singleton vs. static methods somewhere. Would it be better to use Singleton?
    Thanks for any comments in advance,
    lemonboston

    maheshguruswamy wrote:
    lemonboston wrote:
    maheshguruswamy wrote:
    I think a singleton might be a better approach for you. Just kill the public constructor and provide a getInstance method to provide lazy initialization.Thanks maheshguruswamy for advising on the steps to create a singleton from this class.
    Could you maybe advise also about why do you say that it would be better to use singleton? What's behind it? Thanks!In short, it seems to me that a single instance of your class will be able to coordinate actions across your entire application. So a singleton should be enough.But that doesn't answer why he should prefer a singleton instead over a bunch of static methods. Functionally the two are almost identical. In both cases there's only one "thing" on which to call methods--either a single instance of the class, or the class itself.
    To answer the question, the main reason to use a Singleton over a classful of static methods is the same reason the drives a lot of non-static vs. static decisions: Polymorphism.
    If you use a Singleton (and and interface), you can do something like this:
    KeyboardInput kbi = get_some_instance_of_some_class_that_implements_KeyboardInput_somehow_maybe_from_a_factory();And then whatever is calling KBI's public methods only has to know that it has an implementor of that interface, without caring which concrete class it is, and you can substitute whatever implementation is appropriate in a given context. If you don't need to do that, then the static method approach is probably sufficient.
    There are other reasons that may suggest a Singleton--serialization, persistence, use as a JavaBean pop to mind--but they're less common and less compelling in my experience.
    And finally, if this thing maintains any state between method calls, although you can handle that with static member variables, it's more in keeping with the OO paradigm to make them non-static fields of an instance of that class.

  • How CallableStatement in JSP use setDate() method to insert the date value into DB?

    Dear all,
    I met a strange error message when i insert a date value into DB via JSP call PL/SQL procedures.
    The error seems caused by the setDate(index, date) method with CallableStatement.
    The message is: Can not find the setDate(int, java.util.Date) method in the CallableStatement interfaces.
    Any ideas?
    Thanks advanced.

    Thank you!:)
    I solved it using this:
    String name="david";
                stmt = con1.createStatement();
                String prikaz1 = "INSERT INTO table (id,age,surname,name) IN 'C:\\Users\\David\\Desktop\\db.mdb' SELECT id,age,surname,' " + name + " ' FROM table2";
                stmt.executeUpdate(prikaz1);

  • Using onFocus method with embedded html

    Hi,
    I have embedded html in a servlet. I am using a text field to call the onFocus method with the following code:
    out.println("<input type='text' name='name' value='0' onFocus='if(this.value=='0')this.value=';'>");
    If I was using straight html with no servlet this works fine. When the user clicks on the field the default value is automatically erased.
    Why will this not work in a servlet?
    I have also tried calling a javascript function. Please note that I successfully use javascript with input type 'button' to render a pop up window with dimensions. So my javascript inside a servlet works elsewhere.
    Thanks VERY MUCH for your time
    Rick

    I don't think it's the same as I'm doing. Essentially, I have a JEditorPane subclass, which just has a few custom tags in it. I don't need them to be recognized by java, since it will be uneditable, but I just need to know how to convert from the getText() locations to the actual displayed text locations.
    Also, when I set the text as text/html, it creates a bunch of extra HTML tags, so it's larger than the original String used to create it.

  • Problem downloading photo elements 12. got message missing "file archive" using alt method with f# 2

    problem  with download for photo elements 12. got message as I downloaded file 2 (using alt method) that I was miss the "file archive"

    Firstly, there's no such thing as Apache 9.3, there's Apache 1 (and subversions) and Apache 2 (and subversions). Your error message -
    Oracle-HTTP-Server/1.3.28Shows you're using Apache 1.3.28
    Secondly, I'm confused by your comment -
    I do not have Apache 9.3 or higher but I think oracle should offer this in its companion CDOracle does offer the Apache server, if you're saying you didn't get it from Oracle then where did your Apache server come from?
    Thirdly, I notice from your config file -
    ErrorLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/error_log 43200"That you're piping the logs through rotatelogs, are you sure the logfiles haven't just been renamed?

  • Using equals method with an array?

    Hello all,
    I am attempting to use the equals method with an array and keep getting compiling errors. Could you please take a look at my code and tell me where I am going wrong:
    if(board[row][col].equals(" "))
              str=str + " ";
              else
              str=str + board[row][col];
    Thank you.

    Hello all,
    I am attempting to use the equals method with an
    array and keep getting compiling errors. Could you
    please take a look at my code and tell me where I am
    going wrong:
    if(board[row][col].equals(" "))
              str=str + " ";
              else
              str=str + board[row][col];
    Thank you.If you could post more of your code, that would be quite helpful...

  • Cannot use Create method with SODataEntity in iOS Native Apps connect to SMP 3.0 SP05

    Hi experts,
    I am following these blogs:Mobile Application Development Platform for Developers - Native Apps. They are very helpful, thanks Kenichi.
    But i have some error when i use Integration gateway.
    First, i try method Read, it works perfectly. Then, i try to use method Create, and i meet an error. Here is the error :
    Error Domain=NetworkDomain Code=4 "HTTP Response: 403 forbidden" UserInfo=0x7f86d2688040 {NSLocalizedDescription=HTTP Response: 403 forbidden}
    I test CRUD method in REST client, and it runs without any errors. I think the difference between Create and Read method is "X-CSRF-Token": Fetch with Read and specific Token with Create. But i do not know how to supply or config "X-CSRF-Token" field when use SOData...
    Thanks and Reagrads,
    Sao Vu.

    Hi Sao,
    Is your problem solved?
    If not, below code may be able to help you for creation using ODataStore:
    MAFLogonRegistrationData *data = [[MyLogonHandler shared].logonManager registrationDataWithError:&error];
        NSString *baseURL = [NSString stringWithFormat:@"%@", data.applicationEndpointURL];
        //opening the store
        self.onlineStore = [[OnlineStore alloc] initWithURL:[NSURL URLWithString:baseURL]
                                    httpConversationManager:[MyLogonHandler shared].conversationManager];
        [self.onlineStore openStoreWithCompletion:^(BOOL success) {
    //Read request after the store is successfully opened
            SODataRequestParamSingleDefault* readRequest = [[SODataRequestParamSingleDefault alloc] initWithMode:SODataRequestModeRead resourcePath:@"CollectionName"];
            [self.onlineStore scheduleRequest:readRequest delegate:self];
            NSString *finishedSubscription = [NSString stringWithFormat:@"com.sap.sdk.request.delegate.finished.%@",  readRequest];
    //Going for create once read request is success
            [[NSNotificationCenter defaultCenter] addObserverForName:finishedSubscription object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *note) {
    //Creating request for posting the data
    SODataRequestParamSingleDefault* insertRequest = [[SODataRequestParamSingleDefault alloc] initWithMode:SODataRequestModeCreate resourcePath:@"CollectionName"];
                insertRequest.payload = entityForCreation; //Assigning the payload
                [self.onlineStore scheduleCreateEntity:entityForCreation collectionPath:@"Collection
    Name" delegate:self options:nil];
    //Alternatively you can use [self.onlineStore scheduleRequest:insertRequest delegate:self]; also instead of scheduleCreateEntity
    If you want to pass X-CSRF-Token with RequestBuilder, you can use the following code:
    //Create request for getting the token
          id<Requesting> request = [RequestBuilder requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:endPoint_URL]]];
            /*Set user name */
            [request setUsername:[[NSUserDefaults standardUserDefaults] objectForKey:@"USERNAME"]];
            /*Set password */
            [request setPassword:[[NSUserDefaults standardUserDefaults] objectForKey:@"PASSWORD"]];
            /*Set the required request headers*/
            [request setRequestMethod:@"GET"];
            [odp_Request addRequestHeader:@"X-CSRF-Token" value:@"Fetch"];
            [odp_Request addRequestHeader:@"X-CSRF-Cookie" value:@"Fetch"];
            [request addRequestHeader:@"Content-Type" value:@"application/xml; charset=UTF-8"];
            [request addRequestHeader:@"X-SMP-APPCID" value:applicationConnectionID]];
            [request addRequestHeader:@"X-SUP-APPCID" value:applicationConnectionID]];
            /*Set the delegate to receive the response */
            [request setDelegate:self];
            /*Set the success listener */
            [request setDidFinishSelector:@selector(tokenSuccess:)];
            /*Set the failure listener */
            [request setDidFailSelector:@selector(tokenFailed:)];
            /*Invoke the startAsyncronous API to send the request from client to server asynchronously */
            [request startSynchronous];
    //In the tokenSuccess method (- (void)tokenSuccess:(Request*)theRequest), you can use the following code to retrieve the token:
          token=[[theRequest responseHeaders]objectForKey:@"X-CSRF-TOKEN"];
           cookie=[[theRequest responseHeaders]objectForKey:@"SET-COOKIE"];
    //Create the request for posting your content to the server
                NSString* requestUrls = [NSString stringWithFormat:@"%@SalesOrders%@", endPoint_URL,filterString];  
                postRequest = [RequestBuilder requestWithURL:[NSURL URLWithString:requestUrls]];
                //             odp_Request = [ODPRequest requestWithURL:[NSURL URLWithString:requestUrls]];
                //id<SDMRequesting> request = [SDMRequestBuilder requestWithURL:[NSURL URLWithString: requestUrls]];
                [postRequest setUsername:[[NSUserDefaults standardUserDefaults] objectForKey:@"USERNAME"]];
                [postRequest setPassword:[[NSUserDefaults standardUserDefaults] objectForKey:@"PASSWORD"]];
                [postRequest setDelegate:self];
                [postRequest setRequestMethod:@"POST"];
                [postRequest addRequestHeader:@"content-type" value:@"application/atom+xml;type=entry"];
                [postRequest addRequestHeader:@"X-SMP-APPCID" value:applicationConnectionID]]; //Assinging the applicationConnectionID value to the request
                [postRequest addRequestHeader:@"X-CSRF-Token" value:token]; //Assinging the token value to the request
                [postRequest addRequestHeader:@"Cookie" value:cookie]; //Assinging the cookie value to the request
                [postRequest appendPostData:[xml dataUsingEncoding:NSUTF8StringEncoding]]; //Appending the body of the request
                [postRequest setDidFailSelector:@selector(updaterequestFailed:)]; //Failure delegate method
                [postRequest setDidFinishSelector:@selector(updaterequestFinished:)];  //Success delegate method
                [postRequest setTimeOutSeconds:200]; //Timeout for request
                [postRequest startSynchronous];
    Hope this will help you.
    Regards,
    Dhani

  • How do I use setString() method with multiple bind variables

    I have two setString() statements and a select union statement. My class compiles but only displays the data for the first table ignoring the second setString() statement. But When I replace the "where id=?" with "where id=12 or someid", it works and displays all data found in both tables.
    Am I not properly using the setString() method?
    public class LdData{
    private String id;
    public LdData(){
    public void setId(String id)
        this.id = id;
      public String getId()
        return id;
    public Collection getLdData() throws Exception{
                    List rows = new ArrayList();
    //connection statement
    String sql_query="SELECT a,b FROM table1 WHERE id = ? " + " UNION " + "SELECT a,b FROM table2 WHERE id= ?";
    try {
                            conn = ds.getConnection();
    pstmt = conn.prepareStatement( sql_query );
    pstmt.setString(1, this.id);
    pstmt.setString(2, this.id);
    rst = pstmt.executeQuery();
    while (rst.next()) {
    //dataEntry.java - contains my getter and setter
    dataEntry info = new dataEntry(rst.getString("a"), rst.getString("b"), this.id);
    rows.add(info);
    //catch all SQLexceptions, NamingExceptions
    //close all connection
    return rows;
    //dataEntry.java - dataEntry class
    private String a;
    private String b;
    private String id;
    public dataEntry(String a, String b, String id){
    seta(a);
    setb(b);
    setbdate(bcode);
    this.a = a;
    this.b = b;
    this.id = id;
    public String getA(){
    return a;
    public String getB(){
    return b;
    public String getId(){
    return id;
    public void setA(String a){
    this.a = a;
    public void setB(String b){
    this.b = b;
    public void setId(String id){
    this.id = id;
    //index.jsp - displays data
    <jsp:useBean id="test" class="lddata" scope="request">
    <jsp:setProperty name="test" property="id" param="id"/>
    </jsp:useBean>
    <display:table name="${test.lddata}"/>

    This just doesnt make sense to me at all. :( Could it be a naming issue? I mean both tables have the same field names but different data information
    so the union will never sort and choose. And the weirdest thing is that
    //this works -
    ->String sql_query="SELECT a,b FROM table1 WHERE id = TU234 " + " UNION ALL" + "SELECT a,b FROM table2 WHERE id= TU234";
    //I also tried this, but the second statement doesnt work
    ->pstmt.setString(1, "TU234"); //this works.
    ->pstmt.setString(2, "TU234"); //this doesnt
    //It also tried this, it worked for both set statements, but I need it in an list or so.
    while (rst.next()) {
    String a = rst.getString(a);
    String b = rst.getString(b);
    String id = rst.getString(id);
    System.out.println(a+""+b+""+id);
    }Is there anyother way I can collect the data into a jsp page without using javabean?

  • Can't use inherited method with JButton

    I am trying to use the getActionListeners() method on a JButton. The method is inherited from the AbstractButton class. However, when I try to compile with this line...
    ActionListener CurrentListeners[] = OKButton.getActionListeners();I get the following error:
    Method getActionListeners() not found in class javax.swing.JButton.
    I am also using the removeActionListener() method, which is inherited from the same object, and the compiler has no problem with that!

    Okay, then does anyone know how I can change the
    ActionListener for a JButton? I want to use the
    removeActionListener(ActionListener l) method and then
    addActionListener(...). However, since I can't get
    the current ActionListener, I have nothing to pass
    into the remove method.It's my belief that's this is why this method was added to AbstractButton in JDK 1.4. It makes life so much easier. Why don't you download the JDK 1.4 and install it into your IDE?
    Otherwise, you should subclass JButton as someone else suggested and provide an accessor method for the listener.

  • Use wmi methods with powershell to export packages

    I'm looking for a way to export packages from a ConfigMgr 2012 ( NOT SP1 ) instance using wmi and powershell. I am aware of the wmi classes under the namespace 'root\sms\XYZ_Site' but I can't find any classes with an 'export' method. 
    ( Please don't tell me to load the SP1 module )
    Many thanks! 

    Hi,
    Have you figured this out?
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Help with using getLastChild() method with DOM

    Hello all,
    I have a XML doc that looks like this:
    <?xml version="1.0"?>
    <conf_rooms>
    <conf_room>
    <conf_id>8200</conf_id>
    <conf_name>Conf 1</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8201</conf_id>
    <conf_name>Conf 2</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8202</conf_id>
    <conf_name>Conf 3</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8203</conf_id>
    <conf_name>Conf 4</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8204</conf_id>
    <conf_name>Conf 5</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8205</conf_id>
    <conf_name>Conf 6</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8206</conf_id>
    <conf_name>Conf 7</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8207</conf_id>
    <conf_name>sdfsdf</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8208</conf_id>
    <conf_name>Conf 9</conf_name>
    </conf_room>
    <conf_room>
    <conf_id>8209</conf_id>
    <conf_name>Conf 10</conf_name>
    </conf_room>
    </conf_rooms>In my code I need to get the value of the <conf_name> element.
    Here is my code that successfully returns the <conf_id> element:
                        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                        factory.setIgnoringComments(true);
                        factory.setCoalescing(true);
                        factory.setNamespaceAware(false);
                        factory.setValidating(false);
                        DocumentBuilder builder = factory.newDocumentBuilder();
                        document = builder.parse(file);
                        NodeList confrooms = document.getElementsByTagName("conf_room");
                        int is = confrooms.getLength();
                        for(int i=0;i<is;i++)
                            Element confroom = (Element) confrooms.item(i);
                            Node title = confroom.getFirstChild();
                            while(title != null && title.getNodeType() != Node.ELEMENT_NODE)
                                title = title.getNextSibling();
                            if(title != null)
                                    System.out.println(title.getFirstChild().getNodeValue());
                        }Now since my xml doc only has a <conf_id> and a <conf_name> I thought that if I replaced the following :
    Node title = confroom.getFirstChild();
    with
    Node title = confroom.getLastChild();
    it would return the value of <conf_name>
    Doesnt work, doesnt return any value.
    Any ideas or help would be greatly appreciated!!!
    TIA!

    Dr.Clap is right. You have to watch out for that. Here is what one of your conf_room nodes looks like:
        NODE:
          NAME: conf_room
          TYPE: element
          VALUE: null
          CHILDREN:
            NODE:
              NAME: #text
              TYPE: text
              VALUE:
            NODE:
              NAME: conf_id
              TYPE: element
              VALUE: null
              CHILDREN:
                NODE:
                  NAME: #text
                  TYPE: text
                  VALUE: 8209
            NODE:
              NAME: #text
              TYPE: text
              VALUE:
            NODE:
              NAME: conf_name
              TYPE: element
              VALUE: null
              CHILDREN:
                NODE:
                  NAME: #text
                  TYPE: text
                  VALUE: Conf 10
            NODE:
              NAME: #text
              TYPE: text
              VALUE:As you can see, the whitespace is in there as text nodes. When you replace getFirstChild with getLast child you get a reference to that last empty text node. Then, your while loop executed and tried to move to the next sibling, which is null.
    You could change your for loop to something like:
            for(int i=0;i<is;i++)
                Element confroom = (Element) confrooms.item(i);
                System.out.println("CONF ID: " + confroom.getElementsByTagName("conf_id").item(0).getTextContent());
                System.out.println("CONF NAME: " + confroom.getElementsByTagName("conf_name").item(0).getTextContent());
            }The other option would be to create a simple Schema for your XML. That way you can set factory.setIgnoringElementContentWhitespace() which will eliminate all those extra whitespace nodes (and insure your XML is valid).
    -Paco

  • Using common methods with abstract classes

    hello everyone, i wanted to know if it is bad practice (i imagine it is) to place methods which will be used by multiple classes (computational methods) in an abstract class and mark them as static. When i do this they are always project wide utility classes which dont need an instantiation. When using any of these methods which are common to a project i can then just use..
    Type result = ClassName.DoStaticMethod(...);Thanks for any input,
    Dori
    Edited by: Sir_Dori on Dec 8, 2008 2:01 AM

    Depends on what the methods are meant to do, but I wouldn't make the class abstract. I would instead declare it to be final and have a private constructor.
    Kaj
    Ps. Take a look at the java.lang.Match class.

  • When i used invoke methode with read out variants array byte crashd my LV by recal the second repeat?

    If i check it with VBASIC it runs fine, check it to run with Delphi its fine, wot is wrong with LV 6.02

    You may want to contact National Instruments directly. Try: www.ni.com/ask
    Brian

  • HTTP Transformation using POST Method

    Hi, I will have to use POST method with header as application/json to get the results in http transformation. I downloaded the RESTFUL client utility from Chrome, to see how JSON would look like by passing parameters and the result is displayed as expected.  But I'm not sure how the URL to be constructed in HTTP transformation and appreciate if you have any suggestions. My URLL http://dev1.com/contract-api/contract/public/contractValidationMy input parameters:  {"hierarchies":[10],"properties":[18],"licId":123} If I use the above URL and parameters in RESTFUL client, I'm getting the output, but having difficulty in setting up the URL using HTTP transformation.  RegardsSelva

    Thanks Marc.
    Let me rephrase the scenario.
    I have an external application which is capable of sending information only in XML through HTTP requests. It does not send SOAP messages. I guess in this case, we would need to use the HTTP binding using POST method. Much like the sample at http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html which uses the GET method.
    In this sample reynolds is using the GET method. I have been trying to get the POST method to work.
    Regards
    John

Maybe you are looking for

  • 790FX-GD70

    I have a MSI 790FX-GD70 and bought the OCZ3BE16000C8LV4GK memory to go with my Phenom II 965 BE CPU. Memory is supposed to work with 790 chipsets and BE CPUs. It is not listed on the "Test" list for this MOBO. When I set the AOD BEMP the system will

  • Dunning Block field in Invoice Header

    Hello, There is this Dunning Block field in the invoice header tab > Accounting Data sub tab. Please let me know how this field value is controlled.  i.e. it gets determined or it flows from some master data? Any info on this dunning block field is w

  • Why can't I install iOS 8.0 on my iPhone 5?

    Why can't I install iOS 8.0 on my iPhone 5?  When I try to install it, a message says that I need 4.6 GB of storage available to install the update to the operating system, although the specs from Apple state that the update is 957 MB.  I have 1.2 GB

  • 2009 MBP: Color difference between integrated VS dedicated?

    I took two screen-shots of the desktop with two exact backgrounds, also the same color calibration settings for both. It turns out that running the dedicated card shows colors more vividly than the integrated graphics. Anyone else notice this?

  • Mail always opens attached emails with TextEdit

    The problem happens after attaching an (old) email in the new email. When I open the icon before sending the content looks the same as if I had opened it with TextEdit. Also the icon is not represented as an envelope. I have tried several ways: Embed