0

I'm trying to use my constants in jsf page.

I installed the library with maven thanks to a remote repository in pom.xml as explain here. here How to reference constants in EL?

My header is like that :

<!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:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core" 
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:c="http://java.sun.com/jsp/jstl/core"   
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"  
    xmlns:un="http://jakarta.apache.org/taglibs/unstandard-1.0" >

Eclipse send me this error.

NLS missing message: CANNOT_FIND_FACELET_TAGLIB in: org.eclipse.jst.jsf.core.validation.internal.facelet.messages

I tried to put taglib.tld in WEB-INF without sucess... What am I missing ?

Thanks

Community
  • 1
  • 1
ZheFrench
  • 1,164
  • 3
  • 22
  • 46
  • if your problem is related to custom validation messages, then you can put `validation.properties` file in `src` and add in `faces-config.xml` path to this file: ` your.path.here.resource.validation ` – Vasil Lukach Mar 01 '14 at 14:23
  • yeah i know but that's not the problem...i finally choose to use Omnnifaces.that resolved the prob.thanks – ZheFrench Mar 01 '14 at 22:32

0 Answers0