Re: Not allowed to have whitespace in value

2008-01-26 Thread Mathias P.W Nilsson

This solved my problem. 
-- 
View this message in context: 
http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15114402.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Not allowed to have whitespace in value

2008-01-26 Thread Eelco Hillenius
On Jan 26, 2008 5:21 AM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote:
>
> If I put in the html character of whitespace  " " it will type the value
> out!

You have to tell Wicket not to escape the output of your drop down
list, which you do by calling setEscapeModelStrings(false) on it.

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Not allowed to have whitespace in value

2008-01-26 Thread Mathias P.W Nilsson

If I put in the html character of whitespace  " " it will type the value
out!
-- 
View this message in context: 
http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15107854.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Not allowed to have whitespace in value

2008-01-26 Thread James Carman
Have you tried using  ?  That's just the nature of HTML (and XML).  The
surrounding whitespace is ignored.

On 1/26/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote:
>
>
> Hi!
>
> I'm not allowed to have WhiteSpace in the value of a DropDownList. How
> come?
> If I implement the IChoiceRenderer and implement the method
> getDisplayValue
> and return "  " it is trimmed!
> I would like to be able to indent child in the drop downlist. How is this
> possible?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15107381.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Not allowed to have whitespace in value

2008-01-26 Thread Mathias P.W Nilsson

Hi!

I'm not allowed to have WhiteSpace in the value of a DropDownList. How come?
If I implement the IChoiceRenderer and implement the method getDisplayValue
and return "  " it is trimmed! 
I would like to be able to indent child in the drop downlist. How is this
possible?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15107381.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]