thought about it
it is this line:
word.asString(true)

that true is always fixed and it stands for hideUnGuessed
I think we should just add a method to the Word class:

word.asStringHideUnGuessed() (or something like that)

then the _expression_ should be that one.

johan


On 11/4/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
hmmm
If we are going to support this then we are entering a slippery road.
Just being able to call a method with arguments (that i also have to parse to the right type)

So the question do we want to support this or not?

I now throw only a wicketruntimeexception but i can make a subclass and throw that one if that makes things more clear.
no problem.

johan



On 11/3/05, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:
Johan,

the hangman example fails with

wicket.WicketRuntimeException: no get method defined for class: class
wicket.examples.hangman.Word _expression_: asString(true)

RFE: does it make sense to use something like WicketOgnlException
instead of WicketRuntimeException?

Juergen


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop


Reply via email to