Hi,
I would like to have some non persistant field on entities in Admin section. Which i like to display on UI but didn't persist into db but rather do some calculation based on the input.
I am using 3.0 currently.
I see this piece of Code:
Class: PersistencePackageFactoryImpl
Method: public PersistencePackage create(PersistencePackageRequest request)
Code:
persistencePerspective.setAdditionalNonPersistentProperties(new String[] {});
This gets used in the flow to fetch the proeprties and set it into the merged properties.
Also, i made some changes to DynamicEntityDaoImpl to get the correct presentationAttribute instead of hardcoded one.
But my question is, which is the best way to populate these fields in persistenceperspective by reading it from annotation as create method just takes the PersistencePackageRequest object.
Is there any hook to do it ?
Thanks
Dev
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.