воскресенье, 5 января 2020 г.

PORTLET SERVERESOURCE FILE DOWNLOAD FREE

Unlike action method , Liferay portal will not call render method after completion of serve resource phase. How do we handle problem users? Please type your message and try again. If we talk about liferay MVC portlet , it has following class hierarchy. One of the main functionality added in portlet specification 2. Leave a Reply Cancel reply Enter your comment here You can refer my blog https: portlet serveresource file

Uploader: Fenrizuru
Date Added: 23 November 2012
File Size: 42.79 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 71869
Price: Free* [*Free Regsitration Required]





This functionality is configured in portletsuite-webapp at:. In order to access the print variable, use the velocity variable: Resource URL invokes the serveResource method of portlet.

Liferay is easy: Upload / Download Files in Liferay

Here we have a anchor tag, on clicking the link, serveresokrce script method will be called. Suite velocity templates jcs. Configuration files are located in the portletsuite-config module at: This method works with HTML pages.

Here you can describe a mapping that routes a portal context property to a contentid content page that should be displayed by default.

Looks to me that they ignore the fact of using JBoss Portal in real world systems. I'm trying to create a portlet that allows a user to download a file from it.

portlet serveresource file

After serve resource call is handled, it will simply returns response back to client side and no other methods are executed. See the spec for more details. Many of them are switched on by default. But JBoss does not offer any other solution.

Portlet can send dynamic content to client in serve resource phase. Please type your message and try again. Hi Rohit, Sorry for late respond. setveresource

portlet serveresource file

So if the content-disposition can't be set on the header, the browser doesn't know to initiate the download process. To make the portal permissions visible for the portlets in the Portlet.

Portlet serve resource phase / Lifecycle

RenderRequest object print parameter in the portlet. Use the new resource serving mechanism in JSR Leave a Reply Cancel reply Your email address will not be published. Notify me of follow-up comments by email.

This functionality give possibility to display CMS saved but not yet published content in the portlet. Please provide implementation of serveResource in portlet and jspas you have provided fro processAction and render methods.

Actually I solved extending the StrutsPortlet and overriding the method serveResoruce.

Navigation

If the Gentics Portlet. String method received by the ContentConnector in order to be able to cache the resources in the browser.

Hello Madhu, Welcome to tech blog. You are commenting using your WordPress. Suite is deployed in a Liferay Portal an additional role-mapping sreveresource needed in the liferay-portlet.

Portlet serve resource phase / Lifecycle - Tech blog

You are commenting using your Twitter account. Hi Jitendra, Thanks for your suggestion. Others can be switched on manually.

Fill in your details below or click an icon to log in: Hope this solve your problem.

Комментариев нет:

Отправить комментарий