[topbraid-users] Overriding SWP with ui:instanceView

2014-03-05 Thread Wiethorn, Robert
Hello, I'm wanting to override the presentation of a Subclass's content (via 
ui:instance) by passing an object/uri/variable from its Parent Class, and 
return some content back to the Parent Class.
I don't know enough about the methods and functions I can use to accomplish 
this.

Discussion:
I have a WebApp.
On my main Class (ParentClass), I'm creating my HTML, and iterating through the 
SPARQL results and building a table to display the Results.
I'm using a ui:ForEach to manage the flow.

?this is the Parent Object
? this has Subclasses : ?Attribute(s)


For each ?attribute, call its class definition, and build the presentation.

Question: From a parent Class, how do I call a particular ui:instance on a 
subclass, pass it an Object/URI/string value. Process the content, and return 
some content?

Example: Parent Class:
ui:forEach ui:resultSet={#
SELECT ?attribute
WHERE {
?this smart:hasAttribute ?attribute .
?attribute smart:name ?attributeName .
?attribute smart:displayName ?attributeDisaplayName .

} }
tr
td Call the SubClass  and Return Formatted HTML /td
/tr
/ui:forEach

Example SubClass ui:instanceView
div
table name=subclass Details
tr
tdAttribute Name/td
td/td
tdValues/td
/tr
ui:forEach ui:resultSet={#
SELECT ?attributeDisplayName ?attributeName
WHERE {
? attribute smart:displayName ?attributeDisplayName .
? attribute smart:name ?attributeName .
} }
tr
td{= ?attributeName }/td
td : /td
td{= ?attributeDisplayName }/td
/tr
/ui:forEach
/table
/div

Thanks,
Rocky

-- 
-- 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
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [topbraid-users] Re: Problem using Tasks View

2014-03-05 Thread Rich Keller
Just to close the loop, Holger, my issues were not resolved with the 4.4 
release. Obviously, this is not critical functionality.  Rich

On Thursday, February 27, 2014 4:38:05 PM UTC-8, Holger Knublauch wrote:

 On 2/28/2014 2:40, Rich Keller wrote: 
  Thanks for the workarounds. I'm on TBC-SE 4.3.0 with Mac OSX 10.8.5. 

 I am (thankfully/gotofail) on an older MacOS version and cannot directly 
 reproduce it, but please give the upcoming 4.4 release (that is 
 currently being uploaded to our servers) a try - it uses a newer Eclipse 
 version that has several Mac incompatibilities fixed. 

 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
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.