from the javadoc of FormComponent
* <p>
* If this component is required and that fails, the error key that is
used is the "Required"; if
* the type conversion fails, it will use the key "IConverter" if the
conversion failed in a
* converter, or "ConversionError" if type was explicitly specified
via {...@link #setType(Class)} or a
* {...@link IPropertyReflectionAwareModel} was used. Notice that both
"IConverter" and
* "ConversionError" have a more specific variant of "key.classname"
where classname is the type
* that we failed to convert to. Classname is not full qualified, so
only the actual name of the
* class is used.
:)
-igor
On Fri, Sep 17, 2010 at 5:42 PM, James Carman
<[email protected]> wrote:
> Isn't this stuff documented somewhere? This has always been one of
> those areas of Wicket where I feel completely lost every time I have
> to do some customization. Cemal does Wicket training and he didn't
> know this stuff! I don't mind helping put together a wiki, but I
> don't understand it enough to know where to begin. :)
>
>
>
> On Fri, Sep 17, 2010 at 8:19 PM, Igor Vaynberg <[email protected]>
> wrote:
>> IConverter.BigDecimal=....
>>
>> -igor
>>
>> On Fri, Sep 17, 2010 at 3:03 PM, Cemal Bayramoglu
>> <[email protected]> wrote:
>>> See
>>> IConverter='${input}' is not a valid ${type}.
>>> in Application.properties in the Wicket jar (in /org/apache/wicket).
>>> Make a similar properties file for your own application, and in the
>>> same package as your application class with your own IConverter
>>> property.
>>>
>>> Regards - Cemal
>>> jWeekend
>>> Training, Consulting, Development
>>> http://jWeekend.com
>>>
>>>
>>> On 17 September 2010 22:21, fachhoch <[email protected]> wrote:
>>>>
>>>> input text of type bigdecimal validates user entered value to check if
>>>> it is bigdecimal and it gives error message 'xxx' is not a valid
>>>> bigddecimal, can I customize this message
>>>>
>>>> --
>>>> View this message in context:
>>>> http://apache-wicket.1842946.n4.nabble.com/bigdecimal-validation-tp2544469p2544469.html
>>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]