Customizing validation errors
First of all I want to take moment in conveying my thanks to each and everone who helped me several times and who spend a lot of their valuable time in helping other developers like me.
Here's my question:
When the validation errors show up in the notification, they are formatted with yellow triangles. (apex 3.2). How can I remove these yellow triangles?
I have a page level validation which throws multiple lines of error messages. I want them all to be a bulleted list.
So, basically I want all item and page level (which may be more than one line of errors)error messages to be a bulleted list.
How can it be done?
If bulleted list is hard, then I would atleast like to get rid of yellow triangles because they don't work good for page level validation which throws multiple error messages. Each traingle indicates one error which may not be the case when my page level validation fails.
Thanks for looking into this thread,
RN
Thanks Jari for prompt reply.
Your solution worked by putting code in page html header section. Yellow triangles got replaced with bullet points.
Can you please direct me where you found the code
li {
list-style-image: url(Bullet.gif);
}My actual problem is more complicated. Changing bullets did not solve what I want. I did not describe my problem properly earlier and got carried away in wrong direction.
I would like to explain again what I want:
All validation errors show up as a bulleted list. Each bulleted point shows one validation error. But I have a page level validation that checks multiple business rules and throws error lines like this:
Product Category should be defined. <br>
Product needs atleast two approvals before moving it to next status.So far, these both error lines show under one bullet because it is result of one validation failure. But I want there two lines to show up under two different bullets because these are two errors.
If I can't show them this way, then I don't want any error message to be bulleted because bullets will give user wrong impression about number of errors.
I do want all error messages(from all different validations) show up in new line for the readilibility.
Hope I explained my requirement better this time.
Thanks,
Similar Messages
-
Shopping Cart getting ordered even with Custom Validation Errors
Hi,
We have implemented the BBP_ITEM_CHECK_BADI, and it;s working fine, when we are Checking the SHC. It's showing the error message.
Functionality: When user has selected REJECT, and he orders, to it shud raise an error mesage that plz enter the reason of rejection.
But it's nto working when we r clicking on ORDER, it is getting successfully processed.
Thanks & Regards.
Vaibhav Goel.Hey,
It's not a custom field.
One Update:
Gurus, I got one strange thing...I removed the check of Current State (whether Rejected/Approved) from the ITEM_CHECK badi, and found that it was working perfectly fine i.e. when we have selected the Approve Radiobutton and click on ORDER, then it's raising our custom error message and is stopping the porcesssing.
But when we are selecting the Reject Radiobutton, it's not working the same. It's saying SHC processedd successfully.
Is this some standard functionality that it bypasses all the error messages when r rejecting a SHC or something... or any config needs to be done for this ?
Please let us know.
Thanks & Regards,
Vaibhav Goel. -
Hi friends,
I am doing a BDC for F-03 and everything is working fine except when the the BDC is executed at background mode i.e N.
It is working good at A and E but it gives a custom validation error at background processing.
I am searching SDN since yesterday and found this is caused by S and W messages but i have diffused then but then too the error is encountered.
No idea why my PROFIT CENTER value is not populated at BACKGROUND mode.
Any ideas?
Please help.
Thanks much.Hi Park,
If you have GUI objects like pop-up screens, etc it will not work. Check out these links for more information.
Re: Docking container could not be created - while running batch job
Re: Multiple OO ALV Container - Background Execution
Thanks and Best Regards,
Dinesh. -
JSF, NetBeans and customizing of Standard Validation Errors
Hello together,
i want to use german Standard Validation Errors via a own .properties File:
1.
Here is my faces-config.xml ( the entries are uncommented ! ):
<faces-config>
<application>
<locale-config>
<default-locale>de</default-locale>
<supported-locale>de</supported-locale>
<supported-locale>en</supported-locale>
</locale-config>
*<message-bundle>alles.mymessages</message-bundle>*
</application>
</faces-config>
2.
Here is mymessages.properties-File in package alles:
javax.faces.validator.NOT_IN_RANGE=Das angegebene Attribut liegt nicht zwischen den erwarteten Werten {0} und {1}.
javax.faces.validator.NOT_IN_RANGE_detail="{2}"\:Eingegebener Wert liegt nicht im erwarteten Bereich von {0} bis {1}.
javax.faces.validator.LongRangeValidator.LIMIT=Validierungsfehler
javax.faces.validator.LongRangeValidator.LIMIT_detail=Eingegebener Wert kann nicht in den korrekten Typ umgewandelt werden.
javax.faces.validator.LongRangeValidator.MAXIMUM=Validierungsfehler
javax.faces.validator.LongRangeValidator.MAXIMUM_detail="{1}"\:Wert ist gr\u00F6\u00DFer als das erlaubte Maximum"{0}".
3.
Here the part of the JSF-View with the Validator:
<ui:textField binding="#{WorkTypeEdit.textFieldBeschartKzSoll}" converter="#{WorkTypeEdit.bigIntegerConverter1}"
id="textFieldBeschartKzSoll" required="true" style="height: 24px; width: 48px" validator="#{WorkTypeEdit.longRangeValidator1.validate}"/>
The application still shows the standard englisch validation error text. What is wrong here ?
I' am using NetBeans 5.5.1 with VWP and the deploment is to Glassfish server.
Thanks a lot.
HJAHello Raymond,
i did some coding and create additional a custom validator:
My JSF-View part:
<ui:textField binding="#{WorkTypeEdit.textFieldBeschartKzSoll}" converter="#{WorkTypeEdit.integerConverter1}"
id="textFieldBeschartKzSoll" maxLength="2" required="true" style="height: 24px; width: 48px" *validator="#{MyValidation.validateInput}">*
*<f:validateLongRange minimum="1" maximum="9"></f:validateLongRange>*
</ui:textField>
My custom validator in Myvalidation class:
public void validateInput (FacesContext facescontext, UIComponent component, Object value) throws ValidatorException
long min = 0, max = 0;
Locale locale = facescontext.getViewRoot ().getLocale ();
String mb = facescontext.getApplication ().getMessageBundle ();
ResourceBundle rb = ResourceBundle.getBundle (mb, locale);
Validator[] validator = ((UIInput) component).getValidators ();
for (int i=0; i < validator.length; i++)
if (validator[i] instanceof LongRangeValidator)
LongRangeValidator lv = (LongRangeValidator) validator;
long lvalue = Long.valueOf ((String)value.toString ());
min = lv.getMinimum ();
max = lv.getMaximum ();
if (lvalue < min || lvalue > max)
((UIInput) component).setValid (false);
*String message = rb.getString ("javax.faces.validator.NOT_IN_RANGE");*
*String messageDetail = rb.getString ("javax.faces.validator.NOT_IN_RANGE_detail");*
*facescontext.addMessage (component.getClientId (facescontext), new FacesMessage (FacesMessage.SEVERITY_ERROR,message,messageDetail));* }
What happen now is, at first i get the german message because of rb.getString........ so the locale is working
and then the englisch message follows in the message component.
Sorry that i take your time so long...
HJA -
Baulsc help - Can a custom validator display a error in the UI dataTable
Hi balusc,
Pls refer to my post in the topic
"Can a custom validator display a error in the UI dataTable + jsf"
Give me a solution pls.
Thanks,
Ambika☺avoid another thread for same ?
http://forum.java.sun.com/thread.jspa?threadID=5229577 -
Pop up error messages for failed custom validation
I am using jdev-10.1.3.4
My application is in ADF BC
I am writing custom validation through managed bean, I want pop-up error message for this failed validation.
My problem scenario is:
I had some list box as "status"-when this status changes to failed then the other field namely "closed date" should become madantory and also date in closed date field can't be in future.I am able to have all this validation through managed bean and also able to use af:messages through which i am able to print error message on the top of the form, but i am not able to give pop up error message for this failed validation.
I had gone thru jdev guide but there is nothing like what i am asking.
it would be of great help if someone can give me some example also.
thanks in advance.ADF has global setting where you can configure the way messages are shown to user:
You can make this setting in adf-faces-config.xml
The <client-validation> element controls how client-side converters and validators are run.
Three values are supported:
"INLINE": validation is shown inline in a page (the default)
"ALERT": validation is shown in an Javascript alert
"DISABLED": validation is only handled on the server
IN your case, set it to 'ALERT'. -
Custom Validations and Error Handling
Hi
I have a requirement that I have to use the custom validation and the errors and/or exceptions should display in the page. All the errors needs to be displayed in the page at the same time.
Suppose If i have two fields like...1)First Name and 2) BirthDate ...both are required fields. If user does not enter any values for both the fields, the errors should display in the page like 'First Name is required! Save Failed' /n
'Float the mouse cursr over the red arrows to see the filed serror mesg'. So all the errors in JSF page should be recorded and displayed when user mouse over taht particular component.
I am new to JSF. Can you please anybody tell me what is best way to implement this in JSF?We should not use the JSF built-in validation framework and desiging the custom validation. For that we are writing the validate() method in BackingBean.
My Requirement is as follows...
Capture all the errors in JSF page and display the same JSF page with all the errors.
For example: If I have 5 fields in form, and 3 fields out of it fails in validation ...we need to show the page with all the fields and some kind of Red border and arrow on the fileds that are failed in validation.
Also in the bottom of the page we need to display the first field error mesg .....
-- Suppose say First Name, Last Name, DOB, Gender, Field5 are the fields and only Last Name, DOB and field5 are failed in validation...
Then we have to display in the botton of the page **{color:#ff0000}'Last Name is required! Save Failed{color}**' along with this,
We need to display the mesg *{color:#ff0000}''Float the mouse cursor over the red arrows to see the filed error mesg'{color}*. -> This means we are dislaying the page with red arrows on the fileds that are failed in validation.
So when user mouse over in the arrow...we should display the error message for that particular field. -
How do you resolve Financial Management service validation error in EPM ?
Does anyone know how to resolve Financial Management service validation error from EPM Diagnostic Report?
Environment:
Quad-Core AMD Processor 2.2 GHz (Server Machine)
5 GB RAM
Server 2003 Standard 32-Bit SP2 (also tried in Enterprise)
Application Server:
WebLogic Server 9.2 Custom Installation (with Add-Ins)
http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html
Database:
Oracle 10gR2 (Standard Installation per step-by-step guide from Oracle)
http://www.oracle.com/technology/software/products/database/index.html
Hyperion EMP System 11.1.1.3:
Installer
Foundation Services (4 Files )
EMP Architect
Financial Management, Planning, Financial Reporting and Web Analysis (primarily interested in FM)
http://www.oracle.com/technology/software/products/bi/performance-management/index.html
The following are the sequences of steps carried out during the Installation and Configuration of EPM:
1) Installed the Server along with its respective SP2 – Shutdown the machine
2) Assigned IP and DNS addresses
3) Installed Window components by ticking Application Server Console, Enable COM+ access, IIS and DNS
4) Run “dcpromo” to create a Domain Controller with default values and assigned a domain name – Shutdown the machine
5) Installed Weblogic Server 9.2 and configure it using Configuration Wizard – Selected “test environment” and ticked default “listening port” – Shutdown the machine
6) Basic installation of Oracle Database 10gR2 using Step-by-Step guide provided by Oracle and carried out Password Management steps. After installation, I then created a user “oracle” and assigned it to ora_dba User Group with the required Local Security Policies – “log on as a batch job” and “Act as part of operating system”
7) Logged into database and acknowledge the licensing window – Shutdown the machine
8) Restarted the machine and checked all relevant and newly installed Database and WebLogic services are running.
9) Started Installing EPM components by double clicking “InstallTool.cmd” and selected all relevant components at ONCE as per Installation Guide – Result: - All selected EPM components were successfully installed without errors or exceptions
10) At the end of installation window, I carried out the configuration in the following scearios:
Scenario 1: Configuration all at Default settings
Scenario 2: Configuration all, except “Application Server” I selected the WebLogic9.2
Scenario 3: Configuration all, except “Application Server” and “Workspace Web Server” were being Welogic9.2 and IIS HTTP
RESULT: After all numerous installations, all came down to ONE ERROR from “Diagnostic Report” stating the following:
Financial Management:
FAILED SVR: HFM Service Validation Check if HFM service in working state.
Error: Error message: <03/11/2010 05:32:26 PM> CreateApplicationCAS... Failed at line: 2
Recommended Action: Make sure HAT utility is working. 1 s
I then simply ignored this error and tried to deploy an Application, all worked fine until you get to the point at “Job Console” where you need to press “Refresh” button. Progress remained at 12% until it got timedout after 300 seconds and force attempt of refreshing resulting in “aborted” job with the following error:
Error Reference Number: {DB3940F5-2D4A-46AB-A370-77F82F121BBA}
Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:39:58 PM;Svr: PBAR;File: CHsvDataSourceImpl.cpp;Line: 196;Ver: 11.1.1.3.0.2413;
Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:40:07 PM;Svr: PBAR;File: CHsxServer.cpp;Line: 1276;Ver: 11.1.1.3.0.2413;
Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:40:07 PM;Svr: PBAR;File: CHsxServer.cpp;Line: 1190;Ver: 11.1.1.3.0.2413;
Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:40:07 PM;Svr: PBAR;File: AgentHelper.cpp;Line: 728;Ver: 11.1.1.3.0.2413;
Num: 0x8000ffff;Type: 1;DTime: 4/12/2010 4:40:08 PM;Svr: PBAR;File: CHfmAwbAgent.cpp;Line: 744;Ver: 11.1.1.3.0.2413;
This is, I believe preventing me from deploying Consolidation Apps, including Sample Application provided with EPM Downloads. I have tried installing and configuring by components. All failed with the same outcome.
I have been working on this effortlessly in different combinations to get at least one Financial Management Application get deployed so I could enhance my learning adventure. As it stands, I am not sure where to get help and completely lost in the World of Oracle. I am also come to wonder whether “Free Downloads of EPM” are indeed, is “complete and is in working-state” or do I need a licence to use for personal learning experience? Are there different downloads for different needs or/users For example, eDelivery downloads are different from OTN Agreement downloads?
I have downloaded the files from following URL:
http://www.oracle.com/technology/software/products/bi/performance-management/index.html
I am completely lost and all services are up and running and not sure what I am missing!! Any assistance will be greatly appreciated.
Many Thanks
BT
Edited by: user8973921 on 13-Apr-2010 05:08
Edited by: user8973921 on 13-Apr-2010 10:56
Edited by: user8973921 on 14-Apr-2010 02:30I am having exactly the same problem using Windows 2003 Standard editions SP2. Is there anyone who knows a possible solution for this? The effect on HFM is that is not possible to create an application, since I always get an error that says "Server execution failed"
Error Reference Number: {E68F87E6-588E-4665-862C-AAB02CB299DA}
Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxServerImpl.cpp;Line: 3522;Ver: 11.1.1.3.0.2413;
Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxServer.cpp;Line: 1115;Ver: 11.1.1.3.0.2413;
Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxServer.cpp;Line: 857;Ver: 11.1.1.3.0.2413;
Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxClient.cpp;Line: 2106;Ver: 11.1.1.3.0.2413; -
Problem with custom validated data types using domain on 11g
Hi,
I ' m on a migration process from 10 to 11 and I notice that a custom domain didn't work correctly anymore
to be more specific every time that I was submiting a page a was getting an error cannot convert from myclass to oracle.jbo.domain.String
I search the forum and I saw a similar problem
Cannot convert type class java.lang.String to class oracle.jbo.domain.Clob
at which Frank says that it is a known bug and suggests a work around.
I use the workaround and it worked but some more issues came up:
1. If the validation fails I get the error that I throw at the validate method not in a popup with just my message
but in the whole window with the whole error stack, meaning that my custom validation is not handled like native ADF validation errors by
the framework (at 10.1.3.4 worked OK)
2 If i dont give a value at the attribute in the validation phase mdata variable is not null but is length is zero (at 10.1.3.4 its value was null)
public class AFM implements DomainInterface, Serializable {
public AFM(String val) {
mData = new String(val);
validate();
private String mData;
protected void validate() {
// ### Implement custom domain validation logic here. ###
mData==null // returns false
mData.length()==0 // returns true
3. Can i force validation only for new or updated values? I saw that the validation process is taking place every time a row is fetched.
This is not only a performance issue, the bigger problem is that if a fetched from the DB value fails the validation an error is return but the
user cannot change the value to correct it.
TIA
Tilemahossince i don't get any answer I wonder if i should have use a more provocative title like
"custom domains in 11g don't work"
is it true?
Tilemahos -
Custom Validator Class not found in Class Path
I have developed a custom validator class for User Self Registration request. However, when OIM is unable to find the custom validator class and generates teh following error:
[oracle.iam.platform.pluginframework] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 76584c4849877d50:-45bb4068:13c8294bd72:-8000-0000000000001236,0] [SRC_CLASS: oracle.iam.platform.pluginframework.InternalStore] [APP: oim#11.1.1.3.0] [SRC_METHOD: getPluginInstance] Not able to load class com.infotech.tra.CustomValidator.SelfRegisterUserCustomValidator from classpath
At what path should the jar file be placed?
UZI am running the plugin registration utility but it generates the error mentioned below. I have verified the structure of my zip file and the structure of zip file is:
-> SelfRegisterUserCustomValidator.zip
->Plugin.xml
->/lib/SelfRegisterUserCustomValidator.jar
->/resources/
Following our contents of plugin.xml:
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins>
<plugins pluginpoint="oracle.iam.request.plugins.RequestDataValidator">
<plugin pluginclass= "com.infotech.tra.CustomValidator.SelfRegisterUserCustomValidator" version="1.0.0" name="SelfRegisterUserCustomValidator">
</plugin>
</plugins>
</oimplugins>
Following is the error being generated:
Enter name (complete file name with path) of the plugin file:
/u01/oracle/Middleware/Oracle_IDM1/server/plugin_utility/SelfRegisterUserCustomValidator.zip
[java] Java Result: 1
[echo] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/iam/platformservice/utils/PluginUtility
[echo] Caused by: java.lang.ClassNotFoundException: oracle.iam.platformservice.utils.PluginUtility
[echo] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[echo] at java.security.AccessController.doPrivileged(Native Method)
[echo] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[echo] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[echo] Could not find the main class: oracle.iam.platformservice.utils.PluginUtility. Program will exit. -
Custom validation Messages printed more than once :-(
Hi,
I have added a Custom Validator to a drop down list box (h:selectOneMenu) and for a text field. and i bound these form elements to the corresponding UIComponent Object in the becking bean. The backing bean is in session scope I have a link which will forward to a different page and i disabled the validation on this link by setting immediate as true.
But when the user clicks the command link goes second page and then comes back to the first page and click the submit button, the validation error occurs. But to my surprise i am getting the same Validation error message printed twice or thrice (as when we are going to the second page and then comes back and submits).
If I am correct the Validator corresponding to the component keeps the old error state and then add the new error state.
I tried to remove one FacesMessage object which i got from Iterator of FacesContext.getMessages() and then tried. but hence also i was getting the same result.
When i looked at the log, i foud my validator class being invoked twoce (or thrice depending upon the no. of times i went to the secoond page).
Can you please help me out from this problem?
Thanking you,
SudheeshIf it is indeed 1.1, I'd recommend trying 1.1_02 [1] and trying again.
[1] https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=5225&expandFolder=5225&folderID=5220 -
AIP-51505: General Validation Error - SFTP transport - validation disabled
Configuration :
internal DC with SFTP
external DC with SFTP (via proxy)
Business Protocol Custom Document over Generic Exchange
MLR 12? (patch 8703404)
3 environments have the same tip.properties
2 environments pick up and send all files successfully.
I cannot see a difference between the deployments that is causing the validation error.
[also in all three B2B's are an ebXML and AS2 trading partner configuration]
The 3rd generates validation errors for all files (14) in the b2b.log and sends some (1-7).
Note that the sent ones change, if a failed one is retried in the source directory, sometimes it is sent successfully.
In the failing/validating deployment there is no validation for (cut and pasted from UI screens) :
Document Protocol Revision Details = Translation Enabled False Validation Enabled False
Document Types (Document Definition Details for each document def) = Is Translation Enabled False Is Validation Enabled False
tip.properties (environment where error occurs) :
#valid valudes for DiagnosticLevel:
#DEBUG, INFORMATION, WARNING, ERROR, FATAL.
#default logging level
oracle.tip.DiagnosticLevel = ERROR
#default component log level for B2B Engine
b2b.oracle.tip.DiagnosticLevel = ERROR
# following logging properties to be set back to false after resolving Sequence 98
# oracle.tip.adapter.b2b.logPayload = true
# oracle.tip.adapter.b2b.packaging.logDecryptMessage = true
b2b.oracle.tip.DiagnosticLevel.Repository = ERROR
b2b.oracle.tip.DiagnosticLevel.BusinessLogicLayer
b2b.oracle.tip.DiagnosticLevel.B2B
b2b.oracle.tip.DiagnosticLevel.ModelValidation
b2b.oracle.tip.DiagnosticLevel.ValidationRule
b2b.oracle.tip.DiagnosticLevel.TechStack
b2b.oracle.tip.DiagnosticLevel.Deployment
b2b.oracle.tip.DiagnosticLevel.Reports
b2b.oracle.tip.DiagnosticLevel.UI
#default component level logging for UI
ui.oracle.tip.DiagnosticLevel = ERROR
#specify component log leel to override default;
ui.oracle.tip.DiagnosticLevel.Repository = ERROR
ui.oracle.tip.DiagnosticLevel.BusinessLogicLayer
ui.oracle.tip.DiagnosticLevel.B2B
ui.oracle.tip.DiagnosticLevel.ModelValidation
ui.oracle.tip.DiagnosticLevel.ValidationRule
ui.oracle.tip.DiagnosticLevel.TechStack
ui.oracle.tip.DiagnosticLevel.Deployment
ui.oracle.tip.DiagnosticLevel.Reports
ui.oracle.tip.DiagnosticLevel.UI
oracle.tip.adapter.b2b.encoding=UTF-8
# Diagnostic Service defaults
oracle.core.ojdl.OrganizationId = oracle.com
oracle.core.ojdl.ComponentId = tip
oracle.core.ojdl.HostingClientId = beta
oracle.core.ojdl.BufferSize = 100000
oracle.core.ojdl.FlushInterval = 5000
# Specific diagnostic settings
oracle.tip.LogDirectory = /space/sw/oracle/products/ias/b2b/ip/log
oracle.tip.LogMaxSegmentSize = 10000000
oracle.tip.LogType = text
# option to save old log when rebounding the service
oracle.tip.LogSave = true
# B2B Info
oracle.tip.adapter.b2b.NumOfWFListeners = 1
oracle.tip.adapter.b2b.NumOfIPListeners = 1
oracle.tip.adapter.b2b.WFAgentName = OUTAGENT
oracle.tip.adapter.b2b.RMIPort = 5111
oracle.tip.adapter.b2b.RMIInstance = IP
#oracle.tip.adapter.b2b.WalletLocation = file:/etc/ORACLE/WALLETS/oracle/ora_wallet.txt
oracle.tip.adapter.b2b.ContinueValidationOnError = true
oracle.tip.adapter.b2b.MultipleIdentifications=false
oracle.tip.adapter.b2b.allTPInOneDirectory=true
oracle.tip.adapter.b2b.DocumentRouting=false
#oracle.tip.adapter.b2b.edi.identifyFromTP = Interchange | Group | Exchange
#oracle.tip.adapter.b2b.transportTrace = /space/sw/oracle/products/ias/b2b/ip/log/transport.trc
#oracle.tip.adapter.b2b.edi.ignoreValidation=InterchangeReceiverID,InterchangeSenderID,GroupReceiverID,GroupSenderID,GroupSenderQual,GroupReceiverQual,InterchangeSenderQual,InterchangeReceiverQual
#report Certificate validation as ERROR or WARNING; default value is ERROR
#oracle.tip.adapter.b2b.tpa.validateCertificate= ERROR | WARNING
#oracle.tip.adapter.b2b.document.NoValidation = inbound | outbound
# HTTP Proxy Host and Proxy Port
oracle.tip.adapter.b2b.ProxyHost =
oracle.tip.adapter.b2b.ProxyPort =
# MaxCachedSessions is set to 0 means no ExecutionContext
# is stored in HTTP session (IP cache is empty).Line below overwrites default
# value equals to 5 when 5 concurrent users could store context in their sessions
# By commenting that line you might turn IP cache on.
oracle.tip.ui.MaxCachedSessions = 0
# Suppression of Validation Warnings
oracle.tip.buslogic.validation.SuppressWarnings=false
# Callout directory
oracle.tip.callout.directory=%s_calloutDirectory%
# persistence directory
oracle.tip.runtime.persistence.dirName=%s_persistenceDir%
# enable ONS reverse ping
enableONS=true
# Optional property which user can set to specify saved report encoding e.g. UTF-8, UTF-16LE etc
# By default this property is not set, in this case the saved report csv file
# will be generated by using the native encoding
# Users can set this parameter to change the encoding of the generated saved report csv file
#savedReportEncoding=UTF-8
# Please don't modify the following properties
# Connection Info
username=%s_intgDBUser%
password=%s_intgDBPasswd%
#connect=jdbc:oracle:thin:@%s_intgDBHost%:%s_intgDBPort%:%s_intgDBSid%
drivertype = thin
tnsentry = inst1
host = %s_intgDBHost%
port = %s_intgDBPort%
sid = %s_intgDBSid%
oracle.tip.connection.useRepositoryAPI=on
oracle.tip.connection.oraclehome=/space/sw/oracle/products/ias/b2b
# property specific to Deployment
oracle.tip.deploy.workflow_username=%s_wfUsername%
oracle.tip.deploy.workflow_passwd=%s_wfPasswd%
oracle.tip.deploy.workflow_tnsname=%s_wfTnsname%
# UI user authorization
authorization = true
# encryption key used for securing secrets in the schema.
oracle.tip.security.key=Be8ejb7yOX3rSefEr5pxBl49WLc0Iej9VeI8jykdjRfv
##oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet
#oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/101202/ib/Apache/Apache/conf/ssl.wlt/default/b2bwallet
oracle.tip.adapter.b2b.WalletLocation =file:/sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet/ewallet.txt
# performance best practices
oracle.tip.adapter.b2b.sleepTimeout=1
oracle.tip.repos.RowSize=100
oracle.tip.adapter.b2b.receiveTimeout=1
oracle.tip.adapter.b2b.TPACache=true
The b2b.log from the failing environment has some lines not seen in the other two environments (the lines referring to MimePackaging:unpack) :
2010.04.29 at 19:07:14:295: Thread-11: B2B - (DEBUG)
Protocol = SFTP
Version = 2.0
Transport Header
filename:SA_ENVSTATUSES.txt
filesize:1
file_ext:.txt
filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
fullpath:/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt
timestamp:Thu Jan 15 09:29:53 PST 1970
2010.04.29 at 19:07:14:295: Thread-11: BusinessLogicLayer - (DEBUG) New ExecutionContext has been created
2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) Recieve a new PersistencyService
2010.04.29 at 19:07:14:299: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Design
2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) A new PersistencyService is created
2010.04.29 at 19:07:14:340: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Enter
2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Leave
2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListener:onMessage - Invoke inbound callout - null - null
2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListenersyncAckEBMSchecking header names
2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
2010.04.29 at 19:07:14:342: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2010.04.29 at 19:07:14:343: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
2010.04.29 at 19:07:14:345: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
2010.04.29 at 19:07:14:348: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
2010.04.29 at 19:07:14:359: Thread-11: B2B - (DEBUG) DBContext commit: Enter
2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
2010.04.29 at 19:07:14:363: Thread-10: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
2010.04.29 at 19:07:14:363: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryWireMessage
2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Transaction.commit()
2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Leave
2010.04.29 at 19:07:14:365: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryWireMessage
2010.04.29 at 19:07:14:365: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
2010.04.29 at 19:07:14:366: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
2010.04.29 at 19:07:14:367: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
2010.04.29 at 19:07:14:367: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
2010.04.29 at 19:07:14:369: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Enter
2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Exit
2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange Enter
2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange SOAPAction is [null]
2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Enter
2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:doUnpack:Enter
2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = UTF-8
2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@391da0
2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Exit
2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_ENVSTATUSES.txt
2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - ENVSTATUSES
2010.04.29 at 19:07:14:373: Thread-10: B2B - (ERROR) Error -: AIP-51505: General Validation Error
at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:408)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1477)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2576)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2446)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2401)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-51505: General Validation Error
2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=SA_ENVSTATUSES.txt, filesize=1, file_ext=.txt, filename_format=%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt, fullpath=/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt, timestamp=Thu Jan 15 09:29:53 PST 1970}
2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-51505: General Validation Error
2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum0 not null
2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error informationThank you for the suggestion, unfortunately, I cannot get it to work.
I've updated the IDC transport server to 3 different filename_formats, and tried the corresponding files, with correct names to match the filename_format.
After updating the IDC I validated the trading partner (host).
I then updated the agreement using the updated IDC, and validated the agreement.
I then validated the host again.
Then I created a new deployment.
And still received the error.
I then deleted the old IDC and created a new IDC and new agreement and new deployment, trying 3 different "Internal delivery channel filename format" values (updating and validating the agreement and host trading partner each time).
And still received the error.
No matter what I set EITHER the IDC "filename format" OR "Internal delivery channel filename format", the b2b.log always reports :
filename_format = %TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
e.g.
2010.05.16 at 18:05:02:758: Thread-15: B2B - (DEBUG)
Protocol = SFTP
Version = 2.0
Transport Header
filename:SA_DRUGS_10.txt
filesize:1
file_ext:.txt
filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
fullpath:/mnt/maximage_prd/sa_transfer/SA_DRUGS_10.txt
timestamp:Thu Jan 15 09:54:18 PST 1970
When I try a file with a revision number, e.g. SA_DRUGS_10.txt the log shows :
2010.05.16 at 18:05:03:602: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TIMESTAMP - 10
2010.05.16 at 18:05:03:895: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
which makes sense as "10" is not a timestamp.
If I exclude the revision, using SA_DRUGS.txt the log shows :
2010.05.16 at 18:27:03:543: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_DRUGS.txt
2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
2010.05.16 at 18:27:03:545: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
So, the timestamp gets ignored (as there is no "_" delimiter), but it still fails, probably because there is no timestamp in the filename.
So, why won't the UI correctly set the IDC filename_format or Internal filename_format ? -
Validation error message display
I am creating a registration form with a bunch of required fields and validation messages which are associated with these fields. I have a state drop down, a province drop down and a region textfield, only one of them will be rendered depending on the selected value from a country drop down. My problem is that when the user selects a country I get validation errors for fields that haven't yet been filled out. Is there a way to ignore validation on a value_change from the country dropdown? I.E only have a validation occur when the submit button is pressed?
Thanks ,
KevinKevin,
As you already created a registration fom with a bunch of required fields and validation messages which are associated with those foelds, could you please let me know how you handled all the custom messagess for all required fields. I have some knowledge using resource bundle- required key..but will handle one at a time. How we can handle all at a time and can display message on the top of the page when we click "submit" button when all field are empty .
Your early reply will be highly appreciated!
Thanks,
Hiten -
Validation Error when updating Feature work item to completed state?
We are on the latest version of TFS 2013 and have customized process templates based off of the Scrum template.
We have a custom workflow for the Feature work item type. I get an error when trying to update the state to custom done state of "Prod Deployment Successful". The error I receive is below:
TF237165: Team Foundation could not update the work item because of a validation error on the server etc etc.
I have TFS Admin rights as well as project and project collection Admin rights.
Custom States:
Planned
Canceled
On Hold
In Progress
Ready For QA
QA Deployment Failed
QA Deployment Successful
Ready For Stage
Stage Deployment Failed
Stage Deployment Successful
Ready For Prod
Prod Deployment Failed
Prod Deployment Successful
Custom Workflow:
" " TO Planned
Planned TO Canceled
Planned TO On Hold
Planned TO In Progress
In Progress TO On Hold
In Progress TO Ready For QA
On Hold TO In Progress
Ready For QA TO QA Deployment Failed
Ready For QA TO QA Deployment Successful
QA Deployment Failed TO Ready For QA
QA Deployment Failed TO In Progress
QA Deployment Successful TO Ready For Stage
QA Deployment Successful TO Ready For Prod
Ready For Stage TO Stage Deployment Failed
Ready For Stage TO Stage Deployment Successful
Stage Deployment Failed TO Ready For Stage
Stage Deployment Failed TO In Progress
Stage Deployment Successful TO Ready For Prod
Ready For Prod TO Prod Deployment Failed
Ready For Prod TO Prod Deployment Successful
Prod Deployment Failed TO Ready For Prod
Prod Deployment Failed TO In Progress
I have also updated the Process Configuration file to map the states to the meta states so I can show the custom states on the Feature board. The section in the process configuration file that relates to Feature is below:
<States>
<State type="Proposed" value="Planned" />
<State type="InProgress" value="Canceled" />
<State type="InProgress" value="On Hold" />
<State type="InProgress" value="In Progress" />
<State type="InProgress" value="Ready For QA" />
<State type="InProgress" value="QA Deployment Failed" />
<State type="InProgress" value="QA Deployment Successful" />
<State type="InProgress" value="Ready For Stage" />
<State type="InProgress" value="Stage Deployment Failed" />
<State type="InProgress" value="Stage Deployment Successful" />
<State type="InProgress" value="Ready For Prod" />
<State type="InProgress" value="Prod Deployment Failed" />
<State type="Complete" value="Prod Deployment Successful" />
</States>
The error ONLY happens when I try to update a Feature state to "Prod Deployment Successful". I have looked at other posts and searched the internet and have found no help for my exact issue in TFS 2013. For some
reason, I can't update the state from "Ready For Prod" to "Prod Deployment Successful". Does anyone have any ideas of what could be wrong or causing my issue?
Thanks in advance!I finally figured out my issue and fixed it.
I had to update a reference name in the WIT xml file to Common.BusinessValue instead of Closed. -
Validation error message in JSF 1.2
I am testing my Web application inside Tomcat 6.0.2 and using JSF 1.2. I was surprised to see that validation error messages do not only display the custom error message, but also the id tag and a "Validation Error: " text. For instance, if an input text component has the required property set to true and the user does not fill in value, the following error message will be displayed on page submiision: "hello:test: Validation Error: Value is required." instead of just "Value is required.". I am wondering if there is a way to silence the id tag and the "Validation Error: " text. hello:test id tag reflects the fact that the form has an id of "hello" and the input text component an id equal to "test".
Hello
I'm quite new to this technology. Would like to know how can we replace the 'annoying component id' with label while generationg validation/conversion error message.
E.g:
'for:compID' some error message
must be formated as
'compLabel' some error message
I happened to know that this feature is supported in JSF 1.2 impl. But didn't work for me with Sun RI.Can any body give me some sample code snippet for the same
Thanks
Jobinesh
Maybe you are looking for
-
Is there a way to access images directly from the PSD
when i create images for my game i created i usually build my PSD file like so via the groups and layers G1 L1 L2 L3 G2 L1 L2 L3 G1 = GAME1 L# = Levels each level there are 12 images within usually numbered 1-12 Level1 i would then setup my server th
-
How to send a file through the portal
Hello, I have a problem in sending the file. I have selected a file kris.ppt and from context menu, I have selected sent to option and I have sent a file. I got a copy of that to my lotus notes but in that I had a format as kris.ppt.html. I cannot op
-
Music App: Tilting Device Turns Screen into Black Tiles
Hello, I have a 5th generation iPod Touch, and I updated it to iOS 7. I am having a minor but annoying problem with the music app. The display for the music app looks like this: Once in a while, when the device tilts, the screen turns into a series
-
InSufficient BAndwidth: Dramatic Solution :-)
http://discussions.apple.com/thread.jspa?messageID=1528487#1528487 Ralph
-
Forward/Backward Button Scripting
I'm trying to script a forward button and a backward button. I want it to go forward one frame when clicked, and the backward button to g backward one frame when clicked. Nothing I type is working. Can someone help me, please?