Monkey by name monkey by nature

Hello! this is probably a really easily solvable problem but i don't know how to stop itunes from deleting the songs on my ipod that aren't in the library? does that make sense?
if i put an album in itunes then import to my ipod, decide to delete the album from itunes the next time i plug in my ipod itunes deletes it, annoying!!!! Any help would be much appreciated. Thanks.

Hello and thanks for your help but this is where i prove myself as a monkey by asking more questions!!!!
I changed to manually managing songs but i don't seem to be able to perform the basic task of just moving songs from library to my ipod, how stupid do i feel?!?!?!
I have an album in the library, just one cos i deleted all the rest, and want to add it to the others on my ipod, thought it would be simple but its managed to throw me!
Is it the case that the ipod can only hold whats in the library i.e whatever is in the library is on the ipod?
p.s thanks for the warning about having to store everything on hard copy somewhere.

Similar Messages

  • Domain name/"primary DNS" name/mail host name/mail server name/mx name

    Hi,
    I have registered my domain name (N.com) with an external dns server and created an MX record (mail.N.com) for it as well. My server sits behind a router and internet traffic is port(80)-forwarded to my server's fixed internal ip address (I can access my webpages from the internet just fine). When I initially setup the server I was asked to give it a "primary DNS name." I naturally assumed that N.com was supposed to be entered here, but that just caused all kinds of problems (though I still do not understand why). So I reinstalled and currently have server.N.com as the primary DNS name of the server (although it shows up in Server Admin and Workgroup Manager as server.local--why is that?)
    I have had no luck getting any email from the internet with the default settings in mail services (domain name of N.com and host name of server.N.com). Having no luck with the defaults, I assumed that maybe I needed to change the host name to "mail.N.com" so that it matched the MX record. I also changed the user preferences in Workgroup Manager to receive mail from mail.N.com--but still no luck. Could someone tell me what I am doing wrong and how come none of the Mail Service literature mentions anything about what a mail "host name" is supposed to be? Is it supposed to be the same as the "Mail Server" name that Workgroup Manager asks each user for? and is it the same as the MX record name?
    I am just needing some help to connect all these variously named, but undefined, dots.
    Also, how come I can access webmail from the internet using www.N.com/webmail but can't do it from any computers within my physical network (I have to use IPaddress/webmail or server.local/webmail)?
    Also, should my user email addresses be [email protected] or [email protected] (which is the current default)?
    Thanks in advance and good luck!
    John

    I had been told by a friend that ... regular email coming in from the internet would go through port 80
    Unfortunately you were misinformed.
    My MX record needs the extra subname (such as "mail") in front of the domain name, right?
    Not at all. A MX record for 'N.com' is entirely valid (expected, in fact).
    An MX record tells remote mail servers where to send mail for any domain/subdomain. If you think about it, let's say you worked for Apple and you wanted people to be able to send email to [email protected], well then you need an MX record for 'apple.com'.
    You can see if you dig MX apple.com that they actually have 9 MX records, but the point still stands.
    Now, you might also have MX records for subdomains so that you can have [email protected], [email protected], [email protected], etc. Each of these subdomains would need a separate MX record.
    So, in general, for any set of email addresses @[anything.]domain.com you have a MX record telling remote mail servers where to send that mail.
    Of course the MX record name is mail.N.com, but I think you are implying that the in the Mail settings of Server Admin where it asks for domain name all I need to put there is the N.com, right?
    What I mean is that you need to set the domain name to whatever domain name you expect to receive mail at.
    If you want users to have email addresses in the form of [email protected], then you enter 'N.com'.
    If you want users to have email addresses in the form of [email protected] then you enter 'mail.N.com'.
    If you want both forms, enter one in the main domain and add the other(s) in the Advanced -> Hosting -> Local Host Aliases section.
    Is there anything in the Mail settings that needs to have the full MX record name (mail.N.com)?
    Yes. Either the 'domain name' or the 'Local Host Aliases' needs to contain the same thing as your MX record. That's because the MX record tells remote servers to send mail to this machine, but the machine won't accept the mail unless it is configured to do so.
    What is the "host name" supposed to be?
    This should be the name that remote servers see when this machine tries to send outgoing mail.
    Ideally this should match the reverse DNS of your IP address, that way when it connects to a remote server it says "Hi, I'm $hostname" and the remote server can lookup the machine's IP address and see the same result. This will reduce the problem of remote servers thinking you're sending them spam.
    If you only have a single IP address then this probably needs to be something like 'N.com'. If you don't have control over your reverse DNS then you're going to run into a problem.
    Also in the user accounts (in Workgroup Manager) what should the "mail server name" be? Is it the host name or the domain name?
    Off hand, I don't know.
    Also, why are all the default user email addresses [email protected] (the name I gave the server at setup)? Why doesn't the user accounts create [email protected] as the default address?
    Presumably because the mail server says it is 'server.N.com' and therefore any accounts on that machine would be [email protected]. Changing the domain name (as above) should fix that.

  • A simple problem with natural join

    i have 2 tables what have columns with distinct's names are referenced.
    natural join not works 'cose only foreign key reference this 2 tables.
    Have something to make table join in using an specific foreign key??
    I'm using oracle9i
    Example:
    table a( a_cod number, a_name varchar2(20))
    table b( b_cod number, b_month_year date, b_salary number)
    ALTER TABLE b ADD ( CONSTRAINT b_a_FK FOREIGN KEY (b_cod)
    REFERENCES a (a_cod));
    select * from a natural join b
    where trunc(b_month_year) = trunc(sysdate)

    I'm not express me correctly.
    We have 2 tables like this:
    CREATE TABLE PPTBA001
      PPA001_GROUP             NUMBER(3)            NOT NULL,
      PPA001_PEOPLECODE        VARCHAR2(20 BYTE)    NOT NULL,
      PPA001_NAME              VARCHAR2(60 BYTE)    NOT NULL,
      PPA001_DATEOFBIRTHDAY    DATE                 NOT NULL);
    CREATE TABLE CLTBA001
      CLA001_GROUP            NUMBER(3)             NOT NULL,
      CLA001_CLIENTCODE       VARCHAR2(20 BYTE)     NOT NULL,
      CLA001_SITUATION        NUMBER(1)             DEFAULT 1);
    SELECT * FROM PPTBA001 NATURAL JOIN CLTBA001;
    ALTER TABLE CLTBA001 ADD (
      CONSTRAINT CLA001_PPAA001_FK1 FOREIGN KEY (CLA001_GROUP, CLA001_CLIENTCODE)
        REFERENCES PPTBA001 (OFA001_GROUP,OFA001_PEOPLECODE));
          the select returns without results. 'cose does not have columns like same name.
    Natural join use a columns with same name. I need something use an foreign key.
    Why?? Now i have a problem .. i need aggregate one more column in primary key
    and i need change all selects that have join with PPTBA001 and put manualy a new column.. if have a other possibility like natural join to using a foreign key to join the selects problems is so more easy to resolve.
    Message was edited by:
    jonas.lima

  • Contacts - Sorting by last name

    I've read that Android 2.2 allows you to sort your contacts by last name, but I can't seem to find a way to do this on the Droid 2.  It seems that the feature has been disabled either by Motorola or Verizon.  Does anyone know of any plans to restore this functionality?  Sorting by last name seems so natural -- it's a mystery why anyone would consciously remove it.

    On the Nexus One it's
    Open contacts --> Menu button --> View contact names as
    I am unsure as I do not have a Droid 2 on hand, but am considering purchasing one sometime in the near future.  Of course above will vary between manufacturers since Some devices will have custom UI's built on top of Android.

  • Natural Join/ Join.....Using

    Hi All,
    Is it possible to use table name or alias to qualify column name when using Natural Join / Join.....Using
    As far as I know we cannot do it. So is the following statement syntatically correct:
    SELECT e.last_name, l.location_id
    FROM employees e JOIN location l
    USING (employee_id);
    Thanks.

    First there is no relation between employees and location ;-)
    Second (as you presumed) you cannot use a qualifier for join columns:
    michaels>  SELECT e.last_name, d.department_id
      FROM employees e JOIN departments d USING (department_id)
    Error at line 1
    ORA-25154: column part of USING clause cannot have qualifierbut with other columns it is ok:
    michaels>  SELECT e.last_name, d.department_name
      FROM employees e JOIN departments d USING (department_id)
    LAST_NAME                 DEPARTMENT_NAME              
    Whalen                    Administration               
    Hartstein                 Marketing                    
    Fay                       Marketing                    
    Raphaely                  Purchasing                   
    106 rows selected.

  • Can not add domain name Error Protected word / inappropriate language

    Can not add domain name Error Protected word /  inappropriate language        
    Provide your Domain name :
    pragatiassociates.com
    Nature of Services provided: It located in India, Punjab. Its a new firm which will be focus on supplying products to Educational Institutes in and around Punjab 
    Problem: While trying to register domain on domains.live.com it gives error that  it contains a protected word or inappropriate language.
    The website is first phase version page has been hosted. Domain was purchased on 1-Mar-2014. Please help on priority as I need the mail solutions at the earliest.
    Posted query on  Microsoft answers no reply even after 4 days.
    http://answers.microsoft.com/en-us/outlook_com/forum/oadmincenter-ocustomdom/can-not-add-domain-name-error-protected-word/1322a218-3ad2-451c-a774-ae700465f9c4?tm=1394076201617

    Saurav S --
    Does your post have anything to do with Project Online, an enterprise project management application?  If so, please elaborate.  If not, please repost your question in a more relevant user forum.  Hope this helps.
    Dale A. Howard [MVP]

  • Force Natural key on a column

    I know the definition of a Natural Key but I don't know how to apply it for a column. For a primary key we have a syntax like "CREATE
    TABLE Persons
    P_Id int NOT NULL PRIMARY KEY)"
    Do we have anything similar for Natural Key?? Thanks in advance.
    svk

    Take a look at the Product table in AdventureWorks2012.
    ProductID - INTEGER SURROGATE PRIMARY KEY
    Name - UNIQUE KEY (NATURAL KEY)
    ProductNumber - UNIQUE KEY (NATURAL KEY)
    rowguid - UNIQUE KEY (ALTERNATE KEY)
    CREATE TABLE [Production].[Product](
    [ProductID] [int] IDENTITY(1,1) PRIMARY KEY,
    [Name] [dbo].[Name] NOT NULL UNIQUE, -- NATURAL KEY
    [ProductNumber] [nvarchar](25) NOT NULL UNIQUE, -- NATURAL KEY
    [MakeFlag] [dbo].[Flag] NOT NULL CONSTRAINT [DF_Product_MakeFlag] DEFAULT ((1)),
    [FinishedGoodsFlag] [dbo].[Flag] NOT NULL CONSTRAINT [DF_Product_FinishedGoodsFlag] DEFAULT ((1)),
    [Color] [nvarchar](15) NULL,
    [SafetyStockLevel] [smallint] NOT NULL,
    [ReorderPoint] [smallint] NOT NULL,
    [StandardCost] [money] NOT NULL,
    [ListPrice] [money] NOT NULL,
    [Size] [nvarchar](5) NULL,
    [SizeUnitMeasureCode] [nchar](3) NULL,
    [WeightUnitMeasureCode] [nchar](3) NULL,
    [Weight] [decimal](8, 2) NULL,
    [DaysToManufacture] [int] NOT NULL,
    [ProductLine] [nchar](2) NULL,
    [Class] [nchar](2) NULL,
    [Style] [nchar](2) NULL,
    [ProductSubcategoryID] [int] NULL,
    [ProductModelID] [int] NULL,
    [SellStartDate] [datetime] NOT NULL,
    [SellEndDate] [datetime] NULL,
    [DiscontinuedDate] [datetime] NULL,
    [rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL UNIQUE -- ALTERNATE KEY
    CONSTRAINT [DF_Product_rowguid] DEFAULT (newid()),
    [ModifiedDate] [datetime] NOT NULL CONSTRAINT [DF_Product_ModifiedDate] DEFAULT (getdate()))
    GO
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Need urgent help with RAID failure on Graphics server (running OSX10)

    Hey.
    Here's the deal... Our graphics department has a MAC G4 (fully upgraded. newest patches, OS, etc.) that's got a 4 port SATA RAID controller. They use this with four 750GB hard drives as an external RAID (the OS is on a seperate, 65GB hard drive). The way it's set up, through Apple's OS, is we have the four 750GBs in pairs... those pairs are striped, and then the two sets of striped 750s are mirrored. This has worked just fine for a number of months, but we recently had a power surge, and now we're unable to mount "Monkey" (the name of the 1.4TB array).
    See the below screenshots for more clarification.
    http://www.amcdoors.com/lorenzo/raidsetup.JPG
    This shows the RAID card, and the four SATA cables coming out of it.
    http://www.amcdoors.com/lorenzo/leftside1.JPG
    As you can see in this and the below screenshots, this shows the 1.4TB Striped set as 'online', but the two below (the two 750GB hard drives) show up as "offline".
    http://www.amcdoors.com/lorenzo/leftside2.JPG
    this shows the actual drive i click on. same thing
    http://www.amcdoors.com/lorenzo/leftside3a.JPG
    If i click the entire array, you can see how it's set up (the Mirrored RAID set consisting of the two Striped RAID sets). The RAID sets (all 3 of them) are showing up as online, yet the drives are offline. No idea why. The drives are all powered, and are spinning, and plugged in.
    http://www.amcdoors.com/lorenzo/leftside3b.JPG
    when you click "Monkey Drive", nothing shows up in it. i don't remember if anything ever used to. if you click 'mount', nothing happens.
    http://www.amcdoors.com/lorenzo/leftside4.JPG
    http://www.amcdoors.com/lorenzo/leftside5.JPG
    this shows the exact same problem as the first RAID set.
    http://www.amcdoors.com/lorenzo/verifyRAIDset1.JPG
    If you try to Verify the RAID set, it shows that no repairs are necessary
    http://www.amcdoors.com/lorenzo/verifymonkey.JPG
    If you try to verify Monkey, you get a "Volume Needs Repair" error... but when you try to repair it, you get this:
    http://www.amcdoors.com/lorenzo/repairmonkey.JPG
    Really need help; this is a pretty critical problem. Someone that's familar with RAID solutions on MACs please help me out. We can't risk losing any data if at all possible.
    Thanks
    ~Lorenzo

    You might want to post this to the Server Products forums.

  • RAID controller on G4; problems... is RAID dead? Help please!

    Hey.
    Here's the deal... Our graphics department has a MAC G4 (fully upgraded. newest patches, OS, etc.) that's got a 4 port SATA RAID controller. They use this with four 750GB hard drives as an external RAID (the OS is on a seperate, 65GB hard drive). The way it's set up, through Apple's OS, is we have the four 750GBs in pairs... those pairs are striped, and then the two sets of striped 750s are mirrored. This has worked just fine for a number of months, but we recently had a power surge, and now we're unable to mount "Monkey" (the name of the 1.4TB array).
    See the below screenshots for more clarification.
    http://www.amcdoors.com/lorenzo/raidsetup.JPG
    This shows the RAID card, and the four SATA cables coming out of it.
    http://www.amcdoors.com/lorenzo/leftside1.JPG
    As you can see in this and the below screenshots, this shows the 1.4TB Striped set as 'online', but the two below (the two 750GB hard drives) show up as "offline".
    http://www.amcdoors.com/lorenzo/leftside2.JPG
    this shows the actual drive i click on. same thing
    http://www.amcdoors.com/lorenzo/leftside3a.JPG
    If i click the entire array, you can see how it's set up (the Mirrored RAID set consisting of the two Striped RAID sets). The RAID sets (all 3 of them) are showing up as online, yet the drives are offline. No idea why. The drives are all powered, and are spinning, and plugged in.
    http://www.amcdoors.com/lorenzo/leftside3b.JPG
    when you click "Monkey Drive", nothing shows up in it. i don't remember if anything ever used to. if you click 'mount', nothing happens.
    http://www.amcdoors.com/lorenzo/leftside4.JPG
    http://www.amcdoors.com/lorenzo/leftside5.JPG
    this shows the exact same problem as the first RAID set.
    http://www.amcdoors.com/lorenzo/verifyRAIDset1.JPG
    If you try to Verify the RAID set, it shows that no repairs are necessary
    http://www.amcdoors.com/lorenzo/verifymonkey.JPG
    If you try to verify Monkey, you get a "Volume Needs Repair" error... but when you try to repair it, you get this:
    http://www.amcdoors.com/lorenzo/repairmonkey.JPG
    Really need help; this is a pretty critical problem. Someone that's familar with RAID solutions on MACs please help me out. We can't risk losing any data if at all possible.
    Thanks
    ~Lorenzo

    have you gotten this to work yet ?? if not let me know
    -d

  • Searching Archive for Older Mac 10.4 (non Intel) Computer Lost Flash Player

    Hello Forum Users!
    I'm sorry to bother you, but checked recent posts and knowledge base and cannot seem to find my problem listed.
    Problem starts and ends with older Mac operating system (10.4.11, Yes, I am still using Tiger and my G4 is said not to be acceptable to Leopard so its time for new computer..but until then)....
    I have only a 60 GB HD, and it was getting "full" so suggestion I received and someone helped me do it, was to eliminate all old "downloads" I was saving.
    Fine....except that while I was cleaning up the older programs I "don't use"  to get more room on the Hard Drive (I had less than 10 GB free and Apples don't like that on their Journal Drives), I accidentally "erased" (then threw out as trash to get room) the  Adobe Flash Player.  Not a problem!  But now of course I remember that is "why" keep normally all "downloads" as files in case I do that....so no older download to use as my own archive.
    Ok, not a problem!  Go to Adobe and download a new Flash Player (Of course I can't use 10.3 and all the others you keep referring to, as I don't have an "Intel" chip operating computer, so 10.4 is supported by newer Flash Players but only those using an Intel chip which my computer doesn't have.  (Lap top else I'd try all types of modificactions to work around the problem).
    Sorry too many details, but rather let you know now than questions back and forth.
    The final irony is that I know of Adobe's Archives and went "back in time" downloading and testing out various Flash Players (sorry, didn't pay attention so I did not ever have marked down which version of older Adobe worked with my 10.4.11).
    So I tried all the 10.2's   10.0's  9's (even the developer ones)  I hit the 8's and realized that maybe I'm not doing something right as I do think if you are using 10.3 now, that 8 versions should have been usable according to the June 2010 system requirement lists.
    For downloading I select Mac  "other"  as  my operating system since the current specificaitons for downloading list 10.4 to 10.6 as  "Intel" based.
    Did I leave anything out?
    I really need Adobe Flash Player as most of the web sites are just refusing to display anything but words for me, so just boring now on web without access to all the content that Flash Player provides.  (no more funny You tube videos either of course!).
    Can anyone help me with my Adobe problem?
    Thanks!

    To both of my helpers.....Success! (Skip to end if you don't want to read the details).
    Sorry for the delay in responding to all of your suggestions!
    eidnolb:  Here is what I found on the page with red "f" this time. But using Safari, the whole top of the page says "Flash" meaning that the red "F" is part of a Flash item that is not loading in Safari, but does load in my other Browser, Sea Monkey.
    Using Safari I right clicked (was on wrong page sorry) and got the "ClicktoFlash---Settings" settings
    I do not have regular "settings" anymore on my list just:   Load Flash/Load all on this page/add www.Adobe.com to whitelist/ClicktoFlash Settings.
    And in the Click to Flash Settings there is no box to uncheck for hardware acceleration. Only things like Options/sIFR Text Updates Uninstall (of course) version 1.5.5 if that matters).
    I set up my account in Adobe using Sea Monkey which I do when Safari is fully being used for other purposes that day, so that explains why I got confused sometimes, the Flash Content in Sea Monkey "works" but the same page loaded in Safari does not work.  I do have Firefox, but that has too many saved pages that have not been gone over to "unsave" them when I'm done either printing the contnet or saving the content or bookmarking it, so that is quite unusuable right now so I don't know if any of the flash is working or not on Firefox (and I don't have Chrome loaded in yet....maybe I read it was Leopard only? I forget why it is not
    another choice for me).
    Willener pat's  (finally used a mirror!)  suggestion I try the FP uninstaller again, I made sure it was done using Safari (Sea Monkey does not like it)....and despite it appearing for the higher levels of Mac OSX I tried it....
    Its getting complicated. I can read the instructions how to do it in Sea Monkey, but Sea Monkey does not like the file (does not know what to do with it and offers my entire "Mac" database of applications i.e. word, etc to use it (very bad).  Safari can use the file but I have to click on it without the accompanying instrtuctions to help me as they are not visible or printable anymore from within Safari without Flash.  So I'm using the printed instrucitons from Sea Monkey to follow and Safari to do the downloading!
    I'll work this out yet!
    eidnolb:  I visited http://kb2.adobe.com/cps/155/tn_15507.html after uninstall as you and pat say to do.
    But the message reads:
    "The following displays the type of Flash Player version that this browser is running, and its capabilities.  Usually only developers creating content for Flash Player require this information: "
    But Guess What?  The box is a "FLASH" item!!  So I can't see what version is in there!  (Catch-22 they call that!).
    My company's Flash pages are showing up on both Safari and Sea Monkey, they pause then load even though I've not set them for "permissions" or "whitelist" on the ClicktoFlash"  because the content is created by various people and they have bad web page habits so especially I do not load Flash immediately at my company's web pages, as it can hang or cause scripts to keep working so I have to stop it.  That is why the person I deal with got me "ClicktoFlash" as just because I know how to create a web page, doesn't mean all the other ones I deal with know how!
    I'm thinking at this point, should I try installing back in the  version again?  I guess no harm can come from that so I went back to eidnolb's version in original message and tried to load it in again.
    Result is: nothing!
    I clicked on your address in Sea Monkey and copied to safari and both don't work.  "Page Not Found" Error.
    This is what I clicked on  to get the Flash installer 10.1.102.64  before!  I know it worked then, why not now?  So I'll use the copy I've downloaded before but why is the link not working now?
    eidnolb: June 15, 2011 10:53 am
    Flash installer 10.1.102.64 [http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp 10.1.102.64_and_9.0.289.0archive.zip] Open the archive to reveal yet more archives and multiple files. Select: flashplayer101r102_64_ubmac.dmg
    By the way....reading everything that came with the installer program (it appears for developers only as archived version), it says to "restart" system after uninstall.  Maybe that is what I did not do, but I've closed and restarted my computer each time I leave so I know its been "done" in middle of writing your forum replies, I just save it elsewhere and come back to continue writing!
    So closing and restarting everything had no effect.  On the Adobe Find Flash Player Version  page, I still can't "see" the box with version of Flash Player I'm currently running, as its a Flash box that does not activate. The other Adobe page with "red" F still does not show the me  "red" F just a huge "Flash" box that I can't open.
    So here goes with installing again from the saved version of download (by the by I'm now down to 9.46 GB free since I've opened and downloaded so many files so many times.  Just don't know which to delete as nothing has worked yet!
    Now it works! I think!
    I got the "Find Flash Player Version" page and I can "see" the result
    I'm using Player Version: MAC 10,1,53,64
    Debug Player:  No
    Opening system Mac OS 10.4.11
    Video Capable Yes
    Audio Capable Yes
    Local File I/O Enabled: Yes
    So I guess that is it!
    It works !
    I could have just said this part alone, but wanted both of you to see what steps I took to get it working again!  (Might be helpful to anyone else stupid enough to try to create more room by deleting any large files with unidentified names).
    Which answer fits the bill for "correct" answer? I"ll click on and award points however you both see fit (10 to best answer 5 to possible answers).
    I went to check on the one you (eidnolb) answered about Google Maps (I have a iPad now and always use it for my portable use of Google Maps so didn't notice anything like he mentioned, so I just went in to give a check and Safari and Google Maps are all working fine  with street views  (the orange man---does anyone have a name for him? Have a contest!).  It all works so thanks again.
    Best regards to everyone!

  • How to render outputlink as an area tag rather than an a tag

    Hi all,
    As stated in JSF document, both shape and coords are valid properties in outputlink. So, I have tried following
    <map name="monkey">
    <h:outputLink shape="rect" coords="0,0,30,30" value="http://yahoo.com"/>
    </map>
    however. that is rendered as &lt;a href="http://yahoo.com" coords="0,0,30,30" shape="rect">&lt;/a>, what I really want is
    &lt;area href="http://yahoo.com" coords="0,0,30,30" shape="rect">&lt;/area> ...
    I mean if outputlink can only be render an a tag, but not an area tag, I do not see why it will support shape and coords propeties ...
    Any help here ...
    Thanks a million
    Edited by: EJP on 5/09/2011 10:50: fixed your meta-HTML

    886619 wrote:
    I know that coords and shape are defined in w3c standard, my questions are
    1) what jsf component can be rendered as area tag for html frontend?None that I am aware of. You could write your own. Or, if an existing component is appropriate, you could write an alternative renderer for the component.
    2) "The position and shape of the hot spot on the screen (for use in client-side image maps)." That is the sentence for JSF document, what you think about for use in client-side image map mean? I donot see why render as <a> tag for client-side image map will be an acceptable solution ...I don't think this has anything to do with JSF at this point; JSF simply passes these values through to the rendered HTML. You have to understand how to use HTML to make proper use of these attributes.

  • Preview crashes when starting up

    trying to open either a jpg or pdf...
    ===== Friday, May 18, 2007 4:38:24 PM America/Phoenix =====
    dyld: Library not loaded: /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    Referenced from: /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    Reason: image not found
    May 18 16:38:27 monkey crashdump[1701]: Preview crashed
    May 18 16:38:27 monkey crashdump[1701]: crash report written to: /Users/Andrew/Library/Logs/CrashReporter/Preview.crash.log
    ...and the log...
    Host Name: monkey
    Date/Time: 2007-05-18 16:38:27.174 -0700
    OS Version: 10.4.8 (Build 8N1430)
    Report Version: 4
    Command: Preview
    Path: /Applications/Preview.app/Contents/MacOS/Preview
    Parent: WindowServer [85]
    Version: 3.0.8 (409)
    PID: 1700
    Thread: Unknown
    Link (dyld) error:
    Library not loaded: /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    Referenced from: /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    Reason: image not found
    Any thoughts? I've tried deleting the prefs and same behaviour.
    mac pro Mac OS X (10.4.9)

    My friend tar'd up the directory tree and I restored "Versions" under /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork
    The shell, and finder do not show this directory, but I can 'cd' into it no problem. I did a repair permissions on the disk and preview is working again now.
    If anyone can figure out how it got like this - or if there is a preferable way to repair it - let me know. I had to enable root access to fix this...
    monkey:/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit. framework root# ls -la
    total 16
    drwxr-xr-x 9 root wheel 306 May 18 17:58 .
    drwxr-xr-x 4 root wheel 136 Jan 31 14:22 ..
    lrwxr-xr-x 1 root wheel 24 May 5 09:14 Headers -> Versions/Current/Headers
    lrwxr-xr-x 1 root wheel 23 Jan 31 18:22 PDFKit -> Versions/Current/PDFKit
    monkey:/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit. framework root# cd Versions
    monkey:/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit. framework/Versions root# ls -la
    total 8
    drwxr-xr-x 4 root wheel 136 Jan 22 23:08 .
    drwxr-xr-x 9 root wheel 306 May 18 17:58 ..
    drwxr-xr-x 4 root wheel 136 May 14 19:13 A
    lrwxrwxrwx 1 admin 501 1 May 18 17:46 Current -> A
    monkey:/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit. framework/Versions root#
    mac pro Mac OS X (10.4.9)

  • Better method than switch?

    I have the following code.
    public Animalinfo(int animalInfo){
            switch (animalInfo) {
                case 1:File inputFile1 = new File("monkey.txt"); FileInputAnimal monkey = new FileInputAnimal(inputFile1);break ;
                case 2:File inputFile2 = new File("rooster.txt"); FileInputAnimal rooster = new FileInputAnimal(inputFile2);break ;
                case 3:File inputFile3 = new File("dog.txt"); FileInputAnimal dog = new FileInputAnimal(inputFile3);break ;
                case 4:File inputFile4 = new File("boar.txt"); FileInputAnimal boar = new FileInputAnimal(inputFile4);break ;
                case 5:File inputFile5 = new File("rat.txt"); FileInputAnimal rat = new FileInputAnimal(inputFile5);break ;
                case 6:File inputFile6 = new File("ox.txt"); FileInputAnimal ox = new FileInputAnimal(inputFile6);break ;
                case 7:File inputFile7 = new File("tiger.txt"); FileInputAnimal tiger = new FileInputAnimal(inputFile7);break ;
                case 8:File inputFile8 = new File("rabbit.txt"); FileInputAnimal rabbit = new FileInputAnimal(inputFile8);break ;
                case 9:File inputFile9 = new File("dragon.txt"); FileInputAnimal dragon = new FileInputAnimal(inputFile9);break ;
                case 10:File inputFile10 = new File("snake.txt"); FileInputAnimal snake = new FileInputAnimal(inputFile10);break ;
                case 11:File inputFile11 = new File("horse.txt"); FileInputAnimal horse = new FileInputAnimal(inputFile11);break ;
                case 12:File inputFile12 = new File("sheep.txt"); FileInputAnimal sheep = new FileInputAnimal(inputFile12);break ;
    //where fileinputanimal prints the text file in the window
            }It works and i can't see much else to addto it. But i was just wondering if anyone had other possible improvements on it, like a way of not adding a number to the end of each File inputFilex. Also, is there an alternate method to switce. I can't think of any myself, but that means i'll have to start working on a switch like above but containing around 500 cases in it this time.
    Any suggestions appreciated.

    Sazazezer_Mililipili wrote:
    Jeez, so much help in fifteen minutes alone. I feel bad for taking a day to respond.
    The animalInfo int comes from the user input. The user types in their date of birth. It then converts to a float so i can do 'year % 12', Okay, that makes sense. But an int would be better.
    Now...to learn about maps.Nah, since it's always going to be 0-11, and it's the numerical value that has significance, not some arbitrary "key", it's simpler to just stick with the switch statement. Do pay attention to the simplifications I gave you though, and rather than having the constructor do anything besides initialize the state of an object, after construction, call a print or display or whatever method.
    EDIT: Or, possibly better, go with the other poster's suggestion of an array of Strings, whose values are the file names.
    Edited by: jverd on Sep 25, 2008 2:15 PM

  • Using an SQL Script file to create database in Java? (monkeyDB.sql)

    Hello!
    I am a writing an SQL Script so that I can re-create my database on another server (im using my laptop to test it on first though).
    I'm connecting to mySQL server using JDBC which works fine, but I was wondering
    how can I run an entire script file, say myScript.sql from within a Java class??
    (an SQL Script is simply a file containing the regular SQL commands and expressions that you might enter at an sql command line prompt)
    example of an SQL Scritp: monkeyDB.sql>>
    //#create new db
    CREATE DATABASE sample_db;
    //#set active db
    USE sample_db;
    //#set table paramaters
    CREATE TABLE monkeys
    (name CHAR(20),
      age INT UNSIGNED,
      sex ENUM('M','F')
    //#create standard monkeys
    INSERT INTO monkeys(name,age,sex) VALUES("Sammy",10,"M");
    INSERT INTO monkeys(name,age,sex) VALUES("Muncht",12,"M");
    INSERT INTO monkeys(name,age,sex) VALUES("Jill",8,"F");
    //#get recordset
    SELECT * FROM monkeys WHERE age < 50;Thanks for your help!

    thanks. :-)
    I thought about that too but I didnt want to hard wire it into the code.
    I guess it isnt possible to output the script file using some command from the sql library..?

  • Execute an SQL Script from Java (myScript.sql) ?

    Hello!
    I am a writing an SQL Script so that I can re-create my database on another server (im using my laptop to test it on first though).
    I'm connecting to mySQL server using JDBC which works fine, but I was wondering
    how can I run an entire script file, say myScript.sql from within a Java class??
    (an SQL Script is simply a file containing the regular SQL commands and expressions that you might enter at an sql command line prompt)
    example of an SQL Scritp: myScript.sql>>
    //#create new db
    CREATE DATABASE sample_db;
    //#set active db
    USE sample_db;
    //#set table paramaters
    CREATE TABLE monkeys
    (name CHAR(20),
      age INT UNSIGNED,
      sex ENUM('M','F')
    //#create standard monkeys
    INSERT INTO monkeys(name,age,sex) VALUES("Sammy",10,"M");
    INSERT INTO monkeys(name,age,sex) VALUES("Muncht",12,"M");
    INSERT INTO monkeys(name,age,sex) VALUES("Jill",8,"F");
    //#get recordset
    SELECT * FROM monkeys WHERE age < 50;Thanks for your help!

    The way I understand it is that your mysql.sql script file uses ';' as a delimeter between statements. So now what you can do is that read the whole file and put it inside a string/stringbuffer. Now put this string/stringbuffer to a stringTokenizer with delimeter set as ';'. this way you will recieve your exact statements without scratching your heads as where the statements begin/ends. :-)
    Now once you have your statements than its just a matter of executing them against the database.
    hope this helps.

Maybe you are looking for

  • ESB DVM in Oracle BPEL

    Hi All, 1)Can we use the DVM created the ESB, in Oracle BPEL. I checked the developer guide of ORacle BPEL 10.1.3.1,it says it is currently not supported. Is this supported in 10.1.3.4?? 2)I have creted a DVM in ESB control. The name of the DVM is Ve

  • How to avoid use of to_date and to_char ?

    Hi All, I have table 'sample ' with columns id (number ) and dte (timestamp ) . CREATE TABLE SAMPLE ( ID NUMBER,DTE TIMESTAMP); Sample Records like INSERT INTO SAMPLE VALUES( 1,SYSDATE); INSERT INTO SAMPLE VALUES( 2,SYSDATE); INSERT INTO SAMPLE VALUE

  • LDAP as a target

    HI! I'm trying to load data from oracle to ldap server. I mapped the both tables but when i execute it i get this error: 1747 : 42000 : java.sql.SQLException: ORA-01747: invalid user.table.column, table.column, or column specification If someone can

  • Not able to connect to sqql developer

    hi am running oracle Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product PL/SQL Release 10.2.0.1.0 - Production CORE 10.2.0.1.0 Production TNS for 32-bit Windows: Version 10.2.0.1.0 - Production NLSRTL Version 10.2.0.1.0 - Production am

  • CS5 and CS2 Question

    My company is looking to get all new Macs and CS suites for our office (YAY!) but before we make the upgrade I wanted to see if we would be able to open all of our old CS2 files in CS5? Any help is appreciated!!