Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 28378 invoked from network); 26 Apr 2006 03:30:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Apr 2006 03:30:10 -0000 Received: (qmail 95144 invoked by uid 500); 26 Apr 2006 03:30:07 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 95100 invoked by uid 500); 26 Apr 2006 03:30:06 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 95089 invoked by uid 99); 26 Apr 2006 03:30:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 20:30:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 20:30:06 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 25E70714296 for ; Wed, 26 Apr 2006 03:29:45 +0000 (GMT) Message-ID: <23381487.1146022185152.JavaMail.root@brutus> Date: Wed, 26 Apr 2006 03:29:45 +0000 (GMT+00:00) From: "David Evans (JIRA)" To: dev@struts.apache.org Subject: [jira] Closed: (STR-1530) Error with nesting tags in separate pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/struts/browse/STR-1530?page=all ] David Evans closed STR-1530: ---------------------------- Resolution: Incomplete > Error with nesting tags in separate pages > ----------------------------------------- > > Key: STR-1530 > URL: http://issues.apache.org/struts/browse/STR-1530 > Project: Struts Action 1 > Type: Bug > Components: Taglibs > Versions: 1.1 Final > Environment: Operating System: other > Platform: PC > Reporter: Deniss Parhomenkoo > Priority: Minor > > Struts RC2 & Struts Nightly Build(jakarta-struts-20030605) > When I create a simple application, which use nested tags in 2 pages, struts > can lose NestedReference object. > For example if I have 2 JSP : > test.jsp > <%@ page language="java" %> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" % > > > > > > > >
> >
>
> >
> test1.jsp > <%@ page language="java" %> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" % > > > > > > > > > > > > > > > > > > > > > > > >
First Name
Last Name
Phones > >
>
>
Date
Agree
> When Server start processing second jsp file, I recive "[ServletException > in:test1.jsp] Cannot find bean in any scope'" > if I change NestedReference.java with the following code everything work fine > public String getNestedProperty() { > //added line > if (this.property == null) this.property ="."; > return this.property; > } > Probably error are in the folowing code (NestedIterateTag) > doStartTag() > originalNesting = NestedPropertyHelper.getCurrentProperty(request); > if we are in test2.jsp we can't find parent nested form and nested property > is 'null' > doEndTag() > if (originalNesting == null) { > NestedPropertyHelper.deleteReference(request); > } else { > the similar situatin with nested:root, nested:form tags. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org