Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Simple Method Cleanup Effort

Intro

The purpose of this effort is to make the element and attribute names used in simple-methods simpler and more consistent. Some ideas such as the old map-name and field-name pairs are no longer needed, and at the same time we want to simplify attribute names like "field-name" to just plain "field".

All changes done to the XSD files will be supported in the Java code that parses, along with the support for the deprecated and replaced elements and attributes. In this way old simple-method code will run fine, but with a LOT of parse warnings, and new stuff and old stuff will run together just fine.

Elements and Attributes Changes Completed

  1. if-compare
    1. field-name -> field
    2. map-name -> deprecated
  2. if-compare-field
    1. field-name -> field
    2. map-name -> deprecated
    3. to-field-name -> to-field
    4. to-map-name -> deprecated
  3. if-empty
    1. field-name -> field
    2. map-name -> deprecated
  4. if-not-empty
    1. field-name -> field
    2. map-name -> deprecated
  5. field
    1. field-name -> field
    2. map-name -> deprecated
  6. set-service-fields
    1. map-name -> map
    2. to-map-name -> to-map
  7. result-to-field
    1. field-name -> field
    2. map-name -> deprecated
  8. create-object
    1. field-name -> field
    2. map-name -> deprecated
  9. call-object-method
    1. obj-field-name -> obj-field
    2. obj-map-name -> deprecated
    3. ret-field-name -> ret-field
    4. ret-map-name -> deprecated
  10. call-class-method
    1. ret-field-name -> ret-field
    2. ret-map-name -> deprecated
  11. field-to-session
    1. field-name -> field
    2. map-name -> deprecated
  12. field-to-request
    1. field-name -> field
    2. map-name -> deprecated
  13. session-to-field
    1. field-name -> field
    2. map-name -> deprecated
  14. request-to-field
    1. field-name -> field
    2. map-name -> deprecated
  15. webapp-property-to-field
    1. field-name -> field
    2. map-name -> deprecated
  16. field-to-result
    1. field-name -> field
    2. map-name -> deprecated
  17. map-to-map
    1. map-name -> map
    2. to-map-name -> to-map
  18. field-to-list
    1. field-name -> field
    2. map-name -> deprecated
    3. list-name -> list
  19. list-to-list
    1. list-name -> list
    2. to-list-name -> to-list
  20. order-map-list
    1. list-name -> list
  21. string-append
    1. field-name -> field
    2. map-name -> deprecated
    3. arg-list-name -> arg-list
  22. string-to-list
    1. list-name -> list
    2. arg-list-name -> arg-list
    3. message-field-name -> message-field
  23. to-string
    1. field-name -> field
    2. map-name -> deprecated
  24. clear-field
    1. field-name -> field
    2. map-name -> deprecated
  25. first-from-list
    1. entry-name -> entry
    2. list-name -> list
  26. sequenced-id-to-env
    1. sequenced-id-to-env (element) -> sequenced-id
    2. env-name -> field

Elements and Attributes Changes Planned

  • No labels