Versions Compared

Key

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

...

  • fix up use of "models"
    • models are no longer used with our struts2 actions. in struts2 your action is your model, so anything that was being used through a model class needs to be transferred into your action class. be selective here though, the old struts1 code provided lots of model methods which weren't really necessary.

Migrating JSPs

  • replace include for taglibs.jsp to taglibs-struts2.jsp
  • do a search and replace for "fmt:message key" with "s:text name"
  • replace html:form with s:form and delete the method param
  • change the new s:form action attribute to the correct action name, like myAction!method
  • replace instances of "html:text property" with "s:textfield name"
  • add "bean." in front of all name attributes for form fields if you are using a "bean".

Migration Progress

Core Actions

...

  • Entry Add - migrated
  • Entry Edit - migrated
  • Entry Remove - migrated
  • Entries - migrated
  • Comments - migrated
  • Categories - migrated
  • Category Add - migrated
  • Category Edit - migrated
  • Category Remove - migrated
  • Bookmarks - migrated
  • Bookmark Add - migrated
  • Bookmark Edit - migrated
  • Folder Add - migrated
  • Folder Edit - migrated
  • Resources - migrated
  • Referrers
  • Weblog Settings - migrated
  • Weblog Remove - migrated
  • Theme Edit - migrated (mostly)
  • Templates List - migrated
  • Template Add - migrated
  • Template Edit - migrated
  • Template Remove - migrated
  • Pings - migrated
  • Custom Ping Targets - migrated
  • Maintenance - migrated

...