Bernd Kuemmerlen wrote:
> 
> more questions coming regarding the new exciting features :-)
> 
> While experimenting with the new inline-editing stuff, we came upon one
> thing which would be very nice to have: For <xref> and <link> elements
> it would be a great feature if there was a popup-menu next to them which
> provided a list of all already defined id's (i.e. like the "List of
> values..." (I dom't know if this is the right name, in german it is
> "Liste von Werten..." in the Attributes editor.
> 
> Is there currently a way to achieve this (with custom commands etc), or
> would there be a way to provide this (a list of id's seems to be kept
> anyway)

The most generic way to do this is to enhance the dialog box displayed
by the putAttribute and addAttribute commands (when no attribute value
is specified) by adding two new buttons: a "List of values..." one and a
"Browse files..." one which behave exactly like those of the attribute
editor.

This is slightly less convenient than having a popup menu displaying IDs
but is more generic and also more consistent with the rest of the GUI.

Reply via email to