I have a workaround.
The problem is the StateManager in MyFaces. It caches the UI-Tree and this
prevent the correct loading of the JSP-File. So I overwrite the StateManager
by implementing the restoreView like:
public UIViewRoot restoreView(FacesContext facescontext, String viewId,
String renderKitId)
{
HttpServletRequest request = (HttpServletRequest)
facescontext.getExternalContext().getRequest();
if (request.getParameterMap().size()==0)
{
return null;
}
return super.restoreView(facescontext,viewId,renderKitId);
}
Thanks for help,
Juergen
From: "Juergen Melzer" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: users@myfaces.apache.org
Subject: Re: Tomcat didn't load JSF-Page (Tobago-Problem?)
Date: Fri, 11 Nov 2005 10:50:46 +0100
Hi Bernd,
the problem is not a redeploy with maven. i use Intellij to make the
deploying. So I don't want to restart the servletcontext. But I think the
problem are the caching mechanismen in tobago.
I saw that you have at minimum two caches: one is the Resourcemanager the
second is in ThemeConfig. i disabled both but nothing changed :-(
It must be something in caching the calculated heights and widths of the
components.
The best thing should be to make it possible to disable this feature in the
tobago-config.xml otherwise the development turnaround time will be much
bigger.
Thanks,
Jürgen
From: Bernd Bohmann <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion" <users@myfaces.apache.org>
To: MyFaces Discussion <users@myfaces.apache.org>
Subject: Re: Tomcat didn't load JSF-Page (Tobago-Problem?)
Date: Thu, 10 Nov 2005 19:33:17 +0100
Hi Juergen,
if you are using maven2 for deployment the maven-tomcat-plugin has a
problem with tomcat:redeploy.
Please use mvn tomcat:undeploy tomcat:deploy.
I will look at this issue if i had some extra time perhaps at the weekend.
If you are not using maven2 please send a detail description what are you
doing.
Bernd
My faces schrieb:
Hi all,
when I deploy a new JSF-Page with Tobago-tags inside without restarting
the context the Browser didn't show the actual page.
After restarting Tomcat it show it correct.
Is this a Tobago problem or normal with JSF development?
Regards,
Juergen
_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu!
http://desktop.msn.de/ Jetzt gratis downloaden!
--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333
_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu!
http://desktop.msn.de/ Jetzt gratis downloaden!
_________________________________________________________________
Haben Spinnen Ohren? Finden Sie es heraus mit dem MSN Suche Superquiz via
http://clk.atdmt.com/GBL/go/mcrsddes0090000003gbl/direct/01/ Jetzt
mitmachen und gewinnen!