@Repeat(items=apps, var="app")
<li>
${app.clientId}<a href="$urls[app.clientId]" > auth</a>
</li>
--
You received this message because you are subscribed to the Google Groups "Google Sitebricks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-sitebri...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
@At("/")
public class Example {
private String message = "Hello";
private List<String> users = Arrays.asList("jilen");
private final Map<String, String> userMap = new HashMap<String, String>();
@Get
public void get() {
userMap.put("jilen", "foo");
}
public List<String> getUsers() {
return users;
}
public void setUsers(List<String> users) {
this.users = users;
}
public Map<String, String> getUserMap() {
return userMap;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
<html>
<body>
<p>${message} from Sitebricks!</p>
@Repeat(items=users, var="user")
<div>${userMap}</div>
</body>
</html>
<html>
<body>
<p>${message} from Sitebricks!</p>
@Repeat(items=users, var="user")
<div></div>
${userMap}
</body>
</html>
To unsubscribe from this group and stop receiving emails from it, send an email to google-sitebricks+unsubscribe@googlegroups.com.