Thellmann / callimachus

Automatically exported from code.google.com/p/callimachus
Other
0 stars 0 forks source link

Empty Property Expression Removes Element #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When a property expression is in an attribute like value="{rdf:value}", but 
there is no rdf:value in the RDF store, the containing element should still be 
printed with an empty attribute value.

For example the markup:
<input placeholder="Street address" value="{vcard:street-address}" />
<input placeholder="Extended address" value="{vcard:extended-address}" />
<input placeholder="PO box" value="{vcard:post-office-box}" />

..would either show all three input elements or none of them (if the subject 
resource did not match) regardless of the property values in the RDF store.

This can be demonstrated using the directory sample app in the edit tab.

Original issue reported on code.google.com by ja...@3roundstones.com on 4 Nov 2011 at 3:09