cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory Field Validation in Webdynpro JAVA

Former Member
0 Kudos

Hi All,

I have designed a Request Form UI using webdynpro JAVA.

I am in the Validation phase now. I have set many Fields State=Required (Mandatory) in UI.

I would like to validate these fields using the Standard Interface Method.

checkAndReportRequiredFields(IWDNode node, IWDMessage message, Object[] args)

But i am not able to pass the Arguments --> message and args.

Not able to set the predefined text for IWDMessage Object.

Can anyone explain this case with an example .

Best Regards,

Suresh S

Accepted Solutions (1)

Accepted Solutions (1)

pradeep_kumar5
Active Participant
0 Kudos

Hi Suresh,

Just create a message in the message pool of your component.

you can access it using IMessage<your component controller name>.<Name you have given in Message pool>

Regards,

Pradeep

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

don't know how to get a message object?

Former Member
0 Kudos

HI Jun Wu,

Yes ,,, Unable to pass the message text with IWDMessage type.

Kindly help me with an example.

Regards,

Suresh S