Versions Compared

Key

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

...

Note the use of remote div is now through the dojo plugin taglib sx. Other ui tags are also no longer available through the /struts-tags taglib but only through the /struts-dojo-tags taglib: datetimepicker and autocompleter.

This is not really a migration issue but rather seems a bug when migrating:

Problem Symptom: You receive the following exception accessing a page:

Code Block

WARNING: Could not find property [struts.valueStack]
ognl.OgnlException: target is null for setProperty(null, "preventCache", [Ljava.lang.String;@5f262a85)
   at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1651)
   at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
   at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
   at ognl.SimpleNode.setValue(SimpleNode.java:246)
   at ognl.ASTChain.setValueBody(ASTChain.java:172) 

Resolution is to change set devMode to false in struts.xml e.g.

from

Code Block

<constant name="struts.devMode" value="true" /> 

to

Code Block

<constant name="struts.devMode" value="false" />