You could ajax update the textarea after upload, with the content that
you want? If you do not want to set the model object then you will
have to fake raw input (reflection).

**
Martin

2009/9/16 Sam Zilverberg <samzilverb...@gmail.com>:
> In one of my wizard's steps I have a upload form and a textarea.
>
> The textarea is used to enter serial numbers(seperated by newline) and is
> connected to a object property of type Set<String> using a propertymodel.
> I've written a custom converter to turn the entered input to a Set<String>
> and from a Set<String> back to simple string.
>
> When pressing the wizard's next the input is validated and if valid the
> backing model will have Set<String> of serials.
>
> I want the upload form to be used to upload a file containing serial
> numbers.
> I would like that the content of the uploaded file will be placed into the
> textarea, so that when Next is pressed again it is validated.
>
> Is this possible?
> Can I put the file's content into the text area by pressing upload without
> ruining the property model the textarea uses?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to