Foros de discusión

"Print" custom mode in liferay 3.5.0

ivicac ivicac, modificado hace 18 años.

"Print" custom mode in liferay 3.5.0

Junior Member Mensajes: 62 Fecha de incorporación: 2/02/05 Mensajes recientes
How can I use "Print" custom mode in portlets?
ivicac ivicac, modificado hace 18 años.

"Print" custom mode in liferay 3.5.0

Junior Member Mensajes: 62 Fecha de incorporación: 2/02/05 Mensajes recientes
Can somebody help?
ivicac ivicac, modificado hace 18 años.

"Print" custom mode in liferay 3.5.0

Junior Member Mensajes: 62 Fecha de incorporación: 2/02/05 Mensajes recientes
hello... can somebody answer?
thumbnail
trav trav, modificado hace 18 años.

"Print" custom mode in liferay 3.5.0

Junior Member Mensajes: 63 Fecha de incorporación: 25/07/05 Mensajes recientes
hello... can somebody answer?<br />

<br />
<br />your initial message was pretty slim on details. Perhaps try describing the custom mode &#39;print&#39; you&#39;re talking about. I&#39;ve never seen it.<br /><br />You&#39;re not just talking about popping up a new window with minimal html in it are you? I don&#39;t know if that would be a portlet specific thing...
ivicac ivicac, modificado hace 18 años.

&quot;Print&quot; custom mode in liferay 3.5.0

Junior Member Mensajes: 62 Fecha de incorporación: 2/02/05 Mensajes recientes
&quot;print&quot; mode is a new custom mode in liferay 3.5.0. I want know how to use it. I know that i have to define it like a custom-portlet-mode in portet.xml file, but is that all or if I have to do anything else?
thumbnail
Michael Young, modificado hace 18 años.

&quot;Print&quot; custom mode in liferay 3.5.0

Liferay Master Mensajes: 846 Fecha de incorporación: 5/08/04 Mensajes recientes
that should be all you need to do, and of course refer to LiferayWindowState.
vikramdotcom vikramdotcom, modificado hace 18 años.

&quot;Print&quot; custom mode in liferay 3.5.0

Junior Member Mensajes: 50 Fecha de incorporación: 1/03/05 Mensajes recientes
Did print mode work? what configurations need to be done in portlet.xml, any other file?<br /><br />I&#39;m urgently in need of printing functionality.<br /><br />Kindly help<br />Vikram<br /><br /><br />
&quot;print&quot; mode is a new custom mode in liferay 3.5.0. I want know how to use it. I know that i have to define it like a custom-portlet-mode in portet.xml file, but is that all or if I have to do anything else?<br />

<br />
<br />
vikramdotcom vikramdotcom, modificado hace 18 años.

&quot;Print&quot; custom mode in liferay 3.5.0

Junior Member Mensajes: 50 Fecha de incorporación: 1/03/05 Mensajes recientes
I&#39;m working on the Sample JSP portlet for the printing functionality.<br />The print-jsp, is my addition in portlet.xml , but doesnt seem to be working. Is there any other file to be touched?<br /><br /> &lt;portlet&gt;<br /> &lt;portlet-name&gt;sample_jsp_portlet&lt;/portlet-name&gt;<br /> &lt;display-name&gt;Sample JSP Portlet&lt;/display-name&gt;<br /> &lt;portlet-class&gt;com.liferay.portlet.JSPPortlet&lt;/portlet-class&gt;<br /> &lt;init-param&gt;<br /> &lt;name&gt;view-jsp&lt;/name&gt;<br /> &lt;value&gt;/portlet/sample_jsp_portlet/view.jsp&lt;/value&gt;<br /> &lt;/init-param&gt;<br /> &lt;init-param&gt;<br /> &lt;name&gt;edit-jsp&lt;/name&gt;<br /> &lt;value&gt;/portlet/sample_jsp_portlet/edit.jsp&lt;/value&gt;<br /> &lt;/init-param&gt;<br /> &lt;init-param&gt;<br /> &lt;name&gt;help-jsp&lt;/name&gt;<br /> &lt;value&gt;/portlet/sample_jsp_portlet/help.jsp&lt;/value&gt;<br /> &lt;/init-param&gt;<br /> &lt;init-param&gt;<br /> &lt;name&gt;print-jsp&lt;/name&gt;<br /> &lt;value&gt;/portlet/sample_jsp_portlet/print.jsp&lt;/value&gt;<br /> &lt;/init-param&gt;<br /> &lt;expiration-cache&gt;0&lt;/expiration-cache&gt;<br /> &lt;supports&gt;<br /> &lt;mime-type&gt;text/html&lt;/mime-type&gt;<br /> &lt;portlet-mode&gt;edit&lt;/portlet-mode&gt;<br /> &lt;portlet-mode&gt;help&lt;/portlet-mode&gt;<br /> &lt;portlet-mode&gt;print&lt;/portlet-mode&gt;<br /> &lt;/supports&gt;<br /> &lt;portlet-info&gt;<br /> &lt;title&gt;Sample JSP Portlet&lt;/title&gt;<br /> &lt;short-title&gt;Sample JSP Portlet&lt;/short-title&gt;<br /> &lt;keywords&gt;Sample JSP Portlet&lt;/keywords&gt;<br /> &lt;/portlet-info&gt;<br /> &lt;security-role-ref&gt;<br /> &lt;role-name&gt;guest&lt;/role-name&gt;<br /> &lt;/security-role-ref&gt;<br /> &lt;security-role-ref&gt;<br /> &lt;role-name&gt;power-user&lt;/role-name&gt;<br /> &lt;/security-role-ref&gt;<br /> &lt;security-role-ref&gt;<br /> &lt;role-name&gt;user&lt;/role-name&gt;<br /> &lt;/security-role-ref&gt;<br /> &lt;/portlet&gt;<br />&lt;/portlet-app&gt;<br /><br />Thanks in Advance<br />Vikram<br /><br />
Did print mode work? what configurations need to be done in portlet.xml, any other file?<br /><br />I&#39;m urgently in need of printing functionality.<br /><br />Kindly help<br />Vikram<br />

<br />
<br />
ivicac ivicac, modificado hace 18 años.

&quot;Print&quot; custom mode in liferay 3.5.0

Junior Member Mensajes: 62 Fecha de incorporación: 2/02/05 Mensajes recientes
There was a bug in 3.5.0 release and this is fixed now in CVS.
vikramdotcom vikramdotcom, modificado hace 18 años.

&quot;Print&quot; custom mode in liferay 3.5.0

Junior Member Mensajes: 50 Fecha de incorporación: 1/03/05 Mensajes recientes
Thanks ivicac