2013 Jun 06 2:29 PM
Hello,
i want to add a custom action message in UCES java frontside:
e.g. actionMessages.addMessage(new UConsActionMessage(textManager, ActionMessage.ERROR, "SELFREG_ERROR_EMAIL1") );
I've tried to search, where ist the text for the key "SELFREG_ERROR_EMAIL1". Failed. Could someone tell me, how can i add a custom action message? thx.
Regards,
Fanglin
2013 Jun 06 3:38 PM
HI,
where did you found this text key? Are you looking into the UCES code or the portal login screen? The class UConsActionMessage does not exist as well as the text key.
In the webbase-config you will find in the end entries like
<resource name="system" path="com.sap.fin.fscmbase.resources.system"/>
Here you can add or replace text resource bundles.
and you add message like
actionMessages.addMessage(
new ActionMessage(
"system",
ActionMessage.ERROR,
"error.action.notauthorized"));
Regards,
Andreas
2013 Jun 06 3:38 PM
HI,
where did you found this text key? Are you looking into the UCES code or the portal login screen? The class UConsActionMessage does not exist as well as the text key.
In the webbase-config you will find in the end entries like
<resource name="system" path="com.sap.fin.fscmbase.resources.system"/>
Here you can add or replace text resource bundles.
and you add message like
actionMessages.addMessage(
new ActionMessage(
"system",
ActionMessage.ERROR,
"error.action.notauthorized"));
Regards,
Andreas
2013 Jun 21 8:58 AM
Hi,
ich habe gefunden. The Text to the "SELFREG_ERROR_EMAIL1" has to be defined in SAP. Thanks for your reply.
Regards,
Fanglin
2013 Jun 21 2:11 PM