on 03-12-2008 12:11 PM
Hi Gurus,
I got a requirement where in which webdynpro application has a date field which is not mandatory now?
Now my requirement is to make it mandatory? how to do that?
If code required can you pls provide the same too
Thanks in Advance,
Dharani
Hi,
Set the state property of the inputField mandatory
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 dharani,
1.attribute name is Date
2. create one action.
3.assign the action to the button properties---->Onaction
4. do the following steps in the onAction event
String source = wdContext.currentContextElement().getDate();
if (source != null) {
// do your coding
}
else
{
wdComponentAPI.getMessageManager().reportSuccess(
"THIS IS A MANDATORY FIELD");
}
THATS IT,
Regards,
P.Maniavannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.