Spry question from within DW CS3

I am using some basic Spry to validate a email address. Page
is at
www.salleboise.com/contact.cfm
I would have thought that Spry wouldn't allow the form to be
submitted if
the validation fails, but it does. In that case, what is the
checkbox in
the properties that says 'submit' used for?

Hello,
The ColdFusion dedicated tags cfform and cfinput are
injecting in the final HTML + JS code that is sent to the browser
some code that you don't see when you design the page. When you do
a source view in the browser you can notice that JavaScript files,
functions and functionalities appear in your page but in the CF
source they aren't present.
Unfortunately this injection of code is interfering with the
code from Spry you use. As deejayMK already told you the onsubmit
Spry Validation Widget is overwritten and the validation widgets
are not working. In this situation 2 possible solutions exists:
1. You can give up to the cfform tag usage if you don't use
anything from this tag functionalities and switch back to the
standard <form> tag from HTML.
2. Add to your page a code that will also register back the
Spry Validation Widgets to the form submit event. For this action
you should add an unique id first to your form. Than you'll have to
add bellow all widgets definition in your page and outside the form
tag the following JS code:
<script type="text/javascript">
var theForm = document.getElementById('theFormId');
Spry.Widget.Utils.addEventListener( theForm, "submit",
function(){return Spry.Widget.Form.validate(theForm);}, false);
</script>
Regards,
Cristian MARIN

Similar Messages

  • A Dumb Question From A New CS3 User

    I am in the process of building a new site using CS3. This is
    my first experience with this product and I have what I am sure is
    a remarkably dumb question. I have an image (a banner ad) centered
    on one of the pages and would like to insert a table to the left of
    the image without the image moving (i.e. down) from it's current
    location. How can this be done?
    Thanks!

    Thanks!
    That worked perfectly.
    quote:
    Originally posted by:
    Newsgroup User
    Hi Big,
    >I am in the process of building a new site using CS3.
    This is my first
    > experience with this product and I have what I am sure
    is a remarkably
    > dumb
    > question. I have an image (a banner ad) centered on one
    of the pages and
    > would
    > like to insert a table to the left of the image without
    the image moving
    > (i.e.
    > down) from it's current location. How can this be done?
    An easy way is to make your table with two cells, then put
    the banner in the
    right cell - if you need more subdivison of the left cell,
    you can put a
    table in it.
    Aloha,
    Jerry

  • Simply cannot open file from within Illustrator CS3

    When working in CS3 in 10.5.8 I go to open file and select a document nothing happens. It is as if I did not attempt the command. This just began happening about a week ago. I've been on CS3 for over 2 years. In order to open each file - I must locate the file in its folder and double click on it to open the file. However going to open recent files does work. I have tried re-launching Illustrator by holding down the Shif/Option/Cmmd to refresh the prefs but that did not work. Any ideas? thanks.

    Mike Gondek2 wrote:
    Good job on your troubleshooting so far. Answer could be in the OS rather than within Illustrator. Try running Applications>> Utilities >> Disk Utility and fixing the permissions.
    Mike has the probably cause of this if repairing the permissions with the disk utility does not work do not give up on this procedure.
    You can do it manually in case the disk utility over looks this folder.
    Control or right click on the folder where these files are and then go to get info and where it says Ownership and Permissions  check to see if all the users listed have permission to use the contents of the folder, it will say read/write.
    This can also be true for specific files and for directors higher up like folder for a client that contains these other folders,or partition of a drive which contains the folders and parent folders as well as for an entire hard drive so you have to check the entire hierarchy on occasion. If it is a foder or higher directory there is the option oncce you set the permissionfor the directory to have it apply to all files and directories contained within.
    Mike's advice and the folder are fine then it might be a corrupt settings folder. So you can try this as well.
    1. Quit Illustrator.
    2.Go to User/username/Library/Preferences/ Adobe illustrator CS4 Settings and trash the settings folder, the whole folder not just the contents of the folder..
    3. Start Illustrator. Illustrator creates a new preferences file.

  • Firefox 3.6.13 will not open as the browser to view web pages from within Dreamweaver CS3

    I build websites with Dreamweaver CS3. I am operating on Mac OS 10.4.11 using Firefox 3.6.13 - The problem began on the last software update. I like to use Firefox instead of Safari. Up to the point where I upgraded, I never had a problem but now, when I go to preview/debug in browser, Firefox loads but it goes no farther than my home page ... it will not load the Dreamweaver page preview. Safari works fine. So I think there may be a problem loading 3.6.13 past the startup page.

    Here's the fix. Dump Firefox 3.6.13 and Re-Install Firefox 3.5.16. Problem solved.

  • Unable to open CS3 Files from within the application

    Good Afternoon
    I work as IT Support for company looking after 10 ADOBE Creative Suite 3 end-users.
    One of my colleagues is unable to open Illustrator or Photoshop files from within their respective applications, but she is able to open them from outside ok.
    I have reinstalled ADOBE CS3 and this appeared to resolve the issue, only for it to return again a day later.
    She has no other applications or processes running during her attempt to open a file from within CS3.
    She will click on Open and the 'Open File' window will flash up for a split second, then the whole application will be frozen. It is as if the 'Open File' window is there, but isnt there because we cant click on it, but the application thinks it is displaying and so she can not click on anything else. The only way to close the application is to end the process under Task Manager.
    While I am sitting here tearing what little amount of hair I have on my head, can anyone point me in the right direction?
    Is this a Windows problem or an ADOBE problem do you think?
    I look forward to any replies.
    Thank you

    Hi Bob
    Ok...
    Opened illustrator but was unable to open the 'Open File' window.
    Changed the screen resolution, it suddenly worked!
    Changed the screen resolution back to as it was before, it also worked.
    What could cause this do you think?
    By simply changing the screen resolution and back again, the 'Open File' window displayed itself.
    Very bizarre!

  • I can not purchase from within the application clash of clans where necessary to answer the security questions that forgot their answers please help thank you

    I can not purchase from within the application clash of clans where necessary to answer the security questions that forgot their answers please help thank you

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then see if this user tip helps : https://discussions.apple.com/docs/DOC-4551
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then try Apple ID Account Security
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
    When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Upgrade question from CS3 to CS5.5?

    I am having to reinstall software after a hard disk problem. After installing from my original CS3 disk, everything installed properly EXCEPT photoshop. It failed. I have uninstalled and reinstalled several times, and photoshop fails every time. All the other programs - Illustrator, Indesign, Bridge, etc work great. I figured something was corrupted on the disk. Since I had the same CS3 also on a laptop, I tried copying the photoshop files to a flashdrive and copy them to my computer. Now I can get to the registration screen for photoshop, but when I put the serial number in for the CS3, I get a red X. I gave up at this point, and ordered the upgrade to CS5.5. Now, I am wondering, will the upgrade work if photoshop is not working? I just received CS5.5 Upgrade in the mail, but I am afraid to open it and void the possibility of a return, if the upgrade needs a working version of photoshop.
    Does anyone know if I all the components of CS3 have to be working in order to upgrade? Will the CS5.5 upgrade photoshop fail if the CS3 photoshop failed to install?

    If you registered, sign into your Adobe account and your serial number will be available there. If you didn’t and you still have it installed you can find it this way:
    http://indesignsecrets.com/help-ive-lost-my-serial-number.php
    If the answer to both is no, you’ve got a big problem on your hands and you’ve learned why you should always register your software.
    Bob

  • Help with Spry Rating Widget within a Spry Repeating Region

    My link  http://www.youthinkyougotitbad.com
    This is a long question, but it seems to me if answered somewhere it could help alot of people in the spry community creating comment boards as it uses three important spry widgets: rating, repeating, and tabbed panels. I am trying to use spry rating widget within a spry repeating region within a spry tabbed panel with xml. I was trying to go with the pulse light script (http://forums.adobe.com/message/3831721#3831721) but Gramps told me about the spry rating widget. But I have ran into a couple more problems. First, I couldnt find that much information on the forums or online about how to do the php page with the spry rating widget. None of these have any information on how to do it:
    http://labs.adobe.com/technologies/spry/articles/rating_overview/index .html
    http://labs.adobe.com/technologies/spry/articles/data_api/apis/rating. html
    http://labs.adobe.com/technologies/spry/samples/rating/RatingSample.ht ml
    And it seems that the official examples are so poor (or I am just ignorant, which def could be a possiblity) it shows
    to set the initial rating value from the server, but uses a static value of 4
    http://labs.adobe.com/technologies/spry/samples/rating/RatingSample.html
    <span id="initialValue_dynamic" class="ratingContainer">
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>      
             <input id="spryrating1_val" type="text" name="spryrating1" value="4" readonly="readonly" />
             <span class="ratingRatedMsg sample">Thanks for your rating!</span>
    </span>
    <script>
    var initialValue_dynamic = new Spry.Widget.Rating("initialValue_dynamic", {ratingValueElement:'spryrating1_val'});
    </script>
    I finally found a site that has the php and mysql setup.
    http://www.pixelplant.ro/en/articles/article-detail/article/adobe-widgets-for-download.htm l
    But its not perfect. It has the same problem that I ran into with Pulse light, that you had to use php echo within the spry repeating region to set the initial value from the server:
    <span id="spryrating1" class="ratingContainer">
             <span class="ratingButton"></span>
                <input type="text" id="ratingValue" name="dynamic_rate" value="<?php echo $row['average']?>"/>
            </span>
            <script type="text/javascript"
                var rating1 = new Spry.Widget.Rating("spryrating1", {ratingValueElement:'ratingValue', afterRating:'serverValue', saveUrl: 'save.php?id=spryrating1&val=@@ratingValue@@'});
            </script>
    So instead, I tried with three of my panels (www.youthinkyougotitbad.com) to get the average rating from xml by using the following queries:
    Recent
    Returns the blurts in most recent order along with average rating
    SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt Group By Id_blurt ORDER BY Blurt.`Date` DESC
    Wet Eyed
    Returns the blurts in highest ratings order along with the average rating
    SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt, DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt AND ratings.rating_value > 0.1 Group By Id_blurt ORDER BY average_r Desc
    Dry Eyed
    Returns the blurts in lowest rating order along with the average rating
    SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt, DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt AND ratings.rating_value > 0.1 Group By Id_blurt ORDER BY average_r
    These all return the correct xml in the correct order.And they return the average rating of each blurt which I can send to my page with xml.
    My first question is that I dont know how to configure the query on my fourth panel Empathized & Advised the same way because it already has a Group By for the Comment Id.
    SELECT `Comment`.id_Blurt, COUNT(*) as frequency, Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt, DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date FROM Blurt, `Comment` WHERE Blurt.Id_blurt = `Comment`.id_Blurt GROUP BY `Comment`.id_Blurt ORDER BY COUNT(*) DESC";
    Not sure if you guys need more information to understand that all, if so just ask.
    So after I get my average value through xml to the first three panels, I set my spry repeating region up like this:
    (Blurt panel)
    <div spry:region="pv1" spry:repeatchildren="pv1">           
               <div class="blurtbox">
                <!--  most recent blurt tab-->
                <h3> "{pv1::Blurt}"</h3>
                <p> Blurted from {pv1::Location} at {pv1::Date}</p>
                <p>Empathize or Advise about {pv1::Name}'s Blurt #<a href="detailblurt.php?blurtid={pv1::Id_blurt}"> {pv1::Id_blurt}</a></a></p>
               <span id="{pv1::Id_blurt}" class="ratingContainer">
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingRatedMsg">Thank You! Your tears have been tallied.</span>
                <input type="text" id="ratingValue" name="dynamic_rate" value="{pv1::average_r}"/>
            </span>
            <script type="text/javascript">
                // overview of available options and their values:
                // http://labs.adobe.com/technologies/spry/articles/rating_overview/index.html
                var rating1 = new Spry.Widget.Rating("{pv1::Id_blurt}", {ratingValueElement:'ratingValue', afterRating:'serverValue', saveUrl: 'save.php?id={pv1::Id_blurt}&val=@@ratingValue@@'});
            </script>
                 <br/>
               </div>
              </div>
    Ok, it registers the right vote in the database with the right blurt id each time. But I am having two problems so far:
    One, even though {pv1::average_r} returns the correct average through xml, it doesn't show the initial rating value for each of the repeating blurts. It seems to show the first one correct, and then just repeat that same value to the other ones that follow. I just dont understand since it can get the correct server value right after you vote (afterRating:'serverValue), that I can't manipulate spryrating.js in some way that I could just replace 'ratingValue' in ratingValueElement:'ratingValue' with something to give me the initial server value.
    Two: Is even more mysterious to me, if you play around with voting on the site, sometimes you are unable to vote on different blurts. Its weird. It seems like that the javascript is completely off just on those blurts. And sometimes its a whole row, sometimes none. But so far its never a problem on the first tabbed panel (Recent), only on the other three. As far as I know, the coding is exactly the same in each tab's repeating region except for the different xml input.
    And, now on the live server, sometimes the pics of tears used to voting dont show up until you click.
    Any help on those three questions (how to query the fourth panel, how to show the initial server value, and the glitches with voting) would be greatly appreciated!! I looked pretty hard on adobe forums and other sites, and didnt see much on how to really use the spry rating widget with php and xml.
    Thanks!!

    Update:
    Ok, the first query on the Recent tab doesnt work for me because it wont show unless its already voted, and since these are supposed to be new blurts, that kind of breaks the whole site:
    "SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt Group By Id_blurt ORDER BY Blurt.`Date` DESC";
    So I replaced it with what I originally had.
    "SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date FROM Blurt ORDER BY Blurt.`Date` DESC";
    But this doesn't provide me with the initial average rating:(

  • Data Model damaged, Cannot connect to Access 2013 from within Excel 2013

    Hello,
    Recently I am not able to use PowerPivot for Excel 2013 and I cannot connect to my Access 2013 database tables from within Excel 2013. Whenever I try to click on a slicer in my Excel worksheet, it gives me the following error: "Excel was unable to load
    a necessary component. This component might have been damaged or deleted. Reinstall the client software or data source driver software for your database."
    I am using Microsoft Office Pro Plus 2013 on Windows 7, 64-bit version. I have tried reinstalling Microsoft SQL Compact Edition 2005 and reinstalling Office 2013. I have run out of ideas and am a loss what to do next ? 
    Can anyone help point in the right direction for a possible solution to this problem ??? 
    Would appreciate all help.
    Thank you.
    ~Maneesh
    The problem with being punctual is, there's nobody there to appreciate it !!!

    Hi
    This is the forum to discuss questions about apps for office develop. For your question is more about Excel, I will move this thread to the TechNet forum for
    Excel
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly
    can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I forward to an external URL from within a DataAction?

    This is a very simple question I'd guess -- but what I thought was the obvious answer turned out not to be. Keep in mind I am using struts, and the URL is constructed dynamically, so I cannot place a struts forward action in the struts-config.xml file. Here is what I tried from within my DataAction's prepareModel() method:
    actionContext.setActionForward(newURL);
    actionContext.setRedirect(true);
    This didn't work -- nothing happened. Anyone have any ideas?
    Brad

    In our application, we had a forward named Cancel, but for it to work properly we wanted a Redirect to occur to another page. The redirect was not working until we created a new actionforward and set th action forward to it as seen below. You can't programmatically change the forwards at runtime without error, from what I remember.
    DataActionMapping mapping = ctx.getActionMapping();
    ActionForward af = mapping.findForward("Cancel");
    ActionForward afNew = new ActionForward();
    afNew.setPath(ctx.getHttpServletRequest().getSession().getServletContext().getInitParameter("rootURL") + af.getPath());
    afNew.setRedirect(true);
    ctx.setActionForward(afNew);

  • Is there any downside to using a reference type library if I use Time Capsule and will do file management only from within Aperture?

    Have done a lot of reading to get prepared to convert to Aperture 3 and have this question regarding setting up my library type.
    I'm not a professional -just a heavy user hobbyist.
    It appears that the major factors in using reference style is to backup the images with Time Capsule and always do moves or deletes from within the Aperture application.
    If my architecture matters here's what I have that may be involved in photo management and editing:
    iMac (latest 27" high power version with lots of memory)
    Internal 2TB HD where the library is stored
    External (FireWire) 2TB HD where the images are stored
    External (FireWire) 6TB HD backup drive
    In the future an iPad for remote work on images (when/if available) and a Mac laptop (for same remote use)
    I see major downside issues to letting the library manage my files - such as inaccessibility (or awkward accessibility) to the images for other programs, and performance issues when the library gets large (thousands of images or 100+ gb in size)
    The chief complaints I've seen regarding using a reference mode is the broken link issues created if file management is done outside of Aperture (adds, deletes, moves of files) and the inability to use the Vault function for backup.
    One feature that I imagine I'd like to have is maximum integration with Final Cut Pro X and that's one area I haven't seen much on and would be interested to hear about if that integration is affected with the choice of managed vs referenced library types. (I like to produce film clips that are combinations of pics and video and want to be set up so that is done in the easiest fashion when working in FCP X)
    I'm sure I've not seen all sides of this issue and would like to see some discussion around this question.
    Thanks to everyone contributing!
    Craig

    Goody, Goody, you hit a few of my favorite subjects! Herewith some comments, with the usual caveats - true to the best of my knowledge and experience, others may have different results, YMMV, and I could be wrong.
    I run Aperture on two machines:
    -- 2007 Mac Pro with 2x2.66 GHz Xeon, 21 GB of RAM, a 5770 GPU, and multiple HD. I have about 11,000 images, taking up 150 GB. (Many are 100 MB TIFF, scanned slides)
    -- 2006 Mac Book Pro with 1 2.0 GHz Core Duo, 2 GB of RAM and a 240 GB SSD.
    Two very different machines.
    -- Aperture Libraries are all the same - Managed or Referenced. If Managed, then the Master image files are inside the Package, if Referenced, they are outside, and you can have any combination you want. Managed is easier, but Referenced is not hard if you are the least bit careful.
    -- While the sheer size of an Aperture Library is not a big issue, the location on disk of the different components can have a tremendous impact on performance.
    -- Solid State Drives (SSD) read and write faster than regular Hard Disks (HD) and, what is more important, empty HD read and write much faster than full HD.
    -- Aperture speed requires a combination of RAM, CPU, graphics processing unit (GPU) speed, and disk speed. The more RAM you have, the less paging you will see. With enough RAM, the next bottle neck is CPU (speed and cores) and GPU speed. But even then you will still have to fetch an image (longer if you pull the full resolution Master, read and rewrite the Version file, and update the Preview and Thumbs.
    So what works?
    -- RAM, RAM, and more RAM. 4 GB will work, but you will page a bit. 8 GB is much faster. On my old MacPro the sweet spot was about 16 GB of RAM.
    -- Keep your Library on your fastest (usually internal) drive. Keep that disk as unloaded as possible. How do you keep it unloaded? Either buy BIG, 1 TB+ or move your Masters off onto another disk. The good news here is that as Master files are written only once and never rewritten, speed of this disk, as opposed to the disk that holds the Library, is not important. There is a one second pause as the Master is read into memory and, if you have enough RAM, that is it - the Master will never be paged out. If, on the other hand, you do not have enough RAM, and you do a lot of adjusting at full resolution, then the speed of the disk that holds your Masters will become very important due to paging.
    -- I found that I picked up a tiny bit of speed by keeping the Masters on a dedicated disk. Thus, in your configuration, if you can dedicate that 2 TB FW HD to your Masters, you should see very nice performance.
    Final notes on backups and archives:
    -- One conventional wisdom is that you should make an archive copy of every image file before or as you load them into your system. (Aperture in this case.) This archive is then never touched or deleted.
    -- An alternative approach is that you do not keep such an archive, but only the images that you have in your Aperture Library. And when you delete from the Library, you no longer keep a copy anywhere.
    I do the following:
    -- Card to Aperture. Card is then kept at least 24 hours until all of my backups have run. (I use three - Time Machine, Clone, and off site.)
    -- I do not keep archive copies. If I decide to delete a file, my only recourse is to recover it from Time Machine during the six month cycle of my Time Machine backups. Thereafter, it is lost.
    There are merits to both approaches.
    Hope this is clear, correct, and responsive to your needs.
    DiploStrat

  • Timecapsule - opening files from within an application!!

    I have a time capsule... 500Mb
    I have an airport extreme with external hard drive - 250 Mb.
    Through Finder, I can place files on either of these drives and open them from Finder.
    If I open Numbers, or Pages, then try to open any file on Timecapsule, it appears that there are no files
    If I open Number, or Pages, then try to open any file on the Airport Extreme external disk - it works!
    Simple question really.... why cannot I see or open any file from within an application that resides on Timecapsule?? It's driving me crazy!!!
    Message was edited by: GrahamDurkin

    File dialogs have the ability to "group" items, which prohibits you from changing sort options.  The group icon looks like six little squares.  Click on it and instead of grouping by date, group by "none" and then you can change sort orders.

  • 8 questions from new owner of Satellite Pro L300

    Hello all forum users!
    I bought a new Toshiba laptop, the Satellite Pro L300, and have until 14 January to test it - if it looks like it isn't working properly I'll return it to the store where I purchased it.
    Here's a list of questions I have:
    1. Every time I turn on the laptop or it comes out of suspended or hibernation mode, and when I turn it off, the cd/dvd drive makes a loud mechanical clunky noise.
    It sounds to me like the carriage that carries the laser and optics is running into a mechanical stop.
    Is this normal?
    2. There is one hot subpixel on the display (blue) and according to the Toshiba info in the box, this is normal and is not cause for return.
    Should I be concerned about this?
    3. When I run the memory test at system boot, it states that it will start windows automatically at test termination, and show me the results of the test.
    It runs the test, starts Vista, but I don't see any results report.
    Where do I find this report?
    Is there a known problem with this test?
    4. The Toshiba utility program to perform diagnostics from within Vista does not work. Every time I run the test (PCdiag.exe) I get a Vista error message saying a fault was found in KERNEL32.dll.
    Where can I get a fix for this?
    I've already installed the updated files on Toshiba's web site for the 'Value Added Pack', which is where this utility is located, but still get the error message.
    5. I would like to access the bios settings at boot, but haven't found the way to do it yet.
    F2 gives me a menu for memory test or normal system boot.
    Esc doesn't get me into bios setup either.
    There is a Toshiba bios utility I can run from Vista, and from what I see any bios firmware upgrades are also to be done through Vista.
    Is there a way to access bios at boot?
    6. I would like to run XP on this system and understood that this model (Pro L300 PSLB1E) was XP compatible, and that I should be able to download all drivers from Toshiba to run on XP.
    Has anyone done this?
    7. The laptop installed and configured Vista basic when I did the first power on, but the license sticker on the bottom of the laptop has a product key for 'Vista Business OEMAct'. I was sold this laptop as having Vista Business with the option to downgrade to XP Pro. The box didn't come with any cds or dvds, and no manuals explaining how to install Vista Business.
    This is enough reason to return the laptop to the store where I bought it, which is a hassle I would prefer to avoid if I can install Vista Business.
    Can anyone help me understand what is happening here?
    8. Is there a way to contact technical support by email?
    Thanks in advance to anybody that can answer any of the above questions!

    > 1. Every time I turn on the laptop or it comes out of suspended or hibernation mode, and when I turn it off, the cd/dvd drive makes a loud mechanical clunky noise.
    My CD/DVD drives make similar noise too from time to time. Not always but sometimes. I think this appears because the drives laser lens calibrates in the right position.
    > 2. There is one hot subpixel on the display (blue) and according to the Toshiba info in the box, this is normal and is not cause for return.
    Well, you need an certain amount of dead pixels to get a screen replacement
    Please check this FAQ:
    http://aps2.toshiba-tro.de/kb0/TSB5400ZD0002R01.htm
    > 3. When I run the memory test at system boot, it states that it will start windows automatically at test termination, and show me the results of the test.
    There is no problem. I believe you mean the memory test while POST (power on self test). If there would be a memory fault then your notebook would not boot up properly.
    > 4. The Toshiba utility program to perform diagnostics from within Vista does not work. Every time I run the test (PCdiag.exe) I get a Vista error message saying a fault was found in KERNEL32.dll.
    Hmm the Value Added Package contains the PC diagnostic tool for Vista. I would recommend removing the old VAP and reinstalling the new downloaded from the page.
    > 5. I would like to access the bios settings at boot, but haven't found the way to do it yet. F2 gives me a menu for memory test or normal system boot. Esc doesn't get me into bios setup either. There is a Toshiba bios utility I can run from Vista, and from what I see any bios firmware upgrades are also to be done through Vista.
    The notebook seems to use the Phoenix BIOS and therefore pressing the F2 button should enable the BIOS. Press the F2 immediately after notebook has been powered up.
    > 6. I would like to run XP on this system and understood that this model (Pro L300 PSLB1E) was XP compatible, and that I should be able to download all drivers from Toshiba to run on XP.
    Such XP drivers are placed on the Toshiba European page.
    >7. The laptop installed and configured Vista basic when I did the first power on, but the license sticker on the bottom of the laptop has a product key for 'Vista Business OEMAct'. I was sold this laptop as having Vista Business with the option to downgrade to XP Pro. The box didn't come with any cds or dvds, and no manuals explaining how to install Vista Business.
    Never hear that this notebook would be delivered with Vista business As far as I know this series has been preinstalled with Vista Home Premium
    > 8. Is there a way to contact technical support by email?
    If you have some problems with your notebook you can contact your ASP in your country.

  • How to call methods from within run()

    Seems like this must be a common question, but I cannot for the life of me, find the appropriate topic. So apologies ahead of time if this is a repeat.
    I have code like the following:
    public class MainClass implements Runnable {
    public static void main(String args[]) {
    Thread t = new Thread(new MainClass());
    t.start();
    public void run() {
    if (condition)
    doSomethingIntensive();
    else
    doSomethingElseIntensive();
    System.out.println("I want this to print ONLY AFTER the method call finishes, but I'm printed before either 'Intensive' method call completes.");
    private void doSomethingIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    private void doSomethingElseIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    }Question: how do you call methods from within run() and still have it be sequential execution? It seems that a method call within run() creates a new thread just for the method. BUT, this isn't true, because the Thread.currentThread().getName() names are the same instead run() and the "intensive" methods. So, it's not like I can pause one until the method completes because they're the same thread! (I've tried this.)
    So, moral of the story, is there no breaking down a thread's execution into methods? Does all your thread code have to be within the run() method, even if it's 1000 lines? Seems like this wouldn't be the case, but can't get it to work otherwise.
    Thanks all!!!

    I (think I) understand the basics.. what I'm confused
    about is whether the methods are synced on the class
    type or a class instance?The short answer is; the instance for non-static methods, and the class for static methods, although it would be more accurate to say against the instance of the Class for static methods.
    The locking associated with the "sychronized" keyword is all based around an entity called a "monitor". Whenever a thread wants to enter a synchronized method or block, if it doesn't already "own" the monitor, it will try to take it. If the monitor is owned by another thread, then the current thread will block until the other thread releases the monitor. Once the synchronized block is complete, the monitor is released by the thread that owns it.
    So your question boils down to; where does this monitor come from? Every instance of every Object has a monitor associated with it, and any synchronized method or synchonized block is going to take the monitor associated with the instance. The following:
      synchronized void myMethod() {...is equivalent to:
      void myMethod() {
        synchronized(this) {
      ...Keep in mind, though, that every Class has an instance too. You can call "this.getClass()" to get that instance, or you can get the instance for a specific class, say String, with "String.class". Whenever you declare a static method as synchronized, or put a synchronized block inside a static method, the monitor taken will be the one associated with the instance of the class in which the method was declared. In other words this:
      public class Foo {
        synchronized static void myMethod() {...is equivalent to:
      public class Foo{
        static void myMethod() {
          synchronized(Foo.class) {...The problem here is that the instance of the Foo class is being locked. If we declare a subclass of Foo, and then declare a synchronized static method in the subclass, it will lock on the subclass and not on Foo. This is OK, but you have to be aware of it. If you try to declare a static resource of some sort inside Foo, it's best to make it private instead of protected, because subclasses can't really lock on the parent class (well, at least, not without doing something ugly like "synchronized(Foo.class)", which isn't terribly maintainable).
    Doing something like "synchronized(this.getClass())" is a really bad idea. Each subclass is going to take a different monitor, so you can have as many threads in your synchronized block as you have subclasses, and I can't think of a time I'd want that.
    There's also another, equivalent aproach you can take, if this makes more sense to you:
      static final Object lock = new Object();
      void myMethod() {
        synchronized(lock) {
          // Stuff in here is synchronized against the lock's monitor
      }This will take the monitor of the instance referenced by "lock". Since lock is a static variable, only one thread at a time will be able to get into myMethod(), even if the threads are calling into different instances.

  • Launch PowerPoint from within a Flash Document?

    I am new to this and have a question. Is it possible to
    launch a PowerPoint file from within a Flash Document? (It can open
    either internally or externally)
    And, if so, is there a simple way to do it, or can you give
    me directions to the proper tutorial section?

    Hi Nick,
    For offline/CD work, you can do this from a Flash Projector
    file (see
    Publish Settings) and use FlashJester JStart with it
    http://jstart.flashjester.com
    Download the evaluation copy and see the examples it comes
    with.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

Maybe you are looking for