myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: [Trinidad] Linking to external pages
Date Mon, 11 Jun 2007 17:41:28 GMT
Make a tr:selectOneChoice autoSubmit=true, and add a valueChangeListener
that calls

 FacesContext.getCurrentInstance().getExternalContext().redirect(
event.getNewValue());

-- Adam


On 6/11/07, St├ęphane Poirier <stephane.poirier01@gmail.com> wrote:
>
> Hi,
>
> I'm planning to use a combobox which, when changed, should redirect to an
> external link (a parameter is added to the link's URL (the selected item's
> value)). I'm confused about how to do that. Are there some automatisms from
> the framework of it is mostly a Java coding job?
>
> Thanks in advance!
>

Mime
View raw message