views:

36

answers:

1

Hey Guys, I am trying to find the way to use same view-state but with different views so that based on where it is being called, I can provide different view to the user.

For instance, trying to achieve as follows:

<var name="searchpage" value="search.jsp">
<view-state id="searchBusiness" view="${searchpage}"/>

Please share your experience so that I can achieve this functionality easily.

A: 

i think you can use decision-state for this purpose as first state of your flow.

AshkaN