You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pat Quinn <pa...@hotmail.com> on 2004/07/05 17:46:25 UTC
Tiles/Frames & Urls with Parameters
Hi Guys,
I'm using tiles and frames together but when i try to pass a url value with
parameters struts fails during startup with the following error:
ERROR org.apache.commons.digester.Digester - Parse Fatal Error at line 109
column -1: Next character must be ";" terminating reference to entity
"viewMode".
org.xml.sax.SAXParseException: Next character must be ";" terminating
reference to entity "viewMode".
<!-- Tile Definition in tile-definitions.xml -->
<definition name="frameset-edit" path="/jsp/layouts/frameset.jsp">
.....
<put name="mainFrame" value="myAction.do?mode=showAll&viewMode=edit"/>
</definition>
<!-- Frameset.jsp Source -->
<frameset rows="105,*" cols="*" frameborder="no" border="0"
framespacing="0">
<frame name="topFrame" scrolling="NO" src="<tiles:getAsString
name="topFrame"/>" >
<frameset cols="250,*" frameborder="no" border="0" framespacing="0">
<frame name="leftFrame" scrolling="yes" src="<tiles:getAsString
name="leftFrame"/>">
<frame name="mainFrame" src="<tiles:getAsString name="mainFrame"/>">
</frameset>
</frameset>
Any Ideas?