[jboss-user] [JBoss Seam] - Re: Question on Converter

hasc do-not-reply at jboss.com
Sun Apr 1 11:29:51 EDT 2007


right. this was from a try to bind the converter via a getter method like in the dvd example.

i also tried it with:

<h:inputText id="EffectiveArea" value="#{calculator.area}">
  |     <f:converter converterId="AreaConverter"/>
  | </h:inputText>

or...

<h:inputText id="EffectiveArea" value="#{calculator.area}" converter="AreaConverter"/>

in faces-config there's:
<converter>
  |     <converter-id>AreaConverter</converter-id>
  |     <converter-class>my.webapp.converter.AreaConverter</converter-class>
  | </converter>

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

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



More information about the jboss-user mailing list