Getting MyFaces jsCookMenu to work in JDEV?

I am trying to get the MyFaces jsCookMenu to work in Jdev but it keeps generating a blank page in the browser (view source shows the div and javascripts are there and I get no errors). My source is as follows, any suggestions appreciated:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:x="http://myfaces.apache.org/extensions">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<title> menuTest </title>
<script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript"/>
<script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"/>
<link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"/>
</head>
<body>
<x:jscookMenu layout="hbr" theme="ThemeOffice">
<x:navigationMenuItem itemLabel="Clients"/>
</x:jscookMenu>
</body>
</html>
</f:view>
</jsp:root>
The jscookmenu directory (and contents) are in my public_html directory and myfaces-extensions.jar is in WEB-INF/lib

Poking around recommendations for installing MyFaces in other IDEs I figured out I should copy commons-fileupload-1.0.jar into WEB-INF/lib and add the following to my web.xml:
<!-- Extensions Filter -->
<filter>
        <filter-name>extensionsFilter</filter-name>
        <filter-class>
                org.apache.myfaces.component.html.util.ExtensionsFilter
        </filter-class>
        <init-param>
                <description>
                        Set the size limit for uploaded files. Format: 10 - 10
                        bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                </description>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>100m</param-value>
        </init-param>
        <init-param>
                <description>
                        Set the threshold size - files below this limit are
                        stored in memory, files above this limit are stored on
                        disk.
                        Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                </description>
                <param-name>uploadThresholdSize</param-name>
                <param-value>100k</param-value>
        </init-param>
        <!--
        <init-param>
                <param-name>uploadRepositoryPath</param-name>
                <param-value>/temp</param-value>
                <description>Set the path where the intermediary files will be stored.
                </description>
        </init-param>
        -->
</filter>
<filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
</filter-mapping>
<filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
</filter-mapping>Unfortunately the last filter-mapping above appears to mess up the modal dialog capability in ADF (all modal dialogs contain only <HTML><BODY></BODY><HTML>).
Also I still could not get the actions defined on my <x:jscookMenu> entries to fire (the form is submitted and the page reloads but the action functions are never invoked nor do any navigation rules fire).
Can anyone recommend another set of menu components they have used successfully with ADF Faces?

Similar Messages

  • Can't get embedded OC4J to work on Jdev  10.1.3.0.4

    I completed half of the tutorial "Building XML-Enabled JavaServer Faces Application" to the point where I am asked to run the ADF application and I get the error "06/09/27 21:55:32 Error parsing internal-settings.xml: server-extension-provider class 'oracle.j2ee.ws.server. mgmt.runtime.InterceptorContainerExtension' not found" and then nothing happens. There must be a simple solution but I don't know how to proceed. Can anyone give some insight on this? Thanks, Michael.

    Michael,
    the author is not an Oracle employee and thus the option to get an answer to your issue is
    a) The XMLDB forum
    XML DB
    b) Post a comment in response to this article in the hope it is forwarded to the author (see the comment link at the bottom fo the article)
    http://www.oracle.com/technology/pub/articles/vasiliev_xmldb_jsf.html
    Frank

  • Af:inputRangeSlider is not working in JDEV 11.1.1.6.0

    Hi,
    af:inputRangeSlider is not working in JDEV 11.1.1.6.0
    tried dragging and droping it on to a test jspx page.
    page stays in loading mode forever and sometimes page loads,but i am not able to change values of af:inputRangeSlider.
    This seems to be a bug
    on doing inspect element in the browser, i am getting following error
    Uncaught ReferenceError: TrRangeValidator is not defined
    please help me on this
    Regards,
    Shakir

    Hi, just to clear things out, this issue occur in JSFF only, but in jspx, hot code is fine...
    Here is my sample code where the issue occurs.
    HelloWorldTaskFlow.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="HelloWorldTaskFlow">
        <default-activity id="__1">viewHelloWorld</default-activity>
        <view id="viewHelloWorld">
          <page>/viewHelloWorld.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    viewHelloWorld.jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelBorderLayout id="pbl1">
        <f:facet name="start"/>
        <f:facet name="bottom"/>
        <f:facet name="end"/>
        <f:facet name="top"/>
        <af:panelBox text="PanelBox1" id="pb1">
          <f:facet name="toolbar"/>
          <af:outputText value="Hello World Nakurato!" id="ot1"
                         inlineStyle="font-size:x-large;"/>
        </af:panelBox>
      </af:panelBorderLayout>
    </jsp:root>
    TestPage.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:region value="#{bindings.HelloWorldTaskFlow1.regionModel}" id="r1"/>
            <af:inputText value="Hello"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Any change in the jsff file does not take effect immediately when refresh. but in jspx, it works.
    Any thoughts???

  • I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    You can go to the Apple online store and purcahse a copy of Mountain Lion.  This will give you a redemption code, which you can use to download Mountain Lion from the App Store.  Unfortuantely, I'm not aware of any other way to legally purchase it.  I have never seen Apple release Muontain Lion on DVD.
    In terms of Apple Service, they just need the serial number of the machine to check the purcahse date.  It is usually correct, to within a few weeks.  A quick Google search should give you the correct number to dial.
    I hope this helps.

  • I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I would delete the account and try to re-enter it. Also, you have to let your firm's IT department know that you want to sync work email on your personal devices before they actually work.

  • TS3276 I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    HI,
    The Apple IDs from @mac.com and @me.com (Older MobileMe and more recent iCloud Names) are also Valid AIM Screen names.
    Any other sort of Apple ID is not a Valid AIM Name.
    A Google ID that is associated with Google Mail Account (And has "Talk" enable on your Google Settings) can be used in iChat as  Jabber Name/ID.  (Google Run  Jabber server).
    Jabber and AIM are different IM Services and it is not easy or straight forward to add Buddies from one Service to the Buddy List of another.  (As A Starting point consider it "impossible")
    iChat 4 and 5 have links to the registration page of @Mac.com here with a "Get an iChat Account" button in the add (Account) screen  (You select @mac.com or MobileMe and then press the Button - Choosing AIM and then pressing the button used to lead to the AIM registration page but AIM moved their page).
    Apple IDs can be any valid email (or an @mac.com or iCloud registration)
    Therefore you could make a Google ID into an Apple ID.
    However this will not be a valid AIM Screen Name the way @mac.com or MobileMe/iCloud ones are.
    Valid AIM Screen Names in Table (pic)
    7:46 PM      Monday; December 5, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How do i get my appstore to work? it wont let me purchase any apps that cost money. i put money on this last night

    i cant get my Appstore to work because it has locked up because i tried to answer my security questions and failed to do it. it wanted verification because it said it was my first time on the App Store but it isn't. (i recently got a new ipad after dropping the last one) i constantly go to my Apple ID and it says that they cant verify the account because i incorrectly answered my questions again and it says that they can send a email to my rescue email but i dont have one and i am really upset and confused about this and how complicated apple is. i realy nead help

    See Kappy's great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities
    https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
     Cheers, Tom

  • I followed all the directions to get Norton 360 to work with Firefox 8, but nothing works. I love Firefox, but if my Norton 360 won't work with it I'll be stuck with IE, which I do not like. Please Help Me!

    I followed all the directions to get Firefox 8 to work with my Norton 360, but nothing has worked. Is there anything else I can do? I didn't know there was an issue when I first upgraded to Firefox 8 so didn't choose the Norton plug ins immediately so I uninstalled Firefox hoping to be able to do it correctly when I Downloaded it again. Unfortunately it didn't ask me any thing regarding Norton so I went to Plug ins as directed to Enable Norton 360's plug ins, but none were listed.
    What can I do now? I LOVE Firefox! If we can't make it work I'll be stuck with Internet Explorer which I do not care for at all!
    I need to have Norton Security to protect my computer. Please help me find a solution to this problem ASAP.
    Thank you,
    Susan L Woods
    [email protected]

    Hi Susie, I use Norton 360 and have the latest Firefox 8 installed is working fine for me. Firefox 8 support for [http://community.norton.com/t5/Norton-360/Firefox-8-Support-for-Norton-Toolbar/td-p/581640 Norton Toolbar] was released on Nov 8th. Install the appropriate add-ons based on the version of Norton 360 you're using (see official Norton link above). Hope this helps.

  • I just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please

    i just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please

    Hey I've been all over and can't get any help. I'm well aware its not an Apple product but its an app for Mac OS so I thought I'd try here. I bought 2 new iMacs yesterday for my parents (5K) and I'm just trying to get them some help as there in their 70's and AOL is all they know.
    But hey thanks for your help,

  • My iPhone is using my work email to sign in to the cloud, but my apple id and password are with my "personal" email address.  I can't get rid of my "work" email address on my iPhone 4S

    My iPhone is using my work email to sign in to the cloud, but my apple id and password are with my "personal" email address.  I can't get rid of my "work" email address on my iPhone 4S

    Hi Sister Kate,
    If you change the Apple ID you are using on an iPhone or other iOS device, there are several places you need to change it on the device. See this article -
    Apple ID: What to do after you change your Apple ID
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the Component and Audio ports on my TV?

    I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the MacBook Pro and connected to the TVs Component and Audio in ports.

    Will not work.  To my knowledge, dual converting like that isn't supported.  The Mac must detect the connected video output device and that sort of info cannot be done across an analog component uni-directional connection.

  • How do I Get My Router to Work With iChat ? FAQ 2

    Replaces iCh: FAQ 2 How to get my router to work with iChat?
    Getting your router started with iChat.
    Appropriate for using iChatAV 2 upwards
    Glossary for this FAQ
    Routers: Any configurable device that sits between your computer and the internet link you have.
    Routers seem to fall into two categories
    Those that work straight from the box. See Apple Doc 93333
    NOTE
    This Doc has not been updated since Jan 04
    and those that do not.
    This post will deal with what you may need to look at.
    First off make sure your device is acting as a DHCP server. (if you are already on the internet you may not have to bother with this.)
    Check in the Network Preference Pane, in the "Built in Ethernet" option from the "Show" drop down list.
    Make sure the TCP/IP tab is the 'front' one. You should be able to see Configure IPv4 and it most likely reads Using DCHP. Make a note of your IP address. It will start 10.xxx.xxx.xxx or 192.168.xxx.xxx (the 'x' s will stand for any number between 1 and 255).
    Your router is most likely to be configurable from your browser. You will need to find the IP address to type into the browser from any Readme or PDF files that came on the install disk or visit the makers website and download a manual.
    DMZ Demilitarised Zone
    This is a less secure setting that basically opens all ports and points the incoming data to your computer. (not helpful if you have more than one computer on your LAN)
    NAT Sometimes called NAPT and related to Port Forwarding (also Virtual Server or Pin Holes)
    These settings are usually found in an Advanced setting.
    You will need to set an incoming IP address (Usually 0.0.0.0 for any outside server), a port that data will arrive on, the Inside computers IP address (your computer) and the port it will deal with the data on and the protocol it will use.
    iChat uses TCP and UDP so some devices will need the settings done twice, once for each protocol.
    See Apple Doc 93208 for more information.
    Note:
    Note 1 should read:
    1. All iChat AV traffic is UDP except for ports 5190 and 5298, which need to be open for both TCP and UDP; and 5220, 5222, which need to be open for TCP only.
    UPnP Universal Plug n Play.
    This is a simple Plug and Play type of setting. iChat can find it's own way through a router if the device has this capability.
    Trigger Ports
    Some devices offer a security measure that works by a first or trigger port receiving a data packet and then opening further ports when accepted.
    The first port for incoming Video or Audio invites is port 5678. When you click on the invite window the process moves to port 5060 (so these will need to be opened by the trigger port) for negotiating the final group of ports from the group of 20 (16384-16403 These will need to open when the trigger says so as well). Therefore port 5678 triggers ports 5678, 5060, 16384-16403. All on UDP. Port 5190 neeeds to trigger port 5190 for both TCP and UDP
    Wireless
    Here you will have to read around but this Apple Doc 58514 might be a good starting place.
    Multiple devices
    Make sure only one is acting as a DHCP server. Make sure wireless devices are bridged properly.
    Further Help
    I have found that this site (ADSLGuide) to be helpful.
    It is British based but I have linked you to the Apple Related Discussions Forum.
    Eliminating Problems on my Personal web pages.
    The ports and their function within iChat. (my pesonal Web pages again)
    This is not a step by step approach. You will have to read around the information about your device.
    Collected FAQs and Expansions: Index Page
    Also http://www.portforward.com/routers.htm for instructions with Pics on Port Forwarding.
    Ralph
    G4 Dual 1Ghz MDD with extra HDs X3. Mac OS X (10.4.3) Have you read the iChat FAQs ?? They have moved to Users Tips

    Replaces iCh: FAQ 2 How to get my router to work with iChat?
    Getting your router started with iChat.
    Appropriate for using iChatAV 2 upwards
    Glossary for this FAQ
    Routers: Any configurable device that sits between your computer and the internet link you have.
    Routers seem to fall into two categories
    Those that work straight from the box. See Apple Doc 93333
    NOTE :This Doc has not been updated since Jan 04
    and those that do not.
    This post will deal with what you may need to look at.
    First off make sure your device is acting as a DHCP server. (if you are already on the internet you may not have to bother with this.)
    Check in the Network Preference Pane, in the "Built in Ethernet" option from the "Show" drop down list.
    Make sure the TCP/IP tab is the 'front' one. You should be able to see Configure IPv4 and it most likely reads Using DCHP. Make a note of your IP address. It will start 10.xxx.xxx.xxx or 192.168.xxx.xxx (the 'x' s will stand for any number between 1 and 255). The range 172.16.xxx.xxx is also a possible value at this point. Rarely used, but it is part of the RFC for Address Allocation for Private Internets.
    Your router is most likely to be configurable from your browser. You will need to find the IP address to type into the browser from any Readme or PDF files that came on the install disk or visit the makers website and download a manual.
    DMZ Demilitarised Zone
    This is a less secure setting that basically opens all ports and points the incoming data to your computer. (not helpful if you have more than one computer on your LAN)
    NAT Sometimes called NAPT and related to Port Forwarding (also Virtual Server or Pin Holes)
    These settings are usually found in an Advanced setting.
    You will need to set an incoming IP address (Usually 0.0.0.0 for any outside server), a port that data will arrive on, the Inside computers IP address (your computer) and the port it will deal with the data on and the protocol it will use.
    iChat uses TCP and UDP so some devices will need the settings done twice, once for each protocol.
    See Apple Doc 93208 for more information.
    Note:
    Note 1 should read:
    1. All iChat AV traffic is UDP except for ports 5190 and 5298, which need to be open for both TCP and UDP; and 5220, 5222, which need to be open for TCP only.
    UPnP Universal Plug n Play.
    This is a simple Plug and Play type of setting. iChat can find it's own way through a router if the device has this capability.
    Trigger Ports
    Some devices offer a security measure that works by a first or trigger port receiving a data packet and then opening further ports when accepted.
    The first port for incoming Video or Audio invites is port 5678. When you click on the invite window the process moves to port 5060 (so these will need to be opened by the trigger port) for negotiating the final group of ports from the group of 20 (16384-16403 These will need to open when the trigger says so as well). Therefore port 5678 triggers ports 5678, 5060, 16384-16403. All on UDP. Port 5190 neeeds to trigger port 5190 for both TCP and UDP
    Wireless
    Here you will have to read around but this Apple Doc 58514 might be a good starting place.
    Multiple devices
    Make sure only one is acting as a DHCP server. Make sure wireless devices are bridged properly.
    Further Help
    I have found that this site (ADSLGuide) to be helpful.
    It is British based but I have linked you to the Apple Related Discussions Forum.
    Eliminating Problems on my Personal web pages.
    The ports and their function within iChat. (my pesonal Web pages again)
    This is not a step by step approach. You will have to read around the information about your device.
    Collected FAQs and Expansions: Index Page
    Also http://www.portforward.com/routers.htm for instructions with Pics on Port Forwarding.
    With thanks to Macmuse.
    Ralph
    G4 Dual 1Ghz MDD with extra HDs X3. Mac OS X (10.4.3) Have you read the iChat FAQs ?? They have moved to Users Tips<</a>/span>

  • Hi, I have a problem with getting my apple Id working for me. It's been 2 months since it happened and Apple failed to act. I can tell my story proerly, but am not sure, you guys can help, so I just copy my message to them today, I am trying to get it acr

    Hi, I have a problem with getting my apple Id working for me. It's been 2 months since it happened and Apple failed to act. I can tell my story proerly, but am not sure, you guys can help, so I just copy my message to them today, I am trying to get it across all the places around to pay their attention. This is a desperate move, so if you are not the right people to help me to get my message accross, may be you can advise where can I go.
    Thank you, and sorry for the language.
    Vitas Dijokas
    I am sorry to say that, but your security makes my life miserable – it’s been 2 months since my Apple ID account got stuck, and since then I cannot update 37 applications (to date), i.e. most of my applications. Half of them I bought. I also paid for iCloud, and it is not working. I paid money and I am stuck with old applications and no iCloud. Your security *****. Your service ***** too. It took your service 1 month to finally understand why this happened to me, and it took me tens of emails to you and 3 hours of telephone conversation to find out the reason for my problem. And the problem is still not fixed. NOT FIXED. You just leave your customer – the one who paid you money and spent so much time with you trying to help you help me – and nothing. You tell me:  “Vitas, Stick your stinky iphone in your *** and enjoy life, we do not care!” *************.
    It is ******* outrageous, and you should know that,  guys. Get into the ******* database and correct the bug. Get someone in the partners-telephone carriers company (it is Orange as carreer and Cellcom as seller of the phone)  authorized to Identify me in personal encounter in one of the branches in Israel (where I live) and make sure it is really me, and get the ******* system accept my password and let me use my phone.
    Otherwise **** off. None of my friends will get my advise to buy an iphone or any of apple products. And I think you should be very attentive to cases like this, guys. Do your work for the money we pay, or disappear. There are many others eager to take your place, and if the problem is not fixed I will eventually go to the others. My patience is lost, and as soon as I can afford another phone I will change it. AND I WILL TRY TO GIVE BAAAAAD PUBLICITY TO APPLE – I am threatening here, so ACT NOW.
    Vitas Dijokas

    Well, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, when my tabs were still in place. I replaced the sessionstore in mozilla's default folder with the renamed file and then started mozilla. And the tabs reappeared as they were 3 days ago!
    So there goes the tab problem. But again when I started mozilla the window saying "a script has stopped responding" appeared, this time the script being: chrome//browser/contenttabbrowser.xml2542
    If someone knows how to fix this and make firefox launch normally, please reply! Thank you

  • Can't get external monitor to work

    I've used a Mac laptop for the last 8 years, finally decided to get an external monitor for home use.
    I purchased a 25" Hanns-G HZ251. It's not working as I would expect it to work. I've got a standard DVI connection on my older MacBook Pro so I'm connecting via a DVI to DVI cable.
    The only way I can get the monitor to display what is actually on my laptop is to have my laptop open and mirroring turned on. I thought I could have my laptop shut and the monitor would still work when connected, but when I shut my laptop it just goes black.
    If I leave my laptop open but turn mirroring off, I get the generic purple Mac desktop, not my desktop.
    What am I doing wrong?
    There's an install CD that comes with it, but that only runs on a Windows machine. I appreciate any advice, I'm fairly technically handy but this is my first foray into using external monitors, so I'm definitely struggling to figure this out. Thanks.

    conejo61 wrote:
    Yes, it's connected to the power adaptor and I have an external trackball and keyboard.
    You will have to keep them both open and play around with monitor settings until you get them both working. Keep doing "Gather windows" in System Preferences to get the display preferences window for the 2nd monitor and change it each time it doesn't display anything.
    I don't know what it means "you will have to set it".
    You have to set the desktop for the additional screen. Once you get closed clamshell to work, the external monitor will be your primary screen and you won't have to worry about it.

  • Can't get 'clamshell' mode to work with Dell 2408

    I have been trying to get my Dell 2408 working in clamshell mode without any success. I have a USB keyboard, USB mouse, power adapter and monitor via DVI plugged in. I switch the display type to mirror, close the lid, wait for it to sleep, then wake it again by pressing a key on the keyboard.
    The computer wakes, the external monitor flashes but at the incorrect resolution (1200 X 800 instead of 1920 X 1200) then goes back to sleep. This will repeat over and over again until I open the lid of the macbook. I can occasionally get the macbook to wake and display on the eternal monitor but this is very rare, and when it does I get some wired artifacts.
    What's really puzzling is that the monitor works flawlessly in extended desktop mode, and works perfectly with other non mac computers. I took the macbook to the Genius Bar, hooked it up to the apple cinema displays and i didn't get the same problem! Grrr....
    So I just don't get it, both the computer and display seemingly work fine independently from one another, work fine in extended mode, yet in clamshell mode have some fairly major issues.
    Anyone have any ideas?

    My dell 2408 arrived today and I'm having exactly the same problem.I cant get it to go into clamshell mode. I lie, I got it to go into clamshell mode once. I don't know what I did. But it certainly isn't willing to go into clamshell mode again any time soon.

Maybe you are looking for