From issues-return-10137-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Mon Jun 02 16:37:37 2008 Return-Path: Delivered-To: apmail-struts-issues-archive@locus.apache.org Received: (qmail 84235 invoked from network); 2 Jun 2008 16:37:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 16:37:37 -0000 Received: (qmail 22037 invoked by uid 500); 2 Jun 2008 16:37:38 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 21996 invoked by uid 500); 2 Jun 2008 16:37:38 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 21987 invoked by uid 99); 2 Jun 2008 16:37:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 09:37:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 16:36:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 500F7234C12D for ; Mon, 2 Jun 2008 09:37:05 -0700 (PDT) Message-ID: <1407279196.1212424625326.JavaMail.jira@brutus> Date: Mon, 2 Jun 2008 09:37:05 -0700 (PDT) From: "James Holmes (JIRA)" To: issues@struts.apache.org Subject: [jira] Closed: (WW-2662) action tag and sitemesh issue In-Reply-To: <471485661.1212100745290.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Holmes closed WW-2662. ---------------------------- Resolution: Not A Problem Closing per the original reporter. > action tag and sitemesh issue > ----------------------------- > > Key: WW-2662 > URL: https://issues.apache.org/struts/browse/WW-2662 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.1.2 > Environment: Mac OS X 10.5.2 > Reporter: James Humphrey > > When using the action taglib in a jsp decorated by sitemesh, the results of the action are not embedding correctly. > **example.jsp** > <%@ taglib prefix="s" uri="/struts-tags" %> > > > Example > > >

Content Before action result

> >

Content after action result

> > > *Bar action* > package action.foo; > /** > * Example action. > */ > public class Bar extends ActionSupport { > @Override > public String execute() throws Exception { > // stub for example purposes > } > } > **bar.jsp result** >

foobar

> **decorators.xml** > > > > /* > > > **main.jsp decorator*** > > <%@ taglib prefix="sm" uri="http://www.opensymphony.com/sitemesh/decorator" %> > > > > <sm:title/> > > > > > > > > > Expected output: > ... > >

Content Before action result

>

foobar

>

Content after action result

> > ... > Actual output: >

foobar

-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.