Versions Compared

Key

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

...

Insert excerpt
Common Model Hook Attributes
nopaneltrue
Common Model Hook Attributes
nopaneltrue

Example #1 - entity validation

Code Block
themeEclipse
languagexml
linenumberstrue
<hooks>
    <validatesWith class="com.sample.SampleHook" method="entityHookName" />

</hooks>

Hook method signature for example #1

...

Code Block
themeEclipse
languagexml
linenumberstrue
<string name="someField">
    <validatesWith class="com.sample.SampleHook" method="fieldHookName" />

</string>

Hook method signature for example #2

...