Re: Conditional input types

2014-05-20 Thread Simon B
then you could you achieve your goal very quickly. As I understand your post, Wicket doesn't work in the way that would allow you to achieve your goal with the strategy that you've chosen. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types

Re: Conditional input types

2014-05-20 Thread Ernesto Reinaldo Barreiro
to use wicket in a way it is not intended to be used. As I understand your post, Wicket doesn't work in the way that would allow you to achieve your goal with the strategy that you've chosen. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input

Re: Conditional input types

2014-05-20 Thread Martin Grigorov
that you've chosen. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types-tp4665924p4665955.html Sent from the Users forum mailing list archive at Nabble.com

Re: Conditional input types

2014-05-20 Thread Simon B
Ernesto, Martin, Just to clarify a bit. I didn't say that you couldn't do it with wicket. Simply that david.latan's strategy - I couldn't manage to use AttributeModifier in order to assign a CheckBox to the input. http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types

Re: Conditional input types

2014-05-20 Thread david.latan
differents fragments. So thank you, this thread is pretty mush closed, others solutions should be usable too, but fragments seems the way to go. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types-tp4665924p4665961.html Sent from the Users forum mailing

Conditional input types

2014-05-19 Thread Valentin Robert
Hi i 'm new with wicket and after searching a solution to my problem, i couldn't find any solution Here is what i want to do. I would like to build a form where the input type can be textfields, checkboxes, dropdown, ... i've seen that some solutions would be to create a new conponent, or to

Re: Conditional input types

2014-05-19 Thread Martin Grigorov
Hi, This is a perfect use case for org.apache.wicket.markup.html.panel.Fragment. Martin Grigorov Wicket Training and Consulting On Mon, May 19, 2014 at 11:49 AM, Valentin Robert valentin.rob...@gmx.comwrote: Hi i 'm new with wicket and after searching a solution to my problem, i couldn't

Re: Conditional input types

2014-05-19 Thread Ernesto Reinaldo Barreiro
Hi, I would do something like 1- interface IFieldFactory { boolean canHandle(VariableObject variable); Panel createComponenPanel(String id, VariableObject variable); } 2- FiledFactoryLocator having a collection of field factories. 3- On your listview for(IFieldFactory factory:

Re: Conditional input types

2014-05-19 Thread Simon B
in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types-tp4665924p4665928.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Conditional input types

2014-05-19 Thread david.latan
well the book seems great, unfortunatly google doesn't share the pages that are usefull, and the book isn't available as an e-book. I can't wait too long, so sadly this doesn't help me too much. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types

Re: Conditional input types

2014-05-19 Thread Martin Grigorov
that are usefull, and the book isn't available as an e-book. I can't wait too long, so sadly this doesn't help me too much. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types-tp4665924p4665935.html Sent from the Users forum mailing list archive

Re: Conditional input types

2014-05-19 Thread Simon B
be well worth your time buying it. Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types-tp4665924p4665937.html Sent from the Users forum mailing list archive at Nabble.com

Re: Conditional input types

2014-05-19 Thread david.latan
this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types-tp4665924p4665938.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Conditional input types

2014-05-19 Thread David Beer
, and the book isn't available as an e-book. I can't wait too long, so sadly this doesn't help me too much. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-input-types-tp4665924p4665935.html Sent from the Users forum mailing list archive at Nabble.com