‎2008 Jun 17 12:50 AM
Hi,
I want to change UI attribute of portal i.e I want to disable a checkbox on portal webpage depending on a condition at runtime.
I am new to webdynpro. I am using a class ZCL_IM_DPR_ATTRIBUTES to implement the functionality .
Please let me know how to change attributes by coding in this class.
Thanks.
‎2008 Jun 17 1:30 PM
Hi Hemant,
1.Declare one attribute say 'attr1' , in the context of the view.
2.double click the check box in the layout, in the properties window , there is one property called enabled ,remove the tick from that property,
3. Click on the binding button ,(to the right of enabled) select the attribute attr1.
4.in the methods tab,select the appropriate method.
5. set the value of the attribute to 'X' using the set attribute method or reset to space .
Regards,
Charumathi.B