Posted by
Amit Shinde on
URL: http://ofbiz.116.s1.nabble.com/How-to-include-html-page-tp141499p141506.html
Dhilip,
One more thing to look at is to make sure you remove the type attribute
from the view-map.
<view-map name="hello" page="/hello.html"/>
<view-map name="main" type="jpublish" page="/main.ftl"/>
<view-map name="EditFixedAssetIdents" type="screen"
page="component://accounting/widget/FixedAssetScreens.xml#EditFixedAssetIden
ts"/>
Amit
-----Original Message-----
From: dhilip kumar [mailto:
[hidden email]]
Sent: Wednesday, August 23, 2006 4:09 PM
To:
[hidden email]
Subject: RE: How to include html page
Thanks Amit. I have all the handlers in "controler.xml". Still i am getting
the same error.
Dhilip
Amit Shinde <
[hidden email]> wrote:
Dilip,
This might be due to the handlers that need to be included in the
controller file. At the top of the controller.xml file, check whether you
are missing any of these handlers. You probably dont have the "http"
handler. After including them, restart the server again.
class="org.ofbiz.webapp.event.JavaEventHandler"/>
class="org.ofbiz.webapp.event.SOAPEventHandler"/>
class="org.ofbiz.webapp.event.ServiceEventHandler"/>
class="org.ofbiz.webapp.event.SimpleEventHandler"/>
class="org.ofbiz.webapp.ftl.FreeMarkerViewHandler"/>
class="org.ofbiz.webapp.view.JspViewHandler"/>
class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
class="org.ofbiz.webapp.view.HttpViewHandler"/>
class="org.ofbiz.webapp.view.DataVisionViewHandler"/>
class="org.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>
class="org.ofbiz.webapp.view.JasperReportsXmlViewHandler"/>
class="org.ofbiz.widget.screen.ScreenFopPdfViewHandler"/>
Hope this helps.
Amit Shinde
-----Original Message-----
From: dhilip kumar [mailto:
[hidden email]]
Sent: Wednesday, August 23, 2006 3:44 PM
To: users
Subject: How to include html page
Hi
I would like to include "html" page in the main page(thru the
controller), instead of "ftl" page. But i am getting the folowing error,
"org.xml.sax.SAXParseException: The markup in the document following the
root element must be well-formed."
Could anyone please help me?
Thanks in advance
---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.
---------------------------------
Get your email and more, right on the new Yahoo.com