Re: XTF Visual with child XTF elements

Aaron Reed <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Robert Marcano wrote:
> 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
> 

Brian Ryner is the person to ask as he is coordinating the XForms UI 
control work.  I agree that it should probably treated as a property of 
the containing control IF IT IS CONTAINED IN A CONTROL.  However, most 
other XForms processors also treat label kinda like xforms:output and 
will display them even if they aren't contained inside a control 
element.  So there will have to be some visual aspect to it.

Please keep us posted with the results of your discussions with Brian.

Thanks,
--Aaron
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.