on 01-13-2009 6:34 AM
Hiii
Iam creating an application in web dynpro.In that i want to active my "check box". For that we need to write the code.If thats the case.....
Please provide the code.
My screen will appear like this
User login id *:
Existing user : (Check box)
User name *:
Employee : (drop down by key)
Active : (check box)
Role * :(drop down by key)
Moreover i want these asteriks(*) like mandatory items in red colour.Is it possible in web dynpro.
Please tell me how we can do that.
Thanks in advance.
Regards
Sushma
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sushma,
For checkBox Please follow the below steps:
1. Add the check box UI Elements.
2. Now create the context of type Boolean.
3. Add the boolean type context to the checked property
4. Add the Text which you want to show for this checkbox in text property.
5. you can define your method on ontoggle property.And you can write what ever logic you want in that method. like hidding or showing some UI elements etc.
please revert if you require more information
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a checkbox UI Element for the view. Now as I get you need it to be ticked by default.
For this, open the Properties for checkbox, there will be a property 'checked', set it to true
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
to be more precise.
You need to set the State property of your input field to required and for Lable you need to set the Label for property to the Id of that input field
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sushma,
For (*) in red color, you can select the "required" property of the label = true.
For check box you can refer the page number 52 of the following article:
Hope it will help you.
Reards.
Rajat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi For * in red color . You need to define the Lable for for the input field in which you need to specify the Label name. Then make it required= true. It will show the star mark in red color.
For check box we do not need to write the code. just create the element and define its properties.
Hope this will help. If require more information i can help you.
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.