public void setOperatore(final Operatore operatore) { setValore("foo"); this.operatore = operatore; }I guess React is javascript based instead of java, that is a big architectural difference I guess.
To unsubscribe from this group and stop receiving emails from it, send an email to invesdwin-platform+unsub...@googlegroups.com.
Each implementation needs its own panel+html. The abstract class can only contain parent html that is included in the child as normal with wicket components.
The idea with the constructor/factory is the following:
Regarding your idea of using abstract classes, the following link provides documentation about how to use wicket:extend and wicket:child properly: https://wicket.apache.org/learn/examples/markupinheritance.html
Since both approaches work and you want a specific one, you can create a sample project that demonstrates what you are doing exactly, then I could create a pull request for what needs to be done to actually make it work.
What do you mean by static validation? You mean bean validation of the model?
Regarding this way please make clear in documentation that static validation is not applied if a field is hidden.--
Il giorno mercoledì 27 dicembre 2017 21:47:43 UTC+1, Edwin Stang ha scritto:Hi Mario,
yes you can do that. The simplest idea is to define a panel that contains all the widgets you want to have support for. Then make them visible/invisible depending on the data being displayed. You could even do this with a NoWicket model that handles the logic and different constructors or factories that instantiate the model according to the data to be displayed. Though if you want it to be a bit more dynamic, you could replace the component for displaying during runtime inside a plain Wicket panel (non NoWicket, only the components themselves can be NoWicket generated, though the holding panel should rather be a plain Wicket one). The replacement can be done via a Wicket Behavior. For our cases we were normally fine with the first, simple idea since we had a finite amount of possible components to switch between. In your case it seems this could be applied here too. If you have further questions on how to actually do this, feel free to ask. I could even create a sample for this use-case if neccessary.
Best regards,
Edwin
Am Mittwoch, 27. Dezember 2017 12:30:49 UTC+1 schrieb Mario Giammarco:Hello,I have this use case: a select widget called "filter by" and a widget that can be a text input or date input or numeric input depending on choice made on select widget.Is it possible to do with Nowicket?Thanks,Mario
You received this message because you are subscribed to the Google Groups "invesdwin-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to invesdwin-platform+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to invesdwin-platform+unsubscribe@googlegroups.com.
To post to this group, send email to invesdwin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/invesdwin-platform/771508ba-53eb-45cc-bf92-101abcc7c4be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "invesdwin-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to invesdwin-platform+unsub...@googlegroups.com.
To post to this group, send email to invesdwin-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/invesdwin-platform/945343b2-77ab-4c56-b3ec-5a56dd5ba71a%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "invesdwin-platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/invesdwin-platform/ZxofMHbOJTI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to invesdwin-platform+unsub...@googlegroups.com.
To post to this group, send email to invesdwin-platform@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to invesdwin-platform+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/invesdwin-platform/945343b2-77ab-4c56-b3ec-5a56dd5ba71a%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "invesdwin-platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/invesdwin-platform/ZxofMHbOJTI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to invesdwin-platform+unsub...@googlegroups.com.
To post to this group, send email to invesdwin-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/invesdwin-platform/b9716ddf-2066-4251-91b7-b40e065e0846%40googlegroups.com.
| --------------- private boolean scanContainer(final IBeanPathElement parentElement, final C container) { |
| if (container.getType().isAbstract()) { |
| return false; |
To unsubscribe from this group and all its topics, send an email to invesdwin-platform+unsub...@googlegroups.com.
To post to this group, send email to invesdwin-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/invesdwin-platform/945343b2-77ab-4c56-b3ec-5a56dd5ba71a%40googlegroups.com.
To post to this group, send email to invesdwin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/invesdwin-platform/945343b2-77ab-4c56-b3ec-5a56dd5ba71a%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "invesdwin-platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/invesdwin-platform/ZxofMHbOJTI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to invesdwin-platform+unsub...@googlegroups.com.
To post to this group, send email to invesdwin...@googlegroups.com.