DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32653>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32653





------- Additional Comments From [EMAIL PROTECTED]  2004-12-13 02:06 -------
No, I am not proposing changing the order.  I don't know why that would break
previous uses and would be interested to know.  Apparently you are thinking of
classes that are both a Map and an ActionForm and are currently used as a Map? 
That seems very *unusual* to me.  I am just proposing to improve beanutils, if
possible.  There could be many, many solutions without breaking backward
compatibility.  I don't know why you seem to begin with thinking it is not
possible.  I cannot see your thought process here.  If we, for example, went 
from:

  if(bean instanceof DynaBean) {
     // use DynaBean get/set methods
  } else if (bean instanceof Map) {
     // use Map get/put methods
  } else {
     // treat as JavaBean and use introspection to 
     // acquire the property getter and setter methods
  }

to:

  if(bean instanceof SomeInterface) {
     // treat as JavaBean and use introspection to 
     // acquire the property getter and setter methods
  } else if(bean instanceof DynaBean) {
     // use DynaBean get/set methods
  } else if (bean instanceof Map) {
     // use Map get/put methods
  } else {
     // treat as JavaBean and use introspection to 
     // acquire the property getter and setter methods
  }

I have no problem with scratching my own itches.  I can look into solutions as
long as the problem is not tossed as impossible.  There should be a number to
propose to the committers.

I have also used the property solution in the past.  I need the class to be a
Map to do what I want to do.  I am looking forward to when the ActionForm is
freed from its present bondage, which I understand you support as well.  

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to