Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The <slice:lookup> tag (described in details at lookup) is an entry point from JSP to Slice. Take a look at a simple JSP:

...

ModelProvider (described in details at ModelProvider) is a core interface in Slice and is used for providing objects (models). Its functionality is very similar to injector's getInstance(); however it is extended by a resource, so that object fields can be mapped using specified resource (or path). A simple use of ModelProvider:

...