Focal Point
Problem with Special Characters in URL GET (using RL Painter)

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6801091051

January 21, 2006, 12:40 AM
Govind Jujare
Problem with Special Characters in URL GET (using RL Painter)
Hi

I am doing multi-select-drop-down-list using Resource Layout Painter
and I see that it does a HTTP GET using follg parameter -

  pCar=%27AUDI%27%20OR%20%27BMW%27%20OR%20%27DATSUN%27


which seems to mean (I put underscore in place of space) -

  pCar='AUDI'_OR_'BMW'_OR_'DATSUN'

Our site uses Siteminder and it is rejecting these urls because of the
single quotes.

(1) Is there a way to make the RLP use double quotes rather than single
quotes. I verified that our site does not reject double quotes.

(2) Is there a way to make the RLP to use 'POST' rather than 'GET'. I am
hoping that special characters in 'POST' will not get filtered.

If there is some clean way, that would save me from messing up webfocus
javascripts.

TIA,

This message has been edited. Last edited by: Govind Jujare,


WebFOCUS 5.3.3 MRE - Solaris - Sun Web Server - Weblogic
January 24, 2006, 10:23 AM
dhagen
What version of WF are you using?
I believe that the default method is "post" ... are you sure that this is from RL, or is this happening for drill downs?
January 24, 2006, 01:30 PM
Govind Jujare
I'm using 5.3.3. My RLP has generated code with POST but still when I click the button it is doing GET (i.e. I see all the parameters in the URL). I observed that the FORM does not have ACTION. I also double checked in the browser by viewing the downloaded HTML page and it shows POST. I wonder if the submit is being done through javascript and somehow resulting into GET rather than POST. May be somebody can shed some light here as per why it is doing GET even when I see POST in the code.


The workaround I settled on for now is - I carefully tweaked the ProcessMultiSelect function found at -
$WFROOT/ibi/WebFOCUS53/ibi_html/javaassist/ibi/html/js/ibirls.js
It calls getQuote function to get quotes. I made it call my own getNewQuote which is almost a replica of getQuote except with doublequotes.

This message has been edited. Last edited by: Govind Jujare,


WebFOCUS 5.3.3 MRE - Solaris - Sun Web Server - Weblogic
January 24, 2006, 01:59 PM
Govind Jujare
I think I see the reason why it was doing GET instead of POST. The way I develop in RLP is - import the fex (so that I can get the input elements in the painter), create a button, link it to the fex with destination as _blank and delete the fex from RLP.

This leaves me with the input elements and the button. Now the button has an action OnRunRemoteObject which builds the URL and replaces my page with that URL.

Is there a better way of getting input elements into RLP (so that it shows only the report when I submit .. and also be able use the POST method) ? I wonder how everyelse is using RLP.


WebFOCUS 5.3.3 MRE - Solaris - Sun Web Server - Weblogic