Home › Forums › General XMetaL Discussion › can we create checkbox in xmetal › Reply To: can we create checkbox in xmetal
Reply to: can we create checkbox in xmetal
August 28, 2012 at 10:51 pmSorry, just realized that you don't have any way to build a selector that will differentiate between the two different elements since it is their content (PCDATA) that differentiates them and not attributes. There is no way to do that in CSS.
In this case XFT is probably the easiest way to give the user the UI they want. However, instead of using modal XFT dialog you could display it embedded. Be careful that your documents won't embed too many though as doing so can slow editing and rendering down (depending on what the XFT contains and how many there are).
One alternative I would consider the better option would be to use the SetRenderedContent() API. See the Journalist demo which uses this API for the
In that demo, if