Inconsistent Dock Behavior

I unchecked "Automatically Hide and show dock", but certain applications still SOMETIMES go ahead and hide the dock. Any idea what's up with that?
Also, the dock sometimes adds a text identification which floats beside the icon (I have my dock on the left side of the screen), obscuring what's behind it. This effectively doubles or triples the unusable space on the left side of my screen. Is there any way to keep it from showing this text? Oddly, there's nothing consistent about when it does or doesn't show this text.
system:
G5, 10.4.11

Hi, do you have a screen shot of that?

Similar Messages

  • Inconsistent aggregation behavior activation will be terminated 0PUR_DS03

    Hi All,
    Iam getting the following error while activating ODS 0PUR_DS03 delta request
    Inconsistent aggregation behavior activation will be terminated.
    The Initiales request for it went smoothly but giving error while activating Delta request only.
    I found one sap note 1081423 but it is applicable before 16 and Iam already on support package 16 .
    Thanks and Regards .
    Akash

    Hi,
    But the correction are already been done for SP16.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/spat/index.htm?sp1=SAPKW70016
    Have you checked the Notes, 1074388 1074236 and 875986.
    Edited by: Aduri on Dec 11, 2008 12:55 PM

  • Inconsistent aggregation behavior - activation will be terminated

    Hi BW Gurus
    DSO activation is failing with the error message : "Inconsistent aggregation behavior - activation will be terminated"
    Can any one please suggest on the above issue like how it will be caused and resolved
    Thanks in advance
    Venkat

    Hi....
    If u r getting error in data activation, try the below procedure
    If u want to activate the DSO the status of all the requests must be green.
    If all requests are not in green then this eeror will come.
    Right click on the DSO-> Administrator data target.
    Thaere check whrther the status of any request is yellow or red.
    May be that load going on in some other chain......just click on the Monitor icon.
    Then in the IP monitor .
    Go to the Details tab.
    Expand the Process chain node->right click ->Display messages.
    If you are loading through DTP.
    Then it will take u to the DTP monitor.......
    If PC node is not there,then go to the header tab->click on the IP->it will take u to the IP scheduler
    ->there in the Schedule tab->a Where used list icon is there,it will show u all the chains.
    If that is also not there...then that IP is not a part of any chain,may be it is an Adhoc run,
    wait until the load get completed, then repeat the DSO activation.
    If there is any red request,then first check why it failed, try to rectify the error and repeating the load.if it is not required just delete the request
    then repeat the DSO activation
    Hope this helps.......
    Regards,
    BRS

  • Inconsistent KVM behavior in Leopard?

    Has anyone else had problems with inconsistent behavior when using a KVM under Leopard? (Display mirroring is not enabled)
    Under Tiger, when I switched my laptop to my Cinema display, the entire contents of the display would move - dock, menubar, all applications and windows.
    Since installing Leopard, the behavior is inconsistent. The Dock and the menubar move, as do some applications. However, most applications remain on the laptop screen. Additionally, an application such as Safari, when moved to the Cinema display, still opens new windows on the laptop screen.
    Any thoughts?

    Does the delete button have a light glow around it? If it does, you can tap the space bar and that will be selected.
    If not, look in the System Preferences application, go to the Keyboard and Mouse panel, Keyboard Shortcuts tab, you'll select the Full keyboard access, both options allow this function.
    I use this tapping on the space bar for many different options in various dialog boxes throughout the OS and applications.
    This has worked at least since Tiger, may have been around longer, I don't recall. But I have used it for years and love it.
    Hope that helps.
    Joel.

  • Inconsistent Form Behavior on Failed Struts Validation

    So I'm working on a strange bug regarding an Edit User form for an application, where some fields revert to their default and some fields do not.
    We have a form for editing users in our system, with most of the usual information inputted in text boxes (login, first name, last name, password, password confirmation). We also have three possible levels of 'admin' - none, admin, and superadmin. These are chosen via radio buttons. There are also a couple of checkboxes (like 'user is active'). Overall, it's a fairly simple form.
    When the form is submitted, we do struts validation. We've set up the validation via comment annotation in our Java code, like so:
         * @struts.validator type="minlength"
         *                   arg1value="${var:minlength}"
         * @struts.validator-var name="minlength" value="8"
         * @struts.validator type="maxlength"
         *                   arg2value="${var:maxlength}"
         * @struts.validator-var name="maxlength" value="50"
        public void setPassword1(String string) {
            password1 = string;
        }All of the fields in our form are set from user properties, so they're initialized by the values in the user object. For example, if we had user John Smith, an admin, with login 'jsmith,' we'd have the first name and last name fields initialized to John and Smith, and the radio buttons for Admin set to 'admin.' For reference, here's the EditUser.jsp code for the radio buttons, based off of the selectedAdminRole property:
    <div class="InputElement">
            <label for="selectedAdminRole"><bean:message key="userForm.adminType"/></label>
              <html:radio styleId="selectedAdminRole" property="selectedAdminRole" value="None"
                          disabled="${userForm.loggedInUser.admin and userForm.userId == userForm.loggedInUser.id}">None</html:radio>
              <html:radio property="selectedAdminRole" value="Admin"
                          disabled="${userForm.loggedInUser.admin and userForm.userId == userForm.loggedInUser.id}">Admin</html:radio>
              <c:if test="${userForm.loggedInUser.superAdmin}">
                  <html:radio property="selectedAdminRole" value="SuperAdmin">Super</html:radio>
              </c:if>
         </div>As you can see above, the struts validator requires passwords to be at least 8 characters long. So if the user tries to change their password to something with less than that, they'll fail validation and they'll end up back on the form with the validation errors in red at the top of the page. However, the form data that they've edited will be preserved. So if John had tried to change his first name to 'Fred,' he'd still see 'Fred' in the First Name text field, even though it wouldn't actually get saved to the user object until he submitted the form with no errors. This works with radio buttons too - if John had tried to set his admin status down to 'none' from 'admin,' the radio button 'none' would still be checked. Basically, it preserves all your progress on the form until you navigate away.
    Unfortunately, it does NOT do this when you create a new user. Creating a new user uses the same form, and since there's no user object to get the fields from, they all get initialized to blank - except for one of the checkboxes ('user is active') and the radio buttons for admin (starts with 'none' checked). Now, if the user fills out the form and hits submit, but fails the struts validation, it preserves all the form data in the text fields, but reverts the checkboxes and the radio buttons to their default state.
    This leads to the following problem: say I'm trying to create a new admin, Jane Smith. I fill out the whole form, check the 'admin' button, and then enter a four-letter password. I submit, and the form fails struts validation and throws me back to the page with an error message informing me that passwords need to be at least 8 characters. I look over the form again - the login field is still 'janesmith,' the first name field is still 'Jane,' the last name field is still 'Smith,' everything looks fine except I screwed up the password. I enter an 8 letter password and resubmit. Jane then logs in and complains that she's not an admin, because I didn't notice that the 'admin' button had reset itself to the default of 'none' when I failed validation.
    My question is, why does it reset the radio buttons and checkboxes - but not the text fields - on failed validation when a new user is being created, but resets nothing at all when an existing user is being edited? I'd like it to reset none of the information when a new user is being created, but I cannot figure out the reason for this inconsistent behavior.
    If anyone can help me figure out how to get this working so that nothing gets reset - or at least explain to me the reason for this inconsistent behavior - I would be very grateful. I will also try to provide any additional information I can if this isn't enough.

    So what you are saying is that radio and checkboxes don't retain their state when validation fails?
    Checkboxes are always troublesome because of their design. If not selected, they don't submit any value - so you have to specifically unset them.
    My first instinct would be to look at the formbean which you are populating from, and see what (if anything) modifies its values.
    - for originally loading the new user page is it an action or JSP? Does it apply any default values to the form?
    - check the "input" page you redirect to when validation fails. Is it an action or a JSP?
    - is the same form being uses on the newUser jsp and whatever action you are submitting it to?
    - is there a form reset() method?
    My theory is that the "input" page you are redirecting to when validation fails is an action, and it sets some values on the form prior to loading.
    But thats just a guess at this point. Its hard to debug this without a working example. Its been a while since I worked with struts, and never with annotations providing the validation.
    Suggestion for debugging: dump the contents of the form bean at strategic points in the process to see that the values are what you think they should be.
    - running the save action
    - just after validation
    - on the jsp page.
    Hope this helps some,
    evnafets

  • Strange stacks icons and weird dock behavior

    I got leopard for Christmas and on the first day of the install my icons on the right side of the dock- i guess the stacks for applications and downloads icons look weird. It's not a combination of all the icons in the stack like someone else wrote, it is a weird green, white, red rectangular shaped image with weird black and grey squiggles going through the middle. Also-I'm not sure how to describe it but what used to be a clear line I guess to separate the stacks stuff with the other icons on my dock it's next to about this mac icon on my dock has turned into a weird pink rectangle with a really small picture of the weird red, green, and white rectangle on top. Any help would be greatly appreciated. My husband is a windows guy and after me bragging about how much better mac is, I don't want him to know that I'm already having problems with leopard

    No, this is not "normal behavior." The problem is that it is not consistent, either, so it is hard to tell what is going on. It may happen after using some full screen programs, but I am not sure. I am not able to reproduce the issue, myself. It just happens from time to time.
    The icons are not changing after they are used. The ones in the download folder will usually have their normal appearance, the dmg file or a pdf file with its "preview" icon or whatever. Then, for some reason, I will notice some of the icons have become blocky and pixilated, not resembling anything, usually almost a solid color.
    Again, the way to get them to change back is to remove the downloads folder from the doc and return it. Then all the icons return to their normal view.

  • Dock behavior

    Is there a way to change the behavior of the Dock so when I hold down on an application it doesn't zoom the window out in Expose and just shows the contextual menu? I just don't find secondary button command on my track pad comfortable and I'd prefer not have to hold control key. This how it worked in Tiger on my old iBook G4. Can I get the same behavior in 10.6?

    When I hold down on open program in the Dock, any other window in front of the program window is hidden and that application's window is shrunk to the center of the screen with a dimmed desktop in the background and the contextual menu is stretched out instead of stacked like it would be if I used click control or a right click. How do I get it to stop doing this?

  • Odd dock behavior

    Every so often out of the corner of my eye, I see some application launch and quit in the Dock — and it's fast too at probably under a second. It happened again this morning. Something is clearly launching and quitting. I've gone and looked at any logs I can find, and nothing appears to be out of the ordinary.
    Is it anything I should be concerned about?
    iMac G5 20" iSight; G3 Pismo Powerbook; LaCie 160G FW   Mac OS X (10.4)  

    See, the thing is it happens fast. So fast I only notice the Dock expand and shrink in a split second.
    It did it again this morning.
    For now, I've disabled all widget exept the world clock and calculator. The only thing I can think of is that the weather widget was phoning home for current time/temp. But since this is a new behavior, it's doubtful.
    Another odd thing that I noticed this morning: the Dock has acquired some icons that I have not put there.
    iMac G5 20" iSight; G3 Pismo Powerbook; LaCie 160G FW Mac OS X (10.4)

  • Dock behavior in Mavericks

    Opening some (not all) documents (specifically Excel documents) in the DocK opens a copy not the origninal document. After moving the document to the sidebar, it opens the original normally.  Is there a setting I can't find to return opening behavior for documents located in the Dock to normal?

    You need to tell Apple you don't like it, and ask them to bring back the dark translucent Dock background
    The feedback form is here:
    http://www.apple.com/feedback/macosx.html

  • Inconsistent selection behavior when deleting files in Cover Flow

    I love browsing through my pictures folder using Cover Flow. However, I've noticed that deleting a file by pressing Cmd-Delete produces inconsistent selection results. Sometimes Finder will select the next file down the list, and sometimes it will select no file at all. However, the Cover Flow portion of the window will always show the next file.
    It is misleading when Cover Flow shows the next file, but the file selection pane shows no file selected. I often hit the down-arrow (or right-arrow) key, expecting to skip to the next file, but the first file in the folder gets selected, Cover Flow re-winds its view, and I have to re-find my last position.
    There is also no way to select the current file by clicking on the Cover Flow preview currently showing. I have to click some other file and re-browse to the current file in order to sync up the two panes.
    Is this a bug? Does Apple know about it?

    As mentioned, cover flow does not change the basic Finder operation. Return allows editing the name and Cmd-O or Cmd-downarrow opens the item. It also functions similar to the list view, when you open a folder, the subfolders are added to the cover flow; they do not replace the cover flow icons.

  • PLEASE HELP - Inconsistent AQ Behavior!

    HELP!!!! HELP!!!! HELP!!!!
    We are using Java 1.3 and Oracle 8.1.7's aqapi.jar. A frontend application enqueues messages OK. The other "side" of the queue dequeues these messages MOST of the time, but not all the time. If we change it from blocking forever to polling (timing out every 10 seconds and reconnecting), this still happens.
    We are seeing this with RAW payloads (as well as Object payloads).
    Storage space should not be an issue nor should network traffic with regards to the staging environment box we are dealing with.
    Here are the enqueue and dequeue options we are using:
    // Use most default Enqueue options
    AQEnqueueOption enqueueOption = new AQEnqueueOption();
    enqueueOption.setVisibility(AQEnqueueOption.VISIBILITY_IMMEDIATE)
    AQDequeueOption dequeueOption = new AQDequeueOption();
    dequeueOption.setDequeueMode(AQDequeueOption.DEQUEUE_LOCKED);
    dequeueOption.setNavigationMode(AQDequeueOption.NAVIGATION_FIRST_MESSAGE);
    dequeueOption.setWaitTime(AQDequeueOption.WAIT.FOREVER); //(or set with a time)
    dequeueOption.setVisibility(AQDequeueOption.VISIBILITY_ONCOMMIT);
    We are using CorrelationIDs to make sure we are getting the proper response to our request.
    I know JDBC drivers are not certified for JDK 1.3, but...why would it work most of the time? An example would be enqueuing 71 similar messages using the same calls and only 65 being dequeued on the other side. This example happened all within the span of 5 minutes. None of the Java calls we are using are synchronized and the enqueuing message expirations are set high enough(60+ seconds).
    We ARE NOT using JMS. We are NOT using OCI. It queue is setup as a single consumer queue. Pure Java to AQ over JDBC. There is a separate in and out queue table each with one queue (so we have separated the connections when one is committed, the other queue is not affected).
    If you need more information to help with this, please let me know. We've been trying at this for MONTHS!! HELLLPP!!!!
    null

    We are seeing similar behavior and would greatly appreciate any help.
    Our application enqueues messages without any problems, and the registered message listener receives the sent messages just fine, at first... After a while (can be minutes, hours, days), the listener just stops receiving messages. We can still enqueue messages, but the are not dequeued.
    If we stop our application and start it again, we DO receive all of the messages that were previously stuck in the queue. However, unfortunately we are not able to receive any new messages.
    If we shutdown Oracle and restart it, everything works fine again... at least until AQ wedges again.
    Oddly enough, the messages are in the 'READY' state, so you would think that the listener would receive them, but it does not.
    All indicators are that this is an Oracle AQ problem, as the only way to make things work correctly again is to stop and restart Oracle.
    We checked for trace (.trc) files when this problem occurred, but no new ones where generated.
    Any thoughts, suggestions, workarounds, tracing options that we can set, queries we can run to get more debug info, etc would be greatly appreciated.
    Please feel free to email me directly: [email protected] We would prefer to use Oracle AQ, but are on the verge of trying our luck with WebLogic JMS...
    Thank you in advance!

  • Snow Leopard Client Dock Behavior & Binding to Snow Leopard Server

    Hi,
    I am at a loss on this issue. I am running a test server and client. I had bound my client to the server and was having difficulties with the dock settings on the client. I assumed it was a managed preferences issue on the server, so I checked all the ones I knew to check. It didn't appear that my client dock was being managed by my server. The problem was that the dock would switch from auto-hide to fixed and the preferences under dock could not be altered on the client.
    I've found that the only way to resolve this problem is to unbind the client from the server. Can anyone tell me what I need to be looking for within the server? Could there be an inherited preference from somewhere within the server?
    The other element to this is that this issue didn't arise until after I upgraded to 10.6.3. Prior the upgrade I was bound to the server, and the dock was fine. After the upgrade the dock preferences on the client were no longer able to be managed.
    I am new to server and need some help.
    Thanks

    Thanks!
    So, when I click Join..., type in the server, and then click on the Set Up Services button, I enter the username and password for the account I created on Snow Leopard Server. It switches the sheet to show that it's "Joining the server", and then fails with: "kGotAuthenticationFailure". The Password Service Server Log shows that is actually succeeded: "AUTH2: {0x4b5897f87cada0f20000001500000015, diana} DIGEST-MD5 authentication succeeded".
    If I actually enter an incorrect password, it right away gives me an "Authentication failed" message right below the password dialog in red.
    The console on the Snow Leopard client shows:
    10-01-21 11:10:16 AM System Preferences[248] -[ODCOSXServerJoinController(XSServiceDiscoveryProtocol) gotServicesInfo:fromServer:error:]: got error kGotAuthenticationFailure
    I don't see any other messages on the server that might explain this. Any ideas?
    This server was upgraded from Leopard Server, if that matters...

  • Inconsistent event behavior

    Can anyone reproduce this bug?
    1. Select File->Open... select two Photoshop documents, and press "Open"
    2. Select File->Scripts->Script Events Manager...
    Change the Photoshop Event drop-down to "Everything" and the script to "Welcome"
    Press "Add", then "Done" then press "OK" on the Script Alert box.
    3. Click the Tab or Title Bar of the inactive document.
    Results: Nothing happens
    Expected Results: Photoshop should trigger an event when switching documents, and the Script Event dialog box should pop-up. 
    Switching back to the first document will trigger an event, and switching to the secend document again will trigger an event.
    I made a panel that gives information about the current selected document, but this bug makes it unreliable.

    Hello !
    I don't have this behavior with CS4.
    Opening several docs then defining the notifier for all events, then selecting an inactive document: the script is called on a "select" event. 
    When the notifier is already defined, the open command of several docs raises the good number of "open" events, but only the first has some arguments (file path) and the next have not ??.

  • Inconsistent insert behavior

    Please help.
    1. The following code snippet does not work properly:
    <td colspan="3">Contact relationship to peer
    educator</td>
    <td> </td>
    </tr>
    <tr>
    <td>
    <?php if (isset($_POST['Contact2Peer']) &&
    is_array($_POST['Contact2Peer'])) {
    echo '$_POST[\'Contact2Peer\'] is an array. It contains: ';
    print_r($_POST['Contact2Peer']);
    elseif (!isset($_POST['Contact2Peer'])) {
    echo '$_POST[\'Contact2Peer\'] does not exist';
    else {
    echo '$_POST[\'Contact2Peer\'] is of the following data
    type:
    '.gettype($_POST['Contact2Peer']);
    } ?>
    <?php foreach($_POST['Contact2Peer'] as $peerrel)
    echo "<p>".$peerrel."</p>";
    $insertSQLTPR = sprintf("INSERT INTO TEENPEERRELATIONSHIP
    (PEEREDU_OWNS_ID,
    TEEN_ID,
    PEEREDU_TALKS_ID,
    CONTACT_DATE,
    Contact2PeerID)
    VALUES (%s,
    %s,
    %s,
    %s,
    %s)",
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['teenid'], "int"),
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['ContactDate'], "date"),
    GetSQLValueString($peerrel, "int"));
    mysql_select_db($database_cnPeer_Outreach,
    $cnPeer_Outreach);
    $Result1 = mysql_query($insertSQLTPR, $cnPeer_Outreach) or
    die(mysql_error());
    ?> </td>
    <td colspan="2"> </td>
    <td> </td>
    </tr>
    <tr>
    <td>Encounter referred by:</td>
    <td colspan="2"> </td>
    <td> </td>
    </tr>
    <tr>
    <td>
    <?php if (isset($_POST['ReferredBy']) &&
    is_array($_POST['ReferredBy'])) {
    echo '$_POST[\'ReferredBy\'] is an array. It contains: ';
    print_r($_POST['ReferredBy']);
    elseif (!isset($_POST['ReferredBy'])) {
    echo '$_POST[\'ReferredBy\'] does not exist';
    else {
    echo '$_POST[\'ReferredBy\'] is of the following data type:
    '.gettype($_POST['ReferredBy']);
    } ?>
    <?php foreach($_POST['ReferredBy'] as $refby)
    {echo "<p>".$refby."</p>";
    $insertSQLCRB = sprintf("INSERT INTO CONTACTREFERREDBY
    (PEEREDU_OWNS_ID,
    TEEN_ID,
    PEEREDU_TALKS_ID,
    CONTACT_DATE,
    PERSONTYPE_ID)
    VALUES (%s,
    %s,
    %s,
    %s,
    %s)",
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['teenid'], "int"),
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['ContactDate'], "date"),
    GetSQLValueString($refby, "int"));
    mysql_select_db($database_cnPeer_Outreach,
    $cnPeer_Outreach);
    $Result1 = mysql_query($insertSQLCRB, $cnPeer_Outreach) or
    die(mysql_error());
    ?> </td>
    2. It produces the following results:
    (var_dump POST)
    array(28) {
    ["PeerEducator"]=> string(1) "2"
    ["ContactDate"]=> string(10) "2007-04-30"
    ["Contact2Peer"]=> array(1) { [0]=> string(1) "3" }
    ["ReferredBy"]=> array(1) { [0]=> string(1) "2" }
    ["ContactType"]=> string(11) "Small Group"
    ["NumPeople"]=> string(1) "5"
    ["Location"]=> string(4) "home"
    ["ContactLength"]=> string(2) "10"
    ["Topic"]=> array(2) { [0]=> string(1) "A" [1]=>
    string(1) "D" }
    ["Materials"]=> array(2) { [0]=> string(1) "B"
    [1]=> string(1) "R" }
    ["KnowTeenWire"]=> string(1) "1"
    ["UseTeenWire"]=> string(1) "1"
    ["ReferredFor"]=> array(2) { [0]=> string(1) "A"
    [1]=> string(1) "M" }
    ["Escort"]=> string(1) "1"
    ["VisitTeenWire"]=> string(1) "1"
    ["PresentReferral"]=> string(1) "1"
    ["RecTalkTo"]=> array(2) { [0]=> string(1) "1"
    [1]=> string(1) "3" }
    ["TalkAbout"]=> string(13) "you know what"
    ["Action"]=> array(2) { [0]=> string(1) "D" [1]=>
    string(1) "L" }
    ["ContactTalkTo"]=> array(2) { [0]=> string(1) "1"
    [1]=> string(1) "3" }
    ["ContactMedicalVisit"]=> array(2) { [0]=> string(1)
    "C" [1]=> string(1) "O" }
    ["Comments"]=> string(4) "none"
    ["ContactLater"]=> string(1) "0"
    ["ConvenientDay"]=> string(0) ""
    ["ConvenientTime"]=> string(0) ""
    ["Submit"]=> string(6) "Submit"
    ["teenid"]=> string(1) "6"
    ["peereduid"]=> string(1) "2"
    Contact relationship to peer educator
    $_POST['Contact2Peer'] is of the following data type: array
    3
    Encounter referred by:
    $_POST['ReferredBy'] is an array. It contains: Array ( [0]
    => 2 )
    2
    Column 'CONTACT_DATE' cannot be null
    3. The second insert fails even though the first insert
    works. Also of interest but may be superfluous is the fact that the
    two arrays Contact2Peer and ReferredBy trigger different results in
    the debugging code.
    4. Dreamweaver support would not even touch this case.

    Please help.
    1. The following code snippet does not work properly:
    <td colspan="3">Contact relationship to peer
    educator</td>
    <td> </td>
    </tr>
    <tr>
    <td>
    <?php if (isset($_POST['Contact2Peer']) &&
    is_array($_POST['Contact2Peer'])) {
    echo '$_POST[\'Contact2Peer\'] is an array. It contains: ';
    print_r($_POST['Contact2Peer']);
    elseif (!isset($_POST['Contact2Peer'])) {
    echo '$_POST[\'Contact2Peer\'] does not exist';
    else {
    echo '$_POST[\'Contact2Peer\'] is of the following data
    type:
    '.gettype($_POST['Contact2Peer']);
    } ?>
    <?php foreach($_POST['Contact2Peer'] as $peerrel)
    echo "<p>".$peerrel."</p>";
    $insertSQLTPR = sprintf("INSERT INTO TEENPEERRELATIONSHIP
    (PEEREDU_OWNS_ID,
    TEEN_ID,
    PEEREDU_TALKS_ID,
    CONTACT_DATE,
    Contact2PeerID)
    VALUES (%s,
    %s,
    %s,
    %s,
    %s)",
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['teenid'], "int"),
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['ContactDate'], "date"),
    GetSQLValueString($peerrel, "int"));
    mysql_select_db($database_cnPeer_Outreach,
    $cnPeer_Outreach);
    $Result1 = mysql_query($insertSQLTPR, $cnPeer_Outreach) or
    die(mysql_error());
    ?> </td>
    <td colspan="2"> </td>
    <td> </td>
    </tr>
    <tr>
    <td>Encounter referred by:</td>
    <td colspan="2"> </td>
    <td> </td>
    </tr>
    <tr>
    <td>
    <?php if (isset($_POST['ReferredBy']) &&
    is_array($_POST['ReferredBy'])) {
    echo '$_POST[\'ReferredBy\'] is an array. It contains: ';
    print_r($_POST['ReferredBy']);
    elseif (!isset($_POST['ReferredBy'])) {
    echo '$_POST[\'ReferredBy\'] does not exist';
    else {
    echo '$_POST[\'ReferredBy\'] is of the following data type:
    '.gettype($_POST['ReferredBy']);
    } ?>
    <?php foreach($_POST['ReferredBy'] as $refby)
    {echo "<p>".$refby."</p>";
    $insertSQLCRB = sprintf("INSERT INTO CONTACTREFERREDBY
    (PEEREDU_OWNS_ID,
    TEEN_ID,
    PEEREDU_TALKS_ID,
    CONTACT_DATE,
    PERSONTYPE_ID)
    VALUES (%s,
    %s,
    %s,
    %s,
    %s)",
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['teenid'], "int"),
    GetSQLValueString($_POST['peereduid'], "int"),
    GetSQLValueString($_POST['ContactDate'], "date"),
    GetSQLValueString($refby, "int"));
    mysql_select_db($database_cnPeer_Outreach,
    $cnPeer_Outreach);
    $Result1 = mysql_query($insertSQLCRB, $cnPeer_Outreach) or
    die(mysql_error());
    ?> </td>
    2. It produces the following results:
    (var_dump POST)
    array(28) {
    ["PeerEducator"]=> string(1) "2"
    ["ContactDate"]=> string(10) "2007-04-30"
    ["Contact2Peer"]=> array(1) { [0]=> string(1) "3" }
    ["ReferredBy"]=> array(1) { [0]=> string(1) "2" }
    ["ContactType"]=> string(11) "Small Group"
    ["NumPeople"]=> string(1) "5"
    ["Location"]=> string(4) "home"
    ["ContactLength"]=> string(2) "10"
    ["Topic"]=> array(2) { [0]=> string(1) "A" [1]=>
    string(1) "D" }
    ["Materials"]=> array(2) { [0]=> string(1) "B"
    [1]=> string(1) "R" }
    ["KnowTeenWire"]=> string(1) "1"
    ["UseTeenWire"]=> string(1) "1"
    ["ReferredFor"]=> array(2) { [0]=> string(1) "A"
    [1]=> string(1) "M" }
    ["Escort"]=> string(1) "1"
    ["VisitTeenWire"]=> string(1) "1"
    ["PresentReferral"]=> string(1) "1"
    ["RecTalkTo"]=> array(2) { [0]=> string(1) "1"
    [1]=> string(1) "3" }
    ["TalkAbout"]=> string(13) "you know what"
    ["Action"]=> array(2) { [0]=> string(1) "D" [1]=>
    string(1) "L" }
    ["ContactTalkTo"]=> array(2) { [0]=> string(1) "1"
    [1]=> string(1) "3" }
    ["ContactMedicalVisit"]=> array(2) { [0]=> string(1)
    "C" [1]=> string(1) "O" }
    ["Comments"]=> string(4) "none"
    ["ContactLater"]=> string(1) "0"
    ["ConvenientDay"]=> string(0) ""
    ["ConvenientTime"]=> string(0) ""
    ["Submit"]=> string(6) "Submit"
    ["teenid"]=> string(1) "6"
    ["peereduid"]=> string(1) "2"
    Contact relationship to peer educator
    $_POST['Contact2Peer'] is of the following data type: array
    3
    Encounter referred by:
    $_POST['ReferredBy'] is an array. It contains: Array ( [0]
    => 2 )
    2
    Column 'CONTACT_DATE' cannot be null
    3. The second insert fails even though the first insert
    works. Also of interest but may be superfluous is the fact that the
    two arrays Contact2Peer and ReferredBy trigger different results in
    the debugging code.
    4. Dreamweaver support would not even touch this case.

  • Inconsistent Editing behavior

    A Contribute 3 user on our intranet site frequently needs to
    edit linked Word (and sometimes Excel) documents which have
    hyperlinks from a home page. Rather than click on the document and
    have Word itself open in a new window, she likes to be able to have
    the document open within Contribute. Here's how she decribes the
    problem she is having --
    To modify a document I open Contribute, go to the Home page,
    and click the hyperlink for that document. When things work, the
    document opens within Contribute and the “Edit” button
    at the top is visible, allowing me to edit the document within
    Contribute. I make the changes, save and it goes to the Contribute
    page and I select the “Publish” button.
    But....
    Other times, I open Contribute, Choose the document, it will
    not have the “Edit” button, instead it opens it up in a
    new window in Word and adds a version number [1] behind the name. I
    can make the changes in Word. However, it will not allow me
    save/publish it within Contribute.
    I cannot explain why sometimes it works one way and other
    times it's different. I prefer to be able to edit these Word files
    directly within Contribute. (Version 3 is what I'm using). After
    the document is edited, I do not want a new version (with the [1]
    appended. I want to have my old version overwritten and replaced
    with the edited version on the website.
    Thoughts on what's going on here??? - Thanks
    - Rick

    filed bug w/apple

Maybe you are looking for

  • Can no longer share my Mac to my windows PC

    With 10.4, sharing my Mac to my windows PC was really easy. Now that I've installed 10.5, my PC can no longer see my mac's shared folders. When I try to map network drive to \\192.168.1.4\shared_folder (for example), my PC just gives me an error that

  • How do I create new folders in my mail?

    How do I create new folders to divide and save my mail into catergories?

  • Row selection in JXTreeTable after teeTablemodel:fireTreeStructureChanged()

    I have a problem in selecting a specific row (or tree path) after the use of the method myJXTreeTable.treeTableModel.getTreeModelSupport().fireTreeStructureChanged(); My code looks like the following.... TreePath selPath = myJXTreeTable.getTreeSelect

  • Change image to 2500 pixels on the longest side

    I posted earlier but just found out how to change my dpi in an image from 300 to 72 dpi. (Can't find my earlier post.) Now I'd like to, if possible,, In order to publish this is as a book cover on Kindle, change the number of pixels on the longest si

  • Adobe installer update, adobe installer update

    Is this a legit update? I have got this update a couple of times,the update window just popped up on my screen with Adobe flash manager menu. I have not updated the software as i suspect its a trojan virus, If so how can i prevent my system against s