on 07-18-2006 8:23 AM
Hi
I have created the InputForm application for error handling.... In that i have created the Message Pool. A class IMessage<ComponentName> has been genrated automatically. Inside this class whether i have to write the code for create CONSTANT keys or else it will automatically create ... Because i am not getting code inside... its generating empty class.....
like
public class IMessageSimpleErrorsForm{
}
but i have gone through one application which is already created and deployed.... In that I found the following class for creating CONSTANT keys
public interface IMessageSimpleErrors {
/**
ErrorMessage <code>"Please enter a valid date for field {0}. You entered , which is a date in the future and therefore not a valid date of birth."</code> using
key "DateIsInFuture".
*/
public static final IWDMessage DATE_IS_IN_FUTURE = new WDMessage( "com.sap.tc.webdynpro.tutorial.errorbehavior.IMessageSimpleErrors" , "DateIsInFuture", WDMessageType.ERROR);
/**
Warning <code>"You did not enter an e-mail address. Therefore, you will not be informed about product news and special offers."</code> using
key "DesiredEMail".
*/
public static final IWDMessage DESIRED_E_MAIL = new WDMessage( "com.sap.tc.webdynpro.tutorial.errorbehavior.IMessageSimpleErrors" , "DesiredEMail", WDMessageType.WARNING);
/**
ErrorMessage <code>": Entry of a valid is required for proceeding with the requested service."</code> using
key "MissingInput".
*/
public static final IWDMessage MISSING_INPUT = new WDMessage( "com.sap.tc.webdynpro.tutorial.errorbehavior.IMessageSimpleErrors" , "MissingInput", WDMessageType.ERROR);
}
please help me
Thanks & Reagards
Ravi Shankar B
Hi Ravi,
Pay attention that constant are generated only for messages types Standart, Warning and Error but not for Text.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.