BrightSide Workbench Full Report + Source Code
org.turro.elephant.TemplateControl Class Reference
Inheritance diagram for org.turro.elephant.TemplateControl:
Collaboration diagram for org.turro.elephant.TemplateControl:

Public Member Functions

void setRootTmpl (String rootTmpl)
 
void setTmpl (String tmpl)
 
void afterCompose ()
 

Protected Member Functions

void doFinally ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 45 of file TemplateControl.java.

Member Function Documentation

◆ afterCompose()

void org.turro.elephant.TemplateControl.afterCompose ( )

Definition at line 58 of file TemplateControl.java.

58  {
59  if(Authentication.hasContact()) {
60  getPage().setAttribute("rolemap", Authentication.getIContact().getPermissions().asMap(), SESSION_SCOPE);
61  } else {
62  getPage().setAttribute("rolemap", new FlatPermissions().asMap(), SESSION_SCOPE);
63  }
64  initControl();
65  doFinally();
66  }
Here is the call graph for this function:

◆ doFinally()

◆ setRootTmpl()

void org.turro.elephant.TemplateControl.setRootTmpl ( String  rootTmpl)

Definition at line 49 of file TemplateControl.java.

49  {
50  this.rootTmpl = rootTmpl;
51  }

◆ setTmpl()

void org.turro.elephant.TemplateControl.setTmpl ( String  tmpl)

Definition at line 53 of file TemplateControl.java.

53  {
54  this.tmpl = tmpl;
55  }

The documentation for this class was generated from the following file: