Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about parameter passing  RSS feed

ym feng
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!