Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A Chris Howe's comment taken from user ML

Just a quick comment on how you have the view-handler defined. Since you're wanting to have this distributed as a plugin, instead of placing the <handler name="zk" ... in the common-controller, simply put that line in your controller.xml file after the <include... statement. You'll probably also want to change the class name to however you're going to distrubte it (ie com.milindparikh.widget.screen.ZkViewHandler) and move the file into
the src directory of your component...and make sure the build routine is working properly.

...

Issue with createAcctgTransAndEntries service

If you see errors like

Error:Error trying to begin transaction, could not process method: The
current transaction is marked for rollback, not beginning a new
transaction
and aborting current operation; the rollbackOnly was caused by: Service
createAcctgTransAndEntries threw an unexpected
exception/errororg.ofbiz.service.ServiceValidationException: The following
required parameter is missing: OUT
createAcctgTransAndEntries.acctgTransId (The following required
parameter
is missing: OUT createAcctgTransAndEntries.acctgTransId) calling
service
balanceInventoryItems in receiveInventoryProduct

...