[jboss-user] [JBoss Seam] - Re: <s:selectItems> problem

jquery@interia.pl do-not-reply at jboss.com
Wed Apr 25 10:32:11 EDT 2007


I've found in "Mastering Java Server Faces" p.283 that there is standard converter - "CharacterConverter" class, which has "Character" id. In JSF API I've found it too:
[url]
http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/index.html
[/url]

And as for NPE, what should I do to instantiate standard converter like Character or Integer? I've thought it's enough to include the following tag libraries

  | 
  | html xmlns="http://www.w3.org/1999/xhtml"
  |       xmlns:ui="http://java.sun.com/jsf/facelets"
  |       
  |       xmlns:h="http://java.sun.com/jsf/html"
  |       xmlns:f="http://java.sun.com/jsf/core"
  |       
  |       xmlns:s="http://jboss.com/products/seam/taglib">
  | 
in my facelet template. But it seems it's not all I should do.

Thanks,
jquery


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040620#4040620

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040620



More information about the jboss-user mailing list