We have four examples of dash:MultiViewer built into the product, and they all render all values of the sh:path property for the context focus node at once. For example, dash:ValueTableViewer http://datashapes.org/forms.html#ValueTableViewer renders a single table component for all values of the focus node. By contrast, SingleViewers would render one widget for each value of the property, typically row by row from top to bottom.

Holger


On 2021-08-06 10:29 pm, Tomasz Pluskiewicz wrote:
Hello

In exploring the implementation of UI using DASH I noticed a the MultiViewer is a little ambiguous

When it got introduced last year, as a counterpart to MultiEditor, I had assumed that booth mean to render multiple values of a property and noting else.

However, given the definition of dash:DetailsViewer, I notice that it's not so clear. The details viewer is defined to render all properties of a focus node but that does not make it a multi-viewer in the original sense. It does in fact render a single resource (and its subgraph).

Consider a scenario like below

*[*
*  sh:property [*
*    sh:path ex:foo ;*
*    dash:viewer ex:MyMultiViewer ;*
*  ] ;*
*]*

How should a component building the UI using this shape interpret the annotation? Is *ex:MyMultiViewer* intended to render all objects of *ex:foo* or every individual?

Best,
Tom
--
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/9221d313-67dd-45f5-828b-02517ce88828n%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/9221d313-67dd-45f5-828b-02517ce88828n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/09b96a67-370f-1af3-0ac5-091945ea79b6%40topquadrant.com.

Reply via email to