Font validation question

When I run ValidateFonts in Font Book, I have 18 fonts with the yellow circle and the exclamation point in it.
Message at bottom is "minor problem proceed with caution."
What the heck does THAT mean??? None of these fonts were downloaded anywhere and are all pretty "normal sounding fonts" like Arial and Comic Sans.
I ask because when I first installed SL I had a huge problem with Adobe Photoshop CS4 and the problem was font related. I had downloaded some fonts from daFont and they caused a conflict that took me forever to figure out.
This weei I took a look at Font Book to see if there were any existing problems because I need a particular font that is available on daFont and wanted to know where I stood before I downloaded it so I wouldn't be making any problem worse... now I don't have a clue what FontBook is telling me.
thanks,
tom

Message at bottom is "minor problem proceed with caution."
What the heck does THAT mean???
Since the problem is "minor" it probably means the fonts are corrupted or has duplicates.
You can get rid of the duplicates by clicking on "Resolve Duplicates."
You can also try this free utility called FontNuke.
Message was edited by: CMCSK

Similar Messages

  • Font Validation (System Profiler versus Font Book)

    Hello, everyone!
    Just a little problem. Font Book tells me that some of my fonts are invalid and shouldn't be used (some of them came with the OS). I used System Profiler to countercheck, and it turns out that none of them are invalid. I'm inclined to believe System Profiler since Font Book is known to have some "quirks".
    So, my question is, should I leave the fonts as they are and trust System Profiler or should I trust Font Book and delete the supposed invalid fonts?
    Many Thanks.

    Hi, hihlordjp.
    That's an interesting question as there is no documentation as to what System Profiler means when it states a font is "valid." I suspect this is quite different from what Font Book's Validation function checks.
    Some of the font characteristics examined by Font Book are documented on page 3 of the PDF Fonts in Mac OS X, specifically:• Glyph Location Table
    • Horizontal Metrics Table
    • PostScript Compatibility Table
    • Character Code Mapping Table Directory
    • Intercharacter Spacing Table
    • Font Name TableI suspect System Profiler considers a font "valid" if the key data elements in the font file match corresponding attributes specified in the latest Receipt referencing that font in the /Library/Receipts directory. It may also be something as simple as it is one of the font types compatible with Mac OS X. For example, bitmap fonts are incompatible with Mac OS X. These are simply educated guesses, again based on the absence of documentation. However, I don't believe it's running the same "tests" as Font Book.
    System Profiler only lists fonts installed in the Mac OS X default font locations, whereas Font Book's Validate Font function can be used to check fonts installed anywhere on your Mac, such as in application-specific font folders.
    Since you're getting different results from each, I'd personally trust Font Book. You can always try using the fonts to see if problems occur. Font Book tells you if the issue is a Warning or an Error. While you want to see neither, an Error indicates a more severe problem with the font than a Warning.
    You could also get a "second opinion" by trying a third-party font verification and repair utility, such as Font Doctor X.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • About Java 2 opaque font color question, help needed!

    About Java 2 opaque font color question, help needed!
    I was trying to test opaque font (the string has a foreground color and a background color), but i can't find the method for doing that.
    i can change foreground by Graphics2D.setPaint(Color.black).
    Anybody know how to change the background of the string?
    Thanks!

    Hi. The way I'd do it would be to use the font metrics to find the length of a string and draw a rectangle and then drawstring over the rectangle. If you want an example, I can post it although I suspect theres a better way.

  • I ran a font validation.. now what?

    It just has a window of fonts with exclamation points next to them. Can't choose resolve duplicates either. What is the point of this validation if there is no way to fix the problems? Please help and thanks in advance for any responses.

    The window that I see is:
    "Font validation" with a dropdown menu that is currently on "warnings or errors". Below it says that problems may have been found with some fonts during validation. Review the problems before continuing.
    And then there is a list of fonts (ex. Andale Mono>Andale Mono>Duplicate Fonts)
    they all have yellow !'s to the right.
    Then there is a box to "Select all fonts" and then "285 fonts passed. 35 Minor problems found, proceed with caution (hence my caution)
    I just would prefer not to lose the 35 fonts displayed (As I recognize almost all of them :P)
    Thanks

  • Struts and validation question ?

    hi,
    i am using the struts framework for my application, i have a simple jsp logon page (username, password)
    i have defined a validtion.xml file
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE form-validation PUBLIC
              "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
              "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
    <!--
        Validation Rules for the Struts Example Web Application
        $Id: validation.xml,v 1.8 2003/05/25 22:51:20 dgraham Exp $
    -->
    <form-validation>
        <!-- ========== Default Language Form Definitions ===================== -->
        <formset>
            <form name="logonForm">
                <field property="username"
                        depends="required, minlength,maxlength">
                    <arg0   key="prompt.username"/>
                    <arg1   key="${var:minlength}" name="minlength"
                       resource="false"/>
                    <arg2   key="${var:maxlength}" name="maxlength"
                       resource="false"/>
                    <var>
                        <var-name>maxlength</var-name>
                        <var-value>16</var-value>
                    </var>
                    <var>
                        <var-name>minlength</var-name>
                        <var-value>3</var-value>
                    </var>
                </field>
                <field property="password"
                        depends="required, minlength,maxlength">
                    <arg0   key="prompt.password"/>
                    <arg1   key="${var:minlength}" name="minlength"
                       resource="false"/>
                    <arg2   key="${var:maxlength}" name="maxlength"
                       resource="false"/>
                    <var>
                        <var-name>maxlength</var-name>
                        <var-value>16</var-value>
                    </var>
                    <var>
                        <var-name>minlength</var-name>
                        <var-value>3</var-value>
                    </var>
                </field>
            </form>
            <form name="registrationForm">
                <field property="fromAddress"
                        depends="required,email">
                    <arg0   key="prompt.fromAddress"/>
                </field>
                <field property="fullName"
                        depends="required">
                  <arg0     key="prompt.fullName"/>
                </field>
                <field property="replyToAddress"
                        depends="email">
                    <arg0   key="prompt.replyToAddress"/>
                </field>
                <field property="username"
                        depends="required">
                  <arg0     key="prompt.username"/>
                </field>
            </form>
        </formset>
    </form-validation>i have also the validation-rules.xml file provided by the struts lib.
    i would like to force the content of 'username' property to be alphabetic.
    i guess i have to create my own element
    <validator name="alphabeticString"...> inside the validation-rules.xml file, but i am newbie in javascript programming.
    i have tree question.
    1) why the validation code inside the validator element is written in javascript since it's not going to be executed at client side???
    2)can i use java instead ? (to code teh validation ...)
    3)has anyone got a code to solve this problem ?
    thanks for your help

    i would like to force the content of 'username' property to be alphabetic.
    i guess i have to create my own element
    <validator name="alphabeticString"...> inside the validation-rules.xml file,
    but i am newbie in javascript programming.Not for something that simple... there's a validator rule called mask, which takes a regular expression as an argument, so if you want only a-z: "[a-zA-Z]*" should work.
    1) why the validation code inside the validator element is written in javascript since it's not going to be executed at client side???It is validated on the client, or can be. You have to include the javascript with the html:javascript tag library tag and specify the form name. Then you need to put the onsubmit="return validateFormName();" attribute in the form tag. If JS isn't supported, it'll still default back to the server side validation.
    2)can i use java instead ? (to code teh validation ...)Don't include the JS stuff.

  • Font Embedding Question in PDF exported from PageMaker v7

    I am having difficulty embedding the majority of my fonts in PDFs exported from PageMaker v7. When exporting to PDFs, a "cannot embed font" error is generated.
    Technical Details:
    The fonts I have are ALL LEGAL, and were purchased with complete licenses when required.
    The fonts properties show them to be completely embedable, with no restrictions in terms of installation, etc.
    The fonts can be placed and embedded in PDFs from all other programs I've attempted this with (Illustrator, Acrobat, MSWord, WordPerfect, etc.).
    Disclaimer:
    Yes, I know PageMaker is old, and yes, I am in the process of upgrading to Creative Sutie (although, as an aside, it is extremely disappointing that even a token discount is not offered to those who have purchased every Adobe and MacroMedia software package in the past, but I digress...). However, several of my clients require PageMaker files (for a variety of reasons I won't go into here).
    Thank you in advance for any advice on what might be the underlying problem.

    When generating PDF output from Pagemaker, I've used 2 methods:
    1. File>Export>PDF
    This method works fine for a limited number of fonts (AGaramond for example), which is why I started this post. Bob Levine had suggested using Distiller instead.
    2. File>Printer Styles>Acrobat
    I usually used this method when an offset printer requires crop marks, since the other method does not provide an option for crop marks.
    This opens a window with numerous options, the pertinent ones to my question are:
    Printer: New 2002 PPD for Adobe PS Driver on file
    PPD: Adobe PDF 3015.102
    Postscript: Download Fonts (3 options):
         None
         True Type and Type 1
         True Type Only
    When I choose download "True Type and Type 1", I get the same "cannot embed font" error if I use most of my fonts (with the exception of a few that work).
    When I choose NONE for the option, the PS file is generated without errors.
    Once the .ps file is generated, I then use Distiller 4 to open the file and output PDF file.
    If I used "True Type and Type 1" for download font option, and the font does not generate an error, the PDF file is fine.
    If I used "NONE" for download font option, when I open the PDF, it indicates that the fonts are embedded. However, since I do not download the font, I am nervous that this might cause problems when I go to an offset printer.
    I do not print to a file using a printer driver (for example Linotype, Acrobat, etc.). The 2 processes I've used seem to be independent of what the default printer is on the operating system (XP).
    Thanks!

  • Manual Font Management Questions

    Hi. First, thanks in advance for any advice. I appreciate it.
    I've recently taken up comic book lettering and as such, have acquired a massive amount of fonts. I've tried a couple of the management software (Suitcase Fusion and FontExplorer X) and haven't been able to work with them the way I'd hoped. Furthermore, they all (including the native FontBook) sandbag my system and grind it to a crawl.
    So, even though it's a giant pain and extremely tedious, I think I'll manually edit and remove unnecessary fonts to pare things down and organize them in apps like Adobe CS5. And group them. My questions are 1) can you have folders inside the font library folder the system draws from (for organization purposes)? I ask because there are none in there. 2) I've been working (I've already started with a small folder elsewhere) with a copy of the font directories. When I finish, would I just delete everything, then copy my altered version (including some renamings) into place (w/ or w/o folders -- tbd)? Or is there a proper way to remove and replace fonts than just moving to trash?
    Thanks again! I (virtually) bow to your vast knowledge. (Pandering works around here, right?)
    FiveByFive

    Uh...  Kappy, I've got every font on my machine (except for /System/Library/Fonts fonts) in subdirectories inside the assorted Fonts/ directories.  This is a subset of FontFolio11 that we use for editorial:
    cathy% ls -l ~/Library/Fonts/User_cathy_Library_Fonts/FontFolio11Pagination
    total 8
    drwxr-xr-x@  6 cathy  staff  204 Dec 13 16:04 Franklin Gothic Std
    drwxrwxr-x@  7 cathy  staff  238 Aug 24  2010 HelFracAP
    drwxrwxr-x@  9 cathy  staff  306 Dec 13 16:04 HelFracAP-Bold
    drwxr-xr-x@ 25 cathy  staff  850 Dec 13 16:04 Helvetica LT Std
    drwxr-xr-x@ 11 cathy  staff  374 Dec 13 16:04 ITC Berkeley Oldstyle Std
    drwxr-xr-x@ 19 cathy  staff  646 Dec 13 16:04 ITC Century Std
    drwxr-xr-x@ 19 cathy  staff  646 Dec 13 16:04 ITC Cheltenham Std
    drwxr-xr-x@ 23 cathy  staff  782 Dec 13 16:04 ITC Franklin Gothic Std
    drwxr-xr-x@ 11 cathy  staff  374 Dec 13 16:04 ITC Galliard Std
    drwxr-xr-x@ 10 cathy  staff  340 Dec 13 16:04 ITC Legacy Sans Std
    drwxr-xr-x@ 10 cathy  staff  340 Dec 13 16:04 ITC Legacy Serif Std
    drwxr-xr-x@  7 cathy  staff  238 Dec 13 16:04 Melior LT Std
    drwxr-xr-x@ 10 cathy  staff  340 Dec 13 16:04 Memphis LT Std
    drwxr-xr-x@ 10 cathy  staff  340 Dec 13 16:04 New Century Schoolbook LT Std
    drwxr-xr-x@  4 cathy  staff  136 Nov 29  2010 OCR A Std
    drwxr-xr-x@  4 cathy  staff  136 Nov 29  2010 OCR B Std
    -rw-r--r--@  1 cathy  staff   48 Nov 29  2010 fonts.list
    Notice that they are ALREADY in directories!

  • Table validation question

    Hi
    I have created 2 tables zposition, zwork.
    The fields in zposition is department and position.
    The fields in zwork is empid, department, position, firstname and lastname.
    I wanted to create a validation that when i insert the data into the zwork, the system will automatically check against the zposition tables for the department and position that was store inside it. How do i do it?

    in ur zwork table where u find the fields department and position..
    in the table fields of zwork just put the cursor on this field say department and click the key button(on the top) it will propose for a check table and in there give the zposition table relavant field department.
    the answer is there in ur question itself ...
    // check against the zposition tables for the department and position--> u need to propose the check table on that field .
    so all in ur are validating the zwork department entry with zposition department field..

  • Font Book Questions

    Not sure if this is the best place for them but I can't find anywhere else.
    Do I need to keep font book open to have the fonts working? Whenever I close the window, the little black triangle disappears, which would indicate that the app has quit. Does that mean I have to have it minimised the whole time if I don't want the window up on screen?
    When I added all my fonts to Font Book, it copied them all to the default directory, which is fine. During the process, a window opened showing corrupt fonts. Since I did not ask it to install these fonts, can I assume that those corrupt fonts are still sitting in my original font directory rather than sitting inactive in Font Book's default location?
    In the list of corrupt fonts, I tipped open the triangle next to one or two. There was quite a detailed diagnostic & it said it was the "Font Table Directory" that was corrupt. Is this repairable?
    I've now closed that window with details of corrupt fonts. Can I re-open it?
    That'll do for now. Thanks.

    "Do I need to keep font book open to have the fonts working?"
    No.
    As for the corrupt fonts, try out the following:
    *Validating your fonts:*
    Font Book>File>Validate Font
    Check for duplicate fonts.
    Applications>Font Book
    Select “All Fonts”
    If you see any “black dots” next to any fonts this mean you have duplicates and/or multiple versions of these fonts.
    To clean this up, select a “black dotted” font or the Apple + click to select multiple dotted fonts;
    Edit>Resolve>Duplicates.
    What the above does is turns off the duplicates & multiple version fonts. Not delete them.
    More than likely the “extras” were installed by other programs and/or other users.
    Clear out font caches
    Use FontNuke. It does all the work for you. And, best of all it’s FREE.

  • Font related question

    The following appeared on the console log after a back-up session. I've seen it once before and have no idea what it means or how to fix or avoid it in the future. I was hoping someone with a little more "Font Savvy" could explain this. Thanks!
    2007-01-25 19:37:05.428 Maxtor Button Monitor[546] CFLog (0): WARNING: CFSTR("/Applications/Maxtor OneTouch\252 Manager") has non-7 bit chars, interpreting using MacOS Roman encoding for now, but this will change. Please eliminate usages of non-7 bit chars (including escaped characters above \177 octal) in CFSTR().
    Power Mac G4/1GHz   Mac OS X (10.3.9)   Maxtor 120GB internal,Maxtor 300 GB External Firewire Drive

    The following appeared on the console log
    after a back-up session. I've seen it once before and
    have no idea what it means or how to fix or avoid it
    in the future. I was hoping someone with a little
    more "Font Savvy" could explain this. Thanks!
    2007-01-25 19:37:05.428 Maxtor Button Monitor[546]
    CFLog (0): WARNING: CFSTR("/Applications/Maxtor
    OneTouch\252 Manager") has non-7 bit chars,
    interpreting using MacOS Roman encoding for now, but
    this will change. Please eliminate usages of non-7
    bit chars (including escaped characters above \177
    octal) in CFSTR().
    Power Mac G4/1GHz
    Mac OS X (10.3.9) Maxtor 120GB
    internal,Maxtor 300 GB External Firewire Drive
    Sorry.. in my haste to post this question I inadvertently accessed the wrong forum. My apologies.

  • Data Template construction AND data template validation questions:

    Hello World.
    I am new to Oracle BI and I have sucessfully used the BI Java APIs to create from start to finish a pdf report process. I use the DataProcessor, RTFProcessor, and FOProcessor classes to do this. My question is other than the most simple of Data Templates being used, how is everyone building their data templates? And I would also like to know how are developers validating the actual data template file? I have submitted a request through my MetaLink account for obtaining either a "dtd" or "xsd" file that could be used to validate a constructed data template. I have not received any real answers. I plan on using either XMLSpy or MyEclispse 6 to create my data templates, but I need a "rule book" dtd or xsd file in order to use the auto prompting feature. Making a data template "in the dark" cannot be the method of choice for all of the developers that visit this forum. I see some really fancy/detailed reports and I would like to see how people are building there data templates. Building the data template is at least half the battle when constructing a BI report.
    Thanks for your time.

    Notepad is the developer's choice for data definitions, seriously.
    I have seen and used XMLSpy and have Stylus Studio but they are really a bit of overkill for the data templates. I use Stylus Studio for some of our XML-FO format templates, but that is another story.
    Scott
    Edited by: ScottC on Oct 22, 2008 3:00 PM

  • Validator Question

    Hi i am creating an application where a user simply enters their details such as name, email etc which should be then validated using the validator. If the details are correct it should redirect the user to my Acknowledge page, however if not it will put the user back to the original part displaying error messages to re-enter their details. Now as it stands i already have the a form for the user to enter their details, enterStudentDetails.jsp, and i am trying to test that their email is not left blank but when i do leave it blank, and hit the submit button, it goes into my Acknowledge.jsp page. That is the issue i have at the moment, and i am trying use the validator to check the input on the server side to display the error message.
    enterStudentDetails.jsp
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Enter Student Details</title>
        </head>
        <body>
        <h1>Enter Student Details</h1>
        <html:form action="ValidateDetails">
            <table border="1">
                <thead>
                    <tr>
                        <td>Email :
                        <td><bean:message key="validatedetails.email" />
                        <th> <html:text property="email" size="32"/>
                        <th><html:errors property="email" />
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>First Name:</td>
                         <td><bean:message key="validatedetails.firstName" />
                        <td><html:text property="firstName"/></td>
                        <td><html:errors property="firstName"/></td>
                    </tr>
                    <tr>
                        <td>Last Name: </td>
                         <td><bean:message key="validatedetails.lastName" />
                        <td><html:text property="lastName"/></td>
                        <td><html:errors property="lastName"/></td>
                    </tr>
                    <tr>
                        <td> Password
                         <td><bean:message key="validatedetails.password" />
                        <td><html:password property="password"/></td>
                        <td><html:errors property="password"/></td>
                    </tr>
                    <tr>
                        <td> Confirm Password
                         <td><bean:message key="validatedetails.confirmPassword" />
                        <td><html:password property="confirmPassword"/></td>
                        <td><html:errors property="confirmPassword"/></td>
                    </tr>
                    <tr>
                        <td>Date of birth (dd/mm/yyyy):
                        <td><html:text property="dateOfBirth"/></td>
                        <td><html:errors property="dateOfBirth"/></td>
                    </tr>
                    <td><html:submit value="sign up!" />
                </tbody>
            </table>   
        </html:form>
        <%--
        This example uses JSTL, uncomment the taglib directive above.
        To test, display the page like this: index.jsp?sayHello=true&name=Murphy
        --%>
        <%--
        <c:if test="${param.sayHello}">
            <!-- Let's welcome the user ${param.name} -->
            Hello ${param.name}!
        </c:if>
        --%>
        </body>
    </html>ValidateDetails.java
    * ValidateDetails.java
    * Created on 10 April 2008, 22:00
    package com.myapp.struts;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForward;
    * @author
    * @version
    public class ValidateDetails extends Action {
        /* forward name="success" path="" */
        private final static String SUCCESS = "success";
         * This is the action called from the Struts framework.
         * @param mapping The ActionMapping used to select this instance.
         * @param form The optional ActionForm bean for this request.
         * @param request The HTTP Request we are processing.
         * @param response The HTTP Response we are processing.
         * @throws java.lang.Exception
         * @return
        public ActionForward execute(ActionMapping mapping, ActionForm  form,
                HttpServletRequest request, HttpServletResponse response)
                throws Exception {
            return mapping.findForward(SUCCESS);
    }DetailsForm.java
    * DetailsForm.java
    * Created on 10 April 2008, 21:52
    package com.myapp.struts;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionMessage;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    * @author
    * @version
    public class DetailsForm extends org.apache.struts.validator.ValidatorForm {
       private int id;
        private String firstName;
        private String lastName;
        private String password;
        private String confirmPassword;
        private String email;
        private Date dateOfBirth;
        public int getId() {
            return id;
        public String getFirstName() {
            return firstName;
        public String getLastName() {
            return lastName;
        public String getPassword() {
            return password;
        public String getEmail() {
            return email;
        public Date getDateOfBirth() {
            return dateOfBirth;
        public String getConfirmPassword() {
            return confirmPassword;
        public void setFirstName(String s) {
            firstName = s;
        public void setLastName(String s) {
            lastName = s;
        public void setPassword(String s) {
            password = s;
        public void setEmail(String s) {
            email = s;
        public void setDateOfBirth(String s) {
            try {
                // TODO: put the date format in the resources file
                dateOfBirth = new SimpleDateFormat("dd/MM/yyyy").parse(s);
            } catch (ParseException e) {
        public void setConfirmPassword(String s) {
           confirmPassword = s;
           password = confirmPassword;
        public DetailsForm() {
            super();
            // TODO Auto-generated constructor stub
    /**  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
            ActionErrors errors = new ActionErrors();
            if (getName() == null || getName().length() < 1) {
                errors.add("name", new ActionMessage("error.name.required"));
                // TODO: add 'error.name.required' key to your resources
            return errors;
       */struts-config.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
    <struts-config>
        <form-beans>
            <form-bean name="DetailsForm" type="com.myapp.struts.DetailsForm"/>
        </form-beans>
        <global-exceptions>
        </global-exceptions>
        <global-forwards>
            <forward name="welcome"  path="/Welcome.do"/>
        </global-forwards>
        <action-mappings>
            <action input="/enterStudentDetails.jsp"
                    validate="true"
                    name="DetailsForm"
                    path="/ValidateDetails"
                    scope="request"
                    type="com.myapp.struts.ValidateDetails">
                <forward name="success" path="/Acknowledge.jsp"/>
            </action>
            <action path="/Welcome" forward="/welcomeStruts.jsp"/>
        </action-mappings>
        <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
        <message-resources parameter="com/myapp/struts/ApplicationResource"/>   
        <!-- ========================= Tiles plugin ===============================-->
        <!--
        This plugin initialize Tiles definition factory. This later can takes some
        parameters explained here after. The plugin first read parameters from
        web.xml, thenoverload them with parameters defined here. All parameters
        are optional.
        The plugin should be declared in each struts-config file.
        - definitions-config: (optional)
        Specify configuration file names. There can be several comma
        separated file names (default: ?? )
        - moduleAware: (optional - struts1.1)
        Specify if the Tiles definition factory is module aware. If true
        (default), there will be one factory for each Struts module.
        If false, there will be one common factory for all module. In this
        later case, it is still needed to declare one plugin per module.
        The factory will be initialized with parameters found in the first
        initialized plugin (generally the one associated with the default
        module).
        true : One factory per module. (default)
        false : one single shared factory for all modules
        - definitions-parser-validate: (optional)
        Specify if xml parser should validate the Tiles configuration file.
        true : validate. DTD should be specified in file header (default)
        false : no validation
        Paths found in Tiles definitions are relative to the main context.
        -->
        <plug-in className="org.apache.struts.tiles.TilesPlugin" >
            <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />     
            <set-property property="moduleAware" value="true" />
        </plug-in>
        <!-- ========================= Validator plugin ================================= -->
        <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
            <set-property
                property="pathnames"
                value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
        </plug-in>
    </struts-config>Application Resource file
    errors.header=
    errors.prefix=<span style="color: red">
    errors.suffix=</span>
    errors.footer=
    DetailsForm.required.email=Email must be entered
    validatedetails.email=Email
    validatedetails.firstName=First Name
    validatedetails.lastName=Last Name
    validatedetails.password=Password
    validatedetails.confirmPassword=Confirm Password
    error.email.required=Email must be entered
    errors.header=<UL>
    errors.prefix=<LI>
    errors.suffix=</LI>
    errors.footer=</UL>
    errors.invalid={0} is invalid.
    errors.maxlength={0} can not be greater than {1} characters.
    errors.minlength={0} can not be less than {1} characters.
    errors.range={0} is not in the range {1} through {2}.
    errors.required={0} is required.
    errors.byte={0} must be an byte.
    errors.date={0} is not a date.
    errors.double={0} must be an double.
    errors.float={0} must be an float.
    errors.integer={0} must be an integer.
    errors.long={0} must be an long.
    errors.short={0} must be an short.
    errors.creditcard={0} is not a valid credit card number.
    errors.email={0} is an invalid e-mail address.
    errors.cancel=Operation cancelled.
    errors.detail={0}
    errors.general=The process did not complete. Details should follow.
    errors.token=Request could not be completed. Operation is not in sequence.
    welcome.title=Struts Application
    welcome.heading=Struts Applications in Netbeans!
    welcome.message=It's easy to create Struts applications with NetBeans.validation.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
    <form-validation>
        <form name="DetailsForm">
            <field
                property="email"
                depends="required,email">
                <arg key="DetailsForm.email"/>
            </field>
            <field
                property="firstName"
                depends="required">
                <arg key="error.firstName" />
            </field>
            <field
                property="lastName"
                depends="required">
                <arg key="error.lastName" />
            </field>
            <field
                property="password"
                depends="required,minlength">
                <arg key="error.password" />
                <arg1 name="minlength" key="${var:minlength}" resource="false" />
                <var>
                    <var-name>minlength</var-name>
                    <var-value>6</var-value>
                </var>
            </field>
            <field
                property="confirmPassword"
                depends="required,validwhen">
                <arg key="error.password" />
                <msg name="validwhen" key="error.password.confirm" />
                <var>
                    <var-name> test </var-name>
                    <var-value> (*this* == password) </var-value>
                </var>
            </field>
            <field
                property="dateOfBirth"
                depends="required,date">
                <arg key="Date of Birth" resource="false" />
                <var>
                    <var-name>datePatternStrict</var-name>
                    <var-value>dd/mm/yyyy</var-value>
                </var>
            </field>
        </form>
        <!--
         This is a minimal Validator form file with a couple of examples.
    -->
        <global>
            <!-- An example global constant
            <constant>
                <constant-name>postalCode</constant-name>
                <constant-value>^\d{5}\d*$</constant-value>
            </constant>
            end example-->
        </global>
        <formset>
            <!-- An example form -->
            <form name="logonForm">
                <field
                    property="username"
                    depends="required">
                    <arg key="logonForm.username"/>
                </field>
                <field
                    property="password"
                    depends="required,mask">
                    <arg key="logonForm.password"/>
                    <var>
                        <var-name>mask</var-name>
                        <var-value>^[0-9a-zA-Z]*$</var-value>
                    </var>
                </field>
            </form>
        </formset>
        <!-- An example formset for another locale -->
        <formset language="fr">
            <constant>
                <constant-name>postalCode</constant-name>
                <constant-value>^[0-9a-zA-Z]*$</constant-value>
            </constant>
            <!-- An example form -->
            <form name="logonForm">
                <field
                    property="username"
                    depends="required">
                    <arg key="logonForm.username"/>
                </field>
                <field
                    property="password"
                    depends="required,mask">
                    <arg key="logonForm.password"/>
                    <var>
                        <var-name>mask</var-name>
                        <var-value>^[0-9a-zA-Z]*$</var-value>
                    </var>
                </field>
            </form>
        </formset>
    </form-validation>Now, i have read a few articles on the subject but i am slighly confused in that in terms of creating a bean does it necessarily nead to be a dynamic bean? or can i still keep the one that i have right now for me to use validator. Can somebody provide some insight on what i would need to do because i am slighly confused.
    Thanks.

    oh, i didn't realize i could do that. I acutally already
    found a way to do it, if a whole bunch of if statments :) mhehe,
    but it works. i'lll try to do it your way :)
    another question. It seems that in my functions if i
    reference a field which is located on a different tab, it does not
    recoglize it, and i get a runtime error, unless i click on that
    tab, before clicking on the "validate" button.
    does anyone know why it's not recognizing it? do i need to
    somehow declare that field in my init()?
    Thanks!

  • XML SCHEMA validation question

    i'm using jdk 1.4.2 and am trying to validate an xml document against an xml schema. i don't have any packages like xerces or apache and am trying to avoid having to use them. i've had a look at the jdk 1.5 api documentation, and it seems to have some new classes dedicated to xml validation using schemas that 1.4.2 does not have (e.g. the Schema class). my question is, is it possible to do xml validation against a schema only using jdk 1.4.2 and without the likes of the xerces and apache parser packages?
    any help much appreciated, thanks

    The tutorial on Schema Validation parses/validates with the SAXParserFactory. J2sdk 1.4.2 JAXP has an error in the implementation of the SAXParserFactory. Parse/validate with the DocumentBuilderFactory instead of the SAXParserFactory.
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPSAX9.html

  • Font Folio question

    Hi, all. I wasn't sure where else to ask this question. I've been interested in purchasing the entire Adobe library of fonts but have been confused by the various products I've seen on the web.
    There are 3 products: Font Folio 11, Adobe Font Collection, and Font Folio OT 1.0. Which Adobe product contains the most fonts? I've seen one saying it contains 2300 while another says it contains 2100, etc. I've not found a page that provides comparison between these products. Your guidance is much appreciated. Thanks.

    Thanks, John, for your reply. Here are my answers to your great questions:
    1) Because we're part of a university, we'd get the collection via an educational discount; so the price isn't a concern.
    2) Yep. I've been reading up on the technologies.
    3) I've tried to collect free, quality fonts off the web for a while, but it's time-consuming and you don't always get the best results.

  • Font substitution question

    Hi all,
    I have a font question. I am updating Illustrator files that were created on a different machines throughout the department. When I open a file, it says that I'm missing a font. This makes sense, because although I have the same font, it has a different name on my computer.
    Here's my issue: when I select the text with the font that needs to be changed to the one that's resident on my computer, change it to "my" version, and then save the file, the next time I open the file it gives me the same message. This happens regardless of whether I save the file to my HD or the server. Can I make it so that it doesn't always ask for that other font? So that it associates the font on my machine as the correct one? The text blocks with the "missing font" are always small little bits that I have to seek out and manually change every time I open the file... it gets tedious, and affects accuracy.
    I am using Mac OS10.6.4, the files are created in either AICS3 (running OS10.5.8) or AICS5, but this happens whether I open them in CS3 or CS5. I use Font Explorer Pro, the other machines have no font manager, which is why I like to work on my machine. (FEX hasn't released auto activation plugins yet for CS5, btw. They tell me they're working on it.)
    Anyway, thoughts and suggestions are welcome.
    --D

    Easy-peasy.  Under the font menu, "find font..." will allow you to "change all" of one font to another one.

Maybe you are looking for

  • Can't figure out why the "Do this automatically for files like this from now on" is disabled Compressed (zipped) Folders

    I recently had to uninstall and reinstall Firefox. Now with the new version it will not allow me to click the check box "Do this automatically for files like this from now on". The line is disabled and a light gray. I went into the Applications tab u

  • How to customize CRM-BP iview ?

    Hello guys, I had applied Business Package for CRM 5.0 on EP7 SP6. We need to do some customize to CRM-BP iview. There are many tabs of "Activity" iview, Details, Parters,Attchments,Scheduled Actions,Organization,Document Flow. We want to hide "Sched

  • ITunes on Mac & Windows simultaneously

    I am a long-time PC user and I have iTunes and my music library on my PC. I sync my iPod to it. I just got a MacBook, and I would like to have my same music library accessible from iTunes on my Mac. (The Mac and the PC are on my wireless network). Id

  • Viewldbg

    How to use viewldbg to analyze core? I have a core file generated by ns-slapd which I want to analyse and when I give arguments like below ./viewldbg "HOME_DIR"/bin/slapd/server/ns-slapd /tmp/corefile /tmp/output it generates following output with er

  • I upgraded some albums to iTunes Plus - songs duplicated/overwritten

    I upgraded a couple albums to iTunes Plus quality, specifically Elton John's "Live in Australia" and his debut album "Elton John". Both contain the tracks "Your Song" and "The King Must Die". When I downloaded the iTunes Plus version of the album "Li