Disabling URI sequencing in createURI
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Disabling URI sequencing in createURI




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Disabling URI sequencing in createURI  
DaveGregg


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-13-04 11:00 PM

I have two instances of WPS 5.0 with what I believe to be comparable configu
rations, but a portlet I wrote is producing different results on the two por
tals when invoking the PortletResponse.createURI() method (or at least in th
e PortletURI.toString() met
hod from an object created by the createURI() method). One portal is concate
nating a page sequence number (for lack of a better term) in the format "/.d
/n" where 'n' is a single digit (0..9) on the end of the URI (before any par
ameters) and the other is n
ot. Each performance of doView() assigns the same digit to all URIs, and the
 digit is bumped up by one on each successive call back to the portlet via o
ne of the generated URIs. Does anyone know what configuration setting contro
ls this? Is there an API ca
ll that can disable this behavior (i.e. override the setting for this portle
t)?

This is for an internal news portlet, and the URIs are calls back to the por
tlet to display different articles. I have a page designer who wants the sta
ndard visited links coloration to work so that the user knows which articles
 they have read, and the se
quence number is creating some URI differentiation that I don't want, so I w
ould like to turn it off.

No other links generated by the portal appear to have this "/.d/n" added to 
the URI. Even wild speculations are welcome.





[ Post a follow-up to this message ]



    Re: Disabling URI sequencing in createURI  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-14-04 10:58 PM

Dave,
Trying to make any predictions with regard to how the portal server generate
s its URI's will get you into trouble. They change per version and/or releas
e.
You could try setting uri.requestid = true and see if the URI's are better b
ehaved.
Have you tried URL Mapping for these pages? That would eliminate the funky p
ortal URI's since you assign the mappings in the portal configuration.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:15 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register