Hi all,
I'm trying to make a mandatory field check but in the message triggered I want to use the attribute "Text" of the label of my inputfield:
//This is my inputfield's label
IWDLabel Dt_Decrichiesta = (IWDLabel) view.getElement("Dt_Decrichiesta_Label");
//This is my check method with 2 parameters: 1 is the field to check, 2 is the name of field to use in the error message
wdThis.CheckMandatory(IPrivateCompRequestView.IX_Zur_RichiesteElement.DT__DECRICHIESTA,Dt_Decrichiesta.getText());
everything is done in the action handler.
As u can see I need a IWDView object to call the getElement method...
Where/how can I get that???