Skip to content

Commit

Permalink
Merge pull request #10 from mariodavid/master
Browse files Browse the repository at this point in the history
switched to marketplace in README; corrected wrong coordinates (see #8)
  • Loading branch information
bresche authored Aug 16, 2018
2 parents 87a2cba + cd1d71a commit 5e0db6e
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,7 @@ CUBA component that allows to write generic features for a Controller and use th

## Installation

1. Add the following maven repository `https://dl.bintray.com/balvi/cuba-components` to the build.gradle of your CUBA application:


buildscript {

//...

repositories {

// ...

maven {
url "https://dl.bintray.com/balvi/cuba-components"
}
}

// ...
}


1. `declarative-controllers` is available in the [CUBA marketplace](https://www.cuba-platform.com/marketplace)
2. Select a version of the add-on which is compatible with the platform version used in your project:

| Platform Version | Add-on Version |
Expand All @@ -44,9 +25,15 @@ The latest version is: [ ![Download](https://api.bintray.com/packages/balvi/cub
Add custom application component to your project:

* Artifact group: `de.balvi.cuba.declarativecontrollers`
* Artifact name: `declarative-controllers-global`
* Artifact name: `declarativecontrollers-global`
* Version: *add-on version*

```groovy
dependencies {
appComponent("de.balvi.cuba.declarativecontrollers:declarativecontrollers-global:*addon-version*")
}
```

### Motivation & Example usage: Comments feature

So what does that mean? Here's an example [balvi/cuba-example-declarative-comments](https://github.com/balvi/cuba-example-declarative-comments):
Expand Down Expand Up @@ -198,4 +185,4 @@ That's it.
With this you have a single place where you can put your UI logic that is accessible for different screens.
You can easily take this and create [CUBA studio templates](https://www.cuba-platform.com/blog/whats-new-in-cuba-platform-6-4#studio-templates) that will add your Annotations to your screens,
so that you have a UI where you have a couple of checkboxes enable all of your generic features.
so that you have a UI where you have a couple of checkboxes enable all of your generic features.

0 comments on commit 5e0db6e

Please sign in to comment.