Bug 10734 - A documentation bug for import element
Summary: A documentation bug for import element
Status: RESOLVED INVALID
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: 1.0
Hardware: Other other
: P3 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-12 12:52 UTC by Kevin Jones
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Jones 2002-07-12 12:52:43 UTC
Not sure if this should be posted here. The documention for the import tag 
says that the type of varReader is string, the description says Reader.
Comment 1 Pierre Delisle 2002-07-12 17:22:40 UTC
The description for "varReader" says:
  Name of the exported scoped variable for the resource's content. 
  The type of the scoped variable is Reader.

There are therefore two things here: 
  1. The value of attribute varReader, which is a String
     representing the name of the exported scoped variable
  2. The type associated with the exported scoped variable,
     which is Reader.

So when the spec says:
  "It is also possible to make the content of the resource available 
   in two different ways: as a String object (attribute var), or as 
   a Reader object (attribute varReader)."

both var and varReader specify the names of exported scoped variables
(specified as strings), but the type of these exported variables 
are respectively String and Reader.
Comment 2 Joe Orton 2004-03-09 23:55:42 UTC
*** Bug 26088 has been marked as a duplicate of this bug. ***