[
http://www.stripesframework.org/jira/browse/STS-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12550#comment-12550
]
J Hess commented on STS-834:
----------------------------
Has any more progress been made on this bug? I am having rendering problems
with my layout-component's.
My testing is with WebLogic 10.3.5 on Xubuntu (Linux 3.0.0-15-generic) using
Oracle JDK 1.6.0_29 and Stripes 1.5.6.
I have tried the following things:
-Using the page directive (<%@ page language="java" contentType="text/html;
charset=UTF-8" pageEncoding="UTF-8"%>) in my base layout-definition
-Using the page directive in each JSP with my layout-render tags
-Adding the jsp-descriptor encoding UTF-8 in the weblogic.xml
-Adding the jsp-config jsp-property-group url-pattern=*.jsp and
page-encoding=UTF-8 in the web.xml
Using the page directive in my base layout-definition partially works, but not
all of my layout-component's get rendered properly, the other items had no
effect.
I downloaded, built, and ran Timothy Stone's wls-stripes-bug-1.0-SNAPSHOT.war
on my server, and it did not appear to work as I expected. When I ran it this
is the browser page source of the "LayoutTest.action" page:
<stripes:layout-render name="/WEB-INF/view/layout.jsp" title="[WebLogic Test]">
<stripes:layout-component name="testing">
<p>Nice Component!</p>
</stripes:layout-component>
</stripes:layout-render>
I would not expect to see the stripes related tags as well as the page is
missing the enclosing layout-definition from the layout.jsp which includes the
html tag, body tag, and "Hello, nice body!" text.
I tried using the stripes-1.5.7-SNAPSHOT.jar from December 2, 2011, and all of
my Stripes TLD tags are rendered as text, I am unsure of why this happened. I
replaced my 1.5.6 jar with the 1.5.7 snapshot jar, and nothing else. All of the
testing I described above is using the 1.5.6 jar.
I had previously used Glassfish without any problems, but due to a hosting
change now must use Weblogic 10.3.5, any help would be greatly appreciated.
> CLONE - Stripes Layouts not working in Weblogic 10.3.3.0
> --------------------------------------------------------
>
> Key: STS-834
> URL: http://www.stripesframework.org/jira/browse/STS-834
> Project: Stripes
> Issue Type: Bug
> Components: Tag Library
> Affects Versions: Release 1.5.4, Release 1.5.5, Release 1.5.6
> Environment: Tested on Windows XP and RHEL.
> Oracle Weblogic 10.3.3.0.
> Tried from Stripes 1.5.3 to 1.5.6
> Reporter: Sander Theetaert
> Assignee: Timothy Stone
> Fix For: Release 1.5.4, Release 1.5.5, Release 1.5.6, Release
> 1.5.7
>
>
> Stripes layout capabilities are unable to render correctly a layout in Oracle
> Weblogic.
> A simple test case has been tested in Weblogic under Windows and RHEL, both
> in WL 10.3.3.0 version, and in Glassfish.
> It works perfectly in Glassfish, but won't work in WL. Seems that the problem
> is the call to pageContext.include, which Stripes makes, and doesn't result
> in the target JSP being included in the result.
> I'm attaching the test jsp files. When accessing test.jsp it prints "Hello"
> on the screen, but doesn't print the "Default text", neither the "I'm here!"
> strings.
> Both jsp are stored in the root of the WAR file being uploaded to the
> container.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development