Package org.apache.tiles.template

# Class SetCurrentContainerModel

java.lang.Object
org.apache.tiles.template.SetCurrentContainerModel

public class SetCurrentContainerModel extends Object
Selects a container to be used as the "current" container.

Since:
  3.0.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SetCurrentContainerModel()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `execute(String containerKey, Request request)`
  Executes the model.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SetCurrentContainerModel

    public SetCurrentContainerModel()

- ## Method Details

  - ### execute

    public void execute(String containerKey, Request request)
    Executes the model.
    Parameters:
      `containerKey` - The key of the container to be used as "current". If `null`, the default one will be used.
      `request` - The request.