[Xsltforms-support] Chrome:Input bound to 2nd model not rendering
Brought to you by:
alain-couthures
From: ihe o. <ihe...@go...> - 2012-05-22 09:05:04
|
There are 2 groups in this. The first group is rendering ok on Chrome. The input control in the 2nd group is not rendering at all although the 2nd fieldset is. I have added a dummy attribute in the namespace just in case. <?xml version="1.0"?> <?xml-stylesheet href="../xsltforms/xsltforms.xsl" type="text/xsl"?> <html xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:b2b="http://www.b2b.net/plants"> <head> <title>B2B.Net Plants System</title> <xf:model id="salesModel"> <xf:instance src="sales.xml"/> <xf:bind nodeset="/b2b:Sales/b2b:Client" id="salesClient" type="xsd:string"/> <xf:bind nodeset="/b2b:Sales/b2b:Date" id="salesDate" type="xsd:date"/> <xf:bind nodeset="/b2b:Sales/b2b:Botanical" id="salesBotanical" type="xsd:string"/> <xf:bind nodeset="/b2b:Sales/b2b:Quantity" id="salesQuantity" type="xsd:positiveInteger"/> <xf:bind nodeset="/b2b:Sales/b2b:UnitPrice" id="salesUnitPrice" type="xsd:decimal"/> <xf:bind nodeset="/b2b:Sales/b2b:DiscountRate" id="salesDiscountRate" type="xsd:decimal"/> <xf:bind nodeset="/b2b:Sales/b2b:Comments" id="salesComments" type="xsd:string"/> </xf:model> <xf:model id="clientModel"> <xf:instance src="clients.xml"/> <xf:bind nodeset="/b2b:Client/b2b:Name" id="clientName" type="xsd:string"/> <xf:bind nodeset="/b2b:Client/b2b:Address" id="clientAddress" type="xsd:string"/> <xf:bind nodeset="/b2b:Client/b2b:EmailAddress" id="clientEmailAddress" type="xsd:string"/> <xf:bind nodeset="/b2b:Client/b2b:Phone" id="clientPhone" type="xsd:string"/> <xf:bind nodeset="/b2b:Client/b2b:Comments" id="clientComments" type="xsd:string"/> </xf:model> </head> <body> <xf:trigger id="Plants" appearance="compact"> <xf:label>Plants</xf:label> </xf:trigger> <xf:trigger id="Stock" appearance="compact"> <xf:label>Stock</xf:label> </xf:trigger> <xf:trigger id="Clients" appearance="compact"> <xf:label>Clients</xf:label> </xf:trigger> <xf:trigger id="Sales" appearance="compact"> <xf:label>Sales</xf:label> </xf:trigger> <br/> <fieldset> <legend>Sales Details</legend> <xf:group ref="/b2b:Sales"> <xf:input bind="salesClient"> <xf:label>Client: </xf:label> </xf:input> <br/> <xf:input bind="salesDate"> <xf:label>Date: </xf:label> </xf:input> <br/> <xf:input bind="salesBotanical"> <xf:label>Botanical: </xf:label> </xf:input> <br/> <xf:input bind="salesQuantity"> <xf:label>Quantity: </xf:label> </xf:input> <br/> <xf:input bind="salesDiscountRate"> <xf:label>Discount Rate: </xf:label> </xf:input> <br/> <xf:input bind="salesUnitPrice"> <xf:label>Unit Price: </xf:label> </xf:input> <br/> <xf:input bind="salesComments"> <xf:label>Comments: </xf:label> </xf:input> <br/> </xf:group> </fieldset> <fieldset> <legend>Client Details</legend> <xf:group ref="/b2b:Client"> <xf:input bind="clientName"> <xf:label>Name: </xf:label> </xf:input> <br/> </xf:group> </fieldset> </body> </html> |