Re: select box for attribute value
Christian Stocker <[email protected]> Tue, 26 Jul 2005 17:41:02 +0200
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
On 26.7.2005 17:35 Uhr, Ludovic Gasc wrote: > Le Mardi 26 Juillet 2005 14:48, vous avez =E9crit : >=20 >>On 26.7.2005 12:46 Uhr, Ludovic Gasc wrote: >> >>>With relax-ng, it's possible to have this : >>> <element name=3D"lieninterne"> >>> <text/> >>> <attribute name=3D"type"> >>> <choice> >>> <value>papier</value> >>> <value>glossaire</value> >>> </choice> >>> </attribute> >>> <attribute name=3D"id"> >>> <text/> >>> </attribute> >>> </element> >>> >>>When I add "lieninterne", bitflux ask for the type attribute. >>>It's possible to have a select box to choose the type instead of a tex= t >>>box ? >> >>It's a select box, if you choose "edit attributes", but not on first >>insertion. You can either define a default value for preventing of >>coming up of that alert in the first place, or live with it for the tim= e >>beeing. It's unfortunately a little bit complicated to make that a >>selectbox. >=20 >=20 > :-( > It's possible to add into context menu two elements with names "lien in= terne:=20 > papier" and "lien interne: glossaire" ? No. It's not. You can do your own menu elements, which may help in your case. See http://wiki.bitfluxeditor.org/BXE_2.0/RelaxNGEnhancement#Add_Menu_entry for details chregu >=20 >=20 >>chregu >=20 >=20 --=20 christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB --=20 bx-editor-dev mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev