Hi Holger,

Thanks for the previous two responses. Very helpful. Going for 3 out of 3 
now!

I'm still struggling to get the syntax right for publishing a resource to 
the gadgets hub correctly. The following code is supposed to, onSelect, 
publish the instance of a selected row in a ResultsSetGrid to the hub so 
that it will be refreshed by swa:ViewFormGadget and the centre panel will 
load the respective form for the selected resource.

Not working and costing me many, many, many hours of frustration. 

Could you please put me out of my misery

Thanks.

    <swa:ResultSetGrid 
arg:onSelect="gadgets.Hub.publish('org.myui.resourceSelectedEvent', 
data['Attribute'])" arg:resultSet="{#

            SELECT DISTINCT ?Attribute ?Description 

            WHERE {

                ?Attribute (rdfs:domain)+ ?this .

                ?Attribute a my:Attribute .

                BIND (ui:label(?Attribute) AS ?label) .

            }

            ORDER BY (?label) }" arg:type="{= ?resource }"/>

-- 
-- 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 Ensemble, 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/groups/opt_out.


Reply via email to