Bonjour,
Voici mon code:
Ce que j'aimerais faire:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <h:form> <rich:panelBar height="400" width="500" selectedPanel="#{boConnection.selectedInfoObj.title}"> <c:forEach items="#{boConnection.selectedDomain.subDomains}" var="subDomain"> <rich:panelBarItem label="#{subDomain.title}" name="#{subDomain.title}"> <rich:tree switchType="client" value="#{boConnection.selectedTreeIInfoObjects" var="infoDoc" nodeFace="#{infoDoc.kind}"> <rich:treeNode type="Webi" icon="../Images/webi.png" iconLeaf="../Images/webi.png"> <h:commandLink value="#{infoDoc.title}" action="iview"> <f:setPropertyActionListener value="#{infoDoc.ID}" target="#{boDocument.docID}"/> <f:setPropertyActionListener value="" target="#{boDocument.reportName}"/> </h:commandLink> </rich:treeNode> <rich:treeNode type="Folder" icon="../Images/folder.gif" iconLeaf="../Images/folder.gif"> <h:outputText value="#{infoDoc.title}"/> </rich:treeNode> </rich:tree> </rich:panelBarItem> </c:forEach> </rich:panelBar> </h:form>
Afficher un rich:tree dynamique en fonction rich:panel sélectionné. J'aimerai pouvoir passer en paramètre du rich:tree le "subDomain" du rich:panel (sélectionné par le forEach ). Comment puis-je faire???
Le rich:tree est alimenté à partir d'un base de donnée de rapports BusinessObject.
D'avance merci,
Partager