request - JSF Page Navigation Options -


i have question regarding jsf navigation, if want simple page navigation need use redirect method defined in faces-config.xml?

for instance have page 1 , user clicks rows in datatable value, navigates page 2 , process , come page 1.

i have read in thread here. redirect happens recreate request scope bean.

could 1 provide insight this? other options available page page navigation.

i using jsf 1.1

appreciate help.

regards

depends on data wish pass between pages:

  • if data complicated , interconnected ("a wizard scenario") - use faces-config.xml, let pass complex objects between pages;
  • if data can presented simple strings (like "a detail page product_id = 145"), use plain links (like /product.jsf?product_id=145) , inject beans request params using faces-config.xml , managed properties (like: #{param.product_id}).

since stuck on using jsf 1.1 (i suspect balusc hard pressed it) - must strive simplicity everywhere else.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -