Skip to Content
0
Former Member
May 13, 2005 at 04:08 PM

Enable/Disable button based on model contents

30 Views

Hello Experts-

I have a view that contains a table which is bound to a model. The model contains many fields one of which is a URL.

I want to display the text of some of the fields in the table and that is working fine.

Now, I want to add a button to the table which is enabled or disabled based upon whether the URL contains a value. What is the best way for me to do this?

I can return a boolean flag from the ABAP code which this model corresponds to, but I would like a cleaner method where I can do this on the WebDynpro side.

Thanks,

- Vik.