How can I pass a color code property fetched from ebean to a css function?
<h:panelGrid id="testpanel"
columns="#{message.no_of_columns}" rows="#{message.no_of_rows}"
styleClass="dynamicGrid">
<c:forEach items="#{bLDashBoardAction.listBondLoc}" var="item">
<h:panelGroup> <h:outputText value="#{item.rackTagCode}" />
<h:hiddenInput value="#{item.colorEBean.colorCode};" />
</h:panelGroup>
</c:forEach>
</h:panelGrid>
I need to assign the background from panelgrid color code using this css property.
.dynamicGrid td
{
width: 50px;
height: 50px;
border: 4px solid gray;
background:
}