Geração de URL’s no Portal

  • 11 May, 2009

Um desafio que enfrentamos no desenvolvimento de Portais (considerando aqui Portal = WebSphere Portal) é a geração de URL’s para passar parâmetros ou mesmo para criar links amigáveis, já que as páginas do portal não são geradas de forma amigável. Este problema advém, na minha opinião, de como as coisas são feitas no mundo das aplicações web tradicionais (tradicional = sem portal) onde é simples endereçar, através de URL, um servlet ou chamar um componente e passar os parâmetros requeridos e obter o resultado.
O que ocorre é que em um portal não são geradas URL’s para Portlets e sim para PÃ�GINAS (API IBM ou JSR168). Existem algumas recursos para contornar este problema, umas passam por utilizar WSRP ou Click to Action (C2A), mas se ainda é necessário utilizar o recurso de URL’s abaixo alguns links que já me ajudaram a resolver este tipo de problema em alguns projetos

How to create a link to target the action of a struts portlet
Portal 6.0 Advanced URL Generation Helper classes
How to create a link to a portlet (Standard API) that passes parameters to that portlet
Creating a link from a servlet to a page in a virtual Portal

Related Posts

Turn off IE compatibility mode

  • 10 Oct, 2017

On a customer site, all windows machines has a GPO to turn on the IE compatibility mode. The new WebSphere Portal does not work well with this compatibility mode. To solve the problem we add the following on the Apache Web Server Header set X-UA-Compatible "IE=Edge" The header above tell the IE browser to not use compatibillity mode when accessing the new portal.

Turn off IE compatibility modeRead More

WebSphere Portal V8.5 and Oracle Data Guard

  • 29 Jun, 2017

From IBM L3 support: "WebSphere Portal does not explicitly claim support for Oracle Data Guard. It is our understanding that Oracle Data Guard is an extension of the Oracle Database product. We do support the Oracle Database as isted in our "Supported software" documentation. Unless Oracle Data Guard limits functionality or impacts the behavior of the Oracle Database product in an intransparent manner or requires changes to the Portal database object definitions, we do not see a reason why WebSphere Portal would not work in that setup. In other words: If the database system, that is used by the customer, behaves like a regular Oracle Database, it should work. In case an issue is observed, w

WebSphere Portal V8.5 and Oracle Data GuardRead More

Collecting Data: Read First for WebSphere Portal 8.5 and 9.0

  • 28 Jun, 2017

Documents for collecting troubleshooting data for IBM WebSphere Portal 8.5 and 9.0 aid in problem determination and save time resolving Problem Management Records (PMRs). The following data collection documents contain instructions for specific components or scenarios. The wpcollector tool(http://www-01.ibm.com/support/docview.wss?uid=swg21445430) can be leveraged with such instructions to gather and optionally send the data. If one of the product components or scenarios below matches your symptom or the part of the product with which you are experiencing problems, follow the instructions in the associated data collection document. Component:Link:Installation/Configuration:General1962321(h

Collecting Data: Read First for WebSphere Portal 8.5 and 9.0Read More