cancel
Showing results for 
Search instead for 
Did you mean: 

error message problem

Former Member
0 Kudos

Hi Freinds,

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

Please post your code here.

Regards,

Subramanian V.

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi,

I think i understand your problem:

intialize the inputValue as null and then get value from the current context in every event action. your case old value is exist.

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

Regards

Suresh

Former Member
0 Kudos

Thanks Subramanian Suresh and Shyam,

I got some solution.

I used reportException.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

which back button do u mean? is it a button which you added in the view or is it the browser's back button?

regards

Shyam.

Former Member
0 Kudos

Shyam,

It was view's back button.