Validating Flex2's automatic DragDrop

I have a Tree using Flex2's built-in management of drag and
drop, i.e. , like this one in the docs:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=L iveDocs_Parts&file=00000960.html
How can I edit this so that a certain item can not be dragged
to a certain node...i.e. when trying to move "Saved Mail" to
"Mail"

You will want to perform this logic in the dragEnter event
handler. I don't have an example to post, sorry.
Tracy

Similar Messages

  • Jaxb validation is done automatically in webservices build using jax-ws

    I am using websphere 7.0 and jax-ws to build our webservices.My questiion is when the request comes to our webservices does jaxb automatically validates the
    request data against the xsd.Meaning if I have some restrictions specified in my xsd ,does jaxb validates the request against those restrictions or do I have to
    explicitly tell jaxb to do it via coding.
    Thanks
    m

    Is it possible to generate the validation code as part of WS generated code

  • Task License Validation Error Message/ Automatic Scheduling for Disk Defrag is not working.

    I saw where I could possibly ask you for answers to the problems that I am having with Windows 8.1 pro. First of all I noticed that my disk defragmentation task which was set on daily wasn't operating.  It indicated that the last time it ran all disks
    for disk defrag was back on 4/20 and on the this morning of 4/26 there was the date 4/20 for all the disks.  I went into the Administrator Tools section of Control Panel and found Schedule Tasks.  When I opened Schedule Tasks I got the
    error message that indicated a Task License Validation Error. It went on to read:The task XML contains a value which is incorrectly formatted or out of range.  This is my question...are the two related...the inoperative automatic maintenance of disk defrag
    and this error message from task scheduler?  And how do I address each issue to solution.   Thank you very much. 
    [email protected]

    The MSDN Windows and Windows Phone app development forums are for developers to discuss writing their own Windows and Windows Phone apps.
    For help using Windows please post on the Windows forums on
    http://answers.microsoft.com .

  • Page item validation

    I created a page in APEX Express 4.2.3.00.08.  On the page there are two items: a text field named P55_KEY_ID and an LOV named P55_REASON with the values LOST, BROKEN, OTHER.  I created a dynamic action that enables P55_REASON when P55_KEY_ID changes. Our business rule is if P55_KEY_ID has been changed then P55_REASON must have a value, i.e. not null.  Can I define a validation on P55_REASON  with a condition to test the disabled property of the page item with javascript, if it is disabled then return false otherwise true.  Where would I place the following javascript?
    IF $x(‘P55_REASON’).disabled then
      Return  false;
    Else
    Return true;
    End if;

    What is the validation? What version are you in?
    There are some item validations that execute automatically based on settings like 'Required'.
    Date pickers has other attributes that can declaratively validate range.

  • Page item validation does not get removed

    Hi All,
         I had a page item validation defined on the page and later removed by deleting the validation in the 'page processing' in Application Builder. However, the validation still seems to execute at runtime. Can anyone tell me if it needs to be deleted from some other place as well.
    Thanks

    What is the validation? What version are you in?
    There are some item validations that execute automatically based on settings like 'Required'.
    Date pickers has other attributes that can declaratively validate range.

  • DMS - Document Validity

    Hi to all,
    Does anybody know if exist a functionality to handle date of validity of a DMS document? I mean, after approving a document (with the "Release Flag"), I need to fix "manually" a date that the document will be "valid to", the date that the document is "valid from" is automatic when the status with the release indicator is set. The standard system places the date "valid to" automatically.
    Thanks!
    Regards,
    Martin

    Good day,
    The easiest way to do this is by using classification.
    You need to create a user exit using DOCUMENTMAIN01, when a document is released, it must populate the classification field with a valid to/from date.
    In the same exit, you could then also check when the document is accessed, and if it surpasses the valid to date, you can "prompt" the user that the document is no longer valid.
    If you really want to get smart, you can, in the same user exit, change the documents status to "Not Valid" after the allowed period has been reached.
    Regards,
    Freddie Botha
    www.documation.co.za
    SAP DMS, CAD Integration, Data Archiving, Imaging & Scanning, Workflow
    [email protected]
    Please reward points for helpful answers

  • Certificate Authority root CA increased validity problem

    Dear all,
    I was successfully able to create in Certificate Services root CA for 20 years, issued a certificate and login using smartcard using the following procedure:
    1. I increased the CA lifetime to 20 years by using this link http://www.expta.com/2010/08/how-to-create-certificates-with-longer.html
    Created the file CAPolicy.inf in %SYSTEMROOT% with following content
    [Version]
    Signature=”$Windows NT$”
    [certsrv_server]
    RenewalValidityPeriod=Years
    RenewalValidityPeriodUnits=20
    2. Renew CA root using this guide  https://technet.microsoft.com/en-us/library/cc780374(v=ws.10).aspx
    Console Root -> Certification Authority -> select domain -> Right click -> All Tasks -> Renew CA certificate
    3. Delete from
    Console Root -> Certificates (local computer) -> Trusted Root Certification Authority -> Certificates the *WINSC-CA that has the previous lower validity, and from 
    Certificates (local
    computer) -> Personal, the *WINSC-CA that was lower validity
    4. I performed a reboot here
    5. Change in Console Root -> Certificate Templates -> Smartcard Logon Custom Template (my custom duplicate template) -> Properties -> Validity 10 years
    6. Change in registry HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CertSvc\Configuration\<CAName>\ValidityPeriod
    to value 10 for 10 years.
    7. Request a new certificate from CA webpage http://ipofdomain/certsrv and let the webpage write it to smartcard (I was making
    sure there is no other certificate on the smartcard)
    8. Try to log in. At this point it should throw an erorr that smartcard logon is not supported for this account type. This
    is becuase we need to enroll it again for domain authentication
    9. Console Root -> Certificates (local Computer) -> Personal -> Right click -> All Tasks -> Request new Certificate
    -> Next -> Active Directory Enrollment -> Next -> Select Domain Controller Authentication -> Enroll -> Finish.
    Now you should be able to login using your smartcard and 10 years generated certificate.
    Though I have a
    problem at step 3, after CA server reboots the *WINSC-CA certificate with lower validity is restored automatically, but the certificates are generated for 10 years.
    What am I doing
    wrong ? How can I delete the lower validity root CA ?

    Hi,
    Thanks for your post.
    Did you try to restart the CertSrv service to check the result after you create and save the CAPolicy.inf file?
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Validation for WHT code

    Friends,
      i want stop using of one With Holding tax Code in income type 194J in Country IN.how can i give the validation for this.
    Thank u in Advance,
    Satyam

    Hi,
    Try with GL Accounts used for section code 194j, but i am not sure, whether validations work for Automatically generated line items.
    Otherwise, try to block the gl accounts for posting, which are used for 194j
    Otherwise try to remove the assignment of tax types(related to 194j) to company codes.
    I am giving my assumptions only, try to work on the alternatives specified above.
    all the best
    Prasad

  • How are valid-from and valid-to dates set in TRPROD table in APO during CIF

    First question:
    How are the valid-from and valid-to dates set in the APO TRPROD table?
    For example, if I activate a transportaion lane model on March 1, 2008, will the valid-from and valid-to in TRPROD be 20080301 and 99991231?
    Or are these dates defined in the model itself? Or in APO config somewhere?
    Next question:
    Suppose I rerun the model on May 1 2008 to add some records that didn't get added in the March 1 run.  But suppose I want to back-date the valid-from of these records to March 1, rather than use May 1 as the valid-from.
    Can this be done?
    Or is the valid-from always the date of the CIF that creates the TRPROD records?
    Please advise. 
    Thanks

    Hi Srinivas -
    Thanks very much for replying so quickly, but your response didn't answer the questions.
    Let me try again.
    1)
    If I run a CIF on March 1 2008 based on a model that will generate APO TLane data, will the TRPROD valid-from and valid-to get automatically set to 20080301 and 99991231?
    2) 
    If the answer to this question is yes, then is it also true that if I run a new set of records in on May 1, 2008 (no duplications with the original set), then the valid-from and valid-to dates will be 20080501 and 99991231.
    3)
    But if (1) and (2) are both true (if you answer them both "yes", then suppose I want the May 1 record set to have valid-from dates of March 1 (for example, if the May 1 record set includes records that didn't get included in the March 1 set due to an error in selection criteria).  How do I get the valid-from to be March 1 when I run the CIF on May 1?
    On the other hand, if (1) and (2) are NOT true, then how DO the two dates get set during a CIF ????
    Thanks
    djh

  • Delivery Block Based on Payment Card validity.

    Dear SAP Gurus,
    We are working on a scenario, where in we need to block the delivery based on the payment card validity date, which is given in sales order.
    The requirement here is, for eg. If a sales order is created during the payment card validity period, usually the partial deliveries referring the same SO. So if the card validity is over before the quantity is fully delivered, system should block the remaining qty for Delivery.
    The system is proposing a status block initially while trying to do the delivery, but once the block is released the delivery can be done even after the validity expiry date.
    Is there any standard process to block delivery based on Payment card Validity expiry date automatically.
    Please advice
    Thanks & Regards
    PG

    Hi Mr. PG,
    Put the payment method as P - Payment card in customer master.
    Enter the payemnt card detail in customer master in genral data page.
    Use user exit or create a program which check the validty date of payment card and if it is expired then put the delivery block in the customer master.
    Hope this helps.
    Regards,
    MT

  • Urgent: Problem in validation created in T code  OB28

    Hi,
           Because of some requirement . i did created a validation in OB28 for a specific company code.After saving that validation ,code was automatically  generated in include GBTI6FID
    code:FORM VAL_AJAY.
          NEW_SIM_TRACE_AJAY                                            *
      G_BFOUND = B_TRUE.
      DATA:  COND  LIKE D_BOOL,
             CHECK LIKE D_BOOL,
             NVALSEVEREST LIKE SY-SUBRC VALUE -1.
      IF G_TAB_FLAG-BKPF                           <> B_TRUE .
        PERFORM READ_MASTER_DATA
                    USING
                      'BKPF                          '
                      G_BFOUND.
        IF  G_BFOUND = B_FALSE .
          MESSAGE E082 WITH  'BKPF                          '.
        ENDIF.
      ENDIF.
      G_STEP = '001'.
      PERFORM VALCOND_1AJAY###001
                  CHANGING
                    COND.
      IF COND = B_TRUE .
       <u> PERFORM VALCHCK_2AJAY###001</u>
                    CHANGING
                      CHECK.
        IF CHECK = B_FALSE .
          PERFORM MESSAGE_OUTPUT
                      USING
                        'Z0 '
                        '026'
                        'E'
                        CHANGING
                        NVALSEVEREST.
        ENDIF.
      ENDIF.
    Afterwards because of change of requirement i was bound to delete the validation AJAY , but after deleting and saving it the code was not deleted from the includes automatically.
    Now when a user is trying to post the journal entry using FB01 , he is getting a compilation error from the includes.
    <b>The FORM "VALCHCK_2AJAY###001" does not exist, but there is a FORM with
    the similar name "VALCHCK_2TEST###001".</b>In  Includes GBTI6FID     
    Is there any way i can create these forms , or i can delete the perfrom code from the includes.

    Hi Eric,
                   It got solved but using a different method. Since the code was not getting deleted , i did created the same validation again and have regenerated the code.
    Anyways thanks for your inputs i think it will help me out some day.
    One more help from you:
    can you suggest me some good books or links which can provide information on user exits, enhancements.
    Cheers,
    Ajay

  • To force AP invoice to be validated after running the interface

    hi,
    i use the OPEN INTERFACE INVOICE for the AP INVOICE to load. After i load, i notice that the status of the invoice is not VALIDATED. How do i make the INTERFACE program to validate them upon loading?
    or any API / program i can use to validate the existing invoices?
    i have got thousand of invoices to be loaded.

    You can create a request set that has 2 sequential steps
    1) Invoice import
    2) Invoice Validation
    And then run the request set. That way, the invoice validation will run automatically after the invoices are imported.
    Hope this helps,
    Sandeep Gandhi

  • Condition Price Validity Dates

    Hi,
    We want to calculate (valid to) date automatically in condition prices for sales. in vk11
    when we create any condition price user put (valid from) date. and on predefiend period of 10 days (valid to) date
    should calculate automatically.
    how can i achive this thing?
    any help will be highly Appricated.
    Regards
    Malik

    thanks Ravi.
    THis Badi will work when i will press save button.
    i want to propose valid to date as per my requirement.
    when user entery valid from date and press enter like standard automatically
    valid to date should come on the basis of 10 days plus valid from date.
    regards
    Malik

  • Validation accross version

    Hello - Is there a way to validate if a node exists in another hierachy version? Basically, the validation won't allow modification or deletion of node if it exists in another version hierachy.
    Thanks,
    Phil

    Naamas wrote:
    the apex force the user to insert values for the fields which suppose to be with value.
    if the user is not entering value , the validation is raised,
    i looking in the page at Page Processing -> validation . and i cannot see any validation,
    i do not understand from which place the validation is raised , These validations are performed automatically by APEX when the Value Required property in a page item's definition is set to Yes.

  • Exposing validation errors towards end users

    I have some challenges related to business rules validation when using MDS as a domain hub
    On a daily basis (with a limited number of transactions going into MDS from the source system(s)) it is probably sufficient to handle violation of business rules through mail notification / customized workflow.
    However, when handling large data sets - it is not easy to get a (user-friendly) overview of all validation errors.
    For instance: If you have several rules with multiple conditions on each - the member will be listed several times if it triggers one (or more) conditions on one (or more) business rules.
    Anyone who have a solution for this problem ?
    dakine

    First off I have to say that we are doing something similar to the above but not for BR errors. In any case the process is extremely similar to what you are looking for. For your SSRS I would go off the View for that particular entity. in Web UI: 1. Go
    to Integration Management -> Create Views 2. Add a View for the specific Entity . 3. Optionally you could take the above View and modify it in SQL management Studio to have fewer columns to make it faster, and give it another name (the drawback would be
    you would have to manually change it if you need to later) 4. Have SSRS run off the View you created in 2 or 3. If you are asking about how to force Validation through SQL -> mdm.udpValidateEntity, but I am assuming that Validation is done automatically
    while people are entering data. Or after staging, so you only need to see what has failed, or maybe passed ...

Maybe you are looking for