XTF Visual with child XTF elements

Robert Marcano <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
In the process to practice what I have learned about XTF (and the
Mozilla way to do many things :-P ) I got to a situation in which i am
not sure which route to take.

My XForms submit implementation is using an HTML button as it visual
representation, as a first attempt the text inside the button is added
by retrieving the content of the xf:label element from the wrapper
documentFrameElement property. I do not think this is an ideal solution.

I was thinking on implementing xf:label as a non visual element that is
able to manipulate the parent content, in this case a xf:submit button
using an interface with a method like "SetLabel". It is the correct way?

TIA

-- 
Robert Marcano
________________________________________
Robert Marcano

web: http://www.marcanoonline.com/
blog: http://www.marcanoonline.com/plog/
________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.