RE: [newbie] Navigation does not work

2005-09-13 Thread Matthias Klein
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 not work

> 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.



Re: [newbie] Navigation does not work

2005-09-13 Thread Udo Schnurpfeil

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.


Re: [newbie] Navigation does not work

2005-09-13 Thread Udo Schnurpfeil

For some reason I get the feeling that the Backing Bean is never called and
I have no idea why. For instance, if I implement a simple
System.out.println("test"); in the Backing Bean method, it SHOULD produce
some console output but it doesnt.

that is the reason, why I've told you to try set action="viewuserratings"


Should I attach the entire .war to one of these mails so you can take a
closer look?

Why not.  But add the source *.java file.


RE: [newbie] Navigation does not work

2005-09-13 Thread Matthias Klein
Yes.

For some reason I get the feeling that the Backing Bean is never called and
I have no idea why. For instance, if I implement a simple
System.out.println("test"); in the Backing Bean method, it SHOULD produce
some console output but it doesnt.
But I can't find the problem.

I assume it is one of those tiny yet "stupid" newbie problems but I can't
wrap my brain around it...

Matt

Should I attach the entire .war to one of these mails so you can take a
closer look?


-Original Message-
From: Udo Schnurpfeil [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 13. September 2005 14:30
To: MyFaces Discussion
Subject: Re: [newbie] Navigation does not work

and you reload every time the 1st page before pressing the button?

Matthias Klein wrote:

>>1. remove "/LODetails.jsp" (is not needed 
>>for
> 
> this test)
> 
> I did that
> 
> 
>>2. set action="viewuserratings" directly, instead of the bean method
> 
> 
> I did that
> 
> 
>>3. check if the container really update your modified web-application 
>>(how
> 
> do you deploy?)
> 
> I deploy out of MyEclipse IDE 4. The console says that it does deploy 
> the .war
> 
> Unfortunately, none of the changes helped.
> Pressing the button does not help at all.
> 
> Matt
> 
> 
> 
> 
> Udo
> 
> Dexter Wong wrote:
> 
> 
>>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
>>
>>
>>   /LODetails.jsp
>>   
>>   viewuserratings
>>   /LORatings.jsp
>>   
>>  
>>
>>2. The LODetails.jsp is not using a resource file
>>
>>
>>
>>On 9/13/05, *Matthias Klein* <[EMAIL PROTECTED] 
>><mailto:[EMAIL PROTECTED]>> wrote:
>>
>>Actually, I did both but it did not change anything.
>>
>>Here the more complete excerpts from faces-config:
>>
>>
>>/LODetails.jsf
>>
>>viewuserratings
>>/LORatings.jsf
>>
>>
>>
>>
>>Backing-Bean for LODetails.
>>
>>LODetailsBackingBean
>>
>>ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean
>>>d-bean-class>
>>session
>>
>>
>>Something like that I did.
>>But still - pressing the button does not do anything at all
>>
>>So I am wondering if I did something wrong or if that is a
>>JSF/MyFaces-issue.
>>
>>Thanks
>>
>>Matt
>>
>>
>>-Original Message-
>>From: hicham abassi [mailto:[EMAIL PROTECTED]
>><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 for
>>view-id LODetails.jsf
>>
>>
>>
>>2005/9/13, Matthias Klein <[EMAIL PROTECTED]
>><mailto:[EMAIL PROTECTED]>>:
>> > 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
>> > uri="http://java.sun.com/jsf/core <http://java.sun.com/jsf/core>"
>>prefix="f" %> > > basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
>> > var="MessageBundle"/>
>> >
>> > 
>>
>> > 
>> > 
>> > 
>> >
>> > 
>> > 
>> > [..]
>> >
>> > 
>> >  
> id="viewuserratings"
>

Re: [newbie] Navigation does not work

2005-09-13 Thread Udo Schnurpfeil

and you reload every time the 1st page before pressing the button?

Matthias Klein wrote:


1. remove "/LODetails.jsp" (is not needed for


this test)

I did that



2. set action="viewuserratings" directly, instead of the bean method



I did that



3. check if the container really update your modified web-application (how


do you deploy?)

I deploy out of MyEclipse IDE 4. The console says that it does deploy the
.war 


Unfortunately, none of the changes helped.
Pressing the button does not help at all.

Matt




Udo

Dexter Wong wrote:



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

   
  /LODetails.jsp
  
  viewuserratings
  /LORatings.jsp
  
 


2. The LODetails.jsp is not using a resource file



On 9/13/05, *Matthias Klein* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


   Actually, I did both but it did not change anything.

   Here the more complete excerpts from faces-config:

   
   /LODetails.jsf
   
   viewuserratings
   /LORatings.jsf
   
   

   
   Backing-Bean for LODetails.
   
LODetailsBackingBean


   ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean
   
   session
   

   Something like that I did.
   But still - pressing the button does not do anything at all

   So I am wondering if I did something wrong or if that is a
   JSF/MyFaces-issue.

   Thanks

   Matt


   -Original Message-
   From: hicham abassi [mailto:[EMAIL PROTECTED]
   <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 for
   view-id LODetails.jsf



   2005/9/13, Matthias Klein <[EMAIL PROTECTED]
   <mailto:[EMAIL PROTECTED]>>:
> 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
> uri="http://java.sun.com/jsf/core <http://java.sun.com/jsf/core>"
   prefix="f" %>  basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
> var="MessageBundle"/>
>
> 
   
> 
> 
> 
>
> 
> 
> [..]
>
> 
> 

id="viewuserratings"


> action="#{LODetailsBackingBean.viewUserRatings}"
> value="#{MessageBundle.viewratingsbuttonlabel}" />
> 
> [..]
> 
> 
> 
> 
>
> ---
> Excerpt from faces-config:
>
> 
> /LODetails.jsf
> 
> /LORatings.jsf
> 
> 
>
> -
> Part of LODetailsBackingBean.java:
>
> public String viewUserRatings() {
> return "viewuserratings";
> }
>
>
> I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through
   MyEclipse IDE
   4.
> I see the page1 but when I press the button, nothing happens.
>
> Why?
>
> Thanks a lot
>
> Matt
>
>


   --

   hicham ABASSI
   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>




--
Dipl.-Math. Udo Schnurpfeil - Executive Officer - Atanion GmbH Software
Development - Bismarckstraße 13 - 26122 Oldenburg - Germany phone +49 441
4082310 - mobile +49 174 9784746 - fax +49 441 4082333
mailto:[EMAIL PROTECTED] - http://www.atanion.com




--
Dipl.-Math. Udo Schnurpfeil - Executive Officer - Atanion GmbH
Software Development - Bismarckstraße 13 - 26122 Oldenburg - Germany
phone +49 441 4082310 - mobile +49 174 9784746 - fax +49 441 4082333
mailto:[EMAIL PROTECTED] - http://www.atanion.com


RE: [newbie] Navigation does not work

2005-09-13 Thread Matthias Klein
>1. remove "/LODetails.jsp" (is not needed for
this test)

I did that

> 2. set action="viewuserratings" directly, instead of the bean method

I did that

> 3. check if the container really update your modified web-application (how
do you deploy?)

I deploy out of MyEclipse IDE 4. The console says that it does deploy the
.war 

Unfortunately, none of the changes helped.
Pressing the button does not help at all.

Matt




Udo

Dexter Wong wrote:

> 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
> 
> 
>/LODetails.jsp
>
>viewuserratings
>/LORatings.jsp
>
>   
> 
> 2. The LODetails.jsp is not using a resource file
> 
> 
> 
> On 9/13/05, *Matthias Klein* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> Actually, I did both but it did not change anything.
> 
> Here the more complete excerpts from faces-config:
> 
> 
> /LODetails.jsf
> 
> viewuserratings
> /LORatings.jsf
> 
> 
> 
> 
> Backing-Bean for LODetails.
> 
> LODetailsBackingBean
> 
> ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean
>  d-bean-class>
> session
> 
> 
> Something like that I did.
> But still - pressing the button does not do anything at all
> 
> So I am wondering if I did something wrong or if that is a
> JSF/MyFaces-issue.
> 
> Thanks
> 
> Matt
> 
> 
> -Original Message-
> From: hicham abassi [mailto:[EMAIL PROTECTED]
> <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 for
> view-id LODetails.jsf
> 
> 
> 
> 2005/9/13, Matthias Klein <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>:
>  > 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
>  > uri="http://java.sun.com/jsf/core <http://java.sun.com/jsf/core>"
> prefix="f" %>   > basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
>  > var="MessageBundle"/>
>  >
>  > 
> 
>  > 
>  > 
>  > 
>  >
>  > 
>  > 
>  > [..]
>  >
>  > 
>  >   > action="#{LODetailsBackingBean.viewUserRatings}"
>  > value="#{MessageBundle.viewratingsbuttonlabel}" />
>  > 
>  > [..]
>  > 
>  > 
>  > 
>  > 
>  >
>  > ---
>  > Excerpt from faces-config:
>  >
>  > 
>  > /LODetails.jsf
>  > 
>  > /LORatings.jsf
>  > 
>  > 
>  >
>  > -
>  > Part of LODetailsBackingBean.java:
>  >
>  > public String viewUserRatings() {
>  > return "viewuserratings";
>  > }
>  >
>  >
>  > I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through
> MyEclipse IDE
> 4.
>  > I see the page1 but when I press the button, nothing happens.
>  >
>  > Why?
>  >
>  > Thanks a lot
>  >
>  > Matt
>  >
>  >
> 
> 
> --
> 
> hicham ABASSI
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> 

--
Dipl.-Math. Udo Schnurpfeil - Executive Officer - Atanion GmbH Software
Development - Bismarckstraße 13 - 26122 Oldenburg - Germany phone +49 441
4082310 - mobile +49 174 9784746 - fax +49 441 4082333
mailto:[EMAIL PROTECTED] - http://www.atanion.com



RE: [newbie] Navigation does not work

2005-09-13 Thread Matthias Klein



What does "LODetails.jsp is not using a resource file" 
mean?
 
I changed jsf to jsp, too, but it still does not work. I 
assume there must be some tiny, little "stupid" mistake but I can't seem to find 
it.
 
Matt
 


From: Dexter Wong 
[mailto:[EMAIL PROTECTED] Sent: Dienstag, 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    
   
/LODetails.jsp   
   
viewuserratings   
/LORatings.jsp   
   
    2. The LODetails.jsp is not 
using a resource file
On 9/13/05, Matthias 
Klein <[EMAIL PROTECTED]> 
wrote:
Actually, 
  I did both but it did not change anything.Here the more complete 
  excerpts from 
  faces-config:/LODetails.jsf 
  viewuserratings/LORatings.jsf 
  Backing-Bean 
  for 
  LODetails.LODetailsBackingBeanca.gc.nrc.iit.toml.frontend.LODetailsBackingBean 
  d-bean-class>sessionSomething 
  like that I did.But still - pressing the button does not do anything at 
  all So I am wondering if I did something wrong or if that is 
  aJSF/MyFaces-issue.ThanksMatt-Original 
  Message-From: hicham abassi [mailto:[EMAIL PROTECTED] ]Sent: Dienstag, 13. 
  September 2005 12:59To: MyFaces DiscussionSubject: Re: [newbie] 
  Navigation does not work1/ it seems that yo don't declared your bean 
  LODetailsBackingBean intofaces-config.xml 2/ you don't declared a string 
  outcome viewuserratings forview-id LODetails.jsf2005/9/13, 
  Matthias Klein <[EMAIL PROTECTED]>:> 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> uri="http://java.sun.com/jsf/core " 
  prefix="f" %> > 
  basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"> 
  var="MessageBundle"/>>>  
  > 
  > 
  > 
  >> 
  > 
  > 
  [..]>> 
  > 
  > 
  action=""> 
  value="#{MessageBundle.viewratingsbuttonlabel}" 
  />> 
  > 
  [..]> 
  > 
  > 
  > >> 
  ---> Excerpt from 
  faces-config:>> 
  > 
  /LODetails.jsf> 
  > 
  /LORatings.jsf 
  > 
  > 
  >> 
  -> Part of 
  LODetailsBackingBean.java:>> public String viewUserRatings() { 
  > 
  return 
  "viewuserratings";> 
  }>>> I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 
  through MyEclipse IDE4.> I see the page1 but when I press the 
  button, nothing happens. >> Why?>> Thanks a 
  lot>> Matt>>--hicham 
  ABASSI[EMAIL PROTECTED]


Re: [newbie] Navigation does not work

2005-09-13 Thread Udo Schnurpfeil

Hi,

your may try for debugging:

1. remove "/LODetails.jsp" (is not needed 
for this test)


2. set action="viewuserratings" directly, instead of the bean method

3. check if the container really update your modified web-application 
(how do you deploy?)


Udo

Dexter Wong wrote:


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


   /LODetails.jsp
   
   viewuserratings
   /LORatings.jsp
   
  


2. The LODetails.jsp is not using a resource file



On 9/13/05, *Matthias Klein* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Actually, I did both but it did not change anything.

Here the more complete excerpts from faces-config:


/LODetails.jsf

viewuserratings
/LORatings.jsf




Backing-Bean for LODetails.
LODetailsBackingBean

ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean

session


Something like that I did.
But still - pressing the button does not do anything at all

So I am wondering if I did something wrong or if that is a
JSF/MyFaces-issue.

Thanks

Matt


-Original Message-
From: hicham abassi [mailto:[EMAIL PROTECTED]
<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 for
view-id LODetails.jsf



2005/9/13, Matthias Klein <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
 > 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
 > uri="http://java.sun.com/jsf/core <http://java.sun.com/jsf/core>"
prefix="f" %>  basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
 > var="MessageBundle"/>
 >
 > 

 > 
 > 
 > 
 >
 > 
 > 
 > [..]
 >
 > 
 >  action="#{LODetailsBackingBean.viewUserRatings}"
 > value="#{MessageBundle.viewratingsbuttonlabel}" />
 > 
 > [..]
 > 
 > 
 > 
 > 
 >
 > ---
 > Excerpt from faces-config:
 >
 > 
 > /LODetails.jsf
 > 
 > /LORatings.jsf
 > 
 > 
 >
 > -
 > Part of LODetailsBackingBean.java:
 >
 > public String viewUserRatings() {
 > return "viewuserratings";
 > }
 >
 >
 > I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through
MyEclipse IDE
4.
 > I see the page1 but when I press the button, nothing happens.
 >
 > Why?
 >
 > Thanks a lot
 >
 > Matt
 >
 >


--

hicham ABASSI
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>




--
Dipl.-Math. Udo Schnurpfeil - Executive Officer - Atanion GmbH
Software Development - Bismarckstraße 13 - 26122 Oldenburg - Germany
phone +49 441 4082310 - mobile +49 174 9784746 - fax +49 441 4082333
mailto:[EMAIL PROTECTED] - http://www.atanion.com


Re: [newbie] Navigation does not work

2005-09-13 Thread Dexter Wong
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

    
   /LODetails.jsp
   
  
viewuserratings
   /LORatings.jsp
   
       

2. The LODetails.jsp is not using a resource file

On 9/13/05, Matthias Klein <[EMAIL PROTECTED]> wrote:
Actually, I did both but it did not change anything.Here the more complete excerpts from faces-config:/LODetails.jsf
viewuserratings/LORatings.jsf 
Backing-Bean for LODetails.LODetailsBackingBeanca.gc.nrc.iit.toml.frontend.LODetailsBackingBean
d-bean-class>sessionSomething like that I did.But still - pressing the button does not do anything at all
So I am wondering if I did something wrong or if that is aJSF/MyFaces-issue.ThanksMatt-Original Message-From: hicham abassi [mailto:[EMAIL PROTECTED]
]Sent: Dienstag, 13. September 2005 12:59To: MyFaces DiscussionSubject: Re: [newbie] Navigation does not work1/ it seems that yo don't declared your bean LODetailsBackingBean intofaces-config.xml
 2/ you don't declared a string outcome viewuserratings forview-id LODetails.jsf2005/9/13, Matthias Klein <[EMAIL PROTECTED]>:> 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> uri="http://java.sun.com/jsf/core
" prefix="f" %> > basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"> var="MessageBundle"/>>>  > > >
>>
>
>
[..]>>
>
> action="">> value="#{MessageBundle.viewratingsbuttonlabel}" />>
>
[..]> > > > >> ---> Excerpt from faces-config:
>> > /LODetails.jsf> > /LORatings.jsf
> > >> -> Part of LODetailsBackingBean.java:>> public String viewUserRatings() {
> return "viewuserratings";> }>>> I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through MyEclipse IDE4.> I see the page1 but when I press the button, nothing happens.
>> Why?>> Thanks a lot>> Matt>>--hicham ABASSI[EMAIL PROTECTED]


RE: [newbie] Navigation does not work

2005-09-13 Thread Matthias Klein
That was only a try.
I have used *.jsp before and it did not change a thing.
I can easily run the example (e.g. the simple myfaces blank example) which
works fine
Then I took over the config they used and incorporated that in mine but it
does not work.
I really have NO idea what I did wrong.
Matt
 

-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 to *.jsf as is common?

Regards,
David

-Original Message-
From: Matthias Klein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 7:11 AM
To: 'MyFaces Discussion'; [EMAIL 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:


/LODetails.jsf

viewuserratings
/LORatings.jsf



 
Backing-Bean for LODetails.
LODetailsBackingBean

ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean
session


Something like that I did.
But still - pressing the button does not do anything at all

So I am wondering if I did something wrong or if that is a
JSF/MyFaces-issue.

Thanks

Matt


-Original Message-
From: hicham abassi [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 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 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 
> uri="http://java.sun.com/jsf/core"; prefix="f" %>  basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
> var="MessageBundle"/>
>
>  
> 
> 
> 
>
> 
> 
> [..]
>
> 
>  action="#{LODetailsBackingBean.viewUserRatings}"
> value="#{MessageBundle.viewratingsbuttonlabel}" />
> 
> [..]
> 
> 
> 
> 
>
> ---
> Excerpt from faces-config:
>
> 
> /LODetails.jsf
> 
> /LORatings.jsf
> 
> 
>
> -
> Part of LODetailsBackingBean.java:
>
> public String viewUserRatings() {
> return "viewuserratings";
> }
>
>
> I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through MyEclipse 
> IDE
4.
> I see the page1 but when I press the button, nothing happens.
>
> Why?
>
> Thanks a lot
>
> Matt
>
>


--

hicham ABASSI
[EMAIL PROTECTED]




Re: [newbie] Navigation does not work

2005-09-13 Thread Matthias Wessendorf
*.jsf is only the mapping
*.jsp is the *real* name of your physical existing file

btw. *.faces might be a better mapping, since *.jsf is a reserved word
in JSF/JSP spec

-Matthias

On 9/13/05, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Why do you have the *.jsf in your navigation-case?
> Shouldn't you be using *.jsp or are you not mapping
> to *.jsf as is common?
> 
> Regards,
> David
> 
> -Original Message-
> From: Matthias Klein [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 13, 2005 7:11 AM
> To: 'MyFaces Discussion'; [EMAIL 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:
> 
> 
> /LODetails.jsf
> 
> viewuserratings
> /LORatings.jsf
> 
> 
> 
>  
> Backing-Bean for LODetails.
> LODetailsBackingBean
> 
> ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean d-bean-class>
> session
> 
> 
> Something like that I did.
> But still - pressing the button does not do anything at all
> 
> So I am wondering if I did something wrong or if that is a
> JSF/MyFaces-issue.
> 
> Thanks
> 
> Matt
> 
> 
> -----Original Message-----
> From: hicham abassi [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 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 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
> > uri="http://java.sun.com/jsf/core"; prefix="f" %>  > basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
> > var="MessageBundle"/>
> >
> >  
> > 
> > 
> > 
> >
> > 
> > 
> > [..]
> >
> > 
> >  > action="#{LODetailsBackingBean.viewUserRatings}"
> > value="#{MessageBundle.viewratingsbuttonlabel}" />
> > 
> > [..]
> > 
> > 
> > 
> > 
> >
> > ---
> > Excerpt from faces-config:
> >
> > 
> > /LODetails.jsf
> > 
> > /LORatings.jsf
> > 
> > 
> >
> > -
> > Part of LODetailsBackingBean.java:
> >
> > public String viewUserRatings() {
> > return "viewuserratings";
> > }
> >
> >
> > I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through MyEclipse IDE
> 4.
> > I see the page1 but when I press the button, nothing happens.
> >
> > Why?
> >
> > Thanks a lot
> >
> > Matt
> >
> >
> 
> 
> --
> 
> hicham ABASSI
> [EMAIL PROTECTED]
> 
> 



-- 
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln


RE: [newbie] Navigation does not work

2005-09-13 Thread David G. Friedman
Why do you have the *.jsf in your navigation-case?
Shouldn't you be using *.jsp or are you not mapping
to *.jsf as is common?

Regards,
David

-Original Message-
From: Matthias Klein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 7:11 AM
To: 'MyFaces Discussion'; [EMAIL 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:


/LODetails.jsf

viewuserratings
/LORatings.jsf



 
Backing-Bean for LODetails.
LODetailsBackingBean

ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean
session


Something like that I did.
But still - pressing the button does not do anything at all

So I am wondering if I did something wrong or if that is a
JSF/MyFaces-issue.

Thanks

Matt


-Original Message-
From: hicham abassi [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 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 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
> uri="http://java.sun.com/jsf/core"; prefix="f" %>  basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
> var="MessageBundle"/>
>
>  
> 
> 
> 
>
> 
> 
> [..]
>
> 
>  action="#{LODetailsBackingBean.viewUserRatings}"
> value="#{MessageBundle.viewratingsbuttonlabel}" />
> 
> [..]
> 
> 
> 
> 
>
> ---
> Excerpt from faces-config:
>
> 
> /LODetails.jsf
> 
> /LORatings.jsf
> 
> 
>
> -
> Part of LODetailsBackingBean.java:
>
> public String viewUserRatings() {
> return "viewuserratings";
> }
>
>
> I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through MyEclipse IDE
4.
> I see the page1 but when I press the button, nothing happens.
>
> Why?
>
> Thanks a lot
>
> Matt
>
>


--

hicham ABASSI
[EMAIL PROTECTED]



RE: [newbie] Navigation does not work

2005-09-13 Thread Matthias Klein
Actually, I did both but it did not change anything.

Here the more complete excerpts from faces-config:


/LODetails.jsf

viewuserratings
/LORatings.jsf

 

 
Backing-Bean for LODetails.
LODetailsBackingBean
 
ca.gc.nrc.iit.toml.frontend.LODetailsBackingBean
session


Something like that I did.
But still - pressing the button does not do anything at all

So I am wondering if I did something wrong or if that is a
JSF/MyFaces-issue.

Thanks

Matt


-Original Message-
From: hicham abassi [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 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 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 
> uri="http://java.sun.com/jsf/core"; prefix="f" %>  basename="ca.gc.nrc.iit.toml.frontend.bundles.LODetails"
> var="MessageBundle"/>
> 
>  
> 
> 
> 
> 
> 
> 
> [..]
> 
> 
>  action="#{LODetailsBackingBean.viewUserRatings}"
> value="#{MessageBundle.viewratingsbuttonlabel}" />
> 
> [..]
> 
> 
> 
> 
> 
> ---
> Excerpt from faces-config:
> 
> 
> /LODetails.jsf
> 
> /LORatings.jsf
> 
> 
> 
> -
> Part of LODetailsBackingBean.java:
> 
> public String viewUserRatings() {
> return "viewuserratings";
> }
> 
> 
> I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through MyEclipse IDE
4.
> I see the page1 but when I press the button, nothing happens.
> 
> Why?
> 
> Thanks a lot
> 
> Matt
> 
> 


-- 

hicham ABASSI
[EMAIL PROTECTED]



Re: [newbie] Navigation does not work

2005-09-13 Thread hicham abassi
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
> 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 uri="http://java.sun.com/jsf/core"; prefix="f" %>
>  var="MessageBundle"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> [..]
> 
> 
>  action="#{LODetailsBackingBean.viewUserRatings}"
> value="#{MessageBundle.viewratingsbuttonlabel}" />
> 
> [..]
> 
> 
> 
> 
> 
> ---
> Excerpt from faces-config:
> 
> 
> /LODetails.jsf
> 
> /LORatings.jsf
> 
> 
> 
> -
> Part of LODetailsBackingBean.java:
> 
> public String viewUserRatings() {
> return "viewuserratings";
> }
> 
> 
> I deployed that on Tomcat 5.5.9 with J2SDK 1.5.0_04 through MyEclipse IDE 4.
> I see the page1 but when I press the button, nothing happens.
> 
> Why?
> 
> Thanks a lot
> 
> Matt
> 
> 


-- 

hicham ABASSI
[EMAIL PROTECTED]