Need help with connected / linked pop-up menus

I want to select a preset.
What I did is create 2 pop-up menus. The first with the preset folders and the second with the presets from that folder.
Each pop-up group has a pop-up and a static field with the current choise.
After selecting a different value from the first pop-up menu I want to have the second popup menu filled with the new, right presets of that folder.
The first time everything works correct.
However when selecting a different folder I see that the "preset table"  is filled with the correct new preset of that folder. Also the static field below the second pop-up menu shows the first value of the correct new presets. But the second pop-up menu itself still contains the presets of the first folder and not the new folder.
Yet in the Observer I see that the preset table contains the right and new presets.
My code is below.
I based it on the sample in the SDK manual.
Question: How can I update the second pop-up menu so that the pop-up menu shows the right presets.
Code below
local LrApplication = import 'LrApplication'
local LrPathUtils = import 'LrPathUtils'
local LrFileUtils = import 'LrFileUtils'
local LrBinding = import "LrBinding"
local LrDialogs = import "LrDialogs"local LrFunctionContext = import "LrFunctionContext"
local LrView = import "LrView"
local bind = LrView.bind -- shortcut for bind() method
--     https://github.com/kikito/inspect.lua
local inspect = require 'inspect'
local logFilename = 'PresetList'
local myLogger = import 'LrLogger'( logFilename )
myLogger:enable( "logfile" )
local logPath
Name          emptyLogFile
Purpose          Clears the existing log file.
From cookbook: http://cookbooks.adobe.com/post_Clearing_your_logfile_automatically-19677.html
function emptyLogFile()
--local myLogger = import 'LrLogger'( 'Stash' )
myLogger:disable()
logPath = LrPathUtils.child(LrPathUtils.getStandardFilePath('documents'), logFilename .. ".log")
if LrFileUtils.exists( logPath ) then
local success, reason = LrFileUtils.delete( logPath )
if not success then
logger:error("Error deleting existing logfile!" .. reason)
end
end
myLogger:enable( "logfile" )
end
Name          getLocationLogFile.
Purpose          Returns the full path of the current log file.
function getLocationLogFile()
return logPath
end
local function getPresetFolders()
-- Get all folders with presets
    local lrPresetFolders = LrApplication.developPresetFolders()
    local presetFolderCache = {}
local record = {}
    for i, fo in ipairs( lrPresetFolders ) do
record = {title = fo:getName(), value = fo }
--record = {title = fo:getName(), value = fo:getName() }
--myLogger:info( "folder name = " .. fo:getName() )
table.insert ( presetFolderCache, record )
end
--     myLogger:info("Voor de listing")
--     myLogger:info("preset Folders : " .. inspect (  presetFolderCache ) )
return presetFolderCache
end
local function getPresets ( folderObject )
local presets = folderObject:getDevelopPresets()
local presetCache = {}
local record = {}
for j, p in ipairs( presets ) do
record = {title = p:getName(), value = p:getName() }
--record = {title = p:getName(), value = p:getName() }
myLogger:info( "getPresets = " .. p:getName() )
table.insert ( presetCache, record )
end
myLogger:info("presets : " .. inspect (  presetCache ) )
return presetCache
end
local function ChoosePreset()
emptyLogFile()
local presetFolders = getPresetFolders()
local currentPresetFolder = presetFolders[1]["value"]
local presets = getPresets ( currentPresetFolder )
myLogger:info(presets)
--     myLogger:info("preset Folders : " .. inspect (  presetFolders ) )
LrFunctionContext.callWithContext( 'Pop-up example', function( context )
local f = LrView.osFactory() -- obtain view factory
local properties = LrBinding.makePropertyTable( context ) -- make prop table
-- create some keys with initial values
properties.presetFolder = presetFolders[1]["value"] -- for radio buttons and pop-up menu
properties.preset = presets[1]["value"]
properties:addObserver( 'presetFolder', function( properties, key, newValue )
myLogger:info("Observer - get preset list" )
currentPresetFolder = properties.presetFolder
presets = getPresets ( currentPresetFolder )
myLogger:info(presets)
myLogger:info("Observer - Preset table: " .. inspect ( presets ) )
--     Set the new value
properties.preset = presets[1]["value"]
myLogger:info("Observer: " .. presets[1]["title"] )
end )
--     myLogger:info("presetFolder = " .. properties.presetFolder )
--     myLogger:info("preset = " .. properties.preset )
local contents = f:column { -- create view hierarchy
fill_horizontal = 1,
spacing = f:control_spacing(),
bind_to_object = properties, -- default bound table is the one we made
f:group_box {
title = "Preset folders",
fill_horizontal = 1,
spacing = f:control_spacing(),
f:popup_menu {
value = bind 'presetFolder', -- current value bound to same key as static text
items = presetFolders
f:static_text {
fill_horizontal = 1,
title = bind 'presetFolder', -- bound to same key as current selection
f:group_box {
title = "Presets",
fill_horizontal = 1,
spacing = f:control_spacing(),
f:popup_menu {
value = bind 'preset', -- current value bound to same key as static text
items = presets
--     items = getPresets ( currentPresetFolder )
f:static_text {
fill_horizontal = 1,
title = bind 'preset', -- bound to same key as current selection
local result = LrDialogs.presentModalDialog( -- invoke the dialog
title = "Select preset",
contents = contents,
end
end
-- Now display the dialogs
ChoosePreset()

That should work because you are likely to be creating a new table each time computeNewItems() executes..
Sometime the bind function doesn't recognise whether the contents of a table bound to a property changes. So if you use something like this:
local myItems = computeNewItems() -- compute array of tables with title and value members
properties['myPresetItems'] = myItems --  assign to bound member of property table.
it will work the first time. If you then do this:
myItems = computeNewItems() -- compute array of tables with title and value members but using existing variable
properties['myPresetItems'] = myItems --  assign to bound member of property table. Change might not be noticed by bind.
In this instance you would need to reassign the same value again. i.e.
properties['myPresetItems'] = myItems --  assign to bound member of property table again to force bind to check for table values.
Setting a property with the same value twice seems to trick bind into checking to see whether you have bound a table. I'm not sure whether this trick is only required on some versions of LR (e.g. LR 2) or only on one of the platforms, but even if it isn't required in LR 5 it will help improve your backwards compatibility and it shouldn't cause any harm to continue using it in LR 5.
Matt

Similar Messages

  • Need help with connecting file inputs to arrays

    In this assignment I have a program that will do the following: display a list of names inputed by the user in reverse order, display any names that begin with M or m, and display any names with 5 or more letters. This is all done with arrays.
    That was the fun part. The next part requires me to take the names from a Notepad file, them through the arrays and then output them to a second Notepad file.
    Here is the original program: (view in full screen so that the code doesn't get jumbled)
    import java.io.*;       //Imports the Java library
    class progB                    //Defines class
        public static void main (String[] arguments) throws IOException
            BufferedReader keyboard;                                  //<-
            InputStreamReader reader;                                 //  Allows the program to
            reader = new InputStreamReader (System.in);               //  read the the keyboard
            keyboard = new BufferedReader (reader);                  //<-
            String name;                 //Assigns the name variable which will be parsed into...
            int newnames;               //...the integer variable for the amount of names.
            int order = 0;              //The integer variable that will be used to set the array size
            String[] array;             //Dynamic array (empty)
            System.out.println (" How many names do you want to input?");   //This will get the number that will later define the array
            name = keyboard.readLine ();
            newnames = Integer.parseInt (name);                                         // Converts the String into the Integer variable
            array = new String [newnames];                                               //This defines the size of the array
            DataInput Imp = new DataInputStream (System.in);       //Allows data to be input into the array
            String temp;                                       
            int length;                                                                  //Defines the length of the array for a loop later on
                for (order = 0 ; order < newnames ; order++)                                //<-
                {                                                                           //  Takes the inputed names and
                    System.out.println (" Please input name ");                            //  gives them a number according to
                    temp = keyboard.readLine ();                                           //  the order they were inputed in
                    array [order] = temp;                                                  //<-
                for (order = newnames - 1 ; order >= 0 ; order--)                                //<-
                {                                                                                //  Outputs the names in the reverse 
                    System.out.print (" \n ");                                                   //  order that they were inputed
                    System.out.println (" Name " + order + " is " + array [order]);             //<-
                for (order = 0 ; order < newnames ; order++)                                  //<-
                    if (array [order].startsWith ("M") || array [order].startsWith ("m"))     //  Finds and outputs any and all
                    {                                                                         //  names that begin with M or m
                        System.out.print (" \n ");                                            //
                        System.out.println (array [order] + (" starts with M or m"));         //
                    }                                                                         //<-
                for (order = 0 ; order < newnames ; order++)                                            //<-
                    length = array [order].length ();                                                   //
                    if (length >= 5)                                                                    //  Finds and outputs names
                    {                                                                                  //  with 5 or more letters
                        System.out.print (" \n ");                                                      //
                        System.out.println ("Name " + array [order] + " have 5 or more letters ");      //<-
    }The notepad file contains the following names:
    jim
    laruie
    tim
    timothy
    manny
    joseph
    matty
    amanda
    I have tried various methods but the one thing that really gets me is the fact that i can't find a way to connect the names to the arrays. Opening the file with FileInputStream is easy enough but using the names and then outputing them is quite hard. (unless i'm thinking too hard and there really is a simple method)

    By "connect", do you just mean you want to put the names into an array?
    array[0] = "jim"
    array[1] = "laruie"
    and so on?
    That shouldn't be difficult at all, provided you know how to open a file for reading, and how to read a line of text from it. You can just read the line of text, put it in the array position you want, until the file is exhausted. Then open a file for writing, loop through the array, and write a line.
    What part of all that do you need help with?

  • I need help with circular linked list

    Hi,
    I need help with my code. when I run it I only get the 3 showing and this is what Im supposed to ouput
    -> 9 -> 3 -> 7
    empty false
    9
    empty false
    3
    -> 7
    empty false
    Can someone take a look at it and tell me what I'm doing wrong. I could nto figure it out.
    Thanks.This is my code
    / A circular linked list class with a dummy tail
    public class CLL{
         CLLNode tail;
         public CLL( ){
              tail = new CLLNode(0,null); // node to be dummy tail
              tail.next = tail;
         public String toString( ){
         // fill this in. It should print in a format like
         // -> 3 -> 5 -> 7
    if(tail==null)return "( )";
    CLLNode temp = tail.next;
    String retval = "-> ";
         for(int i = 0; i < -999; i++)
    do{
    retval = (retval + temp.toString() + " ");
    temp = temp.next;
    }while(temp!=tail.next);
    retval+= "";}
    return retval;
         public boolean isEmpty( ){
         // fill in here
         if(tail.next == null)
              return true;
         else{
         return false;
         // insert Token tok at end of list. Old dummy becomes last real node
         // and new dummy created
         public void addAtTail(int num){
         // fill in here
         if (tail == null)
                   tail.data = num;
              else
                   CLLNode n = new CLLNode(num, null);
                   n.next = tail.next;
                   tail.next = n;
                   tail = n;
         public void addAtHead(int num){
         // fill in here
         if(tail == null)
              CLLNode l = new CLLNode(num, null);
              l.next = tail;
              tail =l;
         if(tail!=null)
              CLLNode l = new CLLNode(num, null);
              tail.next = l;
              l.next = tail;
              tail = l;
         public int removeHead( ){
         // fill in here
         int num;
         if(tail.next!= null)
              tail = tail.next.next;
              //removeHead(tail.next);
              tail.next.next = tail.next;
         return tail.next.data;
         public static void main(String args[ ]){
              CLL cll = new CLL ( );
              cll.addAtTail(9);
              cll.addAtTail(3);
              cll.addAtTail(7);
              System.out.println(cll);          
              System.out.println("empty " + cll.isEmpty( ));
              System.out.println(cll.removeHead( ));          
              System.out.println("empty " + cll.isEmpty( ));
              System.out.println(cll.removeHead( ));          
              System.out.println(cll);          
              System.out.println("empty " + cll.isEmpty( ));
    class CLLNode{
         int data;
         CLLNode next;
         public CLLNode(int dta, CLLNode nxt){
              data = dta;
              next = nxt;
    }

    I'm not going thru all the code to just "fix it for you". But I do see one glaringly obvious mistake:
    for(int i = 0; i < -999; i++)That says:
    1) Initialize i to 0
    2) while i is less than -999, do something
    Since it is initially 0, it will never enter that loop body.

  • Need help with href link that submits

    I need some help. I dynamically create HTML that displays a horizontal row of page numbers in Position 8. Although they look like page numbers to the use, are not true Apex pages, but rather "logical" pages that change the content in a single Apex physical page. The URL that gets returned from the HREF sets a variable in the page. Then I need a submit to occur so that all my "after submit" processes run, and the page re-renders. Is this even possible? I've been unsuccessful so far.
    Thanks.

    Martin,
    Two things...
    1. Be careful about "hard coding" values in a link. I don't know if you've already done this, but the link should use substitution variables as so...
    f?p=&app_id.:&app_page_id.:&app_session.::NO::P94000_LOGICAL_PAGE_NUM:2
    When the page renders each substitution variable will be replaced with the correct value.
    2. Not that it really matters, but you named your variable starting with P94000. Typically this would indicate the variable appears on page 94000. Is this the case?
    The problem with what you want to do is that it can be done so many different ways. Each way is not necessarily better than the other. Number 1 above is using a link in the traditional sense. It's a link to the same page (achieved by using app_page_id). It will not submit the page but it contains enough information to set the value of a variable and you can code off of that variable's value.
    You could use a JavaScript trick, but I wouldn't bother for this. In addition, you could use the request value over a variable value to feed off of but since you already started with the variable I'd stick with that.
    The first thing you need to do is figure out if your variables value is being set with the link... Let me know if you have more questions.
    Regards,
    Dan

  • MSI P67A-C45 (B3) Newb needs Help with connections..

    Hi all..
    First time posting here, but have been in the shadows for quite a while..   
    Anyway, i decided to finally take the plunge, and build my own PC, and now i'm beginning to hit a few bumps.
    I have a couple of questions that i would like some help with, if possible to reassure myself i may be in the right direction..
    I bought THIS PSU and was hoping someone could tell me where the Blue connectors (one labelled CP and one labelled U1) Connect to?
    Is it into JPWR2? And does it/do they only connect in the correct way? (Do i remove the plastic cap and attach both?
    and i bought THIS VIDEO/GRAPHICS CARD and i'm guessing the RED "PCI express" and "SLI ready" connect to that somehow (Haven't opened box yet for card)
    Again, wondering is there a certain way for them to connect.
    Also, from my chassis, the "AC '97" and "HDA" connectors go to JAUD (I guess), does it matter which one? (I currently have "HDA" connected)
    I have i5 2500k already on board. (If that makes a difference).

    Quote from: Ben_Cartwright on 26-May-11, 22:05:35
    Do the Audio plugs go into JAUD? and does it matter which one?
    Yep, connect the front panel audio to the JAUD. If you need the pin layout, it says in the manual. I would say the HDA connector is the one to connect.
    Quote from: Ben_Cartwright on 26-May-11, 22:05:35
    Any recommendations for testing it all, before i plug it in, and press the power?
    Should i (Can i) test individual parts first?
    Thanks again.
    Check all power connections, seating of the RAM and add-on cards, check the HSF is plugged into the fan header, and obvious things like that.
    As for testing, enter the BIOS and make sure the CPU isn't running too hot. Set up the RAM with the required timings and voltage, and test with >>Memtest86<< for several hours. No point starting the Windows installation if say your RAM has errors, since it will corrupt files during the install, if it installs at all.

  • No Qualified People Here?   Need Help with Contact - Linking Email

    I have two pages - XML, I'll post photos . Just need to link it to my email and also I page to link social buttons.

    It is getting late here, nearly 3:00 am.
    I'll get back to you later on. But I am still in a quandary regarding the question. What I have now is
    you post photos, presumably to the website
    you send an email to yourself with a link to the image
    somewhere (please state where) you want social media images with their relative links
    I just want to link it to my own email - probably refers to point 2 above
    so when someone sends it to me - someone sends what to you. Do you post the iphoto or does it get uploaded by someone else.
    we need to disregard the XML-file

  • CS5.5 need help with connecting to wsdl

    Hello,
    I'm new to Dreamweaver CS5.5 and i'm looking for a simple way to connect to a CFC wsdl web service.
    Basically need to pass 1 parameter to the webservice and have it return a string result from our database.
    Is this possible to do from dreamweaver, using javascript ?
    thanks.

    Those crosshairs are controllers for an effect. The first thing to do is to start turning off layers (eyeball) until you find the layer with the crosshairs. Once you've isolated the layer make sure that it's not a pre-comp, press F3 to reveal the ECW, and check the effects. If you can't turn the effects on and off then or access any of the settings the layer is locked. What would really help here is a screenshot. I can't tell much from the photo because I can't see what's under the hood.

  • Need help with connecting laptop

    Hi there,
      I looked through the boards and found some messages that kind of fit to my problem, but not completely so here goes. 
    I have a gateway desktop(windows xp) connected to dsl (charter) and a laptop(gateway solo with windows xp) that I am trying to connect through a wireless router (Linksys wrt54g). 
    When I connect the wireless router to my laptop it says it is connected, but I cannot get a webpage to appear and once my router is connected I cannot use my desktop online. 
    I am sure there is just some configurations that need done, but I'm not that familiar with alot of the comuter lingo in order to figure this one out on my own.  I mainly use the desktop, but I would like to configure the laptop so I can use it online when needed.  Help and keep it simple please...
    Another question...do I need to use the wireless router or can I somehow connect my laptop through my desktop or just through my dsl connection?
    Thanks, Deanna

    Connect the Modem to the Internet Port on the Router.
    Then , Connect the Computer using a different
    Ethernet Cable to Port 1 or Port 2 on the Router.
    Now, Press the Reset Button on the rear panel of the Router
    for 12 Seconds. Then, Release the Reset Button,
    Unplug the Power Adapter to the Router. After 10 Seconds,
    Unplug the Power Adapter to the Modem. Then Wait for
    30 Seconds, Re-connect the Modem, and once the Lights are
    up on the Modem, Re-connect the Linksys Router.
    If yes, Open a new Internet Explorer
    Page, and in the address bar, type http://192.168.1.1, press
    return, And when asked for Username and Password,
    Leave the Username blank and in the Password field,
    type admin . This will help you access the Router's
    Console.
    In the Router's Setup Page, just below Setup Tab,
    in the blue line, you could an option " MAC Address Clone "
    Click on that, Enable it, Save the Settings
    Below the Setup Tab of the Router's Console,
    Change the MTU from "AUTO" to "MANUAL" , and
    Set the Size to 1400, Save the Settings,
    Powercycle the Modem and the Router.
    Check the Connections.
    If you are able to go Online when hard wired to the Router.
    Then make your computer wireless and verify . . .

  • Need help with different link styles on same page

    Hello,
    I'm using Dreamweaver CS4 on a PC.
    I have searched through a lot of posts over the last couple of days, I've tried the projectseven.com tutorial, google'd, etc. but still can't figure it out.....
    All I want to do is apply a different link colour to some links in the footer of my page. Elsewhere through the site I have set the colour to blue (for the link) and orange (for the hover) - for the footer links I want the link to be white and the hover colour to stay orange.
    The problem with the projectseven tutorial is that it doesn't seem to apply to CS4 and I kept getting error messages when trying to apply a new CSS rule - there's no Class|Tag|Advanced options as per the instructions ....
    I've copied the code of my page to this. The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    Could someone please give me some instructions or point me in the right direction please??
    Many thanks,
    Vickie
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Subscribe to Family Australia - it's free!</title>
    <!-- TemplateEndEditable -->
    <link href="../family-subscribe.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style></head>
    <body>
    <div id="container">
      <div id="banner">
        <ul id="family-subscribe-menu" class="MenuBarHorizontal">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../subscribe.html">Subscribe</a></li>
          <li><a href="../family-advertise.html">Advertise</a>      </li>
          <li><a href="../family-articles.html">Articles</a></li>
    <li><a href="../family-sign-in.html">Issues</a></li>
          <li><a href="../family-contribute.html">Contribute</a></li>
    <li><a href="../family-contact.html">Contact</a></li>
        </ul>
    </div>
        <div id="sidebar"><a href="../family-sign-in.html"><img src="../images/launch-issue.jpg" alt="launch-issue" width="220" height="380" hspace="4" /></a>
          <div id="sidebar-image2">
            <p><img src="../images/Sleeping bag for web.jpg" width="220" height="151" alt="sleeping-bag" /></p>
            <p>Kozy Koala™ Pillow Sleeper is ideal for those  summer nights when the kids want to sleep out or when you go camping. The  all-in-one pillow camper consists of …. [MORE]</p>
          </div>
          <div id="sidebar-image3">
            <p><img src="../images/solrx for web.jpg" width="220" height="164" alt="sunscreen" /></p>
          SolRX® Sunscreens are very sweat and water  resistant – ideal for anyone who leads an active outdoor lifestyle … whether  you’re in the water or not! [MORE]</div>
      </div>
        <!-- TemplateBeginEditable name="main-content-region" -->
        <div id="main-content">main content</div>
        <!-- TemplateEndEditable -->
      <div id="footer">
    <div id="footer-navigation-bar"><a href="../family-about.html">about</a> | <a href="../family-advertise.html">advertise</a> | <a href="../family-contribute.html">contribute</a> | <a href="../family-contact.html">contact</a> | <a href="../family-unsubscribe.html">unsubscribe</a></div>
          <div id="footer-text">Family Australia | ABN 33150685385 | For all advertising enquiries please contact <a href="mailto:[email protected]">[email protected]</a><br />
    Copyright © 2010 Family Australia. All rights reserved.
    </div>
      </div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("family-subscribe-menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    Hello
    You can see above the CSS that applies to your links.  If you have links that you want to style in a diferent way, just write the rule Like this:
    #Footer-Navigation-Bar a:link {
    color: red;
    text-decoration: none;
    Or whatever.  There are other ways but this will do you as you already have those links you want styled differently in a div with its own ID.  The new rule should come after the other rules in your CSS I think to make sure of the cascade although thinking about it,  there's something called specificity in CSS which means that the rule that I suggest will win out anyway.  All that you are doing in my suggestion is selecting the a:link that is a descendant of an element with that particular ID.
    I hope that helps.  I'm a bit of a novice and might have got a bit jumbled with the cascade/specficity thing but hey, I reckon that will get you where you want to go....
    Martin.

  • Need help with Connect to iTunes error.

    My iPhone 3GS is stuck with the "Connect to iTunes" image. It will not go away.
    It happened when I tried to get the IOS 6.0 update. I had the same issue with my iPad when I tried getting the update but at least my iTunes recognized my iPad after 2 or 3 days. I cannot wait that long to get my phone working again.
    Right now, iTunes will not recognize my phone at all.
    I have tried most of the troubleshooting tips i.e. I'm running the latest version of iTunes, I have restarted my laptop, I have done a few gard resets on my iPhone, power down, power up..etc..etc.
    I'm using a PC with windows 7.
    Any help/suggestions will be much appreciated.
    Thanks is advance.

    See:
    iOS: Unable to Update or Restore
    http://support.apple.com/kb/ht1808

  • Need help with 'post link to facebook' button in php

    hi guys,
    thanks for the interest in my post...
    i want to have a button at the bottom of my main page layout (main.php) of the facebook logo where visitors can click on it to submit the page as a link to facebook.
    how can i set the button so it will post the link to whichever page the visitor is viewing i.e. when they are reading a news article the button action will post main.php?id=news and when they are on home, main.php?id=home.
    thank you very much and i hope to hear form you.
    m

    Quote from: tigers71 on 14-December-14, 00:47:36
    If anyone can link the customerchecklist.doc on the MSI website I would greatly appreciate it.  I need to RMA my laptop, and while I printed out the RMA form, I didn't print out the customer checklist document that goes with it.
    And as the original email was in my spam folder, I must have deleted it, so I don't have the link to the page the checklist is on.       I had an old link to the checklist from when I had to RMA my laptop last year, but that is no longer valid.   So if anyone has had a recent RMA of their laptop, if you can post the link, or send it to me in PM, many thanks.
    if you bought laptop from local store then you can just go to local store and RMA it there they will then pack it in and send it away to a MSI service in your country or maybe nearby country that can do repairs.

  • Need help with connecting

    I just purchased a itouch and when i try to connect to the wireless networks that pop it it will give me the check mark, when i open safari and try to access a web page i.e. google, it tells me safari cant find a server? even when my wireless symbol at the top is full blue? what do i need to do. I purchased it 3 days ago connected it to my laptop and loaded all my songs and some photos, other than that i haven't been able to do anything, no GPS, no itunes or youtube, im getting ready to take it back!

    thanks for the reply, i know if uses the wifi to find me, anytime im around a wireless network say i pull up my networks to connect to and the locked ones i know i cant get to w/o a password, but say its titled (lynksys) it will give me the checkmark and my wifi status will appear in the blue, as to the encryption thing im not sure, right now it says im connected to a hpsetup network, when i go to the settings it shows me the ip address and at the bottom there is an HTTP thing that allows me to select off,manual, or auto. im kinda tech. dumb.

  • Cocoa: Need help with binding a pop-up button to array

    I am having the hardest time doing something that seems like it should be really easy... I'm not sure this is the right place for something as basic as this but I can't find any other active Cocoa development forums... any recommendations there as well?
    I'm creating a simple address book-like app to help clarify my knowledge on IB and bindings and core data. I want to have an NSPopUpButton to hold a list of states, which I've created in an NSMutableArray in the window controller. (Maybe this is the wrong place to put it?) I actually managed to get the array values to show up in the window BUT I can't get the value out! When I save the Person data object, it shows as nil.
    It's very very likely I'm binding it incorrectly. Right now, all I've done is bound "Content Values" to File's Owner.states. The "Content" binding indicates it's supposed to be an array controller, but do I really need an array controller for a static array? That seems like overkill. And then, even if all I need to do is bind the value, how do I get the value OUT when I go back to my XCode controller to save the values??
    I've been browsing the usual suspects Cocoa/XCode books in Safari/Oreilly but I can't seem to find the answers. Any help or points in the right direction is much appreciated

    Jennifer Mitchell1 wrote:
    So, here's what I've done and it seems to work. Can anybody suggest improvements?
    - I have a NewPersonController which has an NSMutableArray *states and NSPopUpButton *stateDropdown
    - The *states array is generated with NSStrings of all the state abbreviations
    - In the NIB window, I bind the NSPopUpButton to the File's Owner states object. (File's Owner is the controller class.)
    Your fundamental problem is that you are trying to use bindings incorrectly. You don't have to use them at all. You can use an NSPopUpButton without bindings. But if you want to use bindings, you can't take shortcuts. It will just die with an incomprehensible error or just not work.
    I wish I could put the initialization of the states array in the awakeFromNib method but when I did that, for some reason the window wouldn't open when I clicked the button.
    Are you saying the awakeFromNib fails and the window cannot be displayed?
    Or are you saying the button does not get initialized properly and/or does not work properly?
    If I put it in the states function (which returns the array), it works fine, even though I know it's really inefficient there. Anybody know why it won't load in the awakeFromNib method?
    What are you doing in awakeFromNib? One problem with bindings and Interface Builder is that it is very hard to explain (drag the line from the little plus thingy to the the little line of blocks with the blue sphere around them, etc.) Code is much easier to diagnose and treat.

  • Need Help with apple Id pop ups

    How can i stop apple id from popping up with others people email addresses? It's showing three others emails. Idk how or why, Please Help.

    You have other authorized apple IDs on the one device from the sounds of it. I would deauthorize them if you do not want them showing up on your device.

  • Need help with Apple Mail POP Google App Settings

    I am using Google Apps Account for the domain name xyz.travel
    I have set-up POP Account on Apple Mail for my Email address [email protected] with the Google Mail settings of POP and SMTP correctly. No Problem.
    However, in my Email Address [email protected] there are 3000+ Emails which is more than 3 years old. I do not want all these Emails to be uploaded on my Apple Mailbox. It will take ages for all these 3000+ Emails to be uploaded in my Apple Mailbox. I only want to be able to send Emails from the Apple Mailbox and receive the Emails that I received on [email protected] henceforth.
    Can someone please help me ?

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

Maybe you are looking for

  • Am i able to connect my xbox360 to my macbook pro with only using an hdmi cable

    pls anser my question am i able to connect my xbox360 to my macbook pro with only using an hdmi cable

  • Dynamic digital signature appearance

    I searched but it seems like the subject hasn't been treated. Ok, I've read "Digital Signature Appearance" by Adobe, and find out how to put my own image when displaying digital signatures. Looking at some tutorial from the iText authors, I saw that

  • LR3 and printer color is off.

    I have a  Epson CX7800 printer and when I try to print out my picture, the color is off.  My image looks great, but when I try to print, the color's are not the same.  I've gone to my printer settings and set them to no color management and set the d

  • Macbook as a router for Xbox Live

    I just recently received my Macbook, thanks to two day shipping. I am very impressed with it. But that's beside the point. I need assistance creating a connection from my Original Xbox, through my Macbook, to an Airport wireless connection. I would d

  • [svn:fx-trunk] 8712: Fix embedded fonts in RSLs ( and more complex module topologies)

    Revision: 8712 Author:   [email protected] Date:     2009-07-21 10:39:03 -0700 (Tue, 21 Jul 2009) Log Message: Fix embedded fonts in RSLs (and more complex module topologies) QE Notes: None Doc Notes: None Bugs: SDK-22313 Reviewer: Darrell, Gordon AP