So, does your dbID parameter contain a null value, or doesn't it try to find a 
param named dbId in the request scope at all?

I managed to do something like this with an <h:outputLink> (the params I 
specify are filled), but if i try with a commandLink the setters of my bean are 
feeded with null-values. Haven't tried to do it with navigation menu items..

- Eivind -

-----Original Message-----
From: octoberdan [mailto:[EMAIL PROTECTED] 
Sent: 7. august 2006 14:31
To: [email protected]
Subject: setExternalLink on NavigationMenuItem not working as expected


The following code does not work as expected:

NavigationMenuItem item = new NavigationMenuItem(proj.getName(),
"projectWiki");
item.setValue(proj.getId());
item.setExternalLink("/projectWiki.jsf?dbId=" + proj.getId()); 

I expect to be directed to /projectWiki.jsf?dbId=51966 (for example), but the 
paremter is not passed! Anyone know why? I need to solve this by the end of the 
day (Boss, who I'm trying to convince to use jsf, wants a war of my project), 
so any help would be greatly appreciated. Thank you for atleast reading this 
message.
--
View this message in context: 
http://www.nabble.com/setExternalLink-on-NavigationMenuItem-not-working-as-expected-tf2063338.html#a5684035
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to