|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
| BasicEditor | This is an example implementation of the EditTag. |
| Editor | You should extend this class to implement your own EditTag. |
| EditTag | The EditTag collects the nodenrs, fields and queries of the FieldTags in its body. |
| YAMMEditor | This is an example implementation of the EditTag. |
This is the package were the EditTag lives. You can create an editor with it.
The EditTag collects information from the node fields it finds in its body. The yammeditor is an example jsp editor that makes use of the EditTag.
<mm:edit type="yammeditor">
<mm:param name="url" value="/yammeditor/yammeditor.jsp" />
<mm:param name="icon">/mmbase/edit/my_editors/img/mmbase-edit.gif</mm:param>
<mm:node number="default.mags" notfound="skip">
<h2><mm:field name="title" /></h2>
<mm:related path="posrel,news"
fields="news.number,news.title,posrel.pos" orderby="posrel.pos">
<mm:node element="news">
<strong><mm:field name="title" /></strong><br />
<mm:related path="people"
fields="people.email">
by <mm:field name="people.email" /><br />
</mm:related>
</mm:node>
</mm:related>
</mm:node>
</mm:edit>
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||