Skip to content

Commit b22f175

Browse files
author
Shashi Bhushan
committed
SLICE-128 ReadMe update and removing unused TestCase
1 parent c676d8b commit b22f175

File tree

2 files changed

+5
-75
lines changed

2 files changed

+5
-75
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ No more business logic in your view (JSP, Sightly scripts) - business logic's pl
3434
<slice:lookup var="model" type="com.example.components.text.TextModel" />
3535
<p>${model.text}</p>
3636
```
37+
or it can be
38+
```jsp
39+
<slice:lookup var="model" type="<%= com.example.components.text.TextModel.class %>" />
40+
<p>${model.text}</p>
41+
```
3742

3843
**Reusable Java models** which expose data for your view - note same model can be used for Sightly and JSP components - one model to feed them all!
3944
```java

slice-test/slice-core-test/src/test/groovy/com/cognifide/slice/api/tag/SliceTagUtilsTest.groovy

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)