No. Don't put it in the lib folder. Follow the examples provided for
packaging.
It looks like converter isn't getting used. As for why... You should check
with a breakpoint whether the converter is used. You could also try
registering the converter by id - org.jboss.seam.EntityConverter
sorry petemuir for my disturb :(
i tryed it for a week and could not resolve this problem,
i added ur jar file into build.xml file
| copy todir=${war.dir}/WEB-INF/lib
| fileset dir=${lib.dir}
| include name=ajax4jsf.jar /
|
h:selectOneMenu styleClass=font_style value=#{foo.application}
Foo is the backing bean on which you wish to set the application property. It
could be just #{application} - though I'm not sure how well this works on the
whole.
View the original post :
petemuir wrote : h:selectOneMenu styleClass=font_style
value=#{foo.application}
|
| Foo is the backing bean on which you wish to set the application property.
It could be just #{application} - though I'm not sure how well this works on
the whole.
ok,
1. i had entityconverter.jar into
i can't resolve this problem yet,
anybody knows about it ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4022290#4022290
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022290
___
At the very least it should be this
h:selectOneMenu styleClass=font_style value=#{foo.application}
|s:selectItems value=#{applications.resultList} var=name
label=#{application.name}/
|ec:convertEntity /
| /h:selectOneMenu
View the original post :
Oops, no, this is better
h:selectOneMenu styleClass=font_style value=#{foo.application}
|s:selectItems value=#{applications.resultList} var=application
label=#{application.name}/
|ec:convertEntity /
| /h:selectOneMenu
View the original post :
i can't resolve this problem yet,
anybody knows about it ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4022267#4022267
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022267
___
petemuir wrote : You've probably got errors occuring on the coversion,
validation or update model phase. Put an h:messages component on the page to
see.
hi petemuir,
u're right i put h:messages into login page and i got an error like this :
| . value could not be converted to the expected
#{application.name} references a String, you are trying to set it with a
Application object. Likewise for language.Read up on JSF converters and
what they do. And take a look at the EntityConverter on the wiki as it does
what you are trying to do for you...
View the original post :
10 matches
Mail list logo