Hi,
I have account and transaction entites with account having many transactions.
I have a page for accounts where you can see the transactions (createBasedListStructurePresenter).
The account has a field for total $ amount.
I've implemented functionality to create a new transaction associated with the account, and have it update the total amount of the account.
I've done that using a custom persistencehandler for creating a transaction (creates a new transaction in the database and updates the $ amount on the account)
The only issue I'm having is after creating the transaction, the account's $ amount that is displayed is not updated to reflect the new transaction (but is updated in the DB); I have to reload the accounts section and then reload the specific account to get the current value.
Is there anyway to set it so that the main presentable gets refreshed when a new entity of the subpresentable is created?
Thanks
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.