Re: Xforms weirdness

"Andrew Douglas" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
The problem here is that your instance data is inside the xforms namespace. 
if you change it to:
<Data xmlns="">
it'll reset it's namespace (don't know if that's the correct terminology 
:) ) and the xpath statement in your ref attribute will work like a charm.

About the file upload controls - all I can say is that the standard doesn't 
say how the control should look.. ideally the implementations will allow 
styling of the control to your heart's content.. though that's not quite the 
reality.. yet.

-Andrew

"Adam FLinton" <[email protected]> wrote in message 
news:[email protected]...
> Dear All,
>
> I have a simple form :
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <html xmlns="http://www.w3.org/1999/xhtml" 
> xmlns:xf="http://www.w3.org/2002/xforms" 
> xmlns:ev="http://www.w3.org/2001/xml-events">
>
> <head>
>
> <!-- <script type="text/javascript" 
> src="./FormFaces/formfaces.js"></script> -->
> <xf:model>
>
> <xf:instance>
> <Data>
> <CurrentFile>
> file://D:/Data/Blarrrrg
> </CurrentFile>
> <File/>
> <File/>
> </Data>
> </xf:instance>
> </xf:model>
>
> </head>
> <body>
>       <xf:output ref="/Data/CurrentFile">
>           <xf:label>Internal model Current file filename: </xf:label>
>        </xf:output>
>
> </body>
> </html>
>
>
> If I test with formcases then I get my output. If I test with firefox 1.5 
> beta 2 + the new xpi I get just the label printed out.
>
> Also is there any rhyme or reason to using upload as with Moz I get the 
> textbox & a browse button but with Novell & Formfaces I just get the 
> upload button. Does anyone anywhere keep a list of the Xform specs & which 
> parsers implement which parts?
>
> Adam
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.