I have started to create a simple MyFaces-App and encountered a problem with
the navigation:
Pressing a button does not do anything.
Some code sniplets:
-
Page1:
%@ page language=java %
%@ taglib uri=http://java.sun.com/jsf/html; prefix=h %
%@ taglib
1/ it seems that yo don't declared your bean LODetailsBackingBean into
faces-config.xml
2/ you don't declared a string outcome viewuserratings for view-id LODetails.jsf
2005/9/13, Matthias Klein [EMAIL PROTECTED]:
I have started to create a simple MyFaces-App and encountered a problem with
PROTECTED]
Sent: Dienstag, 13. September 2005 12:59
To: MyFaces Discussion
Subject: Re: [newbie] Navigation does not work
1/ it seems that yo don't declared your bean LODetailsBackingBean into
faces-config.xml 2/ you don't declared a string outcome viewuserratings for
view-id LODetails.jsf
2005
PROTECTED]
Subject: RE: [newbie] Navigation does not work
Actually, I did both but it did not change anything.
Here the more complete excerpts from faces-config:
navigation-rule
from-view-id/LODetails.jsf/from-view-id
navigation-case
from-outcomeviewuserratings
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 13. September 2005 13:55
To: MyFaces Discussion
Subject: RE: [newbie] Navigation does not work
Why do you have the *.jsf in your navigation-case?
Shouldn't you be using *.jsp or are you not mapping
Hi,
your sample worked for me. I am using
jboss 4.0.2
java 1.5.004
windows xp
I make some changes
0. changed files from *.jsf to *.jsp
1. my config files looks like
navigation-rule
from-view-id/LODetails.jsp/from-view-id
navigation-case
from-outcomeviewuserratings/from-outcome
, 13. September 2005
14:07To: MyFaces DiscussionCc:
[EMAIL PROTECTED]Subject: Re: [newbie] Navigation does not
work
Hi,your sample worked for me. I am using jboss 4.0.2java
1.5.004windows xpI make some changes0. changed files from *.jsf
to *.jsp1. my config files looks
like
navigatio
:[EMAIL PROTECTED]]
Sent: Dienstag, 13. September 2005 12:59
To: MyFaces Discussion
Subject: Re: [newbie] Navigation does not work
1/ it seems that yo don't declared your bean LODetailsBackingBean into
faces-config.xml 2/ you don't declared a string outcome
viewuserratings
]
mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 13. September 2005 12:59
To: MyFaces Discussion
Subject: Re: [newbie] Navigation does not work
1/ it seems that yo don't declared your bean LODetailsBackingBean into
faces-config.xml 2/ you don't declared a string outcome
viewuserratings
I assume it is one of those tiny yet stupid newbie problems but I can't
wrap my brain around it...
Okay, I've found it ;-)
Your have used the f:view tag 2 times on one page.
That is not allowed and will evidently confusing the framework.
Thank you so much for your help today.
Indeed, that was the problem. Now everything is working fine.
Thanks!
Matt
-Original Message-
From: Udo Schnurpfeil [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 13. September 2005 16:37
To: MyFaces Discussion
Subject: Re: [newbie] Navigation does
11 matches
Mail list logo