Skip to Content
0
Former Member
Apr 02, 2008 at 08:47 AM

UI elements validation

11 Views

hi

i have done the validations for the UI elements

for the mutliple fields and using MESSAGE POOLING

for showing up the messages , so

i have FIRSTNAME , NAME , DOB , ....

if(fname==null)

{

IWDMesageManager msg=wdComponentAPI.getMessagemanager();

msg.reportmessage(IMessage<componentname>.firstname,null,false)

}

the above coding had been in all the IF Block

for Name and other UI elements , is this the correct way to

go , or there is nay other way that i could come up

where i could not repeat the

IWDMesageManager msg=wdComponentAPI.getMessagemanager();

for each IF block ,, other thing is the above statement

need to mandatory provided to each ,

once writting it enough

could any one go ahead with this issue ?

iam using a Pre-defined BAPI , this is the first going ahead

the issue , so any sort this out

regards

murali