Problem in Validations

Hi
for ex:
Org is PK
Job is PK.
Pos is PK.
As the req , i have to set their ViewInstance and View Attribute Property. VO is based on EO.
If i press Submit Button , i want to validate these fields,
for ex: Org is invalid field , but it showing System error like
Error
* Job - Attribute Job in AM.CreateVO1 is required on the Page
But I want to change this OAF error Message into User Defined.
It is showing error coz i set their ViewInstance and View Attribute of Job Field, I want these property, coz i want to use job value somewhere else.
I hope u understand my reqt.
How to achieve this?
Should i do EO/VO level validaiton?

For this here no need to write any code it will take care of by lov RN itself...
Follow below steps:
----Create one form value
Name:OrgFv---Create one more lov mapping
---For lovmapping2 set properties..:
Lov Region Item:OrdId(Primarkey)
Return:OrgFv---For Lovmapping1 set Property:
Use for Validation: YesRegards
Meher Irk
Edited by: Meher Irk on Apr 1, 2011 6:02 PM

Similar Messages

  • 1 year ago i installed Elements 12 on my PC with a serial number.  Today i have installed Elements 12 also on my laptop. But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this progra

    One year ago i installed Elements 12 on my PC with a serial number and it was OK.
    Today i have installed Elements 12 also on my laptop.
    But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this program real disapeare in 7 days?
    Hans

    Hi,
    Since you already have one copy activated the serial number must be logged in your account details - I would first check that the one logged and the one you are attempting to enter are the same.
    You can check your account details by going to www.adobe.com and clicking on Manage Account. You need to sign in with your Adobe Id and then click on View All under Plans & Products. Next click on View your products and after a while it should produce your list.
    If there is a problem with the serial number, only Adobe can help you there (we are just users). Please see the response in this thread
    First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and ge
    Brian

  • Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site

    Have an existing ex2010 sp3 organization.
    Could not run ex2013cu1 setup from my newly built 2012 server, getting the error in the subject line.  I used the command line to run the AD preparation steps successfully from my 2012 DC/GC, then tried to run setup again from the new 2012 server and
    still get the same error.  The error itself in the log is pretty useless:
    [05/07/2013 01:19:13.0137] [0] **********************************************
    [05/07/2013 01:19:13.0137] [0] Starting Microsoft Exchange Server 2013 Cumulative Update 1 Setup
    [05/07/2013 01:19:13.0137] [0] **********************************************
    [05/07/2013 01:19:13.0152] [0] Local time zone: (UTC-08:00) Pacific Time (US & Canada).
    [05/07/2013 01:19:13.0152] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
    [05/07/2013 01:19:13.0152] [0] Setup version: 15.0.620.29.
    [05/07/2013 01:19:13.0152] [0] Logged on user: DOMAIN\ADMINISTRATOR.
    [05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='sourcedir', Value='\\h1\f$\junk\installers\server\Exchange\2013cu1'.
    [05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='mode', Value='Install'.
    [05/07/2013 01:19:13.0215] [0] RuntimeAssembly was started with the following command: '/sourcedir:\\SERVER\f$\junk\installers\server\Exchange\2013cu1 /mode:Install'.
    [05/07/2013 01:19:13.0215] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0793] [0] Finished loading screen CheckForUpdatesPage.
    [05/07/2013 01:19:38.0762] [0] Finished loading screen UpdatesDownloadsPage.
    [05/07/2013 01:19:40.0496] [0] Starting file's copying...
    [05/07/2013 01:19:40.0496] [0] Setup copy files from '\\SERVER\f$\junk\installers\server\Exchange\2013cu1\Setup\ServerRoles\Common' to 'C:\Windows\Temp\ExchangeSetup'
    [05/07/2013 01:19:40.0700] [0] Finished loading screen CopyFilesPage.
    [05/07/2013 01:19:40.0840] [0] Disk space required: 1292445007 bytes.
    [05/07/2013 01:19:40.0840] [0] Disk space available: 23767240704 bytes.
    [05/07/2013 01:19:59.0762] [0] File's copying finished.
    [05/07/2013 01:19:59.0965] [0] Finished loading screen InitializingSetupPage.
    [05/07/2013 01:20:02.0934] [0] Setup is choosing the domain controller to use
    [05/07/2013 01:20:09.0325] [0] Setup is choosing a local domain controller...
    [05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
    [05/07/2013 01:20:11.0809] [0] Setup will use the domain controller ''.
    [05/07/2013 01:20:11.0809] [0] Setup will use the global catalog ''.
    [05/07/2013 01:20:11.0825] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
    [05/07/2013 01:20:11.0919] [0] Exchange organization container for the organization is 'CN=DOMAIN,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
    [05/07/2013 01:20:11.0966] [0] Setup will search for an Exchange Server object for the local machine with name 'WEX1'.
    [05/07/2013 01:20:12.0028] [0] No Exchange Server with identity 'WEX1' was found.
    [05/07/2013 01:20:12.0044] [0] The following roles have been unpacked:
    [05/07/2013 01:20:12.0044] [0] The following datacenter roles are unpacked:
    [05/07/2013 01:20:12.0044] [0] The following roles are installed:
    [05/07/2013 01:20:12.0059] [0] The local server does not have any Exchange files installed.
    [05/07/2013 01:20:12.0075] [0] Server Name=WEX1
    [05/07/2013 01:20:12.0137] [0] Setup will use the path '\\SERVER\f$\junk\installers\server\Exchange\2013cu1' for installing Exchange.
    [05/07/2013 01:20:12.0137] [0] The installation mode is set to: 'Install'.
    [05/07/2013 01:20:27.0591] [0] An Exchange organization with name 'DOMAIN' was found in this forest.
    [05/07/2013 01:20:27.0591] [0] Active Directory Initialization status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Schema Update Required Status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Organization Configuration Update Required Status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Domain Configuration Update Required Status : 'False'.
    [05/07/2013 01:20:27.0841] [0] Applying default role selection state
    [05/07/2013 01:20:27.0872] [0] Setup is determining what organization-level operations to perform.
    [05/07/2013 01:20:27.0872] [0] Because the value was specified, setup is setting the argument OrganizationName to the value DOMAIN.
    [05/07/2013 01:20:27.0872] [0] Setup will run from path 'C:\Windows\Temp\ExchangeSetup'.
    [05/07/2013 01:20:27.0888] [0] InstallModeDataHandler has 0 DataHandlers
    [05/07/2013 01:20:27.0888] [0] RootDataHandler has 1 DataHandlers
    [05/07/2013 01:20:27.0903] [0] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.  See
    the Exchange setup log for more information on this error.
    [05/07/2013 01:20:27.0935] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:21:04.0154] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:21:04.0154] [0] End of Setup
    [05/07/2013 01:21:04.0154] [0] **********************************************

    Hi,
    The cause is clearly described in the log:
    [05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
    I'd suggest you check NIC settings and AD configuration.
    Hope it is helpful.
    Fiona Liao
    TechNet Community Support

  • "Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run se

    Team,
    I am trying to Install Exchange on my Lab, getting below error
    message.
    The Schema Role is installed on Root Domain and trying to install
    exchange on Child domain.
    1 Root Domain - 1 Child domain. both are located on single site.
    “Setup encountered a problem while validating
    the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for
    replication to complete.”
    Followed below articles:
    http://support.risualblogs.com/blog/2012/02/21/exchange-2010-sp2-upgrade-issue-exchange-organization-level-objects-have-not-been-created-and-setup-cannot-create-them-because-the-local-computer-is-not-in-the-same-domain-and-site-as-the-sche/
    http://www.petenetlive.com/KB/Article/0000793.htm
    transferred the schema roles to different server on root domain, still no luck.
    can someone please help me.
    regards
    Srinivasa k
    Srinivasa K

    Hi Srinivasa,
    I guess, you didn't completed the initial setup schemaprep and adprep before starting the installation. You can do it as follows:
    1. Open command Prompt as administrator and browse to the root of installation cd and run Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
    After finishing this,
    2. Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
    3. To prepare all domains within the forest run Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms. If you want to prepare a specific domain run Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms
    4. Once you complete all of the 3 steps, install the pre-requisities for Exchange 2013
    5. Finally, run the setup program
    Hope this will help you
    Regards from Visit ExchangeOnline |
    Visit WindowsAdmin

  • Problem in Validation of ICP dimension

    Hi,
    We have a problem in validating ICP members in FDQM.
    We have few accounts for which ICP value needs to be present.
    In our existing mapping in FDQM,we have an explicit map,which maps source flex to ICP account.We have a default map which maps flex that do not have ICP to [ICP None].
    The problem now, is with the existing mapping,if the acount is an ICP account and if it is not included in explicit mapping,it is getting mapped to default [ICP None].
    Since we are not getting any kickouts for ICP accounts, it is giving us problem in performing eliminations in HFM.
    Could any one suggest any work around where,when any ICP account is not maaped in FDQM,it should give a kickout rather than mapping to [ICP None].
    Appreciate your help.
    Thanks

    There are some partial truths to all of the above....the most accurate being that if ICP None as an acceptable member for Accounts flagged as ICP then you will have problems because it is a valid intersection.
    But there are bigger things to think about. What values come into the icp dimension? Is there always a value being passed through or is that value sometimes blank?
    If there is always a source value then you do not have to use Explict types of mappings. All you have to do is make sure that your *-to-[ICP None] mapping is ALWAYS the last mapping entry in the Like type. Think of it as a catch-all. You just have to map your source-to-target values appropriately.
    If the values coming in are blank then you can still use the above procedures. If you do not use a *-to-[ICP None] mapping and a value comes in as blank then FDM will automatically place [ICP None] in the extract field....it does not map it to ICP None though!!!!!
    Are your source values the same as those in HFM? These are things to think about when mapping.
    Quick note...if a value comes in blank and you try to drill back then you may end up with a false "Show Conversion Rules" view. For example, you have two rows imported with every dimension being the exact same EXCEPT the ICP dimension, where one has a value and the other is blank then you will end up seeing the value that is not blank when you select the "Show Conversion Rules" option. To remedy this I've created an Import Format script for the ICP dimension and check the value coming in...if it is blank then I change the value to "Blank" and map "Blank" to [ICP None]". This allows me to use the Drill-down/Drill-back features correctly.
    Mappings are very simple no matter what dimension but yes, ICP is the trickiest because ICP None can be a valid intersection.
    Lastly, you could have you very last mapping as a *-to#Script....or a Conditional Mapping where your scripting is checking is as such....(See conditional maps in the admin guide for further info)
    'varValues(14) is the Target Account
    'varValues(17) is the source ICP value
    If varValues(17) = "" Then *'1*
    Select Case varValues(14) *'2*
    Case +1stHfMAccount that is ICP, etc+
    Result = "BAD ICP" *'3*
    Case Else
    Result = "[ICP None]" *'4*
    End Select
    Else
    Result = "[ICP None]"
    End If
    1 - If the icp value is blank then check the list of all HFM Accounts that should have an IC Partner. You have to get the list of all accounts flagged as ICP from HFM and continue to update this mapping accordingly.
    2 - Check to see what the Target account is
    3 - If the source account is mapped to an ICP account in HFM and the value is blank then mapped the ICP value to "*BAD ICP*" because *BAD ICP* is not an account in HFM which will cause an Invalid Intersection Report
    4 - If the mapped account is not an ICP account in HFM then map it to [ICP None]
    Hired by Upstream, bought by Hyperion, then bought by Oracle...I've been there.
    -Matt
    Edited by: MattWalker on Feb 26, 2009 11:58 PM
    Edited by: MattWalker on Feb 26, 2009 11:59 PM
    Edited by: MattWalker on Feb 27, 2009 12:02 AM

  • Problema de validação na contingência (Switched to Contingency)

    Bom dia!
    Por gentileza, poderiam me ajudar?
    Estou com problema para colocar uma NF em contingência através do monitor, segue procedimento realizado:
    1) Criei uma NF writer
    2) No monitor, selecionei a NF e pressionei o botão u201Ccontingencyu201D, informei o motivo
    (após informar o motivo e clicar no botão switch to contingency, o sistema não atualiza o motivo da contingencia no campo NF-e Conting Reason e Desc.)
    3) A NF-e foi atualizada para status u201Cswitched to contingencyu201D.
    (o campo Switched to Contingency = X)
    (o campo SCS = 5)
    4) Em seguida cancelei a NF-e que foi u201Cswitched to contingencyu201D através da transação J1B3N
    5) Após o cancelamento o sistema mostra no monitor a NF atualizada com status cancelada (canceled = x e Step = 7)
    6) Na J1B1n criei uma nova NF com referência a NF-e u201Cswitched to contingencyu201D.
    (Na aba NF-e Data o campo Posted Cont. está flegado e o Tipo de emissão = 2)
    7) A nf foi automaticamente gerada em contingência.
    (o campo Posted Cont = x, Step = 3)
    8) seleciono a NF e envio para a sefaz
    9) após o envio para a sefaz, o status é atualizado (Step = 8, NF-e Log = bandeirinha vermelha)
    Segue log com o erro de validação
    Validation error: Field (XJUST) Reason for Activating Exception Situation, Must be filled in combination with other fields.
    Validation info: Field DHCONT in check NOT_INIT_FIELDS is filled
    Nesse caso o sistema não deveria pegar o motivo de contingência que foi informado na primeira nota?
    Por acaso alguém já passou por erro ou sabe me informar se tem alguma nota que corrige esse problema. Já pesquisei e não encontrei.
    Obrigada,
    Moní

    Bom dia Moní,
    As explicações já estão dadas, então vou comentar apenas sobre a rejeição:
    9) após o envio para a sefaz, o status é atualizado (Step = 8, NF-e Log = bandeirinha vermelha)
    Segue log com o erro de validação
    Validation error: Field (XJUST) Reason for Activating Exception Situation, Must be filled in combination with other fields.
    Validation info: Field DHCONT in check NOT_INIT_FIELDS is filled
    Verifique se o motivo que está sendo utilizado existe no idioma que o job está rodando.
    Tabela J_1BNFE_CONTINRT contém as descrições por idioma. Se o customizing foi feito num idioma e o job/user numera em outro pode acontecer isso.
    Além disso pode estar faltando SAP Notes, procure no market-place por "issuing type" "contingency" "SCAN" "decouple"
    Atenciosamente, Fernando Da Ró

  • Problem with Validation in Struts

    Dear All,
    I am facing a proble with validation in struts.
    I have got this code in my action class
    //Initial Code...
    ArrayList branches=new ArrayList();
    branches.add("B01", "Main Branch");
    branches.add("B02", "Second Branch");
    branches.add("B03", "Third Branch");
    DynaValidatorForm memberForm=(DynaValidatorForm)form;
    memberForm.set(branches);
    //Finalizing code.....This form is getting validated in validation.xml.
    This action is being forwarded to folllowing JSP.
    //Initial Code...
            <tr>
                <td align="right"><strong>Branch Name </strong></td>
                <td> </td>
                <td align="left">
                    <html:select property="branid">
                        <html:optionsCollection name="memberForm" property="branches" value="key" label="value"/>
                    </html:select>
                </td>
            </tr>
    //Later code...I have action mapping as..
            <action path="/member/save" input="member.page" name="memberForm" validate="true"
            scope="request" type="com.mlm.action.MemberAction" parameter="action">
                <forward name="success" path="/show.do?action=member" redirect="true"/>
            </action>Now, the problem is that when the form doesn't pass the validation then it gives an exception that..
    Can't find collection 'branches' in bean

    sauanu wrote:
    Ok, now I am giving full code of my module...
    Form-bean
    <form-beans>
    <form-bean name="memberForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="id" type="java.lang.String"/>
    <form-property name="membname" type="java.lang.String"/>
    <form-property name="address" type="java.lang.String"/>
    <form-property name="branid" type="java.lang.String"/>
    <form-property name="branches" type="java.util.ArrayList"/>
    </form-bean>
    </form-beans>Validation is being done for all fileds except "branches". Validation type is "requried"
    My Jsp....
    <html:form action="/member/save?action=save">
    <html:hidden property="id"/>
    <tr>
    <td align="right"><strong>Member Name </strong></td>
    <td> </td>
    <td align="left">
    <html:text property="membname"/>
    </td>
    </tr>
    <tr>
    <td align="right"><strong>Address</strong></td>
    <td> </td>
    <td align="left">
    <html:text property="address"/>
    </td>
    </tr>
    <tr>
    <td align="right"><strong>Branch Name </strong></td>
    <td> </td>
    <td align="left">
    <html:select property="branid">
    <html:optionsCollection name="memberForm" property="branches" />
    </html:select>
    </td>
    </tr>
    <tr>
    <td align="right">
    <html:submit/>
    </td>
    <b><td>   </td></b>
    <td>
    <html:button value="Cancel" onclick="javascript:history.go(-1)" property="cancel"/>
    </td>
    </tr>
    </html:form>This is the code..
    I tried to find out the problem and I found that.. when the form does not pass the validation its input page gets displayed..
    Now, when the input is getting displayed.. "branches" field of the form contains null???Why?
    Edited by: sauanu on ?? ??????, ???? ??:?? ?????????Forget,about Validations.
    Who is forwarding the control to this JSP page or view ??
    Is it Action method code which metioned earlier doing it ??
    Or some other Action is involved if it is some other action please intialize Values of branches component in the respective action.
    Also,
    Also,
    ArrayList branches=new ArrayList();
    branches.add("B01", "Main Branch");
    branches.add("B02", "Second Branch");
    branches.add("B03", "Third Branch"); I believe you need to get a good understanding of Java Collection classes aswell.
    You can add things as entities in the above case lets create a simple java bean named Option.
    public class Option implements Serializable{
        private String label;
        private String value;
        public void setValue(String value){this.value = value;};
        public String getValue(){return this.value;}
        public void setLabel(String label){this.label = label;}
        public String getLabel(){return this.label;}
    } and inside the action which is forwarding to the respective view
    ArrayList branches=new ArrayList();
    Option option = new Option();
    option.setValue("B01");
    option.setLabel("Main Branch");
    branches.add(option);
    option = new Option();
    option.setValue("B02");
    option.setLabel("Second Branch");
    branches.add(option);
    option = new Option();
    option.setValue("B03");
    option.setLabel("Third Branch");
    branches.add(option);
          <html:select property="branid">
                   <html:options name="memberForm" collection="branches"   value="value" label="label" />
           </html:select>and one more thing is is that after the validation if it is not validated it'd be sent back to input page which destorys the request therefore try making scope of "memberForm" to session in your action mappings and check.
    Hope this might help :)
    REGARDS,
    RaHuL

  • Business Rule - Problem with Validation Execution

    I'm running into an issue where conditional Validation Execution is not working as expected. The background is that i have an Entity Object containing a few string attributes on which i must apply Regular Expression business rules to make sure only characters in a certain range is set. I am using a Not Matches regex on the following:
    .*[^\u0020-\uD7FF].*1 attribute is required, 2 are optional. The problem I am experiencing is with the 2 optional attributes.
    Since these are optional, I intended to use the Validation Execution tab so that the Rule is executed only when the attribute is not null. For example, here is what i tried for an attribute named Comments:
    Comments != nullNo validation occurred when I entered an invalid value, such as a string containing line breaks, in a corresponding ADF Faces page. For the heck of it, i experimented by setting the validation execution to the opposite of what i should be - in other words, trigger validation if the attribute is null, such as:
    Comments == nullWith this, the validation occurred as expected.
    Is this a bug, or am I misunderstanding something? I'm not particularly good with RegEx - is it possible this is due to some nuance of the expression?
    Version: JDeveloper 11.1.1.6.
    Thanks-
    -george

    i'm not sure if this is the correct answer or a workaround to the issue i had asked about. Given that caveat, if anyone else ever runs across this thread, what i found worked was to not use the attribute name in the Validation Execution tab's expression, but instead to just newValue as in the following:
    newValue != null

  • Problem with validating a field in VA01/VA02

    Hi,
    I was required to add validation for Material Group 3 (VBAP-MVGR3) in 'Additional Data A' tab (VA01/VA02). The corresponding screen number in 4459. In the PAI section, there is a module called 'vbap_bearbeiten'. In this module, there is an enhancement point called 'VBAP_BEARBEITEN_10 '. I created an implementation of this enhancement point to call a validation subroutine which i put in user exit MV45AFZZ. My problem is whenever a wrong entry is entered for that field, the whole screen in the 'Additional Data A' tab turned grey and disabled for user entry. Re-entry for the correct Material Group 3 is not allowed.
    Initially, i used a different approach. I made a core change to screen 4459 by adding a statement like below in the PAI section :-
    FIELD vbap-mvgr3 MODULE zsd_check_mvgr3 ON REQUEST.
    In fact, the validation worked without any issue. User was prompted for an error message and then was allowed to re-enter a correct entry for that field if a wrong entry was entered initially. However, since this approach involved a core change, it was not allowed by my superior and he demands for using the enhancement framework approach.
    Kindly please let me know if you have any idea of resolving this issue. Thanks much in advance.

    Hi guys, thanks much for your feedback.
    I tried to call my validation subroutine from USEREXIT_CHECK_VBAP (MV45AFZB). However, it did not work as well. Although the validation subroutine was successfully called in USEREXIT_CHECK_VBAP and error message dialog box was shown if entry was not correct, but when i clicked on the dialog box / pressed the 'enter' key, the 'Material Group 3' field was not opened for re-editing (it was still shown in grey and disallowed for user entry). In fact, through debugging, i found that USEREXIT_CHECK_VBAP was called again (after i pressed the 'enter' key) and it caused the program to enter an infinite loop.
    On the other hand, i also tried to use USEREXIT_MOVE_FIELD_TO_VBKD (MV45ZFZZ). Unfortunately, i also met with the same issue as described above.  Kindly please let me know if there is a way to solve this issue. Thanks.

  • PostCode - problem with validation

    Hello,
    I have problem with codes in Netbeans.I Have two code.
    The first is to mask formatter and i put in on Post int code
    try
    MaskFormatter PostCode = new MaskFormatter("##-###");
    PostCode.setValidCharacters("0123456789");
    RegisterPostCode = new JFormattedTextField(PostCode);
    catch (ParseException e) {
    }The Second check, the RegisterPostCode is not null
    class Steps implements ActionListener{
       int step = 0;  
          public void actionPerformed(ActionEvent e) {
          if (step == 0){
    String NotEmptyPostCode = RegisterPostCode.getText();
             if(NotEmptyPostCode == null || NotEmptyPostCode.length() == 0) {
       jLabel4.setText("This Field is empty");
             return;
    step++;
          }Problem is the second code doesnt work and I dont now how to create code to check the JFormatterField is compatible with the first code
    Please help.

    Hi! I have an HTML region and on my "before header process" I fetch only one record (the data is got from a package I've created on the DB).
    This region has a few items and when I press the save button (I created on the screen) the value of all the items are cleared if the validation ocurrs, I don't know why, is this because the page doesn;t perfom again my "before header process"?
    Thanks!

  • Problem with validation

    Hi
    Im validating nullable item using LOV, when i enter something it validates ok, but when i enter nothing to it (i want to erase that item), it cannot be saved, because the item is not validated. How can i solve this?
    null

    I've already solved the problem, the problem was, that i used the FK, and it was not set to validate on client or server ;)

  • MySQL connectivity problem: no validation table provided

    hi there,
    As a superbeginner, on my Mac G4 OSX 10.4 I am trying to add a MySQL database in Sun JSC 2.1, following the tutorial:
    Creating Database Server Types and Data Sources
    So far I have managed to
    -install mysql 3.1.14 and
    -add this as a new database server
    When I try to add a data source, I cannot select a validation table (message: No Tables were found. Check your connection information), and I cannot find in the manuals how to make one. When I test the connection the connection status is succeeded, but the validation table status is failed (No validation table provided...)
    In a seccond attempt, I also installed MySQL 4.1.21 and navicat (in which the connection seems to be good), but I cannot figure out how to connect this version 4.1.21 to the JSC, because 4.1.21 differs in installation (it uses an installation package in stead of a zipped folder) which is not covered by the tutorial.
    Any hints on one of the two attempts, or a suggestion for a database which might give a beginner like me less problems to connect? Thanks a lot.
    [email protected]

    I think the simplest way is:
    create a table:if you have mysql 5.x you can di it with mysql tools (mysql administrator or mysql query browser), if you have a non graphical version of mysql you have to create the table with prompt.
    Create table Paziente (
         codice_fiscale_paziente Char(20) NOT NULL,
         nome Char(20),
         cognome Char(20))
         ENGINE = MyISAM;
    than open JSC (it doesn't have a jdbc driver installed to work with mysql, you have to download from mysql website and install in jsc)
    servers--> right click -->add data source
    than :
    data source name : the name you want to use
    server type: mysql
    database name : your's database name
    if you have user autentication in your db, set user and password
    set the correct db url
    and... test connection
    it should work

  • Problem with validating SAML assertion signature ("bad" certificate?)

    Hi,
    We've been developing and testing webservices and webservice clients under WebLogic for awhile. In our typical configuration, we have the SAML Credential mapper configured on the webservice client side, and the SAML Identity Asserter on the webservice side, and we are using "sender-vouches", whereby the SAML assertions are being signed by the SAML Credential mapper.
    Up through development, for the signing, we've been using certs issued by a test CA that we have, but now, we are moving to a pre-production environment, and we're required to use certs issued by a specific 3rd party CA. Since we've started using those new certs, we have been getting "token failed to validate" errors. We've been trying to diagnose this problem for awhile, and we're at the point that we believe that, for some reason, the certs that we got that were issued by the 3rd party CA are "bad".
    Specifically, those certs are SSL Server certs, with the following characteristics:
    Usages:
    Digital Signature
    Key Encipherment
    Key Agreement
    Netscape Type: SSL Server Authentication
    but, they also have two "extended usage extension" OIDs, both are "2.16.840.1.101.2.x.yy.zz".
    When we looked at the certs using various tools, e.g., "openssl x509...", etc., those extended usage extensions are being displayed as "unknown", which made us a littel suspicious about them, so I setup a simple test configuration with two WebLogic 10.0 MP1 instances.
    For testing, we first used a cert from the 3rd party CA, which gave us the "failed to validate token" errors.
    During this testing, we put a sniffer on the line, and captured the SOAP message with the signed SAML assertion, and we used a small Java app that I wrote awhile ago that will validate a digital signature. When we ran that Java app, the digital signature validated successfully (i.e., the digital signature was GOOD).
    This seems to imply that the "failed to validate token signature" errors are happening because of something other than the digital signature being incorrect.
    So, then, we created a certificate that matches the 3rd party CA certs almost exactly, except that we did not include the two extended usage extensions, and we configured the two WebLogic instances to use this new certificate.
    When we tested with the new certificate, we no longer got the errors.
    So, it appears that when the cert has those two enhanced usage extensions, WebLogic is either not willing to, or not able to, utilize the certs for validating digital signatures.
    Does anyone have any insight into this problem, or has anyone encountered a problem like this before?
    I also was wondering if there are any parameters for WebLogic that we might try to set that would tell WebLogic to perhaps ignore the certificate extensions and to just do the digital signature validation?
    Thanks,
    Jim

    Hi,
    FYI, we were able to resolve this problem today. It turned out to be that the certificate and key were not "matched".
    The way that we figured this out was to use openssl and the procedure here:
    http://kb.wisc.edu/middleware/page.php?id=4064
    which showed the mismatch.
    We've since generated a new cert request and got a new certificate, and it's working now.
    Jim

  • Oracle Support ORA-4031 Troubleshooting Tool problem - FILE VALIDATION FAIL

    Hi,
    Having problem while trying to use ORA-4031 Troubleshooting Tool on the Oracle Support site.
    I believe I upload all files correctly: db alert log, 4031 trace file and AWR report (HTML), answered YES to the question.
    But, get this error:
    "FILE VALIDATION FAILED: Fatal Error: missing 4031 information in the trace file. ..."
    However, the trace file has 4031 error information:
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-12-20 08:27:06.548
    *** SESSION ID:(546.1) 2011-12-20 08:27:06.548
    *** 2011-12-20 08:27:06.548
    AUTO SGA: Dumping stacks and disabling background sga tuning on error 604, simerr=0
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","select shared_pool_size_for_...","Typecheck","kgghteInit")
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedst+001c bl ksedst1 000000000 ? 646F33002040000 ?
    kmgsb_tune+0ce0 bl 03F5A418
    ksbcti+03d8 bl _ptrgl              
    ksbabs+025c bl ksbcti FFFFFFFFFFFD068 ? 000000006 ?
    70000004D63CBA0 ?
    kebm_mmon_main+02e4 bl 01FC6DA4
    ksbrdp+0408 bl _ptrgl              
    opirip+03fc bl 03F59B14
    opidrv+0448 bl opirip 110278B10 ? 41027B9D0 ?
    FFFFFFFFFFFF340 ?
    sou2o+0090 bl opidrv 3202AB38FC ? 440656000 ?
    FFFFFFFFFFFF340 ?
    opimai_real+0150 bl 01FC4EB4
    main+0098 bl opimai_real 000000000 ? 000000000 ?
    __start+0098 bl main 000000000 ? 000000000 ?
    --------------------- Binary Stack Dump ---------------------
    ========== FRAME [1] (ksedst+001c -> ksedst1) ==========
    Dump of memory from 0x0FFFFFFFFFFFBB70 to 0x0FFFFFFFFFFFBBE0
    FFFFFFFFFFFBB70 0FFFFFFF FFFFBBE0 42842228 00000000 [........B."(....]
    FFFFFFFFFFFBB80 00000001 000D9DE0 00000000 00000000 [................]
    FFFFFFFFFFFBB90 00000000 00000000 00000001 102242E8 [............."B.]
    FFFFFFFFFFFBBA0 00000000 00000000 0646F330 02040000 [.........F.0....]
    FFFFFFFFFFFBBB0 00000001 10000B00 00000001 05294C08 [.............)L.]
    FFFFFFFFFFFBBC0 00000000 0000025C 00000000 0000025C [.......\.......\]
    FFFFFFFFFFFBBD0 00000001 101902C0 0FFFFFFF FFFFBBE0 [................]
    ========== FRAME [2] (kmgsb_tune+0ce0 -> 03F5A418) ==========
    Dump of memory from 0x0FFFFFFFFFFFBBE0 to 0x0FFFFFFFFFFFBFE0
    FFFFFFFFFFFBBE0 0FFFFFFF FFFFCE60 00000000 00000000 [.......`........]
    FFFFFFFFFFFBBF0 00000001 04356164 00000000 00000000 [.....5ad........]
    (.... etc.)
    What am I doing wrong ?
    Oracle 10.2.0.3 (compatible=9.2.0) on AIX.
    Thanks.

    user12053739 wrote:
    My question here is not abuot ORA-4031 error and how to troubleshoot it, but about the error (FILE VALIDATION FAILED) that I receive in ORA-4031 Trobleshooting Tool on the Oracle Support web site. We do manuall analyses and troubleshooting as well, but would be nice if the tool works as well.Have you followed all the steps in (How to use the ORA-4031 Troubleshooting Tool on MOS [ID 1381442.1])? If yes, then I believe you need to log a SR for this issue as none of us maintain this tool, and you need someone from Oracle (development team who maintain it internally) to verify why you are getting that error when uploading the files.
    Thanks,
    Hussein

  • Problem with validating with xerces

    Hi,
    I just would like to put in practice my recent knowledge about XML Schema. I choose Xerces for this.
    Unforunately, when I execute my code, I receive the following error message, and I absolutely don't understand why.
    I'm sure that XML document and XML schema are valide, and there's any mention of any doctype in my XML instance:
    Error message:
    Root element of document "Bookstore" must correspond to root DOCTYPE 'null'
    document isn't valid because grammary isn't reachable.
    And Here's my very simple java class to perform validation:
    import org.apache.xerces.parsers.SAXParser;
    import java.io.IOException;
    import java.io.FileReader;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.SAXNotRecognizedException;
    import org.xml.sax.SAXNotSupportedException;
    import org.xml.sax.InputSource;
    public class SAXParserDemo extends DefaultHandler {
         private static String featureURI="";
         public static void main(String argv[]) throws IOException {
    InputSource inputSource = new InputSource(new FileReader("BookStore.xml"));
         featureURI = "http://xml.org/sax/features/validation";     
    SAXParser parser = new SAXParser();
    parser.setContentHandler(new SAXParserContentHandler());
    parser.setErrorHandler(new SAXParserErrorHandler());
         try {
         parser.setFeature(featureURI, true);
         } catch (SAXNotRecognizedException e)
         System.out.println("La classe de l'analyseur ne reconna?t pas l'URI d'option" + featureURI);
         System.exit(0);
    catch (SAXNotSupportedException e) {
    System.out.println("La classe de l'analyseur ne prend pas en charge l'URI d'option " + featureURI);
         System.exit(0);
              try {
    parser.parse(inputSource);
    } catch (IOException e) {
    System.out.println("Can't read the file.");     
    } catch (SAXException e) {
    System.out.println("Parsing error.");
    Has anybody any idea to fix that?
    I guess there's perhaps a problem when defining InputSource, I have to define a systemId or something of this kind, no?
    I would be very grateful..
    Thanks in advance,
    S.

    Thanks for your response.
    The problem is that ANY doctype is specified in my input xml document, but only a schema location, like this:
    <?xml version="1.0"?>
    <BookStore xmlns="http://www.books.org"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=
    "http://www.books.org
    BookStore.xsd">
    <Book>
    <Title>My Life and Times</Title>
    <Author>Paul McCartney</Author>
    <Date>1998</Date>
    <ISBN>1-56592-235-2</ISBN>
    <Publisher>McMillin Publishing</Publisher>
    </Book>
    <Book>
    <Title>Illusions The Adventures of a Reluctant Messiah</Title>
    <Author>Richard Bach</Author>
    <Date>1977</Date>
    <ISBN>0-440-34319-4</ISBN>
    <Publisher>Dell Publishing Co.</Publisher>
    </Book>
    <Book>
    <Title>The First and Last Freedom</Title>
    <Author>J. Krishnamurti</Author>
    <Date>1954</Date>
    <ISBN>0-06-064831-7</ISBN>
    <Publisher>Harper & Row</Publisher>
    </Book>
    </BookStore>
    That's why I don't understand why the error message tells about a doctype. Should I have to specify somewhewe i want to validate against a XML Schema and no againt a DTD?
    Thanks again for your help,
    Anyway, I will have a look in the xerces' documenatation,
    Steevy.

  • Problem: custom validator messages internationalized

    Hello everyone,
    I am trying to have a message that may be issued by a validator internationalized.
    Unfortunately I have no idea how to retrieve the appropriate bundleName (see comment in code below).
    It would be nice if someone could give me a hint how to solve the problem.
    Is there a nicer, more object orientated way of using Resource Bundles from Java?
    In the validator I am using the following code (taken in parts from Core JSF):
    public void passwordField_validate(FacesContext context, UIComponent component, Object value) {
    UIViewRoot viewRoot=context.getViewRoot();
    Locale locale=viewRoot.getLocale();
    ClassLoader loader=Thread.currentThread().getContextClassLoader();
    Application app=context.getApplication();
    String bundleName=app.getMessageBundle();
    if(bundleName==null) {
    // Since this is null I have a problem: How do I find the correct bundleName?
    ResourceBundle bundle=ResourceBundle.getBundle(bundleName,locale,loader);
    String incorrectPassword;
    try {
    incorrectPassword=bundle.getString("incorrectPassword");
    } catch (MissingResourceException mre) {
    // error handling
    // more code
    My faces-config.xml looks like this:
    <faces-config>
    <application>
    <locale-config>
    <default-locale>en</default-locale>
    <supported-locale>de</supported-locale>
    </locale-config>
    </application>
    </faces-config>
    and my Bundle.properties looks like this:
    incorrectPassword=Incorrect Password.
    similarly I have Bundle_de.properties, etc.

    I found a solution myself.
    The only drawback is that you need to fill in the name of the project.
    I used the code below:
    static public String getBundleString(FacesContext context, String key) {
    String text=null;
    try {
    ResourceBundle bundle =
    ResourceBundle.getBundle("<project_name>.Bundle",
    context.getViewRoot().getLocale());
    text=bundle.getString(key);
    } catch (Exception e) {
    text = "???" + key + "???";
    return text;
    }

Maybe you are looking for

  • Itunes will not run unless I disable bonjour

    itunes only runs when I disable the "bonjour" service and thus cannot sync with my itouch, as, from what I learnt it's the bonjour service that allows the sync to happen. If I disable it itunes will not launch, I enable it, I cannot sync my ipod touc

  • E2500 Web Interface doesn't work in bridge mode

    I recently bought a Cisco E2500 for work, and after setting the router to Bridge Mode, I am unable to access the router web interface.  I tried both the old IP address (192.168.1.1) and the IP address that I entered when I was configuring Bridge mode

  • JAXB mapping of field to sub nodes

    I have the following XML I consume: <root>      <node1>           <node2 expirationDate="10/10/2012" />      </node1> </root> And the following Java class: @XmlRootElement(name= "root") class Foo private String expirationDate; My question is whether

  • External Context Mapping & Normal Mapping in same IF Controller?

    I have a Parent DC that embeds a Child DC. The Parent uses data from the Child DC obtained through the Child's Interface Controller, which works fine. But there is also some data (value node) that I need to pass to the Child DC through the Interface

  • Email virus that says check this out

    My wife got an email from a friend that said "check this out".  Of course she opened it and now she cannot use Facebook--any ideas on what this is and how to fix it?