Validation not working in sun idm(oracle waveset) form

I have put this validation code in my form.
<Field>
<Validation>
<cond>
<gt><i>6</i>
<i>5</i>
</gt>
<s>zip codes must be five digits long</s>
<s>zip codes must be five digits long</s>
</cond>
</Validation>
</Field>
But on submit of form this validation code is not getting called.
It is given in sun idm docs that validation message appears in red at top of the form.
But it is not getting displayed in my case.
How to get message to display on form.
OR
how to get any message displayed on form present inside validation tag.

As requested
        <Field name=':variables.xxxWorkstationID'>
          <Display class='Text'>
            <Property name='title' value='Workstation Name'/>
            <Property name='size' value='25'/>
            <Property name='maxLength' value='25'/>
            <Property name='required' value='true'/>
            <Property name='help' value='Please provide the workstation name'/>
          </Display>
          <Derivation>
            enter your form code here
          </Derivation>
          <Validation>
            <cond>
              <not>
                <eq>
                  <invoke name='callResourceMethod' class='com.waveset.ui.FormUtil'>
                    <ref>:display.session</ref>
                    <ref>:variables.xxxResName</ref>
                    <s>validateWorkstation</s>
                    <map>
                      <s>Workstation</s>
                      <ref>:variables.xxxWorkstationID</ref>
                    </map>
                  </invoke>
                  <i>0</i>
                </eq>
              </not>
              <s>Error. The Workstation Name is not valid. Please re-enter a valid name.</s>
            </cond>
          </Validation>
</Field>

Similar Messages

  • Where to download Sun IdM/Oracle Waveset evaluation version [full]

    Hi,
    Could you advice me, where to download evaluation copy of sun IdM/Wave Set? I downloaded 8.1 but it looks for pre-installations.
    Appreciate your help!
    Thanks
    Prakash

    Sun IDM 8.1 can be installed from scratch. No previous IDM versions are required. It is a full installation. Simply use MySQL as the repository database and Apache Tomcat as your application server.
    Specific installation instructions for Sun IDM 8.1 on Tomcat can be found here: http://docs.sun.com/app/docs/doc/820-5594/ahtbq?l=en&a=view
    Of course, first you need to prepare the DB and App Server: http://docs.sun.com/app/docs/doc/820-5594/ghrqf?l=en&a=view and http://docs.sun.com/app/docs/doc/820-5594/ghrsw?l=en&a=view, respectively.
    Good luck.
    Edited by: user12611524 on Dec 28, 2010 2:55 PM

  • Client Side Javascript Validation not Working in Struts 1.x version

    hi,
    I'm following the steps provioded in the below link for Javascript Client side validation but still it is not working.I'm struggling to get this work.
    [http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/|http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/]
    "The framework automatically generates the browser specific JavaScript and validate the data only at the client side."From the above statement i undertstand that framework itself generates the javascript function for validating the field mentioned in validations.xml file so that we dont have to explicitly write a javascript function for
    validating the fields
    (or)
    Do we need to call an explicit function
    Please need help on this.
    I have followed all the steps mentioned on the above link but Client Side Javascript Validation not Working in Struts 1.x version....
    Thanks and Regards,
    Deepak

    Hi,
    Please find my steps below....still getting an error.
    2> which version of commons-validation.jar needs to be downloaded ...Link please
        downloaded the latest commons-validation.jar and placed in lib.refreshed the project,and did a build.
        3> which DTD name to be specified in "validator-rules.xml" which is in accordance to commons-validator.jar file.
    validator-rules.xml ::
    <!DOCTYPE form-validation PUBLIC
              "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
              "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">validation.xml:
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
    i did as u said and im gettiong the below errorNov 5, 2009 4:33:08 PM org.apache.struts.validator.ValidatorPlugIn initResources
    SEVERE: Invalid byte 2 of 2-byte UTF-8 sequence.
    org.apache.commons.digester.xmlrules.XmlLoadException: Invalid byte 2 of 2-byte UTF-8 sequence.
         at org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(FromXmlRuleSet.java:139)
         at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1610)
         at org.apache.commons.digester.xmlrules.DigesterLoader.createDigester(DigesterLoader.java:89)
         at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:122)
         at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:238)
         at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:181)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1036)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:455)
         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Need help forum members.....
    Please reply to my question 1  which has been asked before as belowDo i need to write explicit javascript function for validation in Struts (or) struts generates the javascript function by itself.??? Please explain with an example....
    Edited by: Deepak_A_L on Nov 5, 2009 4:37 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Formscentral is not working again. All the open forms become blank either in IE or Chrome.

    Formscentral is not working again. All the open forms become blank either in IE or Chrome. Please check.

    Yes, we're still working on it.  I will update the Announcement at the top of the forum as we have more of an update.
    Thanks,
    Josh

  • Validation not working when clearing an open item

    Hi SAP Gurus,
    We have a interesting scenario to discuss with you. We are using Legal Dunning Procedure so once legal action is intiated against the customer notifications are sent to the legal department if payments are received.
    Unfortunately this can happen only during the next dunning run which of course can occur in varying time intrevals. Therefore we need a validation to occur if a payment is received from a customer against whom legal action has been initiated.
    We tried using the following fields Date of the legal dunning proceedings, Dunning block, Dunning key, Dunning level but are not able to get the validation to work when attempting to clear the open item. These all work when trying to post a new document but fail when trying to clear a open item. Points will be given for helpful answers.
    Regards,
    Siva

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • Item Level Validation Not Working As Supposed To...

    Hi All,
    I have an item validation type: SQL(Not Exist) that checks whether the value in the id number field exists in the database when Create button is clicked. If the id number exists in the database then an error message is displayed in line with the field & the transaction doesn't go through; however, when this happens Apply Changes & Delete button appear & Create button dissapear. It's as if the record has already been inserted. I would like this validation to work like the Not Null validations.
    I repeated this process several times without success & now I can't even create a new user or update & delete existing ones - I get the error:
    ORA-06550: line 1, column 7: PLS-00428: an INTO clause is expected in this SELECT statement
    ORA-2015: User ID number already exists in the database.NB:The second message is the one I use whenever there's duplicates so, it's oracle reserved message. Any help is highly appreciated.
    Regards
    Kamo

    The buttons probably have conditions to appear if a certain item is not null. You can set this item to null as part of the validation, e.g.,
    :P1_X := null;
    ...but to do that you'd need to change the validation type to PL/SQL Function Returning Boolean and code the "not exists" logic into the PL/SQL block.
    Scott

  • Client_host('cmd  edit c:\temp\file_print.txt'); not working with Sun JRE6

    Hi,
    I am working on Oracle forms10g ( 10.1.2.0) with Sun JRE6 (Using JRE version 1.6.0_31-b05) which is working fine. the only problem is, when I use edit command, its not working nor show any error. Command I am using (to display the text file in command window) - client_host('cmd edit c:\temp\file_print.txt'); . the same command working fine if I switch to JInitiator (1.3).
    help would be greatly appreciated.
    Thank you.
    Alok

    In the [webutil] section of the formsweb.cfg, did you change the baseHTMLjinitiator to point to webutiljpi.htm?
    not working nor show any error. Not all errors will be reported through the Forms UI. For java related errors you have to look at the Java Console. Please check the Java Console and post any errors listed there.
    the same command working fine if I switch to JInitiator (1.3).This tells me the problem is most likely a configuration issue. Please list what steps you took to congifure your system to use the JRE over the default Oracle Jinitiator.
    Craig...

  • Application is not working when changing of oracle server domain name

    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.

    Mohd khalid wrote:
    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.I am really confused that what's not working? What I have understood is that you recreated the EM repository. So where does "some of the future not working like date,etc." come into it? Are you checking date from EM ? Which application is not working, your application or EM or both or somethingn else? Tell us the complete version, error information and also post the output of
    emctl status dbconsoleHTH
    Aman....

  • Validation not working during Mass Change of Vendor Line Items

    Hi All,
    I created validation for Reference Key 1 field of Vendor line items, in this validation i used customized user exit.
    Whenever i select multiple line items in FBL1N for mass change & try to put a unauthenticated value system gives error as per Validation only for 1 st item but it not work for subsequent items & put the unauthenticated value in subsequent line items.
    I am not able to understand why Validation is working only for 1st line item during mass change & not for subsequent line items.
    Please provide your suggestions in resolving this issue.
    Thanks
    sandeep

    Hello Sandeep,
    I understand your issue. First check if the changes as per the SAP Note 640908 (https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=640908) is available in your system.
    Actually, Mass changes call FB02 in background and at this stage Validation gets activated and hence, the control doesn't go back for the next item changes. You can test this by deactivating the Validation and then the mass changes will me fine.
    I hope this explains the behaviour.
    Thanks and regards,
    Suresh Jayanthi.

  • XML Validation Not Working.

    Hi Dear Experts.
    I have an scenario Proxy to JDBC - Dual Stack , on Receiver Agreement I checked the option Validation by Integration Engine . I made a test in Test Message on NWA Task and the validation is fine. However when I sent the message from ABAP Proxy the validation is not working.
    Can you help me?
    Regards.

    Can you see your xsd in NWA??
    NWA → Cache Monitoring → Mapping Runtime.
    or
    PIMON → Monitoring → Mapping Runtime → Cache Monitor
    @Sarojkanta Parida : IN PI 7.4 version we dont need to place xsd in any location, We just need to select Schema Validation option in Sender/Receiver Agreement, and it will be activated.
    Regards
    Osman

  • Validation not working on Qualified Field!!!! is this Normal!!!

    Hi All,
    I have an Integer field in the Qualified table.
    Name-> Non Qualifier -> Type Text
    Code -> Qualifier -> type Integer
    Now, i need to write a  validation which throws error If user enters a number whose length is  less than 4 or greater than 4.
    The business requirement is User should enter Exactly 4 Numeric values. Not less and not more.
    As integer type field done not control Field length i have written a validation.
    I have written a validation..
    IF(IS_NULL(MAINLOOKUP.Code),1,IF(LEN(MAINLOOKUP.Code)<4 , 0 ))
    But this is not working.
    this works for a Normal Integer field which is in Main table, But this is not working when Code field is in Qualified table!!!
    Is this the normal Behaviour of MDM??
    Or am i missing something!!!
    Experts please provide your suggestions.
    Note: i changed the Code field to Text and made length as 4 in field property, But this is not controlling if user keys in only 2 values.
    So written the above validation on text field as well, But it does not work.
    Kind Regards
    Eva

    Hello Eva
    Ok
    Just imagine
    you have some record in your main table with some QLUT
    Qlut contain next fields
    item_name - type text
    item_value - type integer qualified = yes
    and list of values
    q1
    q2
    q3
    q4
    your main table contain next fields
    name-text
    Qlut->your Qlut
    qlut_code->text
    qlut_value_>text
    For qlut_code create assignment like Qlut.code
    For qlut_value create assignment like Qlut.value
    add some records to main table like this:
    name=test1
    in qlut select next:
    item name =Q1
    item value=1
    item name =Q2
    item value=2
    item name =Q3
    item value=3
    and another one record in main like this:
    name=test2
    in qlut select next:
    item name =Q1
    item value=1
    item name =Q3
    item value=3
    item name =Q4
    item value=4
    item name =Q3
    item value=33
    select both records and run both assignments
    If your assignments is correct
    In first main record you have got
    qlut_code=3:Q1;Q2;Q3
    qlut_value_>3:1;2;3
    for second main record you have got
    qlut_code=4:Q1;Q3;Q4;Q3
    qlut_value_>4:1;3;4;33
    Then you can use records values from qlut_code and qlut_value for validation
    This is work fine.
    I hope, you have got my point
    Regards
    Kanstantsin Chernichenka
    Edited by: kanstantsin_ch on Oct 6, 2011 1:35 PM

  • Validation not working when application is in portal

    hi i have a stuation where my unique validation are working when i run application as standalone but when i put application in portal is working ,am adding my application in portal by creating ADF JAR and aadd the jar in my portal,am in jdeveloper 11.1.1.6.0

    am doing validation in entity level
    <validation:UniqueKeyValidationBean
        Name="UamOrganisations_Rule_0"
        ResId=".model.entities.UamOrganisations_Rule_0"
        KeyName="AltKey">
        <validation:OnAttributes>
          <validation:Item
            Value="Organisationname"/>
        </validation:OnAttributes>
      </validation:UniqueKeyValidationBean>
    is still not working even if i set immediate=true
    <af:inputText value="#{bindings.Organisationname.inputValue}"
                                      simple="true"
                                      columns="20"
                                      maximumLength="#{bindings.Organisationname.hints.precision}"
                                      shortDesc="#{bindings.Organisationname.hints.tooltip}"
                                      id="it1" autoSubmit="true" required="true"
                                      immediate="true">
                          <f:validator binding="#{bindings.Organisationname.validator}"/>
                        </af:inputText>

  • Validation not Working in WBS Element

    Dear Team,
    I have created a Validation at WBS element level like this:-
    Prerequisite
    PROJ-PROFL = 'ZPSSNR'
    Check
    PRPS-POSID : 1-6 := PROJ-PSPID : 1-6:
    Error:
    WBS ID doesn't start with Project ID
    My Project ID "SN-001"
    Now when I tried create 1st Level WBS element ( which is Identical to Project ID), it is working fine but in 2nd  level onwards it raised erorr. For example, I tried to create WBS at 2nd Level like "SN-001-CIV" then system throw error.
    Kindly help me to resolve the issue.
    Regards
    Soumen Das

    Hi,
    For your case Use the data as below it would work fine for all the level WBS.
    Prerequisitie:
    PROJ-PROFL = 'Your project profile' AND PRPS-STUFE >= '1'
    Check:
    PRPS-POSID :1-5: = PROJ-PSPID :1-5:
    Message:
    Your required message number.
    Note in Check i am asking to use 1:5 because the special symbols should not be considered.
    Now your validation should work fine.
    Regards,
    Pradeep

  • Spry validation not working in latest FF or Chrome

    Hello,
    A simple Spry validation script that we're using is not working in the latest editions of Firefox or Chrome. (However it is working in IE).  Meaning, it doesn't validate the form elements as it's supposed to (like missing email address) except for in IE. I can't seem to crack this one. Please have a look at the page:
    http://www.golfturf.rutgers.edu/lp/Copy%20of%203-week-turf-short-course-lp1.asp
    Any help would be appreciated. Thank you.

    Arnout,
    Thank you for your input and for catching that folder pointing issue. However I fixed that and it still didn't remedy the issue. I would update the the latest Spry but I'm not sure that's needed because I have another page using the same Spry where the validation is working perfect in all browsers:
    http://www.golfturf.rutgers.edu/ppc-turf-form.html
    Everything looks the same.
    Can you offer any more advice?
    Thank you,

  • Spry Validations not working javascript:Spry.Widget.Form.destroyAll() in popup

    iam using spry to validate controls in a popup.in that
    validations are working fine but the problem is when we click
    cancel button also thse validations are firing...
    i am using
    javascript:Spry.Widget.Form.destroyAll() to destroy
    validations...but it is not working.
    when we click on cancel button how to destroy the validations
    as well as hide the popup...
    can anyone help me...

    Thanks! (While I'm REALLY not comfortable with code yet (working on it :-) I atleast understood that it was a PHP issue (yay).
    Studied the code in the examples in the book. And added:
    <pre>
    <?php if ($_POST) {print_r($_POST);} ?>
    </pre>
    It worked.  (I'm local testing, with no connection to a database yet. Just trying to get the basic pages to work first.)
    Hopefully the more I work on all of this, the more I'll begin to "get it"! And I'm almost up to the Chapter on PHP. So, I'm hoping to will become clearer as I read on.
    Thanks for the help in pointing me in the right direction!!!
    -- Jami

Maybe you are looking for

  • Voice memos on ios7, it freezes after I try and save it

    Hey! I record all of my lectures on my iphone, but since I have updated to ios7 I am not able to do that. It records the lectures, but when I tap finished/save, it freezes up and the memo just is 00:00 even though I have been recording for 1 and a ha

  • Report Generation to PDF File Fails

    Has anyone else encountered anything like this. I have a report (Oracle Reports 10g) that's fairly straight-forward; the query basically joins a couple of tables and utilizes maybe a dozen Function Columns. For smaller units within my organization it

  • How do I Uninstall NFL Mobile

    I am having a problem with my Razr Maxx.  I came loaded with NFL Mobile.  I have no interest in keeping this app, so I "uninstalled" it.  For some reason, it did not go away, it landed in my "Update" section of Google Play.  So I updated it and then

  • Displaying urdu characters in report builder

    Dear All! i've stored urdu characters in database and it's displaying correctly in form builder and Toad. But on sql plus and in report builder some urdu characters are not displaying e.g پ،گ،ڈ،ٹ etc. should i need to make changes in "uifont.ali" to

  • Adding an exsisting o365 Tenant Cloud Group as site admin to all sites on all our o365 SPO Sites?

    Is there any way to add an existing o365 Tenant Cloud group as System Admin to all Sites on our o365 SPO Tenant via power shell?   I know we can do it with accounts.  But apparently since o365 Tenant cloud groups have no email it's not possible via s