A linha (#) está com o seguinte erro:
According to the TLD, deferred-value is specified for the attribute value of the tag handler com.sun.faces.taglib.jsf_core.SelectItemsTag, but the argument for the setter method is not a javax.el.ValueExpression
Não estou conseguindo identificar qual é o erro. Alguém sabe como resolver?
According to the TLD, deferred-value is specified for the attribute value of the tag handler com.sun.faces.taglib.jsf_core.SelectItemsTag, but the argument for the setter method is not a javax.el.ValueExpression
O
option
Obrigada por ter apresentado a minha pergunta de forma mais adequada, André =)
H
hfluz
Na lista de selectItems listaNatureza você está setando o atributo value com que valor?
O
option
Pelo que entendi da sua pergunta, listaNatureza é um arrayList de Naturezas, sendo que Natureza são Strings.
dev.rafael
Posta ai o código do USuMBean tb. E se possível o faces-config.xml, se vc estiver usando é claro.
O
option
dev.rafael, o código do é USuMBean realmente grande. Sim, estou usando o faces-config.xml.
option, qual servidor vc está usando? Vc já tentou usar JSF2 ao invés do 1.1?
O
option
Estou usando o JBoss 4.0.4 GA
Não, dev.rafael, ainda não tentei usar o JSF2. É compatível com a versão do JBoss que estou usando? Pelo que pesquisei, o JBoss 4.0.4 não suporta algumas coisas =/
dev.rafael
Isso mais parece ser um bug. A mensagem de erro q vc postou…
According to the TLD, deferred-value is specified for the attribute value of the tag handler com.sun.faces.taglib.jsf_core.SelectItemsTag, but the argument for the setter method is not a javax.el.ValueExpression
… diz q na taglib o atributo value está marcado como do tipo javax.el.ValueExpression (deferred-value) mas o método setValue na classe SelectItemsTag não recebe um parâmetro desse tipo. Para confirmar isso, tente rodar esse mesmo código em algum outro servidor JEE como o Glassfish.