It shouldn't be big work to create a request bean that does the job of
setting session bean. The same way you set a property of request bean
from #{param.xxx} you can link the request bean to session bean by
setting a managed property in session bean to an EL pointing to session
bean (eg
Hi!
Well I tried this (but its sound like easy and thats all I need), but the
parameter value is always null!
try to call with following url:
http://localhost:8080/GatheringPlace/jsp/placeDetail.jsf?dbk=1212
my code:
bean:
public class PlaceDetailController {
private String dbk;
Well now it works with:
value#{param.dbk}/value
thanks to all and best regards
MPF wrote:
Hi!
Well I tried this (but its sound like easy and thats all I need), but the
parameter value is always null!
try to call with following url:
Note: be careful with using this method + session bean, as it will work
only once per session, that is the first time bean named qbk will be
used in user session. It may be intended behaviour, but most people need
a to take into account different value for each request.
En l'instant précis du
Hi,
to apply request parameter to managed bean the scope must be request afaik.
Regards,
Volker
2007/6/11, MPF [EMAIL PROTECTED]:
Hi!
Well I tried this (but its sound like easy and thats all I need), but the
parameter value is always null!
try to call with following url:
Note: be careful with using this method + session bean, as it will work
only once per session, that is the first time bean named qbk will be
used in user session. It may be intended behaviour, but most people need
a to take into account different value for each request.
En l'instant précis du
Hmm ur right ;(
argh..bad bad - but the other things (Filter) didnt worked (i dunno why)..
David Delbecq-2 wrote:
Note: be careful with using this method + session bean, as it will work
only once per session, that is the first time bean named qbk will be
used in user session. It may be
So i try to change my application to a filter:
public class FrontDoorFilter implements Filter {
public void destroy() {
//nothiing to do
}
public void doFilter(ServletRequest req, ServletResponse res,
FilterChain
fc)
Google for JSF GET or JSF GET phaselistener
hth
Alexander
-Original Message-
From: MPF [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 3:48 PM
To: users@myfaces.apache.org
Subject: Myfaces - application calling by link which include parameter
Hi!
How can I realize that?
My
Hi,
http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls?highlight=%28NonfacesRequest%29#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70
Regards,
Volker
2007/6/8, MPF [EMAIL PROTECTED]:
Hi!
How can I realize that?
My application get called with a link that contains a parameter
Easy way to do it without much complicate front-end code is to use a
bean setter to do the initialization job (assuming all you need is the
common data initialization case):
request:
http://server/webapp/something.faces?xyz=abc
faces-config.xml:
faces-config
..
managed-bean
11 matches
Mail list logo