You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/17 22:55:59 UTC

DO NOT REPLY [Bug 16224] New: - Unable to use page scope in action

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16224>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16224

Unable to use page scope in <jsp:Body>  action

           Summary: Unable to use page scope in <jsp:Body>  action
           Product: Tomcat 5
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kevinj@develop.com


I have a tag that looks like this

<%@ attribute name='author' %>
<%@ attribute name='title' %>

    <author>${author}</author>
    <title>${title}</title>
    <jsp:doBody var="desc"/>

and a page like this

<%@ taglib prefix="b" tagdir="/WEB-INF/tags" %>

<book>
<b:BookENFTagWithVar author="Yossarian" title="Surviving Pianosa">
    The book that Joseph Heller wished was never written. A riveting story of
    Yossarian's escape from Pianosa.
</b:BookENFTagWithVar>
<description>${desc}</description>
</book>

when executed the ${desc} variable isn't found. If I change the tag to

    <jsp:doBody var="desc" scope="page"/>

still no luck. However

    <jsp:doBody var="desc" scope="request"/>

works as does application and session

Kevin Jones
Developmentor

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>