Hi,
I've created a javascript function that should be called from javascript
and processed as a wicket respond:
String js="function setCompetenceNode(currgoaluri,currgoaltype,nodeid){var
wcall=wicketAjaxGet
('"+url+"&currGoalURI='+currgoaluri+'&currGoalType='+currgoaltype+'&nodeId='+nodeid,
function(){},function(){})}";
The first argument here is URI in the form like:
http://intelleo.org/triplestore/bc_x#Organization/2af71336-13a9-4a1b-ae76-c58cdd221f7f
The function setCompetenceNode gets all arguments fine, but the problem is
in wicketAjaxGet. I'm trying to get it with
final String
currGoalURI=RequestCycle.get().getRequest().getParameter("currGoalURI");
final String
currGoalType=RequestCycle.get().getRequest().getParameter("currGoalType");
final String nodeId=RequestCycle.get().getRequest().getParameter("nodeId");
I just receive the part of the URI before # and all other arguments are
null.
Is there some way I can pass this URI as an argument?
Thanks,
Zoran
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-send-a-URI-with-as-WicketAjaxGet-argument-tp2301521p2301521.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]