Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
...nobody




JSPWiki v2.2.33

[RSS]


Hide Menu

Sandbox


Difference between version 33 and version 20:

At line 3 changed 8 lines.
protected Map referenceData(HttpServletRequest request) {
Map data = new HashMap();
List roles = roleDAO.getRoles();
data.put("roles", roles);
return data;
}
class MyTagLib{
def isAdmin= { attrs, body->
def user = attrs["user"]
if (user!= null && checkUserPrivs(user))
body()
}
}

Back to Sandbox, or to the Page History.