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 #{someSess
this filter (add to web.xml and how i call it?)
see:
http://marcchung.com/2005/01/24/performing-a-jsf-get-2/
--
View this message in context:
http://www.nabble.com/Myfaces---application-calling-by-link-which-include-parameter-tf3889911.html#a11059806
Sent from the MyFaces - Users mailing list archive at Nabble.com.
;>
>>>> ..
>>>>
>>>> somebean
>>>>
>>>> com.company.Bean
>>>>
>>>> request
>>>>
>>>> initialRequest
>>>> #{params.xyz}
>>>>
>>>> ..
>>>>
>>>> JSF will automatically evaluate #{params.xyz} upon bean instantiation.
>>>>
>>>> MPF a écrit :
>>>>
>>>>> Hi!
>>>>> How can I realize that?
>>>>> My application get called with a link that contains a parameter whom i
>>>>> need
>>>>> to load data. Need to write a frontcontroller?how?
>>>>>
>>>>> someone can help?
>>>>>
>>>>> best regards
>>>>>
>>>>>
>>>>
>>>
>>
>>
>
>
>
--
View this message in context:
http://www.nabble.com/Myfaces---application-calling-by-link-which-include-parameter-tf3889911.html#a11059386
Sent from the MyFaces - Users mailing list archive at Nabble.com.
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 11/0
>>
>> someone can help?
>>
>> best regards
>>
>
>
--
View this message in context:
http://www.nabble.com/Myfaces---application-calling-by-link-which-include-parameter-tf3889911.html#a11056085
Sent from the MyFaces - Users mailing list archive at Nabble.com.
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 11/0
params.xyz} upon bean instantiation.
>>
>> MPF a écrit :
>>> Hi!
>>> How can I realize that?
>>> My application get called with a link that contains a parameter whom i
>>> need
>>> to load data. Need to write a frontcontroller?how?
>>>
>>> someone can help?
>>>
>>> best regards
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Myfaces---application-calling-by-link-which-include-parameter-tf3889911.html#a11056189
Sent from the MyFaces - Users mailing list archive at Nabble.com.
ze that?
>> My application get called with a link that contains a parameter whom i
>> need
>> to load data. Need to write a frontcontroller?how?
>>
>> someone can help?
>>
>> best regards
>>
>
>
--
View this message in context:
http://
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:
..
somebean
ains a parameter whom i need
to load data. Need to write a frontcontroller?how?
someone can help?
best regards
--
View this message in context:
http://www.nabble.com/Myfaces---application-calling-by-link-which-include-parameter-tf3889911.html#a11026798
Sent from the MyFaces - Users mailing list arch
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 ca
Hi!
How can I realize that?
My application get called with a link that contains a parameter whom i need
to load data. Need to write a frontcontroller?how?
someone can help?
best regards
--
View this message in context:
http://www.nabble.com/Myfaces---application-calling-by-link-which-include
12 matches
Mail list logo