Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wicked-charts on jsf not rendered tree components #49

Open
hectorhzm opened this issue Mar 5, 2015 · 0 comments
Open

wicked-charts on jsf not rendered tree components #49

hectorhzm opened this issue Mar 5, 2015 · 0 comments

Comments

@hectorhzm
Copy link

I have problems include wicked-charts in my JSF project, after that aggregates the wicked-charts-jsf21 library my tree component is not rendered

This is XHTML

<ui:composition template="templates/template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                xmlns:wc="http://googlecode.com/wickedcharts"
                >
    <ui:define name="content">        
        <p:panel id="panelPrincipal" header="INCIDENTS" styleClass="customTitleBar" >
            <h:form id="formPrincipal">
                <h:panelGrid  columns="4" cellpadding="10">
                    <p:outputLabel for="txtCliente" value="Subsector:"  />
                    <p:selectOneMenu id="txtCliente" value="#{reporteIncidentesBean.subsector}"
                                     panelStyle="width:180px" effect="fade" var="t" style="width:160px" 
                                     filter="true" filterMatchMode="startsWith">
                        <f:selectItem itemLabel="Select..." itemValue="#{null}" />
                        <f:selectItems value="#{reporteIncidentesBean.listaSubsector}"/>
                        <p:ajax  update="tableGeneral, :panelSecundario" listener="#{reporteIncidentesBean.listarSubsector()}" />                      
                    </p:selectOneMenu>


                </h:panelGrid>

                <wc:chart id="chart1" options="#{reporteIncidentesBean.options}"/>


            </h:form>
        </p:panel>
    </ui:define>
</ui:composition>

The result is

This XML file does not appear to have any style information associated. Then the tree is shown.
<ui:composition template="templates/template.xhtml">
<ui:define name="content">
<p:panel id="panelPrincipal" header="INCIDENTS" styleClass="customTitleBar">
<h:form id="formPrincipal">
<h:panelGrid columns="4" cellpadding="10">
<p:outputLabel for="txtCliente" value="Subsector:"/>
<p:selectOneMenu id="txtCliente" value="#{reporteIncidentesBean.subsector}" panelStyle="width:180px" effect="fade" var="t" style="width:160px" filter="true" filterMatchMode="startsWith">
<f:selectItem itemLabel="Select..." itemValue="#{null}"/>
<f:selectItems value="#{reporteIncidentesBean.listaSubsector}"/>
<p:ajax update="tableGeneral, :panelSecundario" listener="#{reporteIncidentesBean.listarSubsector()}"/>
</p:selectOneMenu>
</h:panelGrid>
<wc:chart id="chart1" options="#{reporteIncidentesBean.options}"/>
</h:form>
</p:panel>
</ui:define>
</ui:composition>

Environment

  • Windows 7
  • Chrome, IE, Firefox
  • Netbeans 8.0.2
  • Jboss-eap-6.3 JSF 2.1

Libraries

  • Java EE Web 6
  • jackson-annotations-2.0.5
  • jackson-core-2.0.5
  • jackson-databind-2.0.5
  • wicked-charts-highcharts-1.5.0
  • wicked-charts-jsf21-1.5.0
  • primefaces-5.1
  • junit-4.10
  • hamcrest-core-1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant