I'm running into a weird difference between:
[1] <s:textfield name="foo.bar" value="foo.bar"/>
and
[2] <s:textfield name="foo.bar" value="%{foo.bar}"/>
Nutshell: when there's nothing submitted for foo.bar (at least if it's the only
element on the page) [1] will print "foo.bar" as a textfield's value, [2] will
print nothing.
That, in turn, led me to wonder if it'd make sense to use the existing TLD
annotation to include whether or not the property is evaluated, and then use
the same annotation to run through a tag's properties and evaluate the
appropriate ones. Or if that's even possible.
That would provide a consistent way to both document and process evaluated
properties and might save some confusion (again, if it's doable; I'm not really
Mr. Annotations).
The original question, though, is whether or not anybody has a quick answer to
why the difference in behavior.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]