File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!