Completely Dynamic Tabs

9 views
Skip to first unread message

Mario Giammarco

unread,
Mar 18, 2018, 12:33:05 PM3/18/18
to invesdwin-platform
Hi again,
I see that tabs are created from properties on a model.
I need tabs created dynamically from a list.
Have you some good ideas on how to do it with NoWicket?
Thanks again,
Mario

Edwin Stang

unread,
Mar 18, 2018, 2:50:43 PM3/18/18
to invesdwin-platform
See http://invesdwin.de/nowicket/tagtransformations at "10.4) Tables & Panels" down at "As Tabbed". There you see an interceptor being used creates a "ModelTabbedPanel" as a replacement for the default table component.

With this you can even use completely different models/panels for each tab. Similar to the <ul> transformation we used previously for the example at: http://invesdwin.de/nowicket/dynamiceditorfields

Mario Giammarco

unread,
Mar 18, 2018, 3:44:25 PM3/18/18
to invesdwin-platform
I have seen the example before writing, it seemed to me it does the opposite of what I need. I will look again to it following your suggestion.

sub es

unread,
Mar 18, 2018, 3:50:32 PM3/18/18
to Mario Giammarco, invesdwin-platform
maybe you are mistaking it with the example below that one I wrote about. The below one actually uses properties that are less flexible than the list interceptor solution above.

--
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-platf...@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/48b8f502-9929-4a03-9413-8ab83ce86207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages