cancel
Showing results for 
Search instead for 
Did you mean: 

using the api view.checkAndReportRequiredFields in wdget modify view.

Former Member
0 Kudos

Hi All,

Can any one let me know that how can i make use of view.checkAndReportRequiredFields in wdmodify view where i am passing the message in the message pool and passing that key. This is what i am doing it but i am getting some error there itself.

I< node>node1=wdContext.node<node name>();

String str=wdComponentAPI.getTextAccessor().getText(IMessageExcelView.KEY);

view.checkAndReportRequiredFields(node1,str,ob);

I am getting the error for the arguments passed can any one let me know how to proceed with this? errro in while passing it in ob.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Qualiture
Active Contributor
0 Kudos

Hi,

What exactly is the content of the 'ob' array?

Please note the first argument is reserved for the label text of the required field (your label should therefore be linked to your field)

Best regards,

Robin van het Hof

Former Member
0 Kudos

Hi,

The issue has been solved as just need to create the instance of that object type.

thanks

Former Member
0 Kudos

Hi swarn,

If Issues has been resolved then you should close the Thread ....other wise every body trying to post ....

Thanks

Sudhir jati(Wipro)

Edited by: sudhir kumar on Apr 29, 2011 12:26 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

The [Javadoc|http://help.sap.com/javadocs/nwce/current/wdr/com.sap.wdr/com/sap/tc/webdynpro/progmodel/api/IWDViewController.html#checkAndReportRequiredFields] contains an extensive explanation of this method.

Former Member
0 Kudos

Hi Segmantation Fault,

Thanks a lot for providing with the javadoc . It was really very helpfull.

Thanks

Swarn