goahead and change it anyway you like.
I am also not an english speaker so the exact wording is not in now anyway....


On 3/31/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
I came accross the following error message in PropertyResolver.

throw new WicketRuntimeException("Can parse " + exp
    + " as an index or look it up as a method for the list " + clz);

Based on the code before I assume if must something like "Can not
parse...". Even then, may be due to my english it would not be clear
enough. May I suggest something like: "The _expression_ " + exp + "
contains neither an index nor does is refer to a method for the list "
+ clz.

Juergen

if (List.class.isAssignableFrom(clz))
{
        try
        {
                int index = Integer.parseInt (exp);
                getAndSetter = new ListGetSet(index);
        }
        catch (NumberFormatException ex)
        {
                // can't parse the exp als a index maybe the exp was a
                // method.
                method = findMethod(clz, exp);
                if (method != null)
                {
                        getAndSetter = new MethodGetAndSet(method);
                }
                else
                {
                        throw new WicketRuntimeException("Can parse '" + exp
                                + "' as an index or look it up as a method for the list " + clz);
                                                }


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to