Skip to Content
Former Member
Aug 10, 2009 at 12:20 PM

WAD 7 - make HTML dynamic XHTML (call function module, display/hide button)



I would like to know how a button in a web template can be displayed or hidden based on the user that executes the template.

We have a lot of web templates for Integrated planning. All users should be able to execute all functions in the template, but only some of them should be able to save the changed/added data. (There is a good reason for this, but I am not going to elaborate on this).

This means that the only difference would be that the SAVE button is hidden for some users.

Until now the only thing we can do is copying the complex web templates and delete the SAVE button. This means that we have to maintain twice as much web templates, while only one simple button makes the difference.

Does somebody know whether it is possible to call a function module in a WAD 7 web template? This function module could generate CSS code with property "display:none" based on some logic?

If somebody has another idea to make the display of a button dynamic, it would be a great help!

Thanks in advance!

Kind regards,