Thierry;  SWP has its own tags for calling functions.  See for example ui:call and ui:forEach at http://uispin.org/ui.html.  SPARQL can also be embedded in the SWP itself, as shown in http://uispin.org/ui.html#queries.

Give that a try for a start, and let us know if there are further questions or issues.

-- Scott

On 12/2/2013, 2:50 AM, Thierry Vebr wrote:
Hello,
I'm quite new on TBC.

I created a SparqlMotion function using as Return Module a sml:ReturnSPARQLResults.

The sml:selectQuery is set to :
SELECT ?inputString ?indexName ?concatString
WHERE {
    BIND (?arg1 AS ?inputString) .
    BIND (?arg2 AS ?indexName) .
    BIND (?result AS ?concatString) .
}
The sml:serialization is set to sml:RFXML

The SM function works fine on TBC, but when it try to use it on a swa page, there's no result.

                                <ui:group letrs:resultMatch="{= modules:MatchIndex(?line, ?foo) }">
                                    <p align="left">{= ?resultMatch }</p>
                                </ui:group>
Nothing show up on my screen, even when using a ui:ForEach.
If I try to use a spra:colCount function against ?resultMatch, the application fails..
Has anybody any clue about that ?


Thanks for your help.
Thierry Vebr
OECD




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

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

Reply via email to