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

List:       myfaces-user
Subject:    Re: [Solved] [facelets] problem using SelectItem
From:       lmk <lotfi.mellouk () casden ! banquepopulaire ! fr>
Date:       2007-02-28 15:38:46
Message-ID: 9206153.post () talk ! nabble ! com
[Download RAW message or body]


I changed the bean property type from  SelectItem [] to 
ArrayList<SelectItem> and it works fine..

thanks for all.


Adrian Mitev-2 wrote:
> 
> JBoss does not "look", it just loads.
> 
> 2007/2/27, lmk <lotfi.mellouk@casden.banquepopulaire.fr>:
> > 
> > 
> > myfaces jars exist on \jbossweb-tomcat55.sar\jsf-libs.but,I  thought
> > jboss
> > look for api on the application lib folder f irst..
> > 
> > 
> > 
> > Mike Kienenberger wrote:
> > > 
> > > This is definitely a classloader/configuration issue.
> > > 
> > > Perhaps you have multiple copies of the jsf-api jar in your path.   Be
> > > sure you don't have another version of Myfaces or the JSF-RI in your
> > > classpath somewhere.   Some versions of JBoss ship with MyFaces
> > > preinstalled.
> > > 
> > > On 2/27/07, lmk <lotfi.mellouk@casden.banquepopulaire.fr> wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > I try to run facelets application on Jboss server, when I use
> > selectItem
> > > > i
> > > > get the exception below; i have myfaces-impl.jar and
> > my-faces-api.jaron
> > > > lib
> > > > folder, I dont have any compilation problem..
> > > > I will be off one's head!!!!
> > > > thanks...
> > > > 
> > > > javax.faces.FacesException: java.lang.ClassNotFoundException:
> > SelectItem
> > > > at
> > > > org.apache.myfaces.shared_impl.util.ClassUtils.simpleJavaTypeToClass(
> > ClassUtils.java:223)
> > > > at
> > > > org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(
> > ManagedBeanBuilder.java:182)
> > > > at
> > > > org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(
> > ManagedBeanBuilder.java:55)
> > > > at
> > > > org.apache.myfaces.el.VariableResolverImpl.resolveVariable(
> > VariableResolverImpl.java:314)
> > > > at
> > > > com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(
> > LegacyELContext.java:134)
> > > > at
> > > > com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
> > > > at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
> > > > at
> > > > com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
> > > > at
> > > > 
> > com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java
> > > 71)
> > > > at
> > > > 
> > com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java
> > > 56)
> > > > at javax.faces.component.UIOutput.getValue(UIOutput.java:80)
> > > > at
> > > > org.apache.myfaces.shared_impl.renderkit.RendererUtils.getObjectValue(
> > RendererUtils.java:186)
> > > > at
> > > > --
> > > > View this message in context:
> > > > 
> > http://www.nabble.com/-facelets--problem-using-SelectItem-tf3301779.html#a9184631
> > > > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> > > > 
> > > > 
> > > 
> > > 
> > 
> > --
> > View this message in context:
> > http://www.nabble.com/-facelets--problem-using-SelectItem-tf3301779.html#a9185205
> > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> > 
> > 
> 
> 

-- 
View this message in context: \
http://www.nabble.com/-facelets--problem-using-SelectItem-tf3301779.html#a9206153 \
Sent from the MyFaces - Users mailing list archive at Nabble.com.


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

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