myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjørn T Johansen <...@havleik.no>
Subject Problem with f:convertNumber?
Date Sat, 01 Apr 2006 15:35:54 GMT
I have the following in my jsp page..:

<h:inputText id="fortrykk_avtalt" value="#{fortrykk.avtalt}" size="8" maxlength="3">
                <f:convertNumber type="number" maxIntegerDigits="3" maxFractionDigits="0"
groupingUsed="false"/> 
</h:inputText>

And the text field contains a valid Integer value, like 18 but I still get the following exception
when I
post the page..:

java.lang.IllegalArgumentException: argument type mismatch


What am I missing?


Regards,

BTJ

-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj@havleik.no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

Mime
View raw message