Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

If a name for the form is not given, the action mapping name will be used as the form name. Otherwise, a correct action and namespace attributes must be provided to the <saf:form> tag.

Code Block
htmlhtml
titleReferencing "submitProfile" in the "/user" namespace
html
<saf:form namespace="/user" action="submitProfile" validate="true">
  ...
</saf:form>

Technically, the form's action attribute can refer to a "path" that includes the namespace and action as a URI. But, client-side validation requires that the action name and namespeact to be set separately.

html
Code Block
html
titleWon't work with client-side validation!
html
<saf:form action="/user/submitProfile.action" validate="true">
  ...
</saf:form>

...