danielbeeke / rdf-form

RDF form provides rendered forms via a form definition provided in RDF turtle format.
http://rdf-form.danielbeeke.nl/
MIT License
15 stars 1 forks source link

Support the predicated form:group and form:container an URI as object #19

Open phochste opened 2 years ago

phochste commented 2 years ago

In the current implementation the form:group and form:container predicate require a string value object which points in some way to a previously defined form:Group or from:Container:

my:niceGroup
   a form:Group ;
   form:widget "group".

my:groupedField1
   a form:Field ;
   form:group "niceGroup" .

my:groupedField2
   a form:Field ;
   form:group "niceGroup" .

It would be a much cleaner solution to explictly adress which group is referenced using an URI form:

my:niceGroup
   a form:Group ;
   form:widget "group".

my:groupedField1
   a form:Field ;
   form:group my:niceGroup

my:groupedField2
   a form:Field ;
   form:group my:niceGroup .
danielbeeke commented 2 years ago

Great idea, Lets support both syntaxes for now.