Hi all,
I have a form which displays some incoming references on the instance view.
For instance:
<swa:ObjectsEnum arg:hideIfEmpty="false" arg:label="Content Asset
Mappings" arg:open="false" arg:openable="true">
<ui:setContext ui:queryGraph="{=
ui:graphWithImports(hw-int-spin:getCurrentContentAssetGraph()) }">
<ui:call arg:concept="{= ?this }"
ui:template="hw-int-spin:L1ContentAssetsForConceptTemplate">
<swa:ResultSetObjectsView arg:label="Level 1"
arg:resultSet="{= ?rs }"/>
</ui:call>
</ui:setContext>
</swa:ObjectsEnum>
I use this pattern quite regularly to tie to closely related (but not
imported) vocabularies together and it works great. I get the output on
the form like I wanted. The issue is that the links that are rendered from
the swa:ResultSetObjectsView widget makes links that assume the resource is
in scope, which it isn't. What I would like to do is customize the
ResultSetObjectsView object such that I can provide a master graph and have
it render the links to that. When I traced the link source code, it seemed
like my solution would likely include overriding
http://topbraid.org/swa#createDefaultLink
but I'm not convinced that this is right.
Hoping someone might point me towards some docs or an example that might
help me.
Thanks and Happy Holidays-
Adam
--
You received this message because you are subscribed to the Google Group
"TopBraid Suite Users", the topics of which include the TopBraid Suite family
of products and its base technologies such as SPARQLMotion, SPARQL Web Pages
and SPIN.
To post to this group, send email to [email protected]
---
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].
For more options, visit https://groups.google.com/d/optout.