Pagebean -saving-validation

Hi all,
in my application there is a jsp which uses a pagebean.
now i added somemore attributes to the pagebean and included them in the jsp as well.
there is javascript validation for the previous attributes.
the values can be modified and should be saved to the db2 database on cliking the modify botton.
my question is do i need to include java script validation for the new attributes that i added to the pagebean and jsp to get modified and stored to the database?
or can i modify and save the new values without validation?
is validation compulsory?
your reply is very imp to me friends
cheers and thanks in advance

Validation of data before it goes to the database.
Why not check with your lead and see what your copany's business rules require?
There may not be any data police at your location to come down and beat you severely for storing garbage, but generally speaking: only data that has been scrubbed and validated to the best ability available should be stored in the DB.

Similar Messages

  • Error Saving Validation

    Hello, I'm running MDM v7.1.05.101
    When trying to add a validation to a main table I am getting the following error:
    Error Saving Validation
    Field Not Found <0xFFAA1000>
    Version 7.1 (7.1.05.101)
    Anyone have any idea what that is about?

    Hi,
    1.I think the field which you describe in validation is deleted from MDM repository, so make sure field should be available in repository.
    2.or try to select other field and the save the validation still same error then verify and repair you repository through MDM console, hope this will reslove your problem.

  • Saving validation results for later processing

    Greetings!  I'm trying to come up w/ a way to save validation results (found server side in this.Details.ValidationResults) to an attached entity so that they can be worked by a user at a later time.
    Has anyone implemented such a pattern?  I can't seem to find any examples...
    Thanks in advance!

    @sharpLj - thanks for the reply and article link.
    What I'm looking for is a pattern to SAVE the results of validation rules.  For example, take a simple application that allows users to bulk import (by way of csv upload to server) hundreds of CarManufacturers and CarColors.
    So, you might have a csv that looks like this....
    CarManufacturers,CarColors
    BMW,Green
    Audi,Blue
    Ford,Yellow
    Audi,Silver
    These values get uploaded to a simple table w/ two properties (CarManufacturer & CarColor)...
    I also have two other tables for "CarColorValidation" (Manufacturer 1toMany Colors)..
    Say that those tables are loaded like this:
    BMW -> Green,Blue,Red
    Audi -> Green,Black,Blue
    Ford -> Yellow,Green
    Now, to pull this all together...
    Cars and colors are uploaded, again, in bulk.
    I have validation rules wired up that will look at the uploaded CarManufacturer and its CarColor and make sure that the CarColor is valid (found in the CarColorValidation tables) for the given CarManufacturer. If it is NOT found (in my example the Audi
    that is Silver) then i set a validation WARNING (so i dont block the save process).
    What I want to do is SAVE that validation warning (perhaps to an related table) so that a user can come back later and correct the invalid car color.
    thanks again for any ideas!

  • What is newest/best/simplest Java XML API for loading/saving/validating?

    Here's what I need to do:
    - Load XML files. Preferably validate using XSD validation referenced by "xsi:schemaLocation" hints.
    - Generate XML files. I'd like to be able to specify indentation (tabs?) and "xsi:schemaLocation" XSD hints
    - I'm working with fairly small configuration files, so I'd like to work with document-centric (and not streaming oriented) APIs.
    I've spent a full day reading articles showing different code snippets for different APIs. There are dozens of standards and APIs. Also, all the articles that I can find are several years old at the least.
    This is surprisingly complex for something so seemingly simple.
    What's the best XML API that fits my criteria? Any links for code snippets and up-to-date documentation?
    Thanks!

    Well, XML hasn't changed since it was formalized, and that was in 1999. So there's really no need for people to write new parsers every couple of years any more. And that's why you don't find new tutorials being written every year either. There's really not much need for that.
    Anyway, my recommendation would be to use the classes that are built into your current version of Java. Use them for a while. Once you have experience with them, all those tutorials about other products will start to make sense and you will be able to make an educated decision for yourself.

  • Validation for Project defination and project profile

    Hello,
    I have to create validation for Project Definition and Project Profile.User requirement is when the project (Exp: Z/0120) is creating with project profile Exp: Z0001_Z system should allow , If user is trying to select other than this profile system has to give the error.
    I tried below validation but it is not working:
    Prerequisite - PROJ-PSPID = 'Z'
    Check   -  PROJ-PROFL = Z0001_Z
    Kindly any suggest how can i give the validation for the same.
    Regards,
    Lakshmi.
    Message was edited by: Mohamed Rafi - Many threads available on this topic search for those.

    Hi,
    Have you tried to save the project? Because validation rule will call at time of saving the Project.
    I have created the same but for start with 'U'
    When I create project and at time of saving, validation rule will call and system throw error if I don't create project start with 'U'.
    Now If I am creating here, start with 'J'. System  is throwing error as per validation rule.
    Also Pl check if you have assigned same correct rule on project profile.
    Regards
    Shishir

  • Unable to Create Validations

    I am in Data Manager in Record Mode. I am trying to create validations.
    In the record detail area, I selected Validations tab. In the validations tab, I right click to select "Add Validation"
    Immediately after  that I got error message stating "Error Saving Validation" "Field not Found <0xFFAA1000> Version 7.1(7.1.04.131).
    I am not sure what is the reason for this error.
    Can any one share some tpis, Please.

    Hi SudhaViz,
    This problem will be solved after repair your repository from the MDM Console.
    Please find similar thread with same issue:
    Re: Error while create/change Validation/Assignment after upgrade to MDM 7.1
    Also, please  refer the solution of this SAP NOTE 1433625:
    https://websmp130.sap-ag.de/sap/support/notes/1433625
    Regards,
    Mandeep Saini

  • Process flow fails to complete when another in the same package is deployed - OWB 11.2.0.2

    Hi,
    I have  problem with OWB Process Flows whereby whenever I deploy a process flow within an existing package, another Process Flow becomes (unknown to me) invalid and will not complete execution.
    When deploying the first process flow, I am synchronising all mappings within it, saving, validating and saving again before deploying it. This process flow then functions ok but then a random process flow within the same package malfunctions. By this I mean the process flow does not complete, as if it has lost some connectors. Has anybody else had this problem?

    HI Richard,
    Thanks for your reply. Yes I agree with your answer but sadly this does not seem to be the cause of the problem in my case as I always stop any running processes and double check with the list_requests.sql as provided and where necessary execute the deactivate_execution.sql and/or abort_exec_request.sql only if absolutely required. Finally I check again with list_requests.sql and if necessary run in the OWF_MGR schema: WF_PURGE.TOTAL and/or the following sql (again only if required) :
    BEGIN
    FOR cur_rec in (SELECT ITEM_TYPE,ITEM_KEY FROM OWF_MGR.WF_ITEM_ACTIVITY_STATUSES
      WHERE ACTIVITY_STATUS = 'ACTIVE')
    LOOP
    OWF_MGR.WF_PURGE.MOVE_TO_HISTORY(cur_rec.ITEM_TYPE,cur_rec.ITEM_KEY);
    COMMIT;
    END LOOP;
    END;
    So I am sure that no processes are running before I begin deployment. Thanks again for your reply.

  • Unable to acknowledge a outbound EDIFACT ORDERS document.

    Hi,
    We are sending a EDIFACT ORDERS ( D98A version ) to one of our partner and it is successfully reaching the destination folder. Since we are expecting the funtional acknowledgement from partner i have checked the "Functional ack " and also set the "FA Handled by B2B " to "YES" . So once the data reached to the partner message status is "MSG_WAIT_FA" . Although the partner is sending functional acknowledgement back to us and it is successfully consumed by Oracle B2B still the messaage status for EDIFACT ORDERS is "MSG_WAIT_FA" . Please help me to resolve this issue.
    Below are the configuration what i did.
    1) Created a new agreement for D3 CONTRL
    2) The Functional Ack Handled by B2B=true
    3) checked FA handled by B2B = Yes in D98A ORDERS agreement
    4) Functional Ack = checked in D98A ORDERS agreement
    5) Both ORDERS and CONTRL agreements Saved-->Validated and deployed.
    6) I have created the listening channel for CONTRL agreement.

    Hi Anuj,
    Thank you so much for your advise. There was a mismatch in the control number in CONTRL document. Now its working fine. Thank you once again.

  • Can I prevent multiple line inserts?

    Hi everybody
    I wrote a form-personalization to prevent duplicate receipt numbers (just receipt numbers, forget about amount, currency and customer) in AR.
    It works perfectly... only if user save each receipt after typing.
    It seems that users can enter many receipts before clicking Save button, then all records are saved in one step... if a user enters same receipt number BEFORE saving, validation doesn't work because offending receipt is not inserted in table yet.
    Is there a way to force saving each receipt or disable this 'feature'?.
    Thanks in advance
    Oscar

    I am sure you can achieve this. Use following:
    I had a similar kind of requirement, where I was validating some sequence values.
    1) extend the CO of your page where you want to achieve this.
    2) Capture the Save button event in that CO.
    3) In that button capturing, call a method in AM.
    4) That method you will have to add in AM, by extending AM.
    Here is the sample code for that AM.
    public void ValidateSequence() {
    OAViewObject vo = (OAViewObject)findViewObject("XXBCR12ToolkitVO1");
    int rowcount = vo.getRowCount();
    String sequence[] = new String[rowcount];
    RowSetIterator SeqIterator;
    XXBCR12ToolkitVORowImpl row = null;
    SeqIterator = vo.createRowSetIterator("SeqIterator");
    SeqIterator.setRangeStart(0);
    SeqIterator.setRangeSize(rowcount);
    for (int i = 0; i < rowcount; i++) {
    row = (XXBCR12ToolkitVORowImpl)SeqIterator.getRowAtRangeIndex(i);
    if (row.getAttribute("LegacyColumnSeqNum") != null)
    sequence[i] =
    row.getAttribute("LegacyColumnSeqNum").toString();
    for (int i = 0; i < rowcount; i++) {
    for (int j = i + 1; j < rowcount; j++) {
    //System.out.println("Main "+sequence[i]+sequence[j]);
    if (sequence[i] != null) {
    if (sequence.equals(sequence[j])) {
    throw new OAException("Sequence value duplicated. Please enter unique sequence number for " +
    sequence[i], (byte)0);
    } else {

  • Validation for saving values in jsp--is validation compulsory?

    Hi all,
    in my application there is a jsp which uses a pagebean.
    now i added somemore attributes to the pagebean and included them in the jsp as well.
    there is javascript validation for the previous attributes.
    the values can be modified and should be saved to the db2 database on cliking the modify botton.
    my question is do i need to include java script validation for the new attributes that i added to the pagebean and jsp to get modified and stored to the database?
    or can i modify and save the new values without validation?
    is validation compulsory?
    your reply is very imp to me friends
    cheers and thanks in advance

    well, validation in general isn't required, but if some bad value is entered and not otherwise checked for, you could get errors.
    and if you use validation at all, then the server-side validation will always run even if the JS validation runs or not.

  • Saving a Photoshop CC project from a Mac (in .PSD format) to a thumb drive and trying to transfer it to a Dell laptop with Photoshop CS6.  Will not open...Error message: could not complete your request because it is not a valid photoshop document.

    Saving a Photoshop CC project from a Mac (in .PSD format) to a thumb drive and trying to transfer it to a Dell laptop with Photoshop CS6.  Will not open...Error message: could not complete your request because it is not a valid photoshop document.

    The file was corrupted somewhere along the way (assuming it was still readable on the Macintosh).
    The platforms don't matter, but you still need file transfer that doesn't corrupt files...

  • Error while saving Views in Portal - Technical name not valid.

    Hi,
    When saving Views in Portal, I'm getting the message The Technical name of object QVIW is not valid. I've searched the forums but couldn't find any solution to this issue. We are on SP 16. Any help would be appreciated.
    Thanks & Regards,
    Hari

    Dear Harikrishna,
    while saving iviews in portal..
    it will prompt for some mandetory columns is it.. one is for description..
    and the iview name like iv<name of the template>.. this should be without space..
    and in the next page u should give technical name of the template as 'template=<name of the template'
    in this you should not give any space..finish and save the ivew..
    hope this would help you.

  • Saved keynote document could not be read. Error message says The document does not have a valid format.

    Using Keynote '09 on an iMac OS 10.8.4. Two of my students saved a Keynote file then the next day when trying to open received an error message- The document "4b Molly.key" could not be read. The document does not have a valid format. The students are saving correctly. Any ideas how we can retrieve a working file? Why did this happen?

    Just tagging on as I encounted this problem this morning.  I'm using Mavericks, on MBP (late 2013). 
    Have both Keynote 5 and 6 - tried to open the file in both, to no avail.   I have also tried the renaming of .key to .zip that seemed to work for others with previous OS, but does not fix now.  Also tried uploading to iCloud, renaming, redownloading - no fix there either.  I've tried to open on iPad and on a different user's iMac - again, get the same error.
    It worked yesterday and the day before.  It is a large file; however, I realized that from last night to this morning the only different thing I did was that I inserted photos in the keynote deck by drag & drop verses Insert/Choose and wondering if this corrupted the file.
    I'm going to hope a fix is out there somewhere and that I don't have to spend hours upon days upon weeks redoing this 98+ page deck.
    Any suggestions?

  • I downloaded the PSD trial. Worked in it. Saved my file.  Now when I try to open it it says "not a valid photoshop file"

    I downloaded the PSD trial. Worked in it. Saved my file.  Now when I try to open it it says "not a valid photoshop file"

    That depends on why it won't open.  Most of the time it means the file is corrupted and unlikely to be recovered. If you saved it right after adding or copying a LOT of layers - then it might just be the layer limit and we can attempt to recover it.

  • After the recent update on my Ipad Mini. It crashes frequently. The latest is that during saving, it crashed. Now I can't open my project file. It says, Not a valid Adobe Photoshop Touch file. What happened?!!

    After the recent update on my Ipad Mini. It crashes frequently. The latest is that during saving, it crashed. Now I can't open my project file. It says, Not a valid Adobe Photoshop Touch file. What happened?!!

    Sufficient free storage.... tried the reboot and install... Just received an iOS update I'll install tonight and do another reboot...see what happens. Going to have to start saving double..

Maybe you are looking for

  • My sales order is having two schedule lines

    Hi sap gurus, my sales order quantity is 36 pcs. the same sales order has two schedule lines in that the material availability date is 05/02/2010 for quantity 22 and for second is 15/02/2010 quantity is for remaining 14 quantities. so here delivery c

  • How to use like operator in loop

    Hi I am trying to use like operation in loop condition. the code is as follows: loop at lt_mara into l_mara where l_mara like '%XXX'. endloop when i have the like operator like above its giving me an error that i cannot use like operator. Is there an

  • Replacing a comma with a paragraph mark

    Hello All, I have some poor quality address information which is in the form: <ADDRESS>1 High Street, Kensington, London, England, SW1<!ADDRESS> and on the letter I need to convert it into: 1 High Street Kensington London England SW1 Any clues how to

  • GuiXT- Command 'column' not available

    hi Gurus, 1] I am getting a error in GuiXt command 'column'     The command line in BOM CS02 transcation is,     Column "AvStock" size=8 name="AvStock" position=5     Earlier same command line was working and i was getting a column named        AvSto

  • Home Page doesn't open

    This seems to be recent. I open Safari and the address appears, but the home page doesn't load (MSN). If I click the RELOAD button in the header it loads fine. If I clear the CACHE, I get maybe 3 successful openings and then it's back to blank. Any i