Xinsheng [mike] Huang wrote:
1) token management. The current implemention of token management requires individual
actions do themselves, i.e., "insert" token management code and logic into you
action classes. That is simply not good. because it couples with yor application control
code. My proposed sulotion is move the token management code out of action hirachy,
instead, put in Controller and declare whether to use and how to use in
struts-config.xml. Thus achive 100% declarative token management.
+1 on declarative token management ( where ever it is handled :) )
2)Validator. the validator "float" and "long" failes when the input number has trailing "f" and
"l" respectively. the validwhen uses hard-coded variable name "test" to indentified the expression and make
it impossible to use multiple validwhen on the same field. the validwhen fails when comapre numbers and java.util.Date or
java.sql.Date, because they are compared by the string value.
my last problem wit Validator was passing Date validation (with pattern
yyyy-MM-dd) for values such as "1980". :)
riyaz
note; am not a struts committer (since it appears u're asking the struts
guru's here :)) just my $0.02
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]