tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: fonts in linux
Date Wed, 03 Jun 2009 00:18:02 GMT

//here is 1 style excerpted from styles/form.css
/* A CSS Framework by Mike Stenhouse of Content with Style */
/* FORM ELEMENTS */
    form {
        margin:0;
        padding:0;
    }

//import of forms.css from /styles/main.css
@import url(layout-navtop-localleft.css);
@import url(layout.css);
@import url(forms.css);
@import url(typo.css);
@import url(tools.css);

WEB-INF/decorators.xml contains patterns to exclude
<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- SiteMesh filter reads these patterns for files/folders to exclude -->
<decorators defaultdir="/WEB-INF/decorators.xml">
    <!-- Any urls that are excluded will never be decorated by Sitemesh -->
    <excludes>
        <pattern>/debug.jsp</pattern>
        <pattern>/styles/*</pattern>
        <!-- pattern>/scripts/*</pattern -->
        <pattern>/images/*</pattern>
        <pattern>/dojo/*</pattern>
        <pattern>/struts/*</pattern>
        <pattern>/ajax/AjaxResult*</pattern>
        <pattern>/AjaxTest.action</pattern>
        <pattern>/ajax/remoteforms/AjaxRemoteForm.action</pattern>
        <pattern>/tags/ui/ajax/*</pattern>
        <pattern>/chat/ajax/*</pattern>
        <pattern>/hangman/ajax/*</pattern>
        <pattern>/nodecorate/*</pattern>
    </excludes>

    <decorator name="main" page="main.jsp">
        <pattern>/*</pattern>
    </decorator>
    <!--<decorator name="panel" page="panel.jsp"/>-->
    <!--<decorator name="dashedBox" page="dashedBox.jsp"/>-->
    <!--<decorator name="printable" page="printable.jsp"/>-->
</decorators>

//where sitemesh filter is enabled as seen here in /WEB-INF/web.xml by 
// /* in url-pattern
    <filter>
        <filter-name>sitemesh</filter-name>
        <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
    </filter>
 <filter-mapping>
        <filter-name>sitemesh</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

//assuming if you have sitemesh or any other filter make sure you disable from //excludes
e.g.
 <!-- pattern>/scripts/*</pattern -->

anyone ?
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.




> Date: Wed, 3 Jun 2009 11:31:31 +1200
> From: newsletter@energyts.com
> To: users@tomcat.apache.org
> Subject: fonts in linux
> 
> Hi all
> We have recently moved from a windows to a Linux platform and we have 
> noticed that the default fonts seem to have changed. Is there any way of 
> setting them that same as on the windows system. we are using tomcat5 on 
> centos.
> 
> cheers
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits. 
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message