[forge-dev] Some questions on wizard steps
Ivan St. Ivanov
ivan.st.ivanov at gmail.com
Sat Jul 4 10:46:40 EDT 2015
Thanks a lot, George!
I guess that if I make the List parameter an enum, it will appear as combo
box(es) in the GUI?
And to add to this question. Is it possible to define a combo box, where
the user can both choose one of the options as well as add one by herself?
On Jul 4, 2015 17:37, "George Gastaldi" <ggastald at redhat.com> wrote:
> Hey Ivan,
>
> 1) Finish is automatically enabled when the next steps are valid (do not
> require any input from the user) or is null.
>
> 2) Use a UIInputMany<String> and make it required.
>
> Best Regards,
>
> George Gastaldi
>
>
> -------- Mensagem original --------
> De: "Ivan St. Ivanov" <ivan.st.ivanov at gmail.com>
> Data: 03/07/2015 17:46 (GMT-03:00)
> Para: forge-dev List <forge-dev at lists.jboss.org>
> Assunto: [forge-dev] Some questions on wizard steps
>
>
> Hey everybody,
>
> It's me again, using a new thread for the sake of keeping stuff separated
> :)
>
> My next questions concern defining wizard steps. There we go:
>
> 1) Suppose I define a wizard. But already at the first window the user can
> say "I am done". And can press the Finish button. How can I specify in a
> wizard step that the Finish button is clickable. From the docs I got it is
> just by returning null from the next() method. But I want to have both the
> opportunity to go to the next step or finish everything immediately. So
> both Next and Finish buttons have to be enabled
>
> 2) That's a more tricky question. In a command window I want to give the
> opportunity to the user to define one or more security roles. Pay attention
> to the 'one or more' requirement: the user should be able to enter in one,
> two, three, four or *n* text fields the name of the role they want to add
> to the security constraint. How can I implement that?
>
> Thanks,
> Ivan
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20150704/3588a9b5/attachment-0001.html
More information about the forge-dev
mailing list