Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.
Description
Error formatting macro: snippet: java.lang.NullPointerException
Parameters
Error formatting macro: snippet: java.lang.NullPointerException
Examples
Error formatting macro: snippet: java.lang.NullPointerException
2 Comments
Bhaarat Sharma
The example seems to be wrong.
one correction is
[code]
<s:hidden name="foo" value="%
" />
rather than
<s:hidden name="foo" value="bar" />
Joe Snikeris
I agree. The example should read:
Example One Resulting HTML (if foo evaluates to bar):
Example Two Resulting HTML (if getBar method of the action or model returns 'bar')