-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all, I try again to ask a question to the community forum, having had little luck in the previous thread.
This question is very simple can I reload (refresh,rerender,redraw) a single ZK component?
I have an EL script in the zul file that checks if the logged user can read a domain object
.... <treeitem id="tiVoertuigen"> <zk if="${sec:isAccessible('READ_FREE_CARS',fleet) || sec:isAnyGranted('ROLE_SUPER_USER,ROLE_SUPER_CUSTOMER_USER')}"> <treerow id="filterAutosActueel"> ...
I tryied to redraw and to invalidate :
... Component tree = root.getFellow("menu_tree"); tree.invalidate(); java.io.StringWriter wr = new java.io.StringWriter(); tree.redraw(wr); ...
but the component is not redraw.
Is there a way to redraw a single component in order to re-execute the security check?
Thanks
Asked: 2011-04-18 10:58:43 +0800
Seen: 310 times
Last updated: Apr 18 '11