portlet 1 « portlet « Java Enterprise Q&A





1. Your experience with "modular" web sites in Java?    stackoverflow.com

I'm building small web site in Java (Spring MVC with JSP views) and am trying to find best solution for making and including few reusable modules (like "latest news" "upcoming events"...). So ...

2. Portal/portlets programming - portlet linking/page flow    stackoverflow.com

I am writing my first portlet based application (for liferay, but the solution should be container agnostic) and I am wondering how people solve to provide links to the user that ...

3. Pros and cons of Java Portlets?    stackoverflow.com

I have a project in which my client is asking me to use portlets 1.0 spec and Websphere Portal Server 6.0. I haven't worked with portlets before but what I've heard ...

4. Why would a portlet need to change the character encoding?    stackoverflow.com

I'm wondering why a portlet would need to change the character encoding? If it's included in a page, the page should already have a character encoding. I don't see what a ...

5. Can you recommend a java portlet software?    stackoverflow.com

Currently I am developing java webapps using spring-mvc. I would like to add a protlet feature to my webapps (something similar to Jira's homepage). Can you recommend a software which will give me ...

6. Can you recommend a lightweight java portlet software?    stackoverflow.com

I am a long time java web developer but I am new to portlets technology. Currently I am in the stage of finding my options. I have tried Liferay and although ...

7. Adding portlet capabilities    stackoverflow.com

I am currently working on an existing java web-app. My web app can be deployed on Tomcat, Websphere or Weblogic. I would like to add portlet capabilities to my web app. I know that ...

8. What does portlet programming in java can offer to us?    stackoverflow.com

even i do search in google, and read some of the article, but i still not clear what portlet in java can do for us (english is not my native language, ...

9. How Java Portlet works?    stackoverflow.com


I have few questions regarding java portlets ( JSR 286). My requirement is to integrate a php web site to main site of client using java portlets ( one of the ...





10. What standards and best practices should I follow to write interoperable portlets or web gadgets?    stackoverflow.com

I am trying to design the standards and patterns for implementing portlets/web gadgets with the main goal of maximizing interoperability if those components were hosted in a Java app server framework ...

11. Using JDeveloper to develop a portlet for JavaFX project    stackoverflow.com

Suppose I developed a JavaFX project using netbeans 6.8 (JavaFX SDK plugin installed), and right now I need to convert this JavaFX UI to portlet and display it in a web ...

12. can you explain the purpose of jsession id in portlet    stackoverflow.com

can you explain the purpose of jsession id in portlet

13. Render/Redirect to Another View Using Portlets    stackoverflow.com

I have a login portlet up and running that's based on this tutorial. It works just fine, however, if there is an error with the login form the ...

14. return a json object from doview method of a basic portlet    stackoverflow.com

i want to return a json object from doview method of a basic portlet to dojo.rawXhrPost (handle as:xml) method of javascript how to do that?

15. portlets - is it worthy?    stackoverflow.com

what do you think about portlets? Are they good, or is there something better? Is it worthy? thanks

16. How would I make portlets with the same backing class display different information?    stackoverflow.com

I have a list with x number of items, and a page with x number of portlets. Each portlet on the page has the same backing class and access to my ...





17. Download the portlet 2.0 api    stackoverflow.com

Can anyone tell me where I can download the portlet 2.0 api from?

18. What kind of technology used for iGoogle portlet development?    stackoverflow.com

This is Nagendra, i am working in same king of environement. Please tell me what king of technology u used for developing this kind of portlets and having drag and drop ...

19. Java portlet settings    stackoverflow.com

I'm building a java portlet (JSR-168) application and want to define settings, which only the portal administrator can access/change. What are my options?

20. Portlets for an existing web application (Java)    stackoverflow.com

I need to develop a page for an existing web application (java) that will include all kind of components that the user can enable/disable (these will need to be saved for ...

21. igoogle like portlets with maximize minimize option (on maximize need iframe for loading)    stackoverflow.com

I made the drag and dropable portlets like igoogle using jquery UI. But now I am in need of a maximize and minimize button for each portlets. And the portlets which ...

22. java framework for portlets    stackoverflow.com

Which is the best (easy to learn, feature rich ) java framework for creating portlets. I will be targeting liferay portal. Josh.

23. Portlets and legacy application    stackoverflow.com

At work we have both a legacy web app (a decade or so) as well as a new web application (< 6 months), both developed in Java. At the moment, both ...

24. Stream File in Portlet with Java    stackoverflow.com

I'm quite new to Java. I am trying to make a Vaadin portlet and I need to basically allow the user to download a file. The file is ...

25. Junit with Jmock of portlet class throws java.lang.UnsupportedOperationException:    stackoverflow.com

Am trying to write a Junit test with JMock for a portlet class called EnergyPortlet.java which actually extends FacesPortlet. Inorder to mock the ActionRequest and ActionResponse am using this -

private ...

26. how to use ext.define in extjs4?    stackoverflow.com

im new to extjs4 and need some help understanding how the ext.define works please in fact what i want to do is something similar to the portlets in the portal example, in ...

27. Get serveResource() to work like JAX-RS    stackoverflow.com

I'd like to use GenericPortlet.serveResource() for my xhrpost()/xhrget() AJAX calls. Up till now, I used JAX-RS for that purpose, and my methods simply returned the requested values so that the callback ...

28. Embedding a Portlet Container    stackoverflow.com

I'd like to embed a portlet container in one of my projects and have been looking at Pluto 2. However, the embedding documentation is extremely poor and I wondered if ...

29. PlumTree Document Contains serarch    stackoverflow.com

We have a BEA Plumtree portlet which searches document based on properties set (Title,subject,Name etc) The search also has facility to search documents content. I wanted to check if someone knows where ...

30. ( collective.quickupload)Quick Upload portlet invisible in plone4.1    stackoverflow.com

I successfully installed collective.quickupload to plone4.1(a fresh installed) following this guide: http://jnason.eeob.iastate.edu:8080/nasonlab/stuff-we-like/plone-notes/add-on-products/installing-plone-quick-upload. But when I click "Add new File" in a folder, no Quick Upload portlet appears on the screen. ...

31. How to disable scrollbars in Webmethods 8?    stackoverflow.com

I have some portlets made in Webmethods 7 and when I update to Webmethods 8 I have horizontal scroll bars at the bottom of each portlet. How can I disable them?? ...

32. Portlet support in tellurium    stackoverflow.com

Can Tellurium tool supports portlet testing because portlet gives dynamic and unique URL and it changes everytime when portlet renders? Can somebody please help me finding this as I did not get ...

33. How to check if parallel portlet rendering is working or not    stackoverflow.com

I have enabled parallel portlet rendering in Webspere portal server 6.1.5. by following the below steps

legacy.useParallelRendering.html = true
std.useParallelRendering.html = true
And at individual portlet level as well. Could somebody please suggest how can ...

34. How to get user input in a portlet?    bytes.com

Hello, I have a simple Hello World portlet, which looks like the following : import java.io.*; import javax.portlet.*; public class HelloWorldPortlet extends GenericPortlet { public void doView(RenderRequest request, RenderResponse response) throws ...

35. Formatted String Does Not Work When Write To A Portlet    bytes.com

Hello, I have a Java formatted string which looks like the following : PrintWriter out = renderResponse.getWriter(); ... String format = "|%1$-30s|%2$-10s|%3$-10s|%4$-10s|%5$-10s"; out.printf(format, field1, field2, field3, field4, field5); And I can ...

36. What are portlets    coderanch.com

Let me try, Portlet - It is just an window but may provide the whole functionality like any application. User can customize it according to his/her need. There may be many portlets on one page, every portlet may/may not interact with each other. It is modified form of servlet, in fact we can say it is nothing but a servlet. Portal ...

37. To Portlet or Not?    coderanch.com

I am looking for a good website CMS framework. We currently develop webapps using Hibernate/Webwork/Sitemesh. This works great for an individual app, but we are looking for a solution where we can deploy different modules (forums, wiki, etc.) I came across java Portlets (JSR 168) and it looks like it might just work. I am just concerned about how complicated implementing ...

38. portlet question    coderanch.com

I didnt find any discussion where to post this and I hope this is the appropriate place for it. In portlet.xml in WSAD I configured. Concrete nav bar en nav bar concrete [B]viewMode.page navigation.jsp[/B] Concrete main en main concrete [B]viewMode.page[/B] index.jsp ...

39. New to Portlet    coderanch.com

>> Does JSR-168 cover JSP and applet Portlet? - JSR-168 covers Portals and portlets. A portlet is related to a servlet... not an applet. They define a portlet as: from JSR-168, section PLT2.2 "What is a portlet" A portlet is a Java technology based web component, managed by a portlet container, that processes requests and generates dynamic content. Portlets are used ...

40. Performance considerations for Portlets?    coderanch.com

I'm a performance/testing tools guy at a larger company. I do internal consulting on many many different types of applications. Because of this I can never get fully aquainted with the different technologies. One of my current projects is a new implementation of IBM's portal server and of course portlets. I'm looking for advice on things to look for or to ...

41. portlet load time    coderanch.com

Hi, When my portal gets loaded (has 4 protlets), it takes ages to come up. I need to improve page load time when in one of the portlets the url is not available. I feel that somehow each of the portlets get loaded and then they all are displayed together. That might be the reason when one portlet takes time to ...

42. processRequest(..) + render(..)    coderanch.com

Hello, What is the best way to dynamically inform the render methods about a different JSP page to use for a particular request? For example, depending on some logic in processRequest(), I might want to forward a user to "/test1.jsp" or "/test2.jsp". This is determined in processRequest(..), but the request dispatcher in the render methods need to know the destination. What ...

43. how do u direct a user to diff portel or portlet depending on access rights    coderanch.com

Do you use a specific portal? E.g. in WebSphere Portal Server, it is no problem to configure the portal to the needs described in your post ... In the Java Portlet Specification, there is no chapter about portal page acces rights, for instance. Solutions tend to be vendor specific here, AFAIK ...

44. IDE for developing portlets    coderanch.com

Hi All, I am not much knowledge about oracle portlets. but now i have to start to develop some oracle portlets, so i want know that which IDE is used for this.Can anybody suggest which to use? and also from where should i begin. how to create project and all that. i head about JDeveloper IDE. From where should i get ...

45. Who knows portlet well?    coderanch.com

Correction: Portals/Portlets are not new. Many people/companies use them. There are many experts on the subject. There isn't much activity in this forum because it's new to JavaRanch. But we're trying to change that! Knowing the JSR spec like Jessica suggests is a good start, but the spec is new, and there are number of portals that don't conform to it, ...

47. encode namsepace in portlets    coderanch.com

as per my understanding, when we use things like javascript, we use the

48. RequestURI() for the Portlet    coderanch.com

49. ModeModifier.REQUESTED    coderanch.com

50. How to Start?    coderanch.com

51. taglib to access rssfeed's source and date    coderanch.com

Hi, I am new to this technology. I made a portlet using JDeveloper(IDE) wizard. Now i am having "ssfeed url"in xml format and rssutil.jar that contains tags to retreive news link but there is no tag in that .jar file to access source and date of news feed. Can anybody suggess me from where i can get latest taglib that contains ...

52. Ljava/util/Collection; not found    coderanch.com

53. develop a simple Hello World Portlet?    coderanch.com

Hi All, I have been suffering for the past few days working with WSAD 5.1.2 with the Portal Toolkit option to enable portlet development. I am using Websphere Portal Server 5.1 as my test environment. I have developed a JSR-168 portlet, but it refuses to work. I don't know what I have missed, since I'm a complete greenhorn. I have the ...

54. encodeURL() v/s encodeRedirectURL()    coderanch.com

55. Namespace prefix for form fields..    coderanch.com

holla, if you define the field names of your form like that, the second way should do. And yes, it is not very handy. Why do you want to prefix the input names of the form? I do not know your use case, but normally prefixing the form name is sufficient to avoid name ambiguities on a portal page for JavaScript ...

56. How should Portlets fit in MVC?    coderanch.com

John, long comment: The portlet markup must be created in the render phase of a portlet's life cycle, which is represented by the render method of interface javax.portlet.Portlet. doView, doEdit etc. are methods of GenericPortlet, which is an adapter class of the Portlet interface. The render method dispatches to them. It is not forbidden (and quite common for simple examples) to ...

57. processRequest and render    coderanch.com

I have seen few samples using processRequest and render independently. In few examples, both co-exist. Can someone explain me when to use processRequest and render? What is the exact difference between them? For example, I have a search form in which i enter a cust id. This should get me the details from the db and i have to display it ...

58. Jet Speed    coderanch.com

Yes I am trying this one, but I am using mvn deploy command I am getting error [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------- --- [INFO] Cannot execute mojo: resources. It requires a project, but the build is n ot using one. [INFO] ------------------------------------------------------------------------- --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: res ources. It requires a project, but the build is not using ...

59. What is portlet parameter?    coderanch.com

60. Portlets and J2EE Specification?    coderanch.com

61. doView and doConfigure doEdit and doHelp    coderanch.com

Hi I am confuse about the doMode method i.e. doView and doConfigure doEdit and doHelp that how all these work together. Either we have to put it ina single file and web container will predict which one is to be called on the request or we have to make four different servlet for these for method. Up till now I am ...

62. PortletData and portletData.store() activity    coderanch.com

Syed, If your portal is WebSphere (the API calls and your former postings suggest that) I assume that data ist stored in the WPS database (depends on your installation, whether DB2, Cloudscape, Oracle ...). I don't recommend to manipulate it directly, use the API for that. Btw. for WebSphere specific questions the IBM formums are an alternative to this one, which ...

63. Sample Portlet    coderanch.com

64. single sign-on    coderanch.com

65. logout problem on refresh    coderanch.com

66. Basics Help need for Portlet development    coderanch.com

Hi, I am totally new to the world of Portlets, I don't even know how to start though i have set up a workspace and am currently running the HelloWorldPortlet in WSAD 5.1.2 but i need some very basic help on how to code a Portlet using JSR168. Thanks in advance, Bill

67. Cluster Portlets cookie problem    coderanch.com

Hi All, I have 2 WAS servers with 2 Web servers with different IP address in a clusterd envi with a n/w dispatcher. I need a portlet with creates a cookie with the ClientIP and the HostIP of the webserver. hostIP = InetAddress.getLocalHost().getHostAddress(); But when I use this piece of code it gives me the IP address of the WAS server ...

68. Portlet developed in RAS    coderanch.com

Hi All, I have developed a portlet in RAD 6.0 using HIbernate as persistance layer. It works fine in RAD but when I tries to deploy same on portal server it is giving error as portal is unavialable. In log file I can see only init and destroy nothing else. Can any body help me in identifing the error? also how ...

69. How to change the Hello Portlet in Jetspeed2 Demo    coderanch.com

hi ppl, I am having a big problem.. I can't change the portlet title, hello portlet, in the jetspeed 2 demo. The strange things is that i am able to change the title of the pickANumber portlet. @ Portlet.xml ViewPage /WEB-INF/demo/simple/PickANumber.jsp HelpPage /WEB-INF/demo/simple/PickANumberHelp.jsp EditPage /WEB-INF/demo/simple/PickANumberEdit.jsp PickANumberPortlet Pick a number game org.apache.jetspeed.demo.simple.PickANumberPortlet -1 ...

70. portlet/portal understanding    coderanch.com

Let me start by saying that my main experience comes from the SAP Netweaver portal which is a commerical portal which integrates will with SAP backend systems, but does not conform to the JSR-168 spec. Saying that I have experimented with Liferay, Jetspeed2 and Springbeans. The advantage of portals and portlets over frameworks such as Struts / JSF is in the ...

71. future in portlets    coderanch.com

The Portlet JSR-168 spec implements a interface similar to Servlets, although it has a concept of Actions and Renderers (check out the spec) instead of doPost/doGet. If you understand servlets and JSP it's not difficult to understand. The main benefit to organisations is that portals can provide a common browser based interface (standard look and feel), and also provide SSO to ...

72. Question on portlet development...    coderanch.com

Hi, currently I'm working on how to use the NEXUS portal. I'm trying to get userid info from the session id from a cookie (created by them) and their api to get it. So far, this is what a NEXUS rep told me: Nexus offers a api called NXSETSESS api and that when I call it, this program acts as a ...

73. Difference    coderanch.com

74. "simplest" portlet    coderanch.com

Hello I'm new, created simple portlets and coped war file to .../jetspeed/web-inf/deploy folder after restart tomcat server i saw this: (...) INFO: Server startup in 65063 ms Creating war C:\Java\Apache Jetspeed 2.0\webapps\simplest.war ... 2006-02-25 19:13:58 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive simplest.war War C:\Java\Apache Jetspeed 2.0\webapps\simplest.war created INFO: File: C:\Java\Apache Jetspeed 2.0\webapps\jetspeed\WEB-INF\deploy\simplest.war deployed log4j:WARN No appenders could be found for ...

75. suggest a good site    coderanch.com

77. Portlet and Concrete-Portlet?    coderanch.com

Hello, I would like to write an article on overview of portlets. I have read the JSR 168 document for the purpose of writing this article. In addition, I have done internet search on this subject and I found information about the concept of 'concrete-portlet' and related topics. I have some problems to understand the concept of 'concrete-portlet', which is not ...

78. Bloging    coderanch.com

Hi all, Any one knows what is meant by Bloging? And also i need some of the API to integrate the bloging in my jetspeed portlet. if any one knows plz reply me as soon as possible. in fact i dont even have an idea about bloging, plz just describe about bloging and also tell me the Free API for bloging ...

80. workflow portlet    coderanch.com

Hello i have been looking at creating some workflow to be deployed within portlet, i have seen refrences to this being done, but i have not been able to find any information on how to do this, tutorials, articles etc. I was wondering if anyone would be able to point me in the correct direction? Thanks,

81. Portlet form data persistence    coderanch.com

Hi, I am new to portlet development and have this problem: There are 2 portlets on the portal in the same page. One is an email portlet, and the other is an email-address lookup portlet. If the user types up the email in the email portlet and looks up email address in the other portlet, the typed up email is lost ...

82. Creating Content Using Lotus Workplace Web Content Managment API    coderanch.com

Dear All, We have different site areas in Lotus Workplace Web Content and we create content under each sitearea according certain criteria using LWWCM "Lotus Workplace Web Content Managment" API. It works good in some sitearea but others not although all the sitearea under the same parent sitearea and same security configuration. We are using IBM websphere portal V5.1.1 Thanks for ...

83. Add maximize button to portlet    coderanch.com

85. Dynamically changing shell    coderanch.com

86. Dynamically changing shell    coderanch.com

88. hyperlink to a file from a portlet    coderanch.com

Hi, Could anybody let me know how to give a hyperlink to a file on the server from a portal page? My scenario is - the user can upload a file from his local systme which goes and sits in the server and the page refreshes by displaying the file name with a link to the file in server. The link ...

89. partner application    coderanch.com

Iam working on Oracle10g App server .. I want to make a common login jsp page for my partener application so that my partner application authenticate the users accessing from oracle single-sign-on.If anyone provide me sample code I will be his/her obliged. thanks -------------------- Sharad Pratap Portlet Developer, West-B Portlet Development CampusEAI Consortium

90. Doubt on RenderRequest    coderanch.com

Hi all, I am new to Portlet, so I just put my understanding on RenderRequest, just validate it is correct or not, RenderRequest is to display the values to the user, which will be used in Render Phase and used by VIEW, EDIT and HELP mode, But the render phase can get the values only through the PortletSession's attribute which is ...

92. Portlet Unit Testing    coderanch.com

93. portlets    coderanch.com

Portlet is actually an xml file which refer to some content. You can create just html portlet. This will be a static portlet. Or you can create portlets from jsp called jsp portlet or jpf portlet called java page flows portlet. Portlets are container just like Desktop, book, pages etc. In your portal application, desktop is top level container. It contain ...

94. is there any difference between portlet and portlets    coderanch.com

I can not understand your question , portlet and portlets ? these are the same but one is singular name and the other is not. but : a portlet is an specefic web component that can be deployed into a portal (portlet container) . portlets can be standard (compatible with jsr-168) and then they could be deployed into any portal (portlet ...

95. portlet cloning    coderanch.com

96. get the paramaters from one jspportlet into another portlet    coderanch.com

Originally posted by sai prasanna i have a jsp portlet with 2 textfields by names username,pwd and i want to get the paramaters into another portlet.any body please help With two text fields username and password, jpf portlet is better. Why you are creating jsp portlet for that. Create a jpf portlet. After the rendering of the portlet, From its begin ...

97. how to call BIRT in Java?    coderanch.com

98. Maximize a portlet    coderanch.com

99. Portlets    coderanch.com

hi I am quite to new to wbesphere portals. I have installed RAd 6.0 with all the updates. And when i have added a new portal server 5.1 server in the same as i used add an application server . But i am not able the start the portal server. When i Right click on server to start it. Start is ...

100. displaying multiple portlets in a portlet    coderanch.com

You cannot imbed Portlets inside Portlets. Just multiple Portlets on a Portal page. It all comes down to the Portal vendor implementation. How can the Portal do the necessary Session tracking, Window state and Mode checking of a Portlet inside of another Portlet. It just isn't in the spec. So if a vendor does allow this, then you are vendor locking ...