Friday, 10 June 2011

Access a parameter

How to request a web page and pass arguments

goto page



How to access arguments from web page
(equivalents ;) )

How to access arguments from backing bean
edit the web page (optional but recommended - see comment):


on backing bean:
private Integer id;

comment: of'course viewParam is not necessary but is useful because this way the web page is bookmarkable..if we choose to not include viewParam then we can get id from in backing bean from request scope.

No comments:

Post a Comment