[Hippo-cms7-user] Horizontal list in vertical list
nvankampenhout at yahoo.co.uk
Fri Dec 11 12:47:59 CET 2009
> I have a template that is using a vertical list layout. I am trying to
> position two fields in a horizontal list within the vertical list.
> So from:
> I want to go to:
> field2 field3
I figured out how to do this. I added a second ListViewPlugin, configured it
to be a "child" of the first ListViewPlugin, and configured the fields I
wanted to be in a row (field2 and field3 in the example) to be "children" of
the second ListViewPlugin.
Sounds easy enough but the hierarchy is not represented in the node tree.
It's a flat list, and the hierarchy is defined by the nodes' "item" and
Basically, a child plugin's wicket.id property must have the same value as
it's parent plugin's item property.
Once I figured this out, it was all very straightforward.
It would be nice to be able to add any plugin through the template editor,
and to be able to define the plugin hierarchy.
View this message in context: http://n2.nabble.com/Horizontal-list-in-vertical-list-tp4145409p4150793.html
Sent from the Document Types mailing list archive at Nabble.com.
More information about the Hippo-cms7-user