UIX/BC4J: messageTextInput nulls out data.

I switched a page from the use of messageInput to messageTextInput. This was so I would be able to control the attributes of the field better. However, now when I select Update instead of saving the new data it deletes it from the database. messageInput works messageTextInput nulls the data in the database.
I tried setting the id value according to the note "UIX XML-BC4J: Bug on messageTextInput" but this did not solve my problem.
Here is an example of one of the fields I changed:
<!-- <bc4j:messageInput attrName="NOTES_GEN" /> -->
<bc4j:messageTextInput id="genNotes"
attrName="NOTES_GEN"
prompt="Notes"
columns="75"
rows="4"
maximumLength="1000"
wrap="hard"/>
Any ideas?

We aren't properly defaulting the "name" attribute
of <bc4j:messageTextInput> in the same way that we
default it for <bc4j:messageInput>.
So, set the "name" to match "attrName":
<bc4j:messageTextInput id="genNotes"
attrName="NOTES_GEN"
name="NOTES_GEN"
etc...
/>
This has been fixed since 9.0.3 (the "name" problem,
but unfortunately not the "id" problem).

Similar Messages

  • UIX/BC4J:  Page properties/Events/Methods

    The following is code for a UIX page event handler and a method that attempts to locate the data that is selected from a bc4j:table, use it, and then handle redirection to the next page.
    I had to comment out the setPageProperty block due to an error, oracle.jbo.Key, that keeps the method from running. This also means my page property is not available for use by the method.
    When the method runs I expected to be able to see the row that was selected in the table by virtue of the findRowByKey ... keyBinding ... selectionKey. Instead, the return value for the line: Row row = vo.getCurrentRow(); is always the last record in the view object.
    This led me to the alternative plan to create a page property for the selectedKey and use vo.getRow(key) to get the record. This won't work for me because I can't get the page property to work.
    Can you help me with my understanding/syntax please?
    **** UIX Event Handler ****
    <event name="getemployee">
    <bc4j:findRootAppModule name="AppModule">
    <bc4j:findViewObject name="VO">
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key"/>
    </bc4j:keyBinding>
    <bc4j:handlers>
    <!-- Gives page error: oracle.jbo.Key -->
    <!--
    <bc4j:setPageProperty name="selectedKey">
    <bc4j:selectionKey name="viewTable" key="key"/>
    </bc4j:setPageProperty>
    -->
    <method class="PageController" method="getInfo" />
    </bc4j:handlers>
    </bc4j:findRowByKey>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    **** Method that should use page property to display record from view object. ****
    public static synchronized EventResult getEmployeeInfo(BajaContext context,
    Page page,
    PageEvent event) {
    ViewObject vo = ServletBindingUtils.getViewObject(context);
    String selectedKey = page.getProperty("selectedKey");
    System.out.println("selectedKey: " + selectedKey); //null
    // I am hoping to get the property here.
    //Row row = vo.getRow(selectedKey);
    Row row = vo.getCurrentRow();
    System.out.println("Current Info- Item1:" + row.getAttribute("Item1") +
    ", Item2: " + row.getAttribute("Item2"));
    }

    Hello Vincent,
    I'm not sure why it does not work. Perhaps you haven't set the keystamp in your table?
    <bc4j:keyStamp>
    <bc4j:rowKey name="key"/>
    </bc4j:keyStamp>
    Besides your code tries to get the row in two times. Once in your event handler and ones in your method. That's not necessary, just do it once, either in your UIX page or in your Java method.
    If you do it in your UIX page, you can get the row directly in your method. Here is an example:
    UIX
    <bc4j:findRootAppModule name="appModule">
    <bc4j:findViewObject name="viewObject">
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key"/>
    </bc4j:keyBinding>
    <bc4j:handlers>
    <method class="..." method="doSomething" />
    </bc4j:handlers>
    </bc4j:findRowByKey>
    <bc4j:executeQuery/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    Then you can access row in your method
    Row row = (Row)bajaContext.getProperty("http://xmlns.oracle.com/uix/bc4j", "row");
    Regards,
    Christian

  • UIX BC4J Java

    How could I transfer the information from UIX site in my Java class and work it on.
    My Scenario:
    Each employee works in a departmebt.
    Now I want to change the department of a employee.
    I show all departments,that I have and I select the current one,
    I would like to select another department and display it by my employee.
    I call method of my class TestSel in UIX in handlers::
    <event name="find" >
    <bc4j:findRootAppModule name="ViewAppModule" >
    <bc4j:findViewObject name="View" >
    <ctrl:method class="bo.TestSel" method="doSel"/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    package bo;
    import...
    public class TestSel {   
    public static EventResult doSel(BajaContext bc, Page page, PageEvent event){   
    ViewObject res = (ViewObject)bc.getProperty("http://xmlns.oracle.com/uix/bc4j", "viewObject");
    Row cur=res.getCurrentRow();
    //Not the selected position, but the last of the site (in range)
    System.out.println("cur"+cur.getAttribute("Id1").toString()) ;
    System.out.println("cur"+cur.getAttribute("FmlyNam").toString()) ;
    if (res.getEstimatedRowCount() != 0)
    RowSetIterator secondRSI = res.createRowSetIterator("secondRSI");
    if (secondRSI.hasNext())
    Row firstRow = secondRSI.first(); //the first row
    System.out.println(firstRow.getAttribute("Id1").toString()) ;
    System.out.println(firstRow.getAttribute("FmlyNam").toString()) ;
    secondRSI.closeRowSetIterator();
    How could I get selected data record here?
    How could I change a value of attributes and apply it in UIX ?
    Help me please!!!
    Inna.

    Would it be easier to use a custom method on the bc4j Application module?
    Take this scenario...
    1. User opens UIX XML web page which opens a bc4j App Module..it has a VO based on all employees.
    2. User presses the add button and a new employee is created (using the bc4j App Module).
    (Notice: no commit yet!)
    3. User presses the submit button...fires event REVIEW_SALARY.
    4. This event is 'handled' in the event section of the UML XML...it calls:-
    public static EventResult handleREVIEW_SALARYEvent (BajaContext context, Page page, PageEvent event)...
    5. I now want to call a java class I wrote that computes an employees new salary and updates the employee record with this new salary. This update will fail unless it is part of the same transaction as the one used by the bc4j App Module (that inserted the new employee).
    How best to proceed from here?
    How about having a method on the bc4j App Mod's VO called 'reviewSalary'? Calling this would use the same transaction? I could then call my java class from within the VO's method? However do I still have the same problem in that my java class expects to be passed the connection object?
    The approach you suggested previously seems a touch dangerous....in that these are not 'publically exposed'...and a new release of JDev may break my code.
    Thanks,
    Paul.

  • Custom navigation dropdown menu /To null out a collection or variable in 6.

    Is there are way to clear a variable or Null out a Collection in 6.5.We are having problem with displaying pages of a communities in navigation menu.Since the pages for a community is fetched inside the loop, the pages in each community gets appended to the data variable "subpages". I want a way to empty the elements in "subpages", just before getting the pages for the next community in the loop.
    code-->
    <pt:ptdata.mycommunitiesdata pt:id="commLinks" />
    <pt:logic.sort pt:data="commLinks" pt:sorteddata="sortedComms" />
    <pt:logic.foreach pt:data="sortedComms" pt:var="link">
    <pt:core.html pt:tag="a" href="$link.url" ><pt:logic.value pt:value="$link.title"/></pt:core.html>
    <pt:ptdata.communitypagesdata pt:id="subpages" pt:commid="$link.objid" />
    <pt:logic.foreach pt:data="subpages" pt:var="sp">
    <pt:core.html pt:tag="a" href="$sp.url"><pt:logic.value pt:value="$sp.title"/></pt:core.html>
    </pt:logic.foreach>
    </pt:logic.foreach>
    Any ideas??
    Edited by spinto at 06/06/2008 10:43 AM

    I scratched my head a whole lot on this one too. Try doing this. Just before you initialize your subpage variable:
    <pt:logic.collection pt:key="subpage"/>
    Adding that line seems to do the trick.
    andrew morris | Managing Partner/ consultant | [email protected]
    Edited by drews_94580 at 06/06/2008 9:18 AM

  • Uix BC4J: create a link download to download my resultsets

    Greetings,
    The case:
    - i've created my flows using the amazing uix bc4j technology;
    - end users can manipulate their data (view and update)
    - Now i'd like to create a link which will point over the query result and download the data with csv or xls format.
    Could anyone help me on that issue ? 've checked in online doc, did not find a valuable info.
    Thks for your help
    Cheers
    lb

    Hm - good point, Riley. Hadn't tried Go to URL, though I realise now this is simply because I forgot to ignore the dire warnings about "not a FrameMaker file" :-}
    However, now I have made the experiment:
    * opening the .pdf directly in Acrobat and clicking on the link opens the .zip application immediately - still no "download/open" option
    * opening the .pdf through a browser puzzlingly netts me "The file ///C:/tempo/mup55lin.tgz cannot be found. Please check the location and try again." Needless to say, the file in question is right there where it should be ...

  • Supporting maxChars on editable ComboBox, string validator null out input once max is reached

    I have a ComboBox in a form set to editable, so it acts like a text input but as drop down values as well.
    The data here is required and I want to limit the number of characters that can be entered, normally under a TextInput control you would just set the maxChars.
    I have created a string validator, required is based on seletedLabel so that working as I would expect.
    I set a maximum character limit in the validator which does not limit the text but prevents validation if the count is over, so far so good.
    Now the issue, imagine you set this to 10 characters  maximum, type the 11th character the validator correctly invalidates the control and the standard message pops up and prevent form submission.
    But if the user is still typing as soon as you enter one character over the limit in this example the 12th character the input nulls out to empty string.
    I want to limit the the number of characters that can be typed or the validator to not null out, giving the user a chance to back space instead of clearing the input.
    Any ideas?
    TIA
    flash.

    I am probably missing something with all the scrolling up and down and back and forth, but I can't see how that line can throw an NPE. Or the constructor which it calls.
    What is the exact runtime message?

  • Why is there a (null)-in and a (null)-out in my Macintosh HD

    I recently noticed that when I open my Macintosh HD there is a (null)-in file and a (null)-out file and I can't figure out what they are. I throw them in the trash and empty it but when I restart my copmputer they reappear and they say they were last modified on the date and time that I restarted my computer. I cant tell what kind of file it is because it doesn't show a file extension. Could this be a malicious file?

    Sorry to bump an old topic but if anyone else is looking, in my case SPLASHTOP STREAMER was the cause. The "files" are actually pipes. I am not sure why they are using them or placing them in root filesystem though..
    Edit: Also if you want to keep them but hide them run the following in Terminal:
    sudo chflags hidden "/(null)-in" "/(null)-out"
    to reverse it,
    sudo chflags nohidden "/(null)-in" "/(null)-out"

  • Null out of bounds error in single array

    I have created this program but I am getting a null out of bounds error. What have I done wrong?I would appreciate your expert opinions. I have commented the error points.
    import javax.swing.JOptionPane;
    import java.text.NumberFormat; //Imports class for currency formating
    public class VillageDataSort {
    //Data fields
    private HouseHolds[] Village;
    private double totIncome;
    private double avgAnulIncm;
    private double povertyLvl;
    //Method to create memory allocations for Village array
    public void HouseholdData(){
    Village = new HouseHolds[13];
    int index = 0;
    for(index = 0; index < Village.length; index++);
    Village[index] = new HouseHolds(); //Error point
    Village[index].dataInput(); //Error point
    //Calculates the average annual income
    public double avgIncome(){
    totIncome = 0;
    int index = 0;
    for(index = 0; index < Village.length; index++);
    totIncome += Village[index].getAnnualIncome();
    avgAnulIncm = totIncome / Village.length;
    return avgAnulIncm;
    //Displays households with above average income
    public void displayAboveAvgIncome(){
    int index = 0;
    for(index = 0; index < Village.length; index++);
    if (Village[index].getAnnualIncome() >= avgIncome())
    System.out.println("Households that are above the average income : " + avgIncome());
    System.out.println("Household ID " + "\t" + "Annual Income " + "\t" + "Household Members");
    System.out.println(Village[index].getIdNum() + "\t" + Village[index].getAnnualIncome() + "\t" + Village[index].getFamilyMems());
    //Calculates and displays the households that fall below the poverty line
    public void povertyLevel(){
    int index = 0;
    povertyLvl = 0;
    for(index = 0; index < Village.length; index++);
    povertyLvl = 6500 + 750 * (Village[index].getFamilyMems() - 2);
    if (Village[index].getAnnualIncome() < povertyLvl)
    System.out.println("Households that are below the poverty line");
    System.out.println("Household ID " + "\t" + "Annual Income " + "\t" + "Household Members");
    System.out.println(Village[index].getIdNum() + "\t" + Village[index].getAnnualIncome() + "\t" + Village[index].getFamilyMems());
    }

    Thanks again scsi, I see where it gets together. I
    even found the Class interface error started in the
    previous method to calculate the average. The program
    compiled but it outputted nothing just a bunch of
    zero's. I know I haven't referenced correctly yet
    again why does it not grab the data.I changed the
    array to 4 numbers for testing purposesis this a question or a statement?
    well there are problems in you HouseHolds class.
    import javax.swing.JOptionPane;
    public class HouseHolds{
    // Data
    private int idNum;
    private double anlIncm;
    private int famMems;
    //This method gets the data from the user
    public void dataInput(){
    // if you are trying to set the int idNum here you are not doing this.
    String idNum =
    JOptionPane.showInputDialog("Enter a 4 digit household ID number");
    // same with this
    String anlIncm =
    JOptionPane.showInputDialog("Enter the households annual income");
    // and also this one.
    String famMems =
    JOptionPane.showInputDialog("Enter the members of the family");
    } as a service to you look at these two API links.
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Integer.html
    and
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Double.html
    now here is the revised code for one of your variable settings.
    you will have to do the rest on your own.
    String idString = JOptionPane.showInputDialog("Enter a 4 digit household ID number");
    idNum = Integer.parseInt(idString);

  • UIX (BC4J)

    I try to indicate in a UIX (BC4J) site a selected line from a table. The key of this line is handed over thereby by the previous site. (this succeeds to me!) The details are to be indicated over a "ViewLink". Unfortunately the details are not correctly determined. In each case the first Row from the table is indicated. Can someone help me please?
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j" >
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="AppointmentAppointmentReasonViewLinkAppModule"
    defFullName="com.hannover_re.vistra.bo.AppModule"
    configName="AppModuleLocal"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="AppointmentView" >
    <bc4j:rowDef name="UpdateAppointmentView" autoCreate="false" >
    <bc4j:propertyKey name="key" >
    </bc4j:propertyKey>
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    <bc4j:viewObjectDef name="AppointmentReasonViewLnk" rangeSize="3">
    </bc4j:viewObjectDef>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <content>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <header messageType="error">
    <boundAttribute name="text">
    <contextProperty select="ui:currentThrowable"/>
    </boundAttribute>
    </header>
    </catch>
    <contents>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    title="AppointmentAppointmentReasonViewLink View" >
    <contents>
    <messageBox automatic="true" />
    <bc4j:rootAppModuleScope name="AppointmentAppointmentReasonViewLinkAppModule" >
    <contents>
    <header text="Results" >
    <contents>
    <form name="viewForm" >
    <contents>
    <bc4j:viewObjectScope name="AppointmentView" >
    <contents>
    <bc4j:rowScope name="UpdateAppointmentView" >
    <contents>
    <tableLayout>
    <contents>
    <bc4j:region automatic="true" >
    <bc4j:attrStamp>
    <bc4j:messageInput readOnly="true" />
    </bc4j:attrStamp>
    </bc4j:region>
    <bc4j:viewObjectScope name="AppointmentReasonViewLnk" >
    <contents>
    <bc4j:table name="viewTable" automatic="true"
    width="80%" alternateText="No rows found">
    <bc4j:columnStamp>
    <bc4j:column>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </bc4j:columnStamp>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </tableLayout>
    </contents>
    </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </form>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </pageLayout>
    </contents>
    </try>
    </content>
    </page>

    James is correct. You need to specify usesCurrency="true" in the <bc4j:rowDef> otherwise the current row for the master viewobject is not affected, so the viewlink is not triggered.
    John Fallows
    Oracle Corporation.

  • Disk Utility: Differences between "Zero Out Data" and "7-Pass Erase"?

    I'm wondering if anyone knows if there's a significant difference between the "Zero Out Data" erase option in Disk Utility (specifically Disk Utility 10.5.5), and the "7-Pass Erase" and "35-Pass Erase" options in same software.
    Here's why I'm asking: I have a co-worker with an iMac G5 20" 1.8GHz with 160GB internal hard drive. As a result of the power supply overheating a week ago due to dust, some hard drive problems resulted. I'm trying to assess whether these are 'soft' formatting problems that can be recovered from, or 'hard' problems requiring replacement of the hard drive and/or power supply.
    Following the failure, I removed the dust and restored the iMac to servicable form. The power supply seems to be OK now. The next thing was to attempt to recover as much data as possible from the 160GB, as the last full backup was a week old. Carbon Copy Cloner, shell copy via 'sudo cp -p -R -v', Finder copy, and DiskWarrior recovery all met with problems. TechTool Pro identified a huge swatch of unreadable sectors during repeated surface scans. Unfortunately, these unreadable sectors were located midway in the OSX boot partition (an 80GB partition), and not in the other 80GB partition devoted to lower priority video data.
    When I was satisfied I had backed up the data to the best of my abilities, I next set out to reformat the drive and see if the bad sectors could be eliminated or remapped out of existence. I did a "Zero Out Data" erasure in Disk Utility (with no errors during the erase), but TechTool Pro showed the bad sectors persisted in equal strength at the same location. I next executed a sixteen hour "7-Pass Erase" (again no errors, and confirming that it takes about an hour per 10GB). The next day when I ran TechTool pro, all of the sector errors had disappeared. I'm a bit perplexed as to why the "7-Pass Erase" seems to have recovered the use of the drive. Is it possible that there are simply thousands of bad sectors now remapped that I'm not seeing? [If so, how do I check for this?] TechTool Pro has not reported any S.M.A.R.T. issues to date on the drive. What am I to make of that?
    There are some related threads I've checked into, but I'm not sure how to properly assess my situation based on this information:
    <http://discussions.apple.com/thread.jspa?threadID=232007>
    <http://discussions.apple.com/thread.jspa?threadID=138559>
    <http://discussions.apple.com/thread.jspa?threadID=118455>
    Since the iMac has three weeks left on it's one year warranty, and I've already moved the user to another machine temporarily, I'm thinking that the smart thing to so is to send it in to Apple to have them look at the power supply and hard drive. That way, when it returns, even if there is still a lingering hardware problem, at least it will be covered under warranty for another 90 days.
    Any thoughts?
    iMac G5 20" 1.8GHz   Mac OS X (10.4.6)   1.25GB RAM, 160GB hard disk, SuperDrive

    HI, Bret.
    The only differences between "Zero Out Data", "7-Pass Erase", and "35-Pass Erase" are the number of times a binary zero is written to every bit on the disk. "Zero Out Data" writes a binary zero once, whereas the 7- and 35-Pass options write a zero seven and 35 times, respectively.
    Technically, one pass with Zero Out Data should be sufficient to map bad sectors out of service, a process also known as sparing. If a bad sector is encountered, it is both marked as "in use" in the directory's allocation table and added to the directory's "bad blocks file."
    My understanding is that the Surface Scan of Tech Tool Pro should identify bad sectors every time it is run unless the bad sectors have been locked out by the drive controller of the ATA drive itself. This is because Surface Scan checks the entire surface of the disk.
    What may have happened is that running "Zero Out Data" spared the bad blocks from a directory standpoint, but did not result in the drive's controller locking out those sectors for reasons detailed in the "Surface Scan" section of the Tech Tool Pro manual. However, the 7-Pass Erase may have resulted in the drive's controller locking out the bad sectors and why Surface Scan did not pick them up after such.
    Given the problems you described, I concur with your plan to have Apple check the affected computer. You might also want to consider purchasing an AppleCare Protection Plan for that Mac: I recommend and buy these for all my Macs.
    For some additional information on bad sectors, see the "Bad Sectors" section of my "Resolving Disk, Permission, and Cache Corruption" FAQ.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Hard Drive problems / unable to Zero out Data etc.

    Hallo.
    Here is the problem: I have several WD Raptor Hard drives 74 GB working without problems. One of them is my system drive , others are used as Sample libraries HD or HD for recorded audio (I have Firmtek SATA card so I can use more SATA disks...). This summer I bougt new WD Raptor ADFD 150 GB drive to expand my storage for Audio Data... But I encountered a few problems like when I tried to copy a folder from this HD to another and this folder was quite big (15 GB or more) , it never get copied completly and the copiyng freezed in the middle or alike. So I had to move subfolders of this "big" folder manually... Also when I backupped Data from this drive to another with Apple Backup 3 it SOMETIMES did not backup and freezed. This happened in case of creating new backup file to new location, not when backupped to location with already existing backup file.
    I tested the drive with the OSX Disk Utility (Verify Disk) and it said it was OK. Than I tested it with Tech Tool Pro 4 (Surface Scan) and it found a few ( two, sometimes three) bad sectors. Sometimes TecToolPro also freezed and I had to Force Quit it or shut down my Mac by pressing the Power button. So I moved the data away from this disk and tried to Erase it (Zero Out Data) with Disk Utility. Disk Utility started and reported that it will take 27 minutes. But after a few minutes it freezed and did not finish eerasingúzeroing the disk (I let it for whole night...). And Disk utility freezed so I had to Force Quit it. I tried it many times without success. Disk utility only could Erase it or create new partition but never Zero Out Data. Than I tried to Zero Out this disk in SoftRaid utility (even this disk was not in SoftRAID or any RAID setup) and it worked. But after I Scanned it's surface in Tech Tool Pro again, it found the bad sectors again...
    So I took the disk to my computer dealer and he gave me new one - the same WD Raptor ADFD 150 model. I installed it (in lower bay inside my G5) , initialized in Disk Utility and than I did run the Surface Scan test in Tech Tool Pro. I could see the number of block that were tested increase for a while but than it stopped for a few minutes (10 or more ) and after a while it reported that it found 39 bad sectors! Wow! Fresh new Hard Drive! So again I tried the whole process: to Zero Out this new disk in Disk Utility and Disk Utility freezed. But SoftRaid utility Zeroed this disk successfully - but than after this procedure TechToolPro reported that 1 bad sector was found... I need to say that the Surface Scan test in Tech Tool Pro never got finished (only once when I let it work for about 6 hours) as it reported about bad block(s) after a few minutes or it freezed after a few minutes...
    SO I took this new disk and installed it to a PC I have and I tested it with Western Digital Datalifeguard diagnostic utility (from Floppy disk). All tests were fine. It also wrote Zeroes to whole disk without problems. Fine. I reinstalled the disk back to my Mac and even before I initialized it in Disk Utility I tried to Scan it's Surface in Tech tool Pro. After a fef minutes it probably freezed , as it is scanning Block 19744512 for ever now - and it found three bad sectors already...
    So what do you think about my situation? Shall I trust the Western Digital diagnostic utility (but on a PC) or should I visit my dealer again?
    PS-I have Tech Tool Pro 4.1.2
    Message was edited by: Diamond Dog

    Something to try:
    Open Disk Utility (Applications > Disk Utility)
    Select your external HD on the left side of the Disk Utility window
    Check the partition map scheme, near the bottom of the Disk Utility window
    If it is not GUID (assuming you have an Intel iMac), consider repartitioning your HD to GUID. The Windows partition scheme on many external HDs. FAT 32, often has problems accepting large data transfers from Mac-partitioned hard drives.

  • Nulls in Dates

    We are working with the beta release 3.0c of Forte and 2.0c of express. We
    have several DateTime domain fields for which we need to have nulls carried
    through and updated on the data base. Ideally when the user selects the
    insert button and the new record is initialized we would like to place
    nulls in those fields before the display and then have those nulls
    maintained through the data base update. If the user keys a valid date in
    one or more of those fields then the non-null date values would be carried.
    Conversely, if a date is present we would like to be able to have the user
    delete the date field resulting in nulls being carried forward.
    We have made several attempts to null these date fields
    (PlaceValueInDisplayField, SetValuesInNewRecord, overriding the
    InsertRecordIntoResultSet method, overriding the newobject method) with no
    success.
    Has anyone been successful in nulling date fields? Thanks.

    Donald R. Smith wrote:
    >
    We are working with the beta release 3.0c of Forte and 2.0c of
    express. We
    have several DateTime domain fields for which we need to have nulls
    carried
    through and updated on the data base. Ideally when the user selects
    the
    insert button and the new record is initialized we would like to place
    nulls in those fields before the display and then have those nulls
    maintained through the data base update. If the user keys a valid
    date in
    one or more of those fields then the non-null date values would be
    carried.
    Conversely, if a date is present we would like to be able to have the
    user
    delete the date field resulting in nulls being carried forward.
    We have made several attempts to null these date fields
    (PlaceValueInDisplayField, SetValuesInNewRecord, overriding the
    InsertRecordIntoResultSet method, overriding the newobject method)
    with no
    success.
    Has anyone been successful in nulling date fields? Thanks.gbkhor wrote:
    1. Create a new domain class say, NewDateTimeNullable which superclass
    is DateTimeNullable.
    2. At the NewDateTimeNullable Init() method, do Self.IsNull = TRUE this
    will set the initial value to null.
    Ideally when the user selects the insert button and the new record is initialized we would like to
    place nulls in those fields before the display and then have those nulls maintained through the data
    base update.3. At the Application modal(Express), for all the datetime class which
    would like to behave like you mention above, change the data type to
    NewDateTimeNullable.
    If the user keys a valid date in one or more of those fields then the non-null date values would be carried.
    Conversely, if a date is present we would like to be able to have the user delete the date field resulting
    in nulls being carried forward.4. Upon insertion or save do check
    - If Variable.IsNull then
    else If Variable.IsEqual('') then
    Variable.IsNull = TRUE;
    end if;
    end if;
    Hope this will help.
    My URL http://www.geocities.com/Hollywood/Lot/3985/
    BASS Consulting Sdn. Bhd.
    8th Floor, Menara SMI,
    6 Lorong P. Ramlee,
    50250 Kuala Lumpur,
    West Malaysia.
    Tel. (603) 2305588 ext. 995
    Fax. (603) 2019403

  • Cost-Roll take follow-up material upon discontinuation effective-out date ?

    Dear Expert,
    If we use discontinuation/follow-up material, during Cost-Roll (CK11N), SAP will take default cost from discontinued material even if follow-up material is effective. 
    <b>How to make SAP take cost of follow-up material after/on effective-out date ?</b>
    <b>Example :</b>
    Parent "A" contains component "B" qty 3, to be follow-up with component "C" upon discontinuation of "B" on effective-out dated 1st Nov'07, and like-wise to take std cost of "B' before 1st Nov'07 cost-roll.
    Thus, when I roll cost in December, I hope SAP would calculate for std cost of A to include std cost of "C" (for cost-roll after 1st Nov'07).
    <b>Setting :</b>
    <u>Material Master of "B" MRP4 view :</u>
    - Discontinuation Indicator = 1
    - Effective-out date = 1st Nov'07
    - Follow-up Material = "C"
    <u>BOM of Parent "A" :</u>
    - Component "B" indicate discontinuation group "A1"
    - Add component "C" and indicate follow-up group "A1".
    <b>Thanks for your guidance !</b>

    Hello,
    We are having the same issue: is a BOM for costing the only way to handle this ? Controlling dept. here fear they wouldn't be maintained as accurately as the production ones (and they are right). We were also thinking to set the phased out materials (B in your example) as cost irrelevant when you add to new material in the BOM...and start costing the father (A in your example) directly with the new component. I would appreciate a lot to hear other examples of dealing with this issue if anybody has.
    Thanks a lot,
    Olivier

  • Question about zeroing out data...

    I'm currently zeroing out my Time Capsule's hard drive and starting fresh with backing up. I started doing a 7 pass method the other day, but figured it was overkill and bad on the hard drive, so I stopped it a quarter of the way through pass 2. Does this mean that at least the one full pass was done successfully? Also, to make sure that everything is truly zeroed out, I started a one-time zero out erase. So, does this mean, then, that my TC truly has been zeroed out twice for starting over on my backups?
    And, while we're on the subject, I did some research on zeroing out data. Most people are in agreement that doing one pass is good enough. Apple recommends twice for a fully secure wipe. While researching this, I found that some claim that zeroing out a hard drive during a 7 pass and 35 pass method significantly decreases the lifespan of a hard drive. Is this myth busted or confirmed? Also, is zeroing out data only once already harmful to an HD's lifespan?

    William Boyd, Jr. wrote:
    apple_kmj wrote:
    I'm currently zeroing out my Time Capsule's hard drive and starting fresh with backing up.
    I'll leave to others the answering of your questions, but I have one of my own: What are you hoping to accomplish by zeroing out your Time Capsule's drive? I would only consider that useful if I were planning to sell or otherwise dispose of a Time Capsule.
    I heard that it's the best way to go if you have a lot of data synced and you don't want to individually pick out data to delete. Also, backups were taking a while, and I noticed that my Time Machine had nothing on it even though my Time Capsule showed as having almost 80 GB of data backed up. So, just to eliminate any potential problems, I zeroed out data and started over again.

  • How do I zero out data on OSX 3.9?

    I went into disk utility and I could not zero out data by choosing erase. I'm reselling my old computer and want to be as secure as I can be. I rebooted the computer using the start-up disk, but I have read that this is not a very secure way to protect yourself. Please help.

    Boot from the install CD. Launch DiskUtility and select the internal HD. Click on the erase tab. There should be an options button - click on that. You can zero all data - this will take a while, but be pretty secure. There is also, I believe an option to rewrite several times to eliminate the chance of someone finding "shadows" of old data that may remain after the drive has been zeroed out.
    Zeroing all the data should be sufficient unless you're selling it to the precocious offspring of an NSA staffer.
    Jeff

Maybe you are looking for

  • Music not playing on Ipod

    I just bought an album from the Itunes store. It all works fine on my computer and in the Itunes library, and when I sync it to my Ipod it is synced fine. But when I try to play it on the Ipod it just skips all the songs I bought. It does not skip an

  • While IE 8 prints FF 3.6.16 runs into a "unknown error" when I attemp to print from a website; how to fix it?

    I call up a web page, I click on File and the click on Print. The print process begins but at about 50% progress an error message pops up saying that "An unknown error has occurred in the printing process..." and the process comes to a halt. IE 8 sim

  • Exception while starting Weblogic Application Server (ver 7.0)

    While starting WEBLOGIC server (ver 7.0), we are getting the following exception. Can anybody help us to correct this problem. Following is the Exception we are getting. We couldn't able to trace the reason for this error: <May 10, 2004 9:22:36 AM IS

  • How do you embed a blog on a page?

    Just started using Muse cc and I have to embed blog content on one of the pages. Is there a way to do this in the new Muse update and how?

  • BEx launch Pad not opening smoothly

    Dear All, I am using the SAP BI 7.0. I am facing problem in BEx (Version 7) Launch pad opening for Query. sometime it opens the launchpad while other time ..it is mot opening the launch pad. The patch Level is as below: SAP_ABA     700     0016