aspose file tools*
The moose likes JSF and the fly likes Problem! Styles not applied on the controls in icefaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem! Styles not applied on the controls in icefaces " Watch "Problem! Styles not applied on the controls in icefaces " New topic
Author

Problem! Styles not applied on the controls in icefaces

bilal haider
Ranch Hand

Joined: Feb 08, 2011
Posts: 47

welcome.xhtml

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:icecore="http://www.icefaces.org/icefaces/core"
xmlns:ace="http://www.icefaces.org/icefaces/components"
xmlns:ice="http://www.icesoft.com/icefaces/component"
>
<h:head>
<title>ICEfaces 2 Application</title>
<link rel="stylesheet" type="text/css" href="./xmlhttp/css/rime/rime.css"/>
</h:head>
<h:body>
<div id="header">

<!--
<ui:include src="/header.xhtml" >
<ui:param name="param_name" value="param_value" />
</ui:include>
-->
</div>
<div id="content">
<h:form id="form">
<hutputText value="Welcome to ICEfaces 2"/>
<ace:dateTimeEntry renderAsPopup="true" style="height: 42px; ">
<f:convertDateTime pattern="EEE, M/d/yy"></f:convertDateTime>
</ace:dateTimeEntry>
</h:form>
</div>
<ace:checkboxButton label="Male" value="Male"></ace:checkboxButton>


</h:body>
<hutputStylesheet library="org.icefaces.component.skins" name="sam.css"></hutputStylesheet>
</html>

web.xml

<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/xmlhttp/*</url-pattern>
</servlet-mapping>

Y styles of <link rel="stylesheet" type="text/css" href="./xmlhttp/css/rime/rime.css"/> are not applied on the controls?
 
 
subject: Problem! Styles not applied on the controls in icefaces