commit | 0552c4cb1cc7148f0bdeea6f44d01da4cc4dbc35 | [log] [tgz] |
---|---|---|
author | Jasmin Kroeger <jasmin.kroeger@irian.eu> | Tue Jun 09 10:46:15 2020 +0200 |
committer | Udo Schnurpfeil <github@schnurpfeil.de> | Wed Jun 24 11:18:13 2020 +0200 |
tree | 5d39fb1dbd3d18ceb4dc265e4e4bcba58ba4f005 | |
parent | 6ed0f656c61fcbdc620eab520d68aebc3bfb2c3f [diff] |
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
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.
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/