AnsweredAssumed Answered

display document name in dialog?

Question asked by targa2000 on May 21, 2010
Latest reply on May 26, 2010 by targa2000
I'm trying to display the document name in a dialog. 

tried different ways, but can't seem to get it.  Any help?

here's what I have tried:

in my .jsp
<h:outputText value="Document Name: " />
<h:outputText value="#{BrowseBean.document.name}: " />
<h:outputText value="Node Name: " />
<h:outputText value="#{DialogManager.bean.node_name}: " />

BrowseBean.document.name returns nothing. 

I get an error using DialogManager.bean.node_name.  I overrid the init() in  BaseDialogBean:

   @Override
   public void init(java.util.Map parameters) {   
      // get the space the action will apply to
      node_name = this.browseBean.getDocument().getName();
      
   }

returned java.lang.NullPointerException

Outcomes