Hi!
This is my first message to the MMBase developers
mailinglist, so I hope I'm not breaking rules already by asking several
questions with regard to several issues I'm having while developing in MMBase. I
hope this is the place to ask them, since I haven't found any answers on
mmbase.org, in the documentation or in the mail archive. It's too bad both areas
aren't really practically searchable for keywords of specific information, but I
hope someone found a smarter way than just Ctrl-F in IExplorer :D
My most important questions:
- Editwizards
- Is it possible to have an editwizard generate
a radiobutton of a checkbox? If so, can anybody point me to an
example?
- Is it possible to generate an optionlist
dynamically? The examples I've seen only display a static list hardcoded in
the .xml file directly. I need to display e.g. een few related items in the
list.
- Is it possible to set the 3 dropdown-boxes of
an eventtime/date field a x days/weeks in the future or in the
past? Or prevent it from setting the current date by default a.k.a. making
it optional/leaving it empty
- Datasource/population
- In a population .xml file I would like to
place some html-text between constructions such as
<strong></strong> etc. but parts between tags seem to be skipped
after insertion. Do I have to use a special attribute such as "escape=p" or
something (I found somewhere in the documentation, but somehow only when
used in conjunction with the <mm:write>
tag?)
E.g.
<name>
John </name>
<height> He's a
very <strong>tall man</strong> </height>
In this
case "tall man" is being skipped and I want to prevent that from
happening.
- Relations
- The documentation says that a meximum number
of relations ('max' field in typerel) is not yet implemented in MMBase. Does
that mean the only way to implement an 1-to-1 relation is to use
"maxoccurency='1'" in the editwizard in the relevant field of which I
want only to allow one item?
Could someone help me out with these questions?
I'm hope I'm in the good place to ask them.
Kind regards, Met vriendelijke groet, Ted Vinke
|