Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
1.1
-
None
Description
I was trying to output the contents of my node.
I've done the following:
<cms:set contentNode="<%=myNode%>"/> - set my node to
GlobalContentNode
<cms:includeTemplate path="/template.jsp"/> - output my node
with template
Bingo! it worked! I see my only node contents on the screen!
But the strange thing - The image is wrong! (The image is from the
other paragraph)
What's happening?
I opened the template.jsp and came across cmsu:fileSrc tag. - it
creates the path for the image, and it doesn't check which node is
currently "set" and the attribute contentNodeName also dump my
page to blank.
I had to create additional method in my template that checks if the
only one node should be printed and makes the proper path to the
image. Now it's working ok
So, I'd like to know why the attributes mentioned above cause the
page crash?