looking at the source you posted, it looks like you're making it harder
on yourself than necessary.

Words like lang are commonly associated with java.lang in Java. maxRows
like wise is commonly used jdbc drivers, which introduces unnecessary
risk in the context of tags.  Does it work if you use the following?

language
maximumRows

if those work, why not use them?  afterall, it's more clear than just
lang or maxrows.

peter


Jim Cobban wrote:
> 
> ----- Original Message -----
> From: "peter lin" <[EMAIL PROTECTED]>
> Subject: Re: Please respond, I am at a roadblock, Tomcat cannot find setter
> method
> 
> > it would help to post actual examples,
> 
> I have already posted those examples in the posting "Unable to find setter
> method" which generated no response.  The problem is exactly as I have
> described it.  I just want to know what I have to do to convince Tomcat to
> accept those attribute names.
> 
> The tag appears in the JSP as:
> 
>  <census:subdivq lang="EN" maxRows="25">
> 
> If I change it to:
> 
>  <census:subdivq ling="EN" maxRoz="25">
> 
> (with corresponding changes to the names of the set methods and to the TLD)
> then it works.  But I do not reasonably feel that I can expect my users to
> understand the modified attribute names, and I do not understand why I
> should be forced to use meaningless attribute names in the absence of clear
> documentation that certain attribute names are reserved by the architecture.
> 
> I am frustrated because all I have received is confirmation that certain
> attribute names do not work and have to be replaced.  None of the threads in
> the archives which discuss this particular error message ever seemed to get
> to a resolution.  I do not understand why this behavior by Tomcat is
> tolerated.
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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

Reply via email to