On 03/07/2011 05:46 PM, Hussein Shafie wrote:
Before customizing the attributes() panel, have you specified where and
how this panel is to be added? Example:
---
geov|buf::after,
geov|mainbuf:after,
geov|value:after {
display: block;
content: attributes();
}
---
Yes, we did exactly this; note that the attribute panel itself is
displayed as expected, simply only the attributes which actually have a
value are in there.
I mean, it's difficult to answer your questions because the snippet you
have included in your email is incomplete:
Yes, my apologies, I intended to make it short (but actually it's too short !)
Here is the beginning (the same excerpt):
geov|buf:before ,
geov|mainbuf:before ,
geov|value:before {
content: insert-after-button() " " label(xpath,"geov:nativeDescript/@name") "\A
" attributes() ;
}
*Below an additional detail which might help: *
The missing attributes are of type *integers* (they default to 1). Maybe
there is a problem during the creation of the default value editor (a
number-field) upon startup, when there is no value assigned ? if we
assign a value, then the number-field is displayed OK, we can check that
this is not possible to enter anything but an integer value in this.
I hope this helps, I can send you a bigger excerpt if the above is not
sufficient,
Many thanks.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support