Hello Robert,
thanks for the details - this is interesting.
On 3/26/2014 1:33, Wiethorn, Robert wrote:
From your example, I replicated the same effect:
<div ui:id="SmartSummary">
<ui:parse ui:str="{=
spl:object(smart:SmartSummary, rdfs:label) }"/>
</div>
Are you sure you want the query to be spl:object(smart:SmartSummary,
rdfs:label) or rather
spl:object(?this, rdfs:label)
With ui:instanceView I assume you want to display data about instances,
not the class itself. If you have a constant subject such as
smart:SmartSummary, it would always display the same value, as it is
attached to the *class*, not its instances. The same would happen in
your other example below. But quite probably you only had this for
testing purposes, so you can disregard this comment.
I would also remove the ui:id to simplify your model. ui:id may restrict
that views that ui:resourceView would pick (unless you also specify
ui:matchIds).
I now need to do the same on a subClass.
Here I don't understand your use of the term "subclass". In RDF/OWL, the
term subClass usually refers to an rdfs:subClassOf relation, while in
your example you have two classes on the same tree level. Maybe you mean
that SmartReview is a "helper" class of SmartSummary?
Can you help me understand why I cannot get the ui:parse to work on
the subclass.
To clarify: does the rest of the ui:instanceView (the div with the
table) get rendered, but only the ui:parse produces no output? And
<td>{= ?reviewValueChar }</td> does produce something?
Holger
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL
Web Pages 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 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.