Tim said:
...
> 1) Can we add getTokenValue() as an alias for getToken() to make the
naming
> consistent and pretty?
blech. that kind of utter redundancy gives me gas. :) at very best, if
everyone around here agreed, i might not -1 a proposal to just change
getToken() to getTokenValue().
> 2) Does $WidgetEditForm.Name even exist? Should it? Can it?
$WidgetEditForm is an ActionForm. if you want that member, you have to
either subclass it yourself or lobby struts-dev to get them to add it.
> 3) Why would there be $form.TokenName and $WidgetEditForm.username versus
> just having $form.* or $WidgetEditForm.*? What is more consistent with
the
> Struts paradigm?
first off, allow me to remind you once again that we have no control over
the $WidgetEditForm's API. this project only provides the FormTool.
that said, back in the day, i lobbied for using reflection trickery to pull
of $form.* and now i can't recall the arguments involved. hmm.
offhand, that could cause trouble if someone had a method in their
ActionForm that collided with one of the standard FormTool methods. yes,
they could probably get around it by avoiding the "short" or "informal"
velocity syntax, but this could be very confusing.
> 3) What would the action really look like? $link.foo
$WidgetEditForm.Action
> ?
$link.setAction('foo')
> (I don't know. All of the examples are hard-coded, and I'm not clear form
> the various docs.)
then we definitely need to improve the LinkTool docs! :-)
Nathan Bubna
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]