Yes, you can call UIInputMany.setValues or setDefaultValues in the
initializeUI method. I'll have a look at the UI behavior
On Tue, Aug 18, 2015 at 3:30 PM, Rafael Pestano <rmpestano(a)gmail.com> wrote:
I'm using forge 2.17.0
2015-08-18 15:29 GMT-03:00 Rafael Pestano <rmpestano(a)gmail.com>:
> Another question, can I feed/initialize the UIInputMany with values on
> initializeUI method?
>
> 2015-08-18 15:24 GMT-03:00 Rafael Pestano <rmpestano(a)gmail.com>:
>
>> Hi George,
>>
>> I'm on Intellij
>>
>> 2015-08-18 15:07 GMT-03:00 George Gastaldi <ggastald(a)redhat.com>:
>>
>>> Yes, that's how it should work. What UI are you using? Eclipse?
>>>
>>> On Tue, Aug 18, 2015 at 3:00 PM, Rafael Pestano <rmpestano(a)gmail.com>
>>> wrote:
>>>
>>>> Hi guys,
>>>>
>>>> there is a way to select multiple files *at once *using UIInputMany?
>>>>
>>>> Here the way way i'm using it:
>>>>
>>>> @Inject
>>>> @WithAttributes(label = "Select Files")
>>>> private UIInputMany<FileResource<?>> files;
>>>>
>>>>
>>>> it promps the filesystem wizard to pick files but i can only select a
>>>> single file at a time.
>>>>
>>>> --
>>>> <
http://www.advancedit.com.br/>Att,
>>>>
>>>> Rafael M. Pestano
>>>>
>>>> Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
>>>>
http://rpestano.wordpress.com/
>>>> @realpestano <
https://twitter.com/realpestano>
>>>>
>>>> _______________________________________________
>>>> forge-dev mailing list
>>>> forge-dev(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>
>>>
>>>
>>> --
>>> *George Gastaldi | Senior Software Engineer*
>>>
>>> JBoss Forge Team
>>> T: +55 11 3524-6169
>>> M: +55 47 9711-1000
>>>
>>> _______________________________________________
>>> forge-dev mailing list
>>> forge-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/forge-dev
>>>
>>
>>
>>
>> --
>> <
http://www.advancedit.com.br/>Att,
>>
>> Rafael M. Pestano
>>
>> Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
>>
http://rpestano.wordpress.com/
>> @realpestano <
https://twitter.com/realpestano>
>>
>
>
>
> --
> <
http://www.advancedit.com.br/>Att,
>
> Rafael M. Pestano
>
> Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
>
http://rpestano.wordpress.com/
> @realpestano <
https://twitter.com/realpestano>
>
--
<
http://www.advancedit.com.br/>Att,
Rafael M. Pestano
Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
http://rpestano.wordpress.com/
@realpestano <
https://twitter.com/realpestano>
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
--
*George Gastaldi | Senior Software Engineer*
JBoss Forge Team
T: +55 11 3524-6169
M: +55 47 9711-1000