This discussion is archived
7 Replies Latest reply: Jan 24, 2013 3:47 AM by Chely RSS

Custom component class is not detecting url parameter

Chely Newbie
Currently Being Moderated
I have a hcsp page, on which i have a link something like this :

"<$HttpCgiPath$>?IdcService=CUSTOM_SERVICE&var1=value1"

m appending one more parameter in this url through java script.

so one is the var1 which is directly here in the url and one m appending through java script so my final url would be:


"<$HttpCgiPath$>?IdcService=CUSTOM_SERVICE&var1=value1&var2=value2"


M calling a java function which fetches these variable.

my code is

String value1=m_binder.getlocal("var1");

This is working fine .

But when i do it for var2, this gives an error " variable var2 is not found" in the logs.


Please guide

Thanks,
Chely

Edited by: Chely on Jan 17, 2013 3:08 AM

Edited by: Chely on Jan 17, 2013 3:09 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points