[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: how to use JSF tree control in a Struts application?
From:       Craig McClanahan <craigmcc () apache ! org>
Date:       2004-04-15 16:43:26
Message-ID: 407EBBAE.6070001 () apache ! org
[Download RAW message or body]

snpe wrote:

> On Thursday 15 April 2004 01:04 am, Craig McClanahan wrote:
> 
> 
> > snpe wrote:
> > 
> > 
> > 
> > > I compile struts-faces2 from cvs and i get next error when I try log in
> > > (I register, log off and try log in) :
> > > 
> > > 
> > > 
> > > 
> > > 
> > You would get an exception like this if the custom renderers in 
> > struts-faces.jar were not registered with JSF, which might in turn 
> > happen if you didn't include all the JARs, or you're running on a broken 
> > servlet container that doesn't recognize TLDs inside JAR files.  Could 
> > you double check that you've included struts-faces.jar, jsf-api.jar, and 
> > jsf-impl.jar inside /WEB-INF/lib?  What container (and version) are you 
> > running on?  Finally, were there any logged errors when the app was 
> > initially deployed?
> > 
> > If that all looks right, could you please give me a precise script to 
> > reproduce the problem?  When I try what you describe above, it works 
> > fine for me.
> > 
> > Craig
> > 
> > 
> > 
> 
> I user tomcat 5.0.19, struts from cvs and struts-faces2 from cvs on linux
> struts-faces.jar, jsf-api.jar and jsf-impl.jar are in WEB-INF/lib and all tlds in \
> WEB_INF (jsf 1.0 final) It haven't error on startup, but I change validation.xml \
> and validator-rules.xml (add <?xml and DOCTYPE declaration on the beginning) like \
> this : <?xml version="1.0" encoding="UTF-8" ?>
> 
> <!DOCTYPE form-validation PUBLIC
> "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
> "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
> 
> validator is last from cvs
> I can log on when I type login with 3 or more characters (validator), but If I
> type nothing or 2 character I get this error
> 
> 
> 
OK.  So, what happens if you do *not* make the validation.xml change 
above?  (Trying to narrow down the possibilities here).

FWIW, I've been testing struts-faces against the Struts 1.1 release, not 
the HEAD of CVS, since that is what most people will be using it with.  
Yes, I do indeed need to test against the latest code too, but you could 
be encountering issues because of things that have changed since 1.1.

Craig


> regards
> Haris Peco
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic