This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "about parameter passing" Watch "about parameter passing" New topic
Author

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:
pageB:
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.
 
 
subject: about parameter passing
 
Similar Threads
Hyperlinked datatable
Problem passing parameters from one page to another.
Providing anchor to columns in a datatable
Refresh the previous page
How to get checkbox value from datagrid.