alex mustieles píše v Út 03. 05. 2011 v 12:32 -0500:

Hi Alex,

> Hi,
>  
> I downloaded these jar files in order to fix the the bug reported at: 
>  
> https://issues.apache.org/jira/browse/MYFACES-3101?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs
>  
> Jar files:
> https://repository.apache.org/content/groups/snapshots/org/apache/myfaces/core/myfaces-api/2.0.6-SNAPSHOT/myfaces-api-2.0.6-20110501.000939-11.jar
>  
> https://repository.apache.org/content/groups/snapshots/org/apache/myfaces/core/myfaces-impl/2.0.6-SNAPSHOT/myfaces-impl-2.0.6-20110502.150311-11.jar
>  
> 
> I just replaced them in my project (Is it all I should do?????)

yes

> , but:
>  
> 1.- I don't get the nullpointerexception anymore but I don't get my page can 
> be redirected
>  (using nav.handleNavigation(fc, null, "/prototipo/errorLoginPage");
>      now error is shown.

What error?  Please check that /prototipo/errorLoginPage.xhtml exists in
your project.
>  
> 2.- But If I use nav.handleNavigation(fc, null, 
> "/prototipo/errorLoginPage?faces-redirect=true"); I get this error
>       java.lang.NullPointerException 
>       at 
> org.apache.myfaces.context.servlet.PartialViewContextImpl.getPartialResponseWriter(PartialViewContextImpl.java:301)
>  
> 

the problem with redirect is known:
https://issues.apache.org/jira/browse/MYFACES-3105
I'll look at it ASAP.

>  
> Besides that, when I try to open a jsf I get this error:
> 
> javax.faces.view.facelets.TagException 
> /prototipo/altaEmpleados.xhtml at line 69 and column 15 <f:metadata> Parent 
> UIComponent j_id826412481_721d0ace should be instance of UIViewRoot 
> 
> What am I doing wrong??? Or what else do I need to do so the fix works 
> fine??? 

Please paste you xhtml code, this can be a bug in snapshot or in your
code: notice, that f:metadata must be child of UIViewRoot:
see http://www.mail-archive.com/users@myfaces.apache.org/msg57247.html

>  
> thx                                     




Reply via email to