> From: Martin Cooper [mailto:[EMAIL PROTECTED]]

> By the way, a good reason to use the name "var" for the n/p/s 
> attribute is because that is what JSTL uses for the 
> equivalent functionality. Consistency is good! ;-)

Well, I'm not sure that it is the equivalent functionality.  From the
spec: "The convention is to use the name var for attributes that export
information." So it's more like the id attribute, but it doesn't create
a scripting variable.  There doesn't seem to be a standard attribute
name for the n/p/s equivalent...they just use a name appropriate to what
the action does.  So c:out uses "value", the conditional tags use
"test", iterators use "items".  It seems like "var" should only be used
when you're creating in attribute in the scope specified by "scope" and
that perhaps "value" should be used when simply reading a property
(e.g., the form field tags).

-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to