AnsweredAssumed Answered

Call popup with no toolbar from custom action

Question asked by frontman on May 30, 2011
Hi,

Is there any way to specify from a custom action properties to remove toolbar from a popup?

Here's what I'm doing:

<action id="firmadigitalNWF">
   <label>Firma Digital</label>
   <href>/jsp/firma/FirmaHash.jsp</href>
   <image>/images/icons/page_key.png</image>
   <target>new</target>
   <action>firmadigital</action>
   <params>
                  <param name="id">#{actionContext.id}</param>
                  <param name="wf">false</param>          
        </params>
</action>

The only way I've had relative success is making the call from a script, using the following code:

var openPage = "<script>window.open('http://localhost:8080/alfresco/jsp/firma/FirmaHash.jsp?wf='+wf+'&id='+id+'','_blank','toolbar=no,width=640,height=450,directories=no,status=no,scrollbars=no,resize=no,menubar=no'); setTimeout('history.back()',500);</script>";

openPage;


Any ideas?

Regards

Outcomes