on 07-16-2014 1:10 PM
Hi,
I have following issue:
There are 2 views on one overview page, the do_prepare_output method of the second view triggers on_new_focus for the first view.
However since the do_prepare_output of the first view has already been processed (because it is above view2) the new collection_wrapper for view 1 is set but not displayed until the next roundtrip.
Can I somehow avoid this?
I am looking either for a way to trigger a reload of view1 from within the on_new_focus method, or a way to determine in which sequence the views should be loaded (without changing the actual order of the views on screen).
Thanks for any advice!
Hi Euan,
After setting the collection to the collection_wrapper of View1, try to call PUBLISH_CURRENT( ).
Example:
me->typed_context->btitems->collection_wrapper->publish_current( ).
This may help to display the new data set to collection wrapper.
Best Regards,
Varma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
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.