Announcement Announcement Module
Collapse
No announcement yet.
Inherit from multiple views Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inherit from multiple views

    It is not possible to inherit from multiple views like this:
    Code:
    <view-state id=”myView” parent=”flow1#view1, flow2#view2”/>
    However, I had faced a situation 3 times when I needed to inherit from multiple views. I think this is quite common when a page need to support multiple aspects (for example, be a news board and show a list of new goods, like in my case). I had to build inheritance vertically, like this:
    Code:
    PARENT_VIEW1
    |
    |
    PARENT_VIEW 2
            |
            |
            CHILD_VIEW
    instead of
    Code:
    PARENT_VIEW1 PARENT_VIEW 2
            |          |
            |          |
            CHILD_VIEW
    Is there more elegant way to support multiple view inheritance in WebFlow, something like interfaces in JAVA?
    Last edited by denis_k; Aug 8th, 2010, 03:00 AM.
Working...
X