cancel
Showing results for 
Search instead for 
Did you mean: 

webdynpro error message

Former Member
0 Kudos

Hi Freinds,

webdynpro error mesage scenario

I am raising an exception.

when I again go back to scenario and try to raise exception, it doesn't work.

So, I am checking an exception on input fields, at least one input to be provided.

then I provide input field value, it works... no exceptions as disried.

when I click back afer removing all input field values, I should get same message, but this time I dont get any message, and it succeeds. It should raise eaxception again.

please advise

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

to get error mesage again, I need to refresh my viewset screen. I mean screen if intialize again, then error message is diplayed, else not.

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi,

I understand your problem:

intialize the inputValue as null and then get value from the current context in event action. your case old value is exist.whenever you click the event you have intialize string as nul and get value from context and then validation...

String inputValue =null;

context=wdContext.currentContextElement();

inputValue = context.get<context name>();

Validate the input field and show error message..

i hope this will solve your problem

See in webdynpro forum i think in two places you posted this question..

Regards

Suresh

Former Member
0 Kudos

Thanks Suresh, its by mistake that I have put same at two places.

Answers (0)