Documentation · ViewHelper reference

Outlet / ArgumentViewHelper

ViewHelper to define Outlet arguments

Use <flux:outlet.argument> in conjunction with the <flux:outlet> and <flux.outlet.validate> viewHelpers. You can define any number of arguments including validations that will be applied to the outlet action. To call the outlet action use the action "outlet" in your form action.

Example

<f:section name="Configuration">
     <flux:outlet>
          <flux:outlet.argument name="name">
               <flux:outlet.validate type="NotEmpty" />
          </flux:outlet.argument>
     </flux:outlet>
</f:section>

<f:section name="Main">
    <f:form action="outlet" noCache="1">
        <f:form.textfield name="name" value="{name}" />
    </f:form>
</f:section>

/

  • Tag usage example

    <flux:outlet.argument name="NULL" type="'string'">
    	<!-- tag content - may be ignored! -->
    </flux:outlet.argument>
  • Inline usage example

    {flux:outlet.argument(name: 'NULL', type: ''string'')}

Arguments

Argument Description Type
name

name of the argument

string
type

type of the argument

string
Required attribute

Revision history