Versions Compared

Key

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

...

  • The JSP tags must use the "safs" namespace.
    • In JSP: <saf<s:xxx/>
    • In FreeMarker: <@saf<@s.xxx/>
    • In Velocity: N/A
  • Use of the Form tag and Action tag must be linking directly to the action name (and optional namespace). This means that <saf<s:form action="foo"/> is OK, but <saf<s:form action="foo.action"/> is not.

...

You'll need to download the latest version of GraphViz and make sure that the dot executable (dot.exe in Windows) is in your command path. In Windows the GraphViz installer typically automatically adds dot.exe to your path. However, you may need to do this by hand depending on your system configuration.

...

Code Block
java -cp ... -jar webworkstruts2.jar
     sitegraph
     -config CONFIG_DIR
     -views VIEWS_DIRS
     -output OUTPUT
     [-ns NAMESPACE]

...

Warning

You must supply the correct classpath when invoking the SiteGraph tool. Specifically, the XWork jar, SAF jar, and their dependencies must be included in the classpath. Futhermore, you must also include your Action class files referenced in actionstruts.xml. Without the proper class path entries, SiteGraph will not function properly.

...