on 11-05-2007 9:38 AM
Hi experts,
I have one issue i.e when you have data field to enter in the data field if you enter string value you can see red box it points, in the same way.
my issues was i want with string values also to see red box it points
i am using message pool for validate.
anyhelp on this issue
thank you,
vijai
Hi Vijay,
Check this tutorial for step by step process for ur requirement.It containes same example for date field
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14</a>
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create an actionHandler <b>(Validating)</b>
Inside the handler write the following code.
IWDMessage msg = new WDMessage(wdThis.wdGetAPI().getComponent() , "MissingInput", WDMessageType.ERROR , "Enter some Values");
IWDAttributePointer attributePointer = wdContext.currentContextElement().getAttributePointer("YOUR ATTR"); // Your context attribute
if(wdContext.currentContextElement().get<YOUR ATTR>() == null)
{
msgMgr.reportContextAttributeMessage(attributePointer, msg, new Object[] {});
msgMgr.cancelNavigation();
}
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi experts
just to correct it is not data field correct it as Date field and also in Subject
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.