Hi,
I use xform in eclipse(web application) at a jsp. my jsp is like this: <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xhtml:head> <xhtml:title>Test</xhtml:title> <xforms:model> <xforms:instance> <number> <guess/> <nom/> <prenom/> <adresse/> </number> </xforms:instance> <xforms:bind nodeset="guess" type="xforms:integer"/> <xforms:bind nodeset="nom" type="xforms:string"/> <xforms:bind nodeset="prenom" type="xforms:string"/> <xforms:bind nodeset="adresse" type="xforms:string"/> </xforms:model> </xhtml:head> <xhtml:body> <xhtml:h1>Identification</xhtml:h1> <xhtml:div> <xhtml:table> <xhtml:tr> <xhtml:td> <xhtml:label>Nom : </xhtml:label> </xhtml:td> <xhtml:td> <xforms:input ref="nom" class="guess1" incremental="true"> </xforms:input> </xhtml:td> </xhtml:tr> <xhtml:tr> <xhtml:td> <xhtml:label>Prénom : </xhtml:label> </xhtml:td> <xhtml:td> <xforms:input ref="prenom" class="guess1" incremental="true"> </xforms:input> </xhtml:td> </xhtml:tr> <xhtml:tr> <xhtml:td> <xhtml:label>Adresse : </xhtml:label> </xhtml:td> <xhtml:td> <xforms:input ref="adresse" class="guess1" incremental="true"> </xforms:input> </xhtml:td> </xhtml:tr> <xhtml:tr> <xhtml:td colspan="2" align="center"> <xforms:trigger> <xforms:label>Enregistrer</xforms:label> </xforms:trigger> </xhtml:td> </xhtml:tr> </xhtml:table> </xhtml:div> </xhtml:body> </xhtml:html> so i don't have the fields input if i run the page. xform is unknow of eclipse! Can anybody help me? -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
I am not sure how Eclipse runs the page. If it just runs the JSP
within a servlet container, and Orbeon Forms is not involved, there won't be any XForms processing. In order to see the fields, you need to run your file through Orbeon Forms. This means it must be deployed within Orbeon Forms, either with separate or integrated deployment as per this documentation: http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications -Erik On Mon, Aug 16, 2010 at 2:06 AM, <[hidden email]> wrote: > Hi, > > I use xform in eclipse(web application) at a jsp. my jsp is like this: > > <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > <xhtml:head> > <xhtml:title>Test</xhtml:title> > <xforms:model> > <xforms:instance> > <number> > <guess/> > <nom/> > <prenom/> > <adresse/> > </number> > </xforms:instance> > <xforms:bind nodeset="guess" type="xforms:integer"/> > <xforms:bind nodeset="nom" type="xforms:string"/> > <xforms:bind nodeset="prenom" type="xforms:string"/> > <xforms:bind nodeset="adresse" type="xforms:string"/> > </xforms:model> > > </xhtml:head> > <xhtml:body> > <xhtml:h1>Identification</xhtml:h1> > <xhtml:div> > <xhtml:table> > <xhtml:tr> > <xhtml:td> > <xhtml:label>Nom : </xhtml:label> > </xhtml:td> > <xhtml:td> > <xforms:input ref="nom" class="guess1" incremental="true"> > </xforms:input> > </xhtml:td> > </xhtml:tr> > <xhtml:tr> > <xhtml:td> > <xhtml:label>Prénom : </xhtml:label> > </xhtml:td> > <xhtml:td> > <xforms:input ref="prenom" class="guess1" incremental="true"> > </xforms:input> > </xhtml:td> > </xhtml:tr> > <xhtml:tr> > <xhtml:td> > <xhtml:label>Adresse : </xhtml:label> > </xhtml:td> > <xhtml:td> > <xforms:input ref="adresse" class="guess1" incremental="true"> > </xforms:input> > </xhtml:td> > </xhtml:tr> > <xhtml:tr> > <xhtml:td colspan="2" align="center"> > <xforms:trigger> > <xforms:label>Enregistrer</xforms:label> > </xforms:trigger> > </xhtml:td> > </xhtml:tr> > </xhtml:table> > </xhtml:div> > </xhtml:body> > </xhtml:html> > > so i don't have the fields input if i run the page. xform is unknow of > eclipse! > Can anybody help me? > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |