Anthony said:
...
> The documentation does look good. I did find one more thing.
>
> In the FormTools documentation in VelocityStruts, several of the
> examples include parantheses when using the "attribute" method of
> bean access; the parentheses should be dropped. For example, under
> $form.getToken() and $form.getTokenName(), the alternative is
> listed as $form.token() and $form.tokenName().

I would suggest as a general rule that we go with the more elegant and less
java-like syntax everywhere possible.  for example, things like:

$form.token  instead of  $form.getToken()

$msg.foo  instead of  $msg.get('foo')

#set( $tool.foo =  'bar' )  instead of  $tool.setFoo('bar')

and so on...

things are just shorter, cleaner, and prettier this way.

Nathan Bubna
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to