portlet 3 « portlet « Java Enterprise Q&A

Java Enterprise Q&A
39.Web Service
Java Enterprise Q&A » portlet » portlet 3 

1. Custom Portlet modes    coderanch.com

Hi All, I am new to portlets and going through specification v1.0 for my new project. In section PLT.8.4 Custom Portlet Modes was mentioned. I have doubts about this new modes. when a developer goes for this in real time and how to map to vendor custom modes. any help in this regard is appreciated, thanks in advance With Regards, Prakash ...

2. show/hide portlet?    coderanch.com

3. PortletException    coderanch.com

I am trying to add a portlet to Pluto 1.1.3. I have modified the pluto-portal-driver-config.xml file to add a page and web-app to pluto. This new web application is a simple jsp. I have added JSF Configuration (MyFaces) to the application in hopes to use JSF as the next step in my development effort. I have added the jar files for ...

4. what is .xdime?    coderanch.com

5. javax.portlet.PortletContext    coderanch.com

6. evaluating portal-portlet solution    coderanch.com

Hi there, Currently we are in the architecture design phase for a new client engagement. Amongst many ideas brought forward there is considerable focus on going forward with a portal - portlet solution. As i understand each portlet is a web application in itself. Now say if we model our requirements into portlet application we will be having around 20 odd ...

7. About usage of Portlet Preference and Portletconfig    coderanch.com

Wow! You're joking, right? Portlet preferences are user specific. A PortletPreference keeps information about a specific user. PortletConfig is almost the exact same thing as the ServletConfig. It allows for setting a property that is common to ALL instances of that portlet. So, if I have a CaliforniaStateTaxPortlet, I can set the tax rate to say, 6%, so everyone using that ...

8. changing Portlet Preference    coderanch.com

9. J2EE Application to Portlet    coderanch.com

What server are you running on? One way is to just write a new interfac using the JSR168 APIs, and JSPs. The JSPs/Portlet can simply call your back end J2EE resources like your old Servlet/JSP application did. Should'nt be much of a problem. If you're real lazy, you can web clip, which clips existing content into a portlet. One big direction ...

10. EL dosn't work    coderanch.com

Hi! My example: ------------------------------------------------------------------------------------------------------------------------ public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException{ response.setRenderParameter("username", "aaaa"); response.setRenderParameter("a", "a"); response.setRenderParameter("b", "b"); response.setRenderParameter("c", "c"); request.getPortletSession ().setAttribute("a", "a"); request.getPortletSession().setAttribute("b", "b"); request.getPortletSession().setAttribute("c", "c"); request.setAttribute("a", "a"); request.setAttribute("b", "b"); request.setAttribute("c", "c"); } public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException{ PortletRequestDispatcher dispatcher = getPortletContext().getRequestDispatcher(_view); dispatcher.include(request, response); } ---------------------------------------------------------------------------------------------------------------------------------- <%@ page language="java"%> <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%> <%@ ...

11. entries required in portlet.xml    coderanch.com

12. why EAR project required?    coderanch.com

13. Developing/Deploying/Acessing Portlets: Info/Help/Guidance required    coderanch.com

Hii everybody, I am totally new to portlets and want to develop portlets. Here is the infrastructure that i have at presently. 1) Machine 1 :WebSphere Application Server V6.1 and WebSphere Portel Server V6.1 on Red Hat Linux V4 system 2) Machine 2 : DB2 V8.1 Database on another Red Hat Linux V5 system. 3) Machine 3 : LDAP Directory on ...

14. How to control the size of the portlet?    coderanch.com

The layout of a portal page is determined by the theme and skin in which it resides. Tables and style sheets can be used to manipulate the layout within a portlet, but you can't control the overall size. All you can do is develop a portlet that will look good in any environment. Having said that, if your portlet is given ...

15. Portlet Development    coderanch.com

My friend, there are no dumb questions. There are only dumb people, and the dumb people are the ones that never ask questions. I actually meant to post a reply to this, but got sidetracked. It's a good question. As an author of a book on JSR168 programming, I'd like to tell you that all of your time is spent developing ...

16. Face Managed Bean    coderanch.com

Hi All, I am new to JSF jsr168 portlet development, I have created 2 portlets and 2 face managed beans using option (Face Managed Bean in PAGE DATA view in RAD) and made them application scope. I want to use some methods and variables defined in first bean in 2nd bean ( order of flow of those pages is 1 and ...

17. portlet size depends on browser size?    coderanch.com

A little bit of a control freak, eh? Trying to completely control the layout? You can do this in the theme, but again, a portlet is just HTML delivered to the client. Surely setting height and width properties at the table and TD level within the portlet should control sizing to a degree. -Cameron McKenzie

18. will ajax work on IBM portal/portlets 5.0    coderanch.com

Hi Ranchers, Just wish to know that will ajax will work on IBM specified portlet in IBM portal server ? I know that it work on Servelts/JSR 168 but its not working properly on IBM specified portlets in IBM Portal Server 5. I will appreciate if you could give light on the topic and tell me how it is possible .. ...

19. please help me    coderanch.com

hi guys i got on project but as i am jouner java programmer and it first project i can not imaging the border of this project this project is website work as general reference(for newspaper,chating sites,channels,and so on), and i am planing to do it by java of course . so my friends i want to know 1 how to manage ...

20. Opensource calendar portlet    coderanch.com

21. doubt in installing eXo    coderanch.com

Quickstart Running eXo Platform is really an easy game. Here are the steps to get you up and running in less than 5 minutes: Install Java SE 1.5+ Download an eXo pioneer build. Select the last tomcat one in the "eXo Enterprise WebOS" section. It should look like: exo-enterprise-webos-rXXXXXX-tomcat.zip where XXXXXX is variable. Unzip that package under a path that does ...

22. http://www.portletbridge.org    coderanch.com

Hi, I am evaluating the portletbridge portlet from http://www.portletbridge.org. Unfortunately, it looks like there is quite few document for the configuration and the setup. Is there anyone who has experience of this? Please help me solve the following problem. Scenario : I can wrap an web application in a portlet using portletbridge, and the web application is currently being hosted in ...

23. New to potlet. Doubt about actionURL and renderURL.    coderanch.com

This just has to do with the two stagest a portlet goes through when a request comes in. All the logic should go into the action phase. This phase processes the client request, and is allowed to make a bunch of decisions about things like whether the portlet will be shown in edit or config mode, whether it will be minimized ...

24. OOB portlet connects to external site    coderanch.com

25. Portlets .....How / Where / When to start ?    coderanch.com

Can anyone answer my below questions please ? I am waiting to start on it.Thanks. Hi Ranchers , I have been a Java Programmer for over a year . My main tasks in my Job include coding JSP`s and Servlets . I want to learn IBM portlets . My colleague told me that the market for this is very good in ...

26. How to retrieve portlet id within a portlet code?    coderanch.com

Are you talking about the name that appears in the portlet.xml file, or the unique id that the portal assigns to a unique user instance of a portlet? Either way, I'm not sure if you're going to have too much luck, other than with the encodeNamespace. Maybe you could tell me what you're trying to do. If it's the name in ...

29. Credential Vault    coderanch.com

30. New to this forum    coderanch.com

A portlet is a small window that delivers unique content to the end user. A portal page is a web page in which a number of portlets are assembled, all within the confines of a theme and skins that provide a consistent overall look. A portal is an environment that allows portlets to run, pages to be aggregated together, and finally, ...

31. EL does not work    coderanch.com

32. wcm_global_context vs new_wcm_context    coderanch.com

33. portlets with embedded Objects    coderanch.com

Hello, I have a jsp page with an embedded object in it. I first made a web application with this JSP and it is working fine. But the moment I add the jsp to be displayed on a Portlet in a websphere portal, the portlet gets loaded, but the Object is not seen. I am using RAD 7.0 with Websphere Portal ...

34. In Portlet Administration, getting : "This portlet is unavailable."    coderanch.com

Hi, I am using RAD6.0 with WPS-5.1. Whenever I click in "Administration" ----> "Portal User Interface" ----> "Manage Pages " or any other link, I am getting "This portlet is unavailable. " . In all I am not able to Administrate my Portlet Pages. I followed following steps: 1. I repleced the fresh copy of cloudscape at "\Portal51UTE\PortalServer". 2. Deleted the ...

35. NANT    coderanch.com

36. portlet accessing ejb    coderanch.com

There's absolutely no difference between accessing an EJB from a portlet as there is from a Servlet. Just do the JNDI lookup, get the home, obtain the remote interface, call the methods and catch the exceptions. Absolutely no difference at all. Here's a tutorial on invoking EJBs from a Servlet. No difference with a portlet: How to write EJB clients with ...

37. How to open a PDF in a Portlet    coderanch.com

Hi, I am new to portlet environment. My aim is to let the PDF open at user's end/make him save it. As portal sets the content type (e.g, text/html) and encoding as the portal page starts rendering. In my case, the setContentType() would be useless since the servlet container won't let me change it. I can either use a popup browser ...

38. Where can Portlets be deployed?    coderanch.com

Well, I'd advise to install it as a separate web app first. Then you'll get a feeling of what's involved in setting it up. But essentially, yes, if you copy the jar files (and whatever else is required) to your web app, and make the necessary additions to your web.xml file, then you should be able to run the portlet container ...

39. How to Obtain Remote IP Address    coderanch.com

It is extremely hard to get the client's IP address in a reliable manner. Most of the 'net these days uses NAT to do address mapping, and many more folks use proxies. If you want the address for logging, it can have a little value, and its easy. But if you need to actually know the real IP address, its very ...

40. discoverer reports    coderanch.com

41. ClassCastException    coderanch.com

HI All, I have an application (built on jsf and jaxb) running on websphere portal server 6 (WAR). When i deploy this application as WAR File i am getting following error, SRVE0169I: Loading Web Module: [12/23/07 18:32:14:641 IST] 00000056 Digester E Digester.getParser: [12/23/07 18:32:14:656 IST] 00000056 Digester E TRAS0014I: The following exception was logged java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) at org.apache.commons.digester.Digester.getFactory(Digester.java:512) ...

42. Portlet Maximize    coderanch.com

43. RunData    coderanch.com

44. Portal/Portlet jumpstart    coderanch.com

Hi there, I have a need to learn portal/portlet quickly for the coming project. I would like to do a hello world portlet. Could someone show me how to set up the environment. I have jdk 6, tomcat, pluto. I have knowledge of servlet/jsp but don't know how to integrate the portal container to tomcat and jumpstart to say hello. So ...

45. How to close the child portlet    coderanch.com

Hi, I have a parent portlet and a child portlet. On the click of the CANCEL button in the parent portlet, the child portlet should get closed. I have given the code for checking whether the child portlet is open. How will I code to close the child portlet? Previously, I have done checking using the below code. if(bean.isChildPortletOpen()==true) { ??? ...

46. converting form in portlet to document    coderanch.com

47. When I should Portlets?    coderanch.com

48. response.setRenderParameter is full?    coderanch.com

In my ProcessAction, I am returning a StringBuffer from a method and converting it to a String and then setting it with response.setRenderParameter("param", String) so that I can access it in my doView. However, it seems that the response "bucket" cannot accept all the data in my String. If I remove some of the data and pass it into the response.setRenderParameter, ...

50. Free website/portal    coderanch.com

51. portlet.PortletException    coderanch.com

javax.portlet.PortletException at com.bea.portlet.container.PortletStub.getPortletInstance(PortletStub.java:645) at com.bea.portlet.container.PortletStub.init(PortletStub.java:190) at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:637) at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(JavaPortletContent.java:208) at com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(JavaPortletContent.java:127) at com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender(JavaPortletContent.java:83) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306) at com.bea.netuix.nf.UIControl.render(UIControl.java:578) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:297) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503) ...

52. Interview Questions    coderanch.com

53. inputRowSelect show only if column value = 1    coderanch.com

Hello. In my application I am trying to show the search result in dataTable. The difficulty is that the inputRowSelect should be disabled or hidden if InSelectedList column value equals 1. If I tried to use render condition, but in this case I couldn't get the rows selected values. Maybe, you could suggest me any solution? Thanks in advance. Ina Bumstein ...

54. break MISSING_BLOCK_LABEL_293    coderanch.com

This question is not related to portlets -- in the future, please post questions to the correct forum. For now, I'll just post a quick answer and lock the thread. This is likely due to the fact that the Java class has been obfuscated. An obfuscator is a tool that will make it difficult to decompile classes. It is generally used ...

55. Designing tool    coderanch.com

56. Portlet out of memory problem    coderanch.com

Hi, I have a existing jsf web application that use axis2 stub to call another service which is working. After I make the neccessary configuration to change it to portlet and run on jboss portal, I encountered out of memory error as below. 08:10:38,226 FATAL [application] java.lang.OutOfMemoryError: PermGen space 08:10:51,695 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_41] - Abort called illegaly on atomic action -53efadae:600:4795963f:2de ...

58. How to retrieve portlet id?    coderanch.com

59. PortletSession and duplicate portlets    coderanch.com

Hi, I've written a portlet which displays a directory structure that the user can navigate to access files. This is working fine. Putting it simply the directory structure and current state, ie which directory the user has navigated to, is stored in a TreeMap which is stored in the PortletSession. The requirement is for the user to be able to view ...

60. converter and validator    coderanch.com

Hi, I have a field named 'Dog' I want user to enter input in following way: dog name-owner name For example: tommy-micheal is valid, doggie-ramlal is also valid, whereas pappi is not valid. I have written a validator for this: public void validate(FacesContext arg0, UIComponent arg1, Object arg2) throws ValidatorException { System.out.println("validate called"); Dog dog = (Dog) arg2; String regex = ...

61. libraries    coderanch.com

Hi I need some guidance on the portal approach. If I have a portal application in which all of the portlets(separate war files) are using some framework jars. The framework is the one that my org. follows. Since all the portlets use it can I share it at a common location or I have to put them in the portlet's WEB-INF\lib ...

63. Portlet modes    coderanch.com

Suppose I have a portlet that shows me some info about a person from the database. I have to provide a way by which the info can be edited as well by the logged in user. So what is the best way to do it. Should an edit link be provided in the portlet or should this be done in the ...

64. UnavailableException    coderanch.com

66. voting or survey portlet    coderanch.com

67. Portlet is a web application?    coderanch.com

I have googled the definition of Portlets but still not quite sure of what exactly a Portlet is. From what I read, a portlet is equal to one web application and you can have several web applications (portlets) each having their own small non-overlapping window (or frame?) making up one big window or web page? For example one big window or ...

69. Portlet Preferences not loading , portlet does not populate table values.    coderanch.com

Hi, I have created a portlet and specified the portlet preferences in portlet.xml file ,and there are no values set for these preferences.When the portal page loads for the first time, i am expecting the portlet with the portlet preferences loaded from the bean table, but it doesnt happen. but after the portlet is loaded,I click on the edit view link ...

70. Replacement for createReturnURI in JSR1 68    coderanch.com

My doubt is portlet:createReturnURI will take us to caller portlet example like back button in edit to go to view mode., I fi use the portletAPI:actionURI for the action phase will it give the same behaviour or i need to specify the portletMode="view" something like that ., please help me., Thanks In Advance

71. wpsadmin password    coderanch.com

Hi, I have a machine which has RAD and portal toolkit installed. The thing is that i do not have the password for the Admin user. I tried changing the password by updating the config files but i believe it needs the password in an encoded format. If I add a user with some password and use the same password as ...

72. HTML-Request with portlets    coderanch.com

I think this is what the Java networking API is all about. You can connect to a URL, grab the response, and then parse it out any way you want. The technology to do that is portal agnostic. You could do it in a servlet, jsp or stand alone Java app. Most portals come with a page clipper that does this ...

73. renderRequest is throwing NullPointerException    coderanch.com

Hi, I'm trying to incorporate portlet into my file upload jsp page; and I'm new to using Portals and Portlets. The application is throwing a NullPointerException whenever I invoke the 'renderRequest' or 'renderResponse' object. I had know what I'm doing wrong. Here's my code: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ page session="false" %> <%@ page ...

74. How to pass parameters between portlets?    coderanch.com

You're going to find this a challenge in JSR168. Portlets in a common war can share data in the PortletSession through the APPLICATION scope, but I'm not sure if that solves your problem. I might ask why it's a second portlet that needs the first portlet's data? Could you change the design of the app to be more portal friendly? What ...

75. Searching using multiple field    coderanch.com

I have 10 field as a search option All field are optional,means i can have value for a single field or for any no of fields or it may be a default search.How can i implement this? Can i use if else condition in my code or can i retrieve the result using a single query ? what will be the ...

76. What is portlets?    coderanch.com

77. IncompatibleClassChangeError in Portlet Application..    coderanch.com

Hello All, I am trying to run already developed IBM Portlet Implementation based Portlet Application. I am using IBM Portal Server V5.1 to run my application inside IBM RAD6.0 After starting portlet server when I am trying to access this application, it gives me following error in one of my log files:- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ java.lang.IncompatibleClassChangeError: class com.ibm.wps.pe.pc.legacy.impl.PortletSessionImpl does not implement interface javax.servlet.http.HttpSession ...

78. More than one portlets in a single war file    coderanch.com

Yes, if two portlets have the same JSP, they need to be in the same war, that's for sure. A single portlet application is delivered as a war file, but that application may have many portlets within it. An accounting application might have one portlet that allows you to file, one that allows you to find tax information, one that allows ...

79. Which portlet API ?    coderanch.com

Hi all, I would like to know about various OpenSource portal API available in market and comparison. Our organization wants to implement portal in which all applications will be deployed containing features like single signon, central access to all data about employees and other applications etc.. Please provide me links for various options available and matured / stable open source portals. ...

80. javax.portlet.RenderResponse    coderanch.com

81. previousMode    coderanch.com

82. get portlet with uniquename    coderanch.com

83. Invoking a portlet    coderanch.com

84. Whether JAX-RPC Calls are supported from a Portlet?    coderanch.com

The createCall(String portName) API from the Service interface when created with a full WSDL information will no longer return a fully initialize Call object that could be used directly after setting the operation name with the setOperationName(String operationName) API. Call instances returned from the createCall(String portName) will be uninitialized and all the parameter types, return type, encoding style and endpoint address ...

85. Content Management Systems..    coderanch.com

86. portlet is not available    coderanch.com

87. Problem with two portlets in one war-file.    coderanch.com

Hello, I have developed two portlets to be used under WAS 5.0.2, and put them in the same .war-file to ease the installation and one less project to maintain. The problem is that they do not work when I try to put them on a page. I get an error, in the wps_.log saying: 2008.04.07 10:36:03.876 E com.ibm.wps.pe.om.definition.impl.ServletDefinitionImpl initWebModule PEPC0014E: Feil ...

88. Portlet invocation    coderanch.com

Hi I am new to portlet development.I am having two portlets(jsr168) PortletA and PortletB in a portal application. I am using weblogic workshop. PortletA have a page which takes customerid. When user enters the customerid and click the submit button then PortletB should display details of that customer. That mean PortletA should call processAction of PortletB . Please tell me how ...

89. LTPA Token validation failure problem Info    coderanch.com

Hi! My application is based on JSR-168 struts portlet, I use WAS 5.x as application server.My application has a facility to add new user from the screen, The problem that I'm facing is after entering the user details, when I click on save, it throws me the error page and doesnt add the user info to the database.Ideally when I hit ...

92. velocity    coderanch.com

93. Certification on Portlets?    coderanch.com

I'm not familiar with Sun, but IBM has two, one for portal administration, and one for portal development. IBM Tests 399 and 829 I believe. The administration one is tough, and you need lots of IBM WebSphere Portal hands-on to pass it. The development one is very focussed on JSR168, so if you know development, you'll do good. My JSR168 Portlet ...

94. Can I make a call to another portlet?    coderanch.com

You can package multiple portlets within a common, single, portlet applicatio war file. These portlets can share information through the Application Scope of the PortletSession. Check out my signature links for some free tutorials on the subject. However, JSR168 portlets don't really call each other. There's no mechanism to do that, and it's not really how portlets are intended to work. ...

95. Arabic language support in Portlet    coderanch.com

97. Portlet    coderanch.com

98. PortletService    coderanch.com

Hi, I want to know what is the IBM PortletSErvice and when it should be used. According to what is given in Infocenter, it is used to provide common functionality to portlets. But what is that common functionality. Can someone please provide some examples of the scenarios in it can be used. Thanks

99. Project Tracker    coderanch.com

100. * Welcome Jonas X. Yuan    coderanch.com

Hi Yuan, I couldn't see any of the material atleast topics covered in your book as iam eager to know what are the contents present in the book,Downloaded various tutorials on Portlets using JSR 168 and praticsed some of them and want to know how exactly it is different from other JSR Tutorial's is your book specific to liferay portal? One ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.