Custom model for lists

View: New views
2 Messages — Rating Filter:   Alert me  

Custom model for lists

by Steffen Dienst-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I need a model to represent a list of integers. I'd like to represent this list as a comma separated string in a text
field. Is there any model I can use as a foundation? Where can I learn about implementing this (converting list to comma
separated string and back)?

Thanks in advance,

Steffen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Custom model for lists

by svenmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Steffen,

use an IConverter on your textfield.

Sven

Steffen Dienst wrote:

> Hi,
>
> I need a model to represent a list of integers. I'd like to represent
> this list as a comma separated string in a text field. Is there any
> model I can use as a foundation? Where can I learn about implementing
> this (converting list to comma separated string and back)?
>
> Thanks in advance,
>
> Steffen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...