Versions Compared

Key

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

...

The set tag allows you to store certain objects on the stack (as well as their scope - request/session/page/..), which is what we're going to do here because out of sheer laziness (and performance reasons) I refuse to do the same if/else more than once. As you can guess, it relies on the same principle as the id attribute of the ww:url tag we saw earlier, meaning I can access it with #title on the ValueStack.

More information on the ww:if tag, ww:else tag

The actual form

...