MMBase

Multilevel optionlists do not work or are not documented

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.8.4
  • Fix Version/s: 2.0.0
  • Component/s: Editwizards
  • Description:
    Hide
    According to the editwizard documentation something like the following should work:

    <lists>
    <optionlist name="newslist"
    optioncontent="field[@name='news.title']"
    >
    <query xpath="/*@mags/posrel/news" where="mags.number = 56" />
    </optionlist>
    </lists>

    Only the query on all news nodes results in an optionlist in the wizards, for example:

    <lists>
    <optionlist name="newslist"
    optioncontent="field[@name='news.title']"
    >
    <query xpath="/*@news" />
    </optionlist>
    </lists>
    Show
    According to the editwizard documentation something like the following should work: <lists> <optionlist name="newslist" optioncontent="field[@name='news.title']" > <query xpath="/*@mags/posrel/news" where="mags.number = 56" /> </optionlist> </lists> Only the query on all news nodes results in an optionlist in the wizards, for example: <lists> <optionlist name="newslist" optioncontent="field[@name='news.title']" > <query xpath="/*@news" /> </optionlist> </lists>

Activity

People

Dates

  • Created:
    2007-06-18 14:44
    Updated:
    2009-07-31 16:23