# score 10
<#me> rdfs:label "Tomasz Pluskiewicz" .
# score 0
<#me> rdfs:label "Tomasz Pluskiewicz"@pl .
In our implementation each widget receives a "default" value when initialized. In the case of literals, this is a literal with the lexical form "", i.e. the empty string. In the case of URIs this is an URI node with "" as its URI. This approach means that these scoring rules can apply relatively consistently.
Having said this, the score functions in our implementation also receive a second argument, which is metadata about the 'field', which is basically the collection of applicable property shapes for that property/path. Some widgets do use that metadata to make further choices in cases where the node isn't sufficient to make a decision.
Examples:
The only widgets that use the 'field' above are dash:Editors:
--
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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/14c15fa7-448a-4d00-9c9e-ca957e12f56co%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to topbrai...@googlegroups.com.
Ah, yes, I realise that I eventually implemented it similarly with the default value because always added for new values so indeed the selection process is the same for existing and new objects.
Could you link to a diff of what you changed in forms.html?
Attached
Holger
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/01450f1d-ed27-40a3-a10d-19b9b70b00bao%40googlegroups.com.
Hi Tom,
I assume you meant "there is *no* dash:DateTimePicker" declared. Should be fixed now.
Thanks,
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/76b28c42-004b-4b65-9f4a-4a449655b011n%40googlegroups.com.