Ok, I found the magic:
Myfaces always creates a session and seems to cache there
the component-tree including the model values.
When I delete the cookie inside the browser (== killing the session)
my code-changes get real and the new content shows up in the browser.
[Stopping the JVM of tomcat also kills the session]
Is here an expert who could please explain this behavior?
It's a little annoying in the implementation phase. ;)
Is there a way to tell myfaces not caching those things in the session?
(Bye the way: The one and only bean was set to request-scope. So I was
wondering why the session was even created?)
On 5/19/06, Chrisi <[EMAIL PROTECTED]> wrote:
Hi Rafael,
It looks like I have another problem.
The files are published in
metadata/plugin/tmp0/....core.server/webapps/project.
and also compiled in the work directory. That looks ok!
But the change doesn't show up in the browser. I checked also
browser-caching issues.
I have really no idea what's going on here, but it makes the
combination of eclipse wtp and myfaces unusable for me .....
On 5/19/06, Rafael Nami <[EMAIL PROTECTED]> wrote:
>
> I'm experimenting the same problem, but with tomcat 5.5 integrated. Seems
> that at some time being (don't know how much either) WTP stops publishing
> web files to the server at
> .metadata/plugin/tmp0/....core.server/webapps/project.
> What I did was simply a plain and simple copy ant build, just to copy all my
> web stuff to this folder.
>
> Hope that it helps
>
> Rafael Mauricio Nami
>
>
> 2006/5/19, Chrisi <[EMAIL PROTECTED]>:
> > That's weird:
> >
> > I'm using eclipse 3.2.1-WTP (with integrated tomcat 5.0.x).
> > All together this works fine and I loved to work with it for the last few
> month
> > (at least using JSP and Struts)
> > Editing, republishing, testing and debugging is very fast and
> straightforward.
> >
> > But now, starting using JSF/myfaces, the republishing doesn't work
> > when changing value bindings on jsf-tags.
> > For example:
> > Changing <h:outputText value="#{mybean.value}"/> to <h:outputText
> > value="#{mybean.anothervalue}"/> in my jsf page doesn't show up in the
> > running application.
> >
> > Trying starting and stopping of tomcat doesn't help. Deleting the
> > wep-app and publisihing it again doesn't help, also.
> > If I make another litte change in the JSP like changing normal text it
> > shows up immediately.
> >
> > The only thing that helps is closing eclipse and starting it again.
> > It seems if eclipse caches the component tree and model values and
> > ignores any changes.
> >
> > Does anybody use wtp and experience simular problems ?
> >
> >
> > --
> > Thanks and Greetings
> > Chrisi
> >
>
>
--
Thanks and Greetings
Chrisi
--
Thanks and Greetings
Chrisi