[MAGNOLIA-4001] incorrect jsp component rendering Created: 05/Mar/12 Updated: 08/Mar/12 Resolved: 06/Mar/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.5 |
| Fix Version/s: | 4.5.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Igor Klimchynski | Assignee: | Eric Hechinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Description |
|
info.magnolia.rendering.renderer.JspRenderer doesn't finish rendering a jsp component correctly. A as a result containing page rendering is not complete. |
| Comments |
| Comment by Philipp Bärfuss [ 05/Mar/12 ] |
|
Thanks for the report. Do you have more details? Are characters missing, ... |
| Comment by Philipp Bärfuss [ 05/Mar/12 ] |
|
For the moment we are going to re-test our JSP samples |
| Comment by Eric Hechinger [ 05/Mar/12 ] |
|
After testing this module I got the following Exception: @Igor: Did you get the same exception? UI: SERVER LOG: |
| Comment by Eric Hechinger [ 05/Mar/12 ] |
|
This issue seems to be related to |
| Comment by Igor Klimchynski [ 05/Mar/12 ] |
|
No, I did not get any exception. That was a silent error. |
| Comment by Eric Hechinger [ 05/Mar/12 ] |
|
@Igor Could you please add/past your JSP code? |
| Comment by Eric Hechinger [ 05/Mar/12 ] |
|
Remember, the syntax in JSP changed from 4.4 to 4.5. For example (based on the tutorial) <%@ taglib uri="cms-taglib" prefix="cms" %> will now be <%@ taglib prefix="cms" uri="http://magnolia-cms.com/taglib/templating-components/cms"%> And this is working. Could you just verify? |
| Comment by Igor Klimchynski [ 06/Mar/12 ] |
|
Please see the attached files. |
| Comment by Igor Klimchynski [ 06/Mar/12 ] |
|
1. templates.zip contains the template directory /<CATALINA_HOME>/webapps/<contextPath>/templates |
| Comment by Igor Klimchynski [ 06/Mar/12 ] |
|
The proposed template for a jsp page did not work in my test setup. I did not find an jsp component example on the tutorial page http://documentation.magnolia-cms.com/templates/introduction.html |
| Comment by Igor Klimchynski [ 06/Mar/12 ] |
|
In the attached files I tried to add a jsp component to an ftl page. |
| Comment by Eric Hechinger [ 06/Mar/12 ] |
|
Dear Igor. We currently face an issue displaying JSP and FTL components in an ftl area. This will be solved in the next main release. If you need better JSP examples, you can add to Magnolia the magnolia-templating-sample (two equivalent sites one in JSP one in FTL). Regards |
| Comment by Eric Hechinger [ 06/Mar/12 ] |
|
Modified example |
| Comment by Eric Hechinger [ 06/Mar/12 ] |
|
Modification of the JSP renderer. |