You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done a quick search on the issue tracker to check if the feature request is not redundant
Is your feature request related to a problem? If yes, describe the problem
My model contains scalar properties of things I want to be able to project into views in Vision. Some values are string types and then there is no problem just directly printing the string value. However, some values are expressed in boolean, date, or numeric types and in those cases we need a way to transform between the internal representation form and a rendered UI form. For example, I would like to see boolean values rendered as a checkbox. Similarly, numbers may need to be formatted for length/decimals, etc., and dates may need to be rendered into locale-specific form.
Many web-based UI frameworks provide relevant widgets to do this.
The problem with boolean values is that a SPARQL query returns the value as:
true^^http://www.w3c.org/2001/XMLSchema#boolean
and I just want to
Describe the desired feature
We need a widget for boolean data values expressed in XMLSchema#boolean
I should be able to configure the viewpoint to invoke this widget to render a given column value that will be returning a boolean value. The widget should be able to perform bidirectional transformation of values. So, transform the typed string value returned from SPARQL into a checkbox (true=checked) and return the checkbox value back into the string necessary to update the value upon edit.
May also need similar widgets for other numeric types in XMLSchema, XMLSchema#dateTime and XMLSchema#anyURI but those can wait.
Additional context
[Any additional context]
The text was updated successfully, but these errors were encountered:
Checklist before submitting a feature request
Is your feature request related to a problem? If yes, describe the problem
My model contains scalar properties of things I want to be able to project into views in Vision. Some values are string types and then there is no problem just directly printing the string value. However, some values are expressed in boolean, date, or numeric types and in those cases we need a way to transform between the internal representation form and a rendered UI form. For example, I would like to see boolean values rendered as a checkbox. Similarly, numbers may need to be formatted for length/decimals, etc., and dates may need to be rendered into locale-specific form.
Many web-based UI frameworks provide relevant widgets to do this.
The problem with boolean values is that a SPARQL query returns the value as:
and I just want to
Describe the desired feature
We need a widget for boolean data values expressed in XMLSchema#boolean
I should be able to configure the viewpoint to invoke this widget to render a given column value that will be returning a boolean value. The widget should be able to perform bidirectional transformation of values. So, transform the typed string value returned from SPARQL into a checkbox (true=checked) and return the checkbox value back into the string necessary to update the value upon edit.
May also need similar widgets for other numeric types in XMLSchema, XMLSchema#dateTime and XMLSchema#anyURI but those can wait.
Additional context
[Any additional context]
The text was updated successfully, but these errors were encountered: