url « portlet « Java Enterprise Q&A





1. Different behavior between my java app and my navigator when querying an url    stackoverflow.com

I would like to query a portlet from a meteo service. But as my navigator gives me the correct page, my java application does not. Here is my code without try/catch:

public static ...

2. Basic question on Portlet url mapping    stackoverflow.com

Why the url mapping for a portlet is not specified in portlet.xml? Unlike 'servlet-mapping' in web.xml? What is the necessity of doing it through the portal console?

3. portlet:renderUrl - how to make URL relative?    stackoverflow.com

I have problem with http vs https link in portlets. I work with jboss liferay 6.0 but it is not relevant in this case. Portlets may be used in http or https ...

4. Portlet 2.0: No properties set on ResourceURL    stackoverflow.com

I'm creating a ResourceURL, so I can serve a file through a portlet.

final ResourceURL resourceUrl = 
    facesHelper.getRenderResponse().createResourceURL();
resourceUrl.setProperty("download", Boolean.TRUE.toString());
resourceUrl.setProperty("format", "csv");
Unfortunately the URL looks this:
/portal/portal/default/noRoles/MyPortletNoSecurityWindow?action=b&cacheability=PAGE
I can see no properties. When ...

5. url link in a portlet    coderanch.com

Hello Everyone: Please shed some light on this one: I need to create a link in a porlet to point to a pdf file in the application directory, to have the same effect that I would get from a link in a regular page. I know that url doesn't mean much for a portlet since a portlet is within a portal ...

7. Potal Url    coderanch.com

8. how to pass parameters to URL in Portlets?    coderanch.com

Here's a kewl tutorial on Portlets, Portlet Forms, Portlet JSPs, and Linking back to the Portal. I'm not sure if you're old JetSpeed or JSR-168, but either way, the concepts are pretty much the same: http://www.technicalfacilitation.com/get.php?link=portleturi A big difference is PortletURI for Jetspeed, PortletURL for JSR-168 Maybe this code snipped will give you a few ideas:. <% PortletURL url = response.createActionURL(); ...

9. Portlets and GET (URL Bookmarking)    coderanch.com

I am not sure if this is a drawback for portlets (and portals) in general , but I am wondering if there is a workaround for this. In the field of Bioinformatics (where I currently work) there is a heavy use of GET method where ID's are passed around in the URL .Is there a way in Portals where we can ...





10. URLs in a Portlet    coderanch.com

Hi, I have a Login Portlet. The Login portlet has 2 links "Forgot Username" and "Forgot password", which themselves are portlets ( i mean "Forgot Username" and "Forgot password"are protlets). when the user-clicks on the links, it should take to intial-JSP of corresponding portlets How this can be done ? Please help thanks

11. Issue in URL rendering    coderanch.com

Hi All, I have one issue which I would like to discuss it with you. If you have faced such issue please let me know. From the login page of my application, I am taken to dashboard page which has link for Bills. I click on the bills link and I am presented with bill search page. Now I copy paste ...

12. Portlet action URL    coderanch.com

Hi, I have a login.jsp, which uses Form based authentication from the container (i.e j_security_check). I want to have to two anchor links in jsp, which should trigger a portlet Is it possible to do ? Following is the sample code. The problem is login is not a portlet . Please throw some light

13. Load external URL into porlet    coderanch.com

14. setting parameters in Portlet URL that other portlet can also retrieve?    coderanch.com

Hey, I am facing these two problems which actually are inter linked. If i find the solution of one the other will also get solved. 1) Does anyone know how to set a parameter in a portlet URL that other portlet on the same page can also use or retrieve from the request. 2) Actually all custom portlets on my page ...

15. Local App Server URL    coderanch.com

Sure not a problem Here are the steps... - Open the portal server configuration (by double clicking the server in the Server tab) - You will see a "configuration" tab . There "check" the "Enable administration console" checkbox. - Start the server .. once up .. right click on the server and select "run administration server".. You will get the local ...

16. Web Clipping a relative url    coderanch.com

Hello. I am trying to create a portlet with the WebClipper portlet in WebSphere Portal 6.0. When I enter the URL to be clipped, I would like to enter a relative url, that way as I migrate the configuration up through the test environments (which all have different domains), I don't have to touch the portlet's configuration. When I try this, ...





17. Invoking a page URL .. need to append parameters to a URL IBM Portal    coderanch.com

Hi, I am using JSR168, WPS 5.1 I have a requirement wherein I need to forward control from my struts action to a page URL. I am able generate URL to that page but how do i pass some parameters to that page so that the portlets on that page can utilize them?.. Here is what i have Context ctx= new ...

18. Can I direct link a portlet via a URL?    coderanch.com

Dear all Do portlets have url that I can link directly? I find some information says that portlets are not directly URL addressable. But in JSR-286 , there are a topic about portlet url. I want to know that if a portlet can be linked by a URL that I can send some parameter to it via http request. Thanks & ...

19. Dumbest question in the world... URLs, EMBED, and portlets    coderanch.com

I have a portlet that's failing. An EMBED is using a relative URL but this can't be counted on the be the same in production. (My portlet generates a PDF and the jsp displays this with EMBED) Does EMBED work with "file://" type URLs? So far as I can tell, it does not. Otherwise I don't know how to refer to ...

20. Ajax form submit using action URL    coderanch.com

Hi All, I am trying to submit a form using xhrPost with actionUrl and expect part of the page to be updated with the reponse. The problem is : Since the lifecycle goes thru doView, the whole page is rendered on the target div. So what i have is a Complete view inside a already rendered view. I dont want to ...

21. Portletmodes and portlet URLs    coderanch.com

Hi all, i am using portlets. i am in an initial state to learn portlets. i have a query what are the portlet types. i have an idea of VIEW,EDIT and HELP. what is a VIEW exactly and when EDIT is used. how these work. and what are Portlet URLs: 1) Action URL 2) Render URL lastly what are the window ...

22. URL identification    coderanch.com

23. Changing URL from IP to Domain Name    coderanch.com

24. I need help regarding getting the URL that is "http://localhost:9080/".    coderanch.com

Hello, I need help regarding getting the URL that is "http://localhost:9080/". I am working on a JSF Application with RAD and websphere portal server. From one of my page when i clicked on PDF symbol a new window pops up which runs on Websphere App Server. It should have the url as "http://localhost:9080/.....". instead it shows shows the portal server port ...

25. repalces my #sign with %23 (HEX of #) in URL which i don't want    coderanch.com

Hi Bosun, Thanks for the reply. But i guess here encoding is the problem. I mean liferay is already doing encoding and converting # sign into %23. While i don't need it. Even then i tried to encode my URL after your reply with java URL encoder but it does not solve my problem rather it generates now www.myurl.com%2523link which was ...