incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin McKay (JIRA)" <>
Subject [jira] Updated: (ADFFACES-434) Dynamic View Handeling from a ValueChangeEvent(SelectOneChoice or Similar)
Date Mon, 16 Apr 2007 19:27:15 GMT


Justin McKay updated ADFFACES-434:

    Attachment: test.xhtml

Here is my test.xhtml file

> Dynamic View Handeling from a ValueChangeEvent(SelectOneChoice or Similar)
> --------------------------------------------------------------------------
>                 Key: ADFFACES-434
>                 URL:
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: I have tried with the nightly build as well as 1.0 and 1.0.1 versions
of Trinidad.  State Saving on the client side
>            Reporter: Justin McKay
>         Attachments: test.xhtml
> Dynamic navigation from a ValueChangeEvent(selectOneChoice).  This did work with Oracle's
ADF but is
> not working with Trinidad.  It seems like the page is created(backing beans are called
> and the page seems to be generated), we are just not actually moving to that
> page.  One thing to note is this code does work from an ActionEvent(Button
> or Link).   
> String path = "/misc/finder.xhtml";
> FacesContext fContext = FacesContext.getCurrentInstance();
> ViewHandler vh = fContext.getApplication().getViewHandler();
> UIViewRoot uroot = vh.createView(fContext, path);
> fContext.setViewRoot(uroot);
> I also tried to use the external context to redirect to a new page:
> FacesContext context = FacesContext.getCurrentInstance();
> HttpServletResponse response = (HttpServletResponse)context.getExternalContext().getResponse();
> response.sendRedirect("");
> This code does not work either.
> The strange thing is if I try and say click an unrelated button on the page afterwards,
 the browser then goes to the page we tried to go to from the Value Change Event.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message