This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes about parameter passing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "about parameter passing" Watch "about parameter passing" New topic

about parameter passing

ym feng
Ranch Hand

Joined: Mar 19, 2009
Posts: 31
hi, could someone help to clarify this topic?

these days, i spent some time on it, concluding as follows, any incorrect, please feel free to figure it out.
1, managed bean is always used in parameter passing, and the scope should be session?

pageA - paramPassingBean - pageB
if scope set to default value request, pageB could not get the bean property.

2, second way to pass parameter not using managed bean is:
while id2 is the id of inputText on pageA

3, <f:param> tag is used just to pass parameters to managed bean, in which condition, such value binding with bean property makes no sense.

i need some comments on above my understanding, other suggestion on this topic is also welcome.
thanks for your help.
I agree. Here's the link:
subject: about parameter passing