You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by James Watkin <ja...@anderson.ucla.edu> on 2003/12/09 02:01:45 UTC

Bug in 2nd Form for Default Value?

In JSTL 1.0 when I try the 2nd form for specifying a default value in a 
<c:out> tag (as described on page 46 of JSTL in Action):

<td><c:out value="${someVariable}">someDefaultValue</c:out></td>

I get weird results. The default value appears in all of the <td>s, not 
just the one I've specified. Is this a known bug, or am I using the tag 
incorrectly?

- Jim

______________________________
James Watkin
ACIS Software Development
The Anderson School at UCLA
james.watkin@anderson.ucla.edu
Voice: 1-310-825-5030
   Fax: 1-310-825-4835
______________________________ 


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: Bug in 2nd Form for Default Value?

Posted by James Watkin <ja...@anderson.ucla.edu>.
I should have written, "The default value appears in all of the subsequent 
<td>s too, ..."

- Jim

At 05:01 PM 12/8/2003 -0800, you wrote:
>In JSTL 1.0 when I try the 2nd form for specifying a default value in a 
><c:out> tag (as described on page 46 of JSTL in Action):
>
><td><c:out value="${someVariable}">someDefaultValue</c:out></td>
>
>I get weird results. The default value appears in all of the <td>s, not 
>just the one I've specified. Is this a known bug, or am I using the tag 
>incorrectly?
>
>- Jim
>
>______________________________
>James Watkin
>ACIS Software Development
>The Anderson School at UCLA
>james.watkin@anderson.ucla.edu
>Voice: 1-310-825-5030
>   Fax: 1-310-825-4835
>______________________________
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>

______________________________
James Watkin
ACIS Software Development
The Anderson School at UCLA
james.watkin@anderson.ucla.edu
Voice: 1-310-825-5030
   Fax: 1-310-825-4835
______________________________ 


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org