[JBoss JIRA] Created: (JBPORTAL-2339) Fails to pass parameters between jsp´s
by Nilson Parra (JIRA)
Fails to pass parameters between jsp´s
--------------------------------------
Key: JBPORTAL-2339
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2339
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Windows Vista Oracle 10g Jboss Portal 2.7.0
Reporter: Nilson Parra
Configuring a portlet as follows, two JPS's pages:
-> page "uno.jsp"
<body>
<jsp:include page="/jsp/dos.jsp?Miparametro=30" flush="true">
<jsp:param name="otroParametro" value="49" />
</jsp:include>
</body>
-> page "dos.jsp"
<body>
<%out.println("MiParametro: "+request.getParameter("MiParametro"));
out.println("otroParametro: "+request.getParameter("otroParametro"));
%>
</body>
-> class portlet
public class TestPortlet extends GenericPortlet {
protected void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException {
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/jsp/uno.jsp");
prd.include(request, response);
}
}
-> file portlet.xml
<portlet>
<portlet-name>PruebaPortlet</portlet-name>
<portlet-class>test.portlettest.TestPortlet</portlet-class>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Prueba Portlet</title>
</portlet-info>
</portlet>
when viewing the page with the portlet is obtained as follows:
MiParametro: null otroParametro: null
atte,
Nilson Parra
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (JBMETA-182) fix testsuite fail: org.jboss.test.metadata.ejb.SchemaVersionUnitTestCase.testVersion50xsd
by Jeff Zhang (JIRA)
fix testsuite fail: org.jboss.test.metadata.ejb.SchemaVersionUnitTestCase.testVersion50xsd
------------------------------------------------------------------------------------------
Key: JBMETA-182
URL: https://jira.jboss.org/jira/browse/JBMETA-182
Project: JBoss Metadata
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.CR17
Reporter: Jeff Zhang
Assignee: Jeff Zhang
Priority: Minor
Fix For: 1.0.0.GA
Error Message
null expected:<[5].0> but was:<[3].0>
Stacktrace
junit.framework.ComparisonFailure: null expected:<[5].0> but was:<[3].0>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.jboss.test.metadata.ejb.SchemaVersionUnitTestCase.testVersion50xsd(SchemaVersionUnitTestCase.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months