Comment 3 for bug 600442

Revision history for this message
Malcolm Fitzgerald (malcolm-notyourhomework) wrote : Re: [Bug 600442] Re: Changed includes Add button regardless of rights

On 01/07/2010, at 5:49 PM, Xavier Brochard wrote:

> There is (or there was?) a similar problem in a lot of woda's "pages".
>
> I think that we should use a different, global, system to display icons.
> I don't know if it is feasible though. But here is some ideas:
> - test rights in printFoot, then remove icons from @Toolbar
> - use some global variables to define toolbar content ; one for browsing, one
> for editing, etc. Each of these populated by the main routine (according to
> rights). Then you just call them at each places you want.
>
> But I doubt:
> as Claudio pointed it, Woda is different from other database systems and that
> is good. I like the fact that the code is, more or less, easy to understand.
> The current system for toolbar, while not perfect, is very simple.

Yes, it is simple and there are only some places where the Page itself breaks the rules. I think that I was the one who requested that Ziga include an Add button on that page to make it easier to do data input from the web.

Malcolm