add disable attribute for tc:buttons and tc:links

* add setter for disable attribute in ButtonsTagDeclaration and LinksTagDeclaration
* create Interface to set and get disabled
* adjust Renderer to write disabled attribute in tag
* adjust isDisabled in AbstractUICommandBase to check if the parent is disabled. If the parent is disabled all all children are disabled. If a child has the disabled attribute set, than the child is not disabled.
* create example in demo

ISSUE: TOBAGO-1997
9 files changed
tree: 5d39fb1dbd3d18ceb4dc265e4e4bcba58ba4f005
  1. src/
  2. tobago-assembly/
  3. tobago-core/
  4. tobago-example/
  5. tobago-theme/
  6. tobago-tool/
  7. .gitignore
  8. build-site.sh
  9. pom.xml
  10. README.md
  11. settings-example.xml
  12. tobago-pmd-config.xml
README.md

Apache Tobago

Building

You need Maven 3 (at least 3.0.4) and Java 8 or later to build Tobago.

In the project directory you can use:

mvn install  

to run the install target on all sub projects. This will put all necessary artifacts into your local repository.

Demo

Switch to sub-directory and call Maven to run the demo:

cd tobago-example/tobago-example-demo
mvn jetty:run

Browse to the local URL http://localhost:8080/tobago-example-demo/