Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

XForms Tutorial
Xforms Introduction
Binding the XForm Components
XForms Properties
Form Controls
Submitting Data to Xforms
XForms Summary

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


XForms Properties

Previous Next



The Model Item Properties

Model item property is somewhat unwieldy name an XForms gives to the XPath nodes that have an additional XForms properties. An XForms defines the number of such properties which, through the flexibility of a XPath, can be applied readily to the instance of the data.


The List of Properties

An XForms 1.0 defines these following useful properties:

A required
This property is when set to true() or 1, the signals that the attached instance of data should not be blank, and will prevent the submission until a condition is been met.

A relevant
This property of the controls whether an attached instance of data is relevant or not. Non-relevant items are not rendered usually (although this can also be fine-tuned with the stylesheets) and not even submitted.

A readonly
This property controls whether the attached instance data is a read-only, in which case it cannot be user-modified.

A calculate
This property bears the full XPath expression, which can include the mathematical operators and function of the calls, which is used to automatically provide the value to an attached instance of the data nodes. Multiple calculations can do interact, and like the spreadsheet, they do will recalculate a proper order for the dependencies to work out.

A constraint
This property bears the full XPath expression which should evaluate to true() in order for the attached instance data to be considered valid. Therefore, all constraints must be met before submission can succeed.

type
This property associates the datatype (taken from XML Schema) with the attached instance data nodes. Datatypes can be useful in refining the view into data, for example using a calendar control to enter a date.

p3ptype
This property do associates the datatype (taken from a P3P) with an attached instance of the data nodes. The P3P datatypes are useful for a privacy monitoring, namely the smart user agents that keep the track of what information they do give out. It can also serve as the flag for a client to pre-fill the certain allowed kinds of the information.

Keep in mind that the XPath expressions, no default namespace do apply, and thus the prefixes should be used liberally.


The XPath Expressions

All these properties, other than the type and p3ptype accept a full XPath expressions, which can contains more than a "location path" expressions the earlier lessons have used. Some examples are:

../price * ../quantity
string-length('hello world!')
total * instance('taxtable')/taxrate

Some of the commonly-used XPath features are backing up to the parent node (..), The addition (+), The subtraction (-), The multiplication (*), The division (div), string length counting the (string-length()), checking a string for another (contains()), calculating the sum of the several nodes (sum()), and referring to the data in a with the given ID (instance()).




Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords: xforms net, css properties, c# properties, javascript properties, xforms example, jsp properties post properties, xforms tutorial, action properties, textarea properties, onclick properties div properties, chiba xforms


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.