Feature Requests item #879038, was opened at 2004-01-17 23:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536616&aid=879038&group_id=73068

Category: main taglib
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nils-Helge Garli (nilsga)
Assigned to: Nobody/Anonymous (nobody)
Summary: Adapt the library to a Portal Environment

Initial Comment:
The displaytag library does not support a portal 
environment out of the box. 

The reason for this is that the generation of regular URLs 
by composing it '?param1=value1&param2=value2' style 
is not enough in a portal. Regular portals, such as 
WebSphere Portal Server adds a lot of extra state 
information, and encodes request parameters in 
a "portlet namespace" since a page in the portal can be 
composed of many portlets. 

A typical struts encoded portlet URL can look like this:

/wps/PA_1_0_9D/html/view/viewCategories.do?
spf_strutsAction=%212fhtml%212fview%
212fviewCategories.do%213fd-27002-p%3D%7B0%
2Cnumber%2C%23%7D%2126amp%3Bfetch%
3Dfalse&fetch=false&d-27002-p=%7B0%
2Cnumber%2C%23%7D

As you can see, the entire query string is actually 
encoded in a request parameter that is decoded by the 
Portal itself. Because of this, special care is needed to 
create the Href and the RequestHelper objects.

Since more and more companies are installing Portal 
Environments, my suggestion is to abstract the Href and 
RequestHelper class into interfaces and make 
them "Factory Style" so one can provide special 
implementations to support different portal operating 
environments. I'm currently working on an 
implementation for supporting WebSphere Portal Server 
and have successfully made it work there.

Please let me know if you have any questions.

Nils-H

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536616&aid=879038&group_id=73068


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to