-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
123 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
examples/jte-demo/src/main/kotlin/de/tschuehly/jteviewcomponentdemo/core/ExampleService.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...-demo/src/test/kotlin/de/tschuehly/jteviewcomponentdemo/application/JteTestApplication.kt
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...ples/jte-demo/src/test/kotlin/de/tschuehly/jteviewcomponentdemo/application/web/Router.kt
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...kotlin/de/tschuehly/jteviewcomponentdemo/application/web/index/IndexTestViewComponent.jte
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
.../kotlin/de/tschuehly/jteviewcomponentdemo/application/web/index/IndexTestViewComponent.kt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
rootProject.name = "jte-example" | ||
|
||
includeBuild("..\\..\\jte"){ | ||
dependencySubstitution { | ||
substitute(module("de.tschuehly:spring-view-component-jte")).using(project(":")) | ||
} | ||
} | ||
includeBuild("..\\..\\core"){ | ||
dependencySubstitution { | ||
substitute(module("de.tschuehly:spring-view-component-core")).using(project(":")) | ||
} | ||
} |
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
...ples/jte-example/src/main/kotlin/de/tschuehly/jteviewcomponentdemo/core/ExampleService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package de.tschuehly.jteviewcomponentdemo.core | ||
|
||
import org.springframework.stereotype.Service | ||
import java.util.NoSuchElementException | ||
|
||
@Service | ||
class ExampleService { | ||
var dataIndex = 0 | ||
val itemList = mutableMapOf<Int, String>() | ||
|
||
fun getHelloWorld(): String { | ||
return "Hello World" | ||
} | ||
|
||
fun addItemToList(item: String){ | ||
itemList[dataIndex] = item | ||
dataIndex += 1 | ||
} | ||
|
||
fun deleteItem(id: Int) { | ||
itemList.remove(id) ?: throw NoSuchElementException("No Element with Id: $id found") | ||
} | ||
|
||
|
||
} |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...tdemo/web/example/ExampleViewComponent.kt → ...tdemo/web/example/ExampleViewComponent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ntdemo/web/para/ParameterViewComponent.kt → ...ntdemo/web/para/ParameterViewComponent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.