1
私のxPageは、ユーザー名であるドロップダウン(basicContainerNode)を持っています。私はちょうどそのラベルの横にアイコンを追加したい。それをIMAGEプロパティに追加する必要があると仮定しますが、ラベルには追加しないでください。basicContainerNodeの隣にグリフコンを追加するには?
<xe:this.navbarUtilityLinks>
<xe:basicContainerNode>
<xe:this.label><![CDATA[#{javascript:var currentUserName:NotesName = session.createName(session.getEffectiveUserName());
return "<span class='glyphicon glyphicon glyphicon-user' style='margin-right: 1em;'></span>" + currentUserName.getAbbreviated();}]]>
</xe:this.label>
<xe:this.children>
<xe:loginTreeNode rendered="false"></xe:loginTreeNode>
<xe:basicLeafNode title="Logout" submitValue="appLogout" label="Logout"></xe:basicLeafNode>
</xe:this.children>
</xe:basicContainerNode>
</xe:this.navbarUtilityLinks>
@VladP:あなたはそれが仕事を得ることができますか? –