This content has been marked as final. Show 2 replies
I used Jdev 22.214.171.124 and could get this partially working.
I registered the bean in the taskflow in request scope and used the exact code that you mentioned above.
I) I noticed that this works perfectly fine in an ADF application any no. of times meaning expanding / collpasing the showDetail , clicking the button to expand.
II)Once consumed as a ADF Library JAR inside a Webcenter Portal Application I see that this WORKS FINE ONLY THE FIRST TIME (per session) .. for all subsequent changes / expansion / collapse the button click doesnot seem to do anything.
Looks like everything gets persisted !
I tried the following to counter this without any luck -
1)Set dontPersist="ALL" for the showDetailItems
2)set the disclosed attribute to point to managed bean values which are set using similar code as above . Suggestion from Frank in post below -
paneltabbed with showdetailitem(s) ignores disclosed property
3)Use code like below in bean to override default behaviour of FacesBean to persist changes -
as in forum post -Need help controlling disclosure of panelBoxes in af:iterator
FacesBean bean=showDetailThreeBinding.getFacesBean(); bean.setProperty(RichShowDetailItem.DISCLOSED_KEY, null);
4)Setup MDS as specified in above forum post and adhering to -
5)Removed/Commented MDS and +<persist-operations>+ from adf-config.xml without any luck.
The only thing which I hadn't tried cos I felt it was too much of an effort is to create a declaritive component which extends RichShowDetailItem as detailed
by Simon Lessard in forum post -Need help controlling disclosure of panelBoxes in af:iterator
Edited by: Sudipto Desmukh on Feb 27, 2013 4:13 PM