Hi,

I've been experimenting with UISPIN and I think it has potential to be very 
powerful.

However, I do not understand how to make the URLs point to real locations.

For example, if I create an instanceview that simply shows all properties (and 
objects) associated with a given instance (minus the annotation properties), 
the URLs created for the properties and objects do not point to the server 
correctly.

For example, I'm using this as my instance view:

<div>
    <h2>Facts about {= ui:label(?this) }</h2>
    <tui:ObjectPathWidgetGroup tui:predicateSet="{#
            SELECT DISTINCT ?p
            WHERE {
                ?this ?p ?o .
                FILTER (!spl:instanceOf(?p, owl:AnnotationProperty)) .
            }
            ORDER BY (ui:label(?p)) }" tui:subject="{= ?this }" 
ui:childIndex="2"/>
</div>

This is nearly identical to the view created by the default browser view in TBC.

When I access an instance via a web browser using:

http://localhost:8083/tbl/uispin?resource=fcid:Instance

the HTML displays properly however the links point to the URI of the Resource 
not to localhost thus you cannot navigate using the links.

So, two questions:


1.       Does this work differently using TBL versus localhost?

2.       If not, how to I create valid URLs?  Or more importantly, how to I 
control where the link points?  There are a couple of cases where I want to 
point to different locations depending on the users context.

Thanks,

Tim

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to