The post has reached the list. Personally I had trouble understanding the question and was hoping somebody else would answer. An example might help.
Richard > On 30 Aug 2019, at 16:17, Lieke Verhelst <[email protected]> wrote: > > Has this post reached you at all? My colleague Elise experienced email > bouncing from this group when she posted this message, so maybe you have not > seen it..? > Thanks, Lieke > > On Friday, 23 August 2019 13:06:24 UTC+2, Elise Lustenhouwer wrote: > For an SWP website I try to set the query graph with a path variable in the > URL. For the ui:Element defined in the same URL (viewClass=) there is no > problem, but for ui:Element subclasses and ui:Services classes indirectly > involved in loading parts of the webpage it is. E.g. when a ui:Service class > is called by a JavaScript. > > I tried two different ways of solving this problem, but with no avail. > > Solution 1 I tried: > Use a JavaScript which interacts with a ui:Service (subClass of > ui:JSONServices) to collect all the URL path variables In the JSON service > there is a SPARQL query which needs to search (ui:setcontext) in a graph > defined in the URL (&graph= variable) of the specific page. > > Solution 2 I tried: > Set a global var for ?graph in the viewClass to use in the other classes > their querycontext. But it seems the globalVar doesn.t 'live' long enough. > The variable isn't bound anymore. > > Is there any other way or maybe I do something wrong in one of the mentioned > solutions? > > Best regards, Elise > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/53abd84d-f86b-42c0-93d8-852dff6d0488%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/53abd84d-f86b-42c0-93d8-852dff6d0488%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CA5BBF8B-54CF-42AE-937F-E54000CFFDE6%40topquadrant.com.
