Hi Tim,
thanks for your feedback. The link generation in UISPIN has been changed for
UISPIN 1.0 / TBS 3.4. This is now described on the page
http://uispin.org/ui.html
which is up to date in anticipation of the release. You can see there is a new
element ui:createLink
http://uispin.org/ui.html#createLink
that can be used to create "correct" links back to the server. The solution
used in the betas (TBS 3.3) has been deprecated in favor of ui:createLink, and
the TUI components use ui:createLink as well. As a result of this, all
hyperlinks created by ui:createLink will always point back to the TBL server.
Of course, you can still generate other links by manually creating hrefs with
string operations etc.
TBC 3.4 will go into beta soon, (ask us off-list if you have immediate
evaluation needs).
Regards,
Holger
On Oct 18, 2010, at 8:24 AM, Smith, Tim wrote:
> 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
--
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