On 06/17/2011 12:12 PM, Philippe Nobili wrote:
> 
> In the dev. version of our XXE addon, we make use of the new
> attributeEditor() introduced in XXE 4.9.0. We noticed that it was not
> yet used by set-attribute-button.
> 
> Looking at XXE 4.9.1 release notes, we see that it should work now:
> (Excerpt):
> 
> "The set-attribute-button() pseudo-function which adds a specialized
> button to the content generated by a CSS stylesheet did not make use of
> the new attributeEditor configuration element introduced by XXE v4.9."

I confirm that this has been implemented.



> 
> So we made a quick test this morning; it does not seem to work for us,
> unless we missed something. Basically, have we declared customized
> attribute editors for XML attributes that are, internally, XML IDs, but
> for which you want our users not to bother with internal IDs. So, we let
> them select names which they know about (see the screenshots attached).
> 
> We see this:
> 
> + The attributeEditor() is correctly used form the XXE attribute edition
> panel (cf. *attribute_editor.jpg*)
> + The set-attribute-button() only pops-up a list of IDs to select, and
> does not use the intelligible names (cf. *attribute_button.jpg*)
> 

The screenshots you sent me show a set-attribute-button() working as
expected. Its dynamically created menu items are not supposed to display
any information beyond the bare IDs.

Rationale: in most cases, very wide menu items (i.e. containing both the
IDs and their descriptions) would make the menu unusable.

If you want to display both the IDs and the text snippets describing
these IDs, please use a command-button() invoking the putAttribute command.

References:

*
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/command-button.html

* http://www.xmlmind.com/xmleditor/_distrib/doc/commands/putAttribute.html



 
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to