AnsweredAssumed Answered

BrowseBean Outcome Error

Question asked by p3d3r0s0 on Aug 3, 2010
Latest reply on Aug 4, 2010 by p3d3r0s0
Hi, I'm trying to go to the details view of a new file/node i just created. I'm doing this:


         if(this.browseBean == null){
            this.browseBean =(BrowseBean) FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "BrowseBean");
         }
         this.browseBean.setDocument(new Node(tempNodeRef));// nodeRef of the new file
         
         outcome = "dialog:showDocDetails";

My class extends from BaseDialogBean.
After returning my new outcome, i get an error:

javax.faces.FacesException: org.apache.jasper.JasperException: javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.web.bean.repository.Node, property: downloadUrl
caused by:
org.apache.jasper.JasperException: org.apache.jasper.JasperException: javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.web.bean.repository.Node, property: downloadUrl
caused by:
org.apache.jasper.JasperException: javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.web.bean.repository.Node, property: downloadUrl
caused by:
javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.web.bean.repository.Node, property: downloadUrl

I dont understand where this error is coming from, because i can "see" the new file details if i access it after its created. I just can't access the details using the outcome method.
Can anyone help?

Outcomes