on 12-22-2011 11:33 AM
Hello,
Is it possible to change Web Dynpro default messages? And how can it be done?
Example: In a field with suggested values configuration, when a user type some value that is not present in these suggested values collection, the following message will be shown to the user: "Character string "<value given by the user>" does not exist in the set of allowed values".
The reason we have to change some messages is because our applications are intended to be used by externals users, final clients that are not familiar with the Web Dynpro interface. We need to make the messages more "friendly", as it is requirement of our customer.
Can someone please help us?
Thanks.
Hi Evandro,
did you resolve this problem? I need to do this too.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SAPTECHED / Evandro,
You've TWO options to handle the default messages by WD framework:
1# OnAction Without Validation:
If you are using any onAction() event for your wdj form validation.. then open the Action method in Edit mode > Check the Without Validation check-box property > Save it. This would avoid calling the default validation messages that comes from Web Dynpro framework.
2# Dictionary Messages Property file:
Otherwise modify the messages_en.properties file part of SapDictionaryTypesRuntime.jar located in the server-side (this is usually part of com.sap.dictionary.runtime_2.0.0 plug-in at client-side [WDJ installed machine] system). And make sure you've a ORIGINAL copy of this property file.
Hope this should resolve your query!
Thanks,
MS
Hi,
You can keep your own messages in message pool and process it accordingly.
Thanks,
Rahul.
Edited by: rahul.girmaji on Dec 22, 2011 1:36 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please find the below links
http://wiki.sdn.sap.com/wiki/display/WDJava/Error+Handling
http://wiki.sdn.sap.com/wiki/display/WDJava/ValidatingWebDynproJavaapplications
http://wiki.sdn.sap.com/wiki/display/Community/HandlingmessageinWebDynpro
Hope it helps....
Thanks,
Rahul.
Rahul,
I appreciate your attention, but what I need is to change the default message of Web Dynpro validation web components (those that are bound to the web components).
Those links are not related to my situation. The messages of the pool are intended to be displayed in the message manager / message area web component, which is a procedure we already know about, and we already use it in our project.
Anyone got any help about my problem?
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.