<UICommand action="#{bean.process}">

// On bean
public String process()
{
     // process
     if (result1)   return "processResult1";
     if (result2)   return "processResult2";
     if (result3)   return "processResult3";
     if (result4)   return "processResult4";


     return "processResultDefault";
}

On 12/20/05, tony kerz <[EMAIL PROTECTED]> wrote:
> at the risk of asking a stupid question:
>
> if i wanted to have a user hit a url and have some processing take place
> which then results in one of several available pages being displayed, in
> struts i could easily accomplish that with an action class.
>
> what would be the appropriate way to accomplish that functionality in a
> JSF application?
>
> something like dropping into an action method on a backing bean, but
> without the initial page...
>
>

Reply via email to