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 and Description
    `SetCurrentContainerModel()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### SetCurrentContainerModel

          public SetCurrentContainerModel()

  - ### Method Detail

    - #### 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.

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.