掲示板
ice:tree all nodes are underlined--not just one I point to
12年前 に Gerald Rubin によって更新されました。
ice:tree all nodes are underlined--not just one I point to
Junior Member 投稿: 59 参加年月日: 11/10/23 最新の投稿
Also, I don't seem to be getting the tree icons correctly.
Here's my xhtml.
Please help. Thanks.
Here's my xhtml.
<!--?xml version="1.0"?-->
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:icecore="http://www.icefaces.org/icefaces/core" xmlns:liferay-ui="http://portletfaces.org/liferayfaces/liferay-ui" xmlns:liferay-util="http://portletfaces.org/liferayfaces/liferay-util" xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head />
<h:body>
<h:form>
<ice:panelborder id="page" stylelayout="panelBorderDemoLayoutMain" rendernorth="#{dashBean.renderNorth}" rendersouth="#{dashBean.renderSouth}" rendercenter="#{dashBean.renderCenter}" rendereast="#{dashBean.renderEast}" renderwest="#{dashBean.renderWest}" frame="border" width="1000" border="20" height="500">
<f:facet name="north">
<ice:commandbutton id="btnRefresh" value="Refresh Data" actionListener="#{dashBean.buttonEventHandler}" />
</f:facet>
<f:facet name="south">
<ice:outputtext id="south" value="South" />
</f:facet>
<f:facet name="center">
<ice:datatable id="dataTbl" var="item" value="#{dashBean.rowDataModel}" columnclasses="columnsColumn" rows="#{dashBean.rows}" width="500" border="1" frame="border">
<ice:columns id="columnDataModel" value="#{dashBean.columnDataModel}" var="column">
<f:facet name="header">
<ice:panelgroup>
<ice:outputtext id="rowData" value="#{dashBean.columnDataModel.rowData}" />
</ice:panelgroup>
</f:facet>
<!-- display the table cell values-->
<ice:panelgroup style="text-align: center; white-space: nowrap;">
<ice:outputtext id="cellValue" value="#{dashBean.cellValue}" />
</ice:panelgroup>
</ice:columns>
</ice:datatable>
</f:facet>
<f:facet name="east">
<ice:outputtext id="east" value="East" />
</f:facet>
<f:facet name="west">
<ice:tree value="#{dashBean.model}" var="node" hiderootnode="false" hidenavigation="false" imagedir="./xmlhttp/css/xp/css-images/">
<ice:treenode>
<f:facet name="icon">
<ice:panelgroup style="display: inline">
<h:graphicimage value="#{node.userObject.icon}" />
</ice:panelgroup>
</f:facet>
<f:facet name="content">
<ice:panelgroup styleclass="selectedNode#{node.userObject eq dashBean.selectedUserObject}" style="display: inline">
<ice:commandlink actionlistener="#{dashBean.nodeSelected}">
<ice:outputtext id="TreeNode" value="#{node.userObject.text}" />
</ice:commandlink>
</ice:panelgroup>
</f:facet>
</ice:treenode>
</ice:tree>
</f:facet>
</ice:panelborder>
</h:form>
</h:body>
</f:view>
Please help. Thanks.
12年前 に Gerald Rubin によって更新されました。
RE: ice:tree all nodes are underlined--not just one I point to (回答)
Junior Member 投稿: 59 参加年月日: 11/10/23 最新の投稿
Sorry, this was just a lack of proper css inclusion.