Retrieving Value From Url Returned

Status
Not open for further replies.
A

AquaAlex

Guest
I am not even sure how to word the question, but here goes.

I do the following:

ASSIGN
cImage = "run.w?run=wfmprdot&obj=":U + STRING(gdProcessObj) + "&ctx=":U + mipEnv:WorkFlow:wfmiSession:SessionMnemonic + "|":U + mipEnv:WorkFlow:wfmiSession:SessionCode + ":":U + wsUiService:prepareContext(WarpSpeed:CurrentContext, TRUE)
NO-ERROR.

{&OUT}
"<object name='test' src='" cImage "'> </object>".


which gives me this (which is correct)

run.w?run=wfmprdot&amp;obj=4049604&amp;ctx=MITSE|mlibddnfqoTcagjk2663:61.85.86.89.89


But what I am interested in is, getting the value that is represent by the link. In this case a dot syntax:

digraph dot {
graph [rankdir=TB,ranksep=.05,nodesep=.05,concentrate=false,quantum=.15,bgcolor="transparent"];
node [shape="ellipse",height=.2,width=1,fontcolor="#000000",fontname="Arial",fontsize=7,color="#0000cc",peripheries=1,style=filled,fillcolor="#ffffcc"];
edge [color="#44bb44",style="bold",weight=2];
BEGIN [label="LoopTest", shape="box",height=.2,width=1,fontcolor="#cc4444",fontname="Arial",fontsize=8,color="#cc4444",peripheries=1,style=filled,fillcolor="#ffff88"];
END [label=END,shape="box",height=.2,width=1,fontcolor="#cc4444",fontname="Arial",fontsize=8,color="#cc4444",peripheries=1,style="filled",fillcolor="#ffff88"];
4049605 [label="A"];
BEGIN -> 4049605 [taillabel="Begin -&gt; A", color="#ddaa44",fontcolor="#000000",fontsize=7,labelfloat=true,labelangle=0,style="bold",arrowtail=dot,weight=2,URL="javascript:window.parent.fnHREF('?run=wfmtrst','4049606','','1.2.3.4.4.6','','_self','yes');",color="#FF00FF",weight=4];
4049607 [label="B"];
4049605 -> 4049607 [taillabel="A -&gt; B", color="#ddaa44",fontcolor="#000000",fontsize=7,labelfloat=true,labelangle=0,style="bold",arrowtail=dot,weight=2,URL="javascript:window.parent.fnHREF('?run=wfmtrst','4049608','','1.2.3.4.4.6','','_self','yes');"];
4050576 [label="C"];
4049605 -> 4050576 [taillabel="A -&gt; C", color="#ddaa44",fontcolor="#000000",fontsize=7,labelfloat=true,labelangle=0,style="bold",arrowtail=dot,weight=2,URL="javascript:window.parent.fnHREF('?run=wfmtrst','4050577','','1.2.3.4.4.6','','_self','yes');",color="#FF00FF",weight=4];
4049607 -> 4049605 [taillabel="B -&gt; A", color="#ddaa44",fontcolor="#000000",fontsize=7,labelfloat=true,labelangle=0,style="bold",arrowtail=dot,weight=2,URL="javascript:window.parent.fnHREF('?run=wfmtrst','4049610','','1.2.3.4.4.6','','_self','yes');"];
4050576 -> END [taillabel="C -&gt; END", color="#ddaa44",fontcolor="#000000",fontsize=7,labelfloat=true,labelangle=0,style="bold",arrowtail=dot,weight=2,URL="javascript:window.parent.fnHREF('?run=wfmtrst','4050587','','1.2.3.4.4.6','','_self','yes');",color="#FF00FF",weight=4];
4050576 -> 4049605 [taillabel="C -&gt; A", color="#ddaa44",fontcolor="#000000",fontsize=7,labelfloat=true,labelangle=0,style="bold",arrowtail=dot,weight=2,URL="javascript:window.parent.fnHREF('?run=wfmtrst','4050598','','1.2.3.4.4.6','','_self','yes');"];
}


What would be the most sensible way to actually return/retrieve the data represented by the url ?

Continue reading...
 
Status
Not open for further replies.
Top