on 06-17-2016 11:37 AM
Hello guys, I have a FlexibleSearchQuery
in a method annotated with @SystemSetupParameterMethod
This query controls a SystemSetupParameter
with setMultiSelect(true)
and then addValue()
for the items I get from the database.
During the HAC Update phase, I add some items to the database and I wish to see those items refreshed when i'm back in the update HAC page.
Unfortunately it seems that the Update page is generated once for all and never refreshed. Is there a way to force it ?
Thanks !
edit: After some research, I found that it has something to do with /hac/platform/init/data which is responsible for sending the UI information in JSON, and it doesn't change its answer over time..
SystemSetupCollectorImpl.loadSystemSetupBeans()
is responsible for loading the system parameters.
So I just found a hackish way to make it reload the system parameters with :
final Method declaredMethod = SystemSetupCollectorImpl.class.getDeclaredMethod("loadSystemSetupBeans", (Class<?>[]) null);
declaredMethod.setAccessible(true);
declaredMethod.invoke(Initialization.getSystemSetupCollector(), (Object[]) null);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.