Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referenced entities should be looked up also through the Auto-Complete facet #7

Closed
oscarbou opened this issue Sep 1, 2014 · 1 comment

Comments

@oscarbou
Copy link
Contributor

oscarbou commented Sep 1, 2014

Current implementation exports and imports properties referencing other entities by writing:

  1. on the Excel cell's value the title of the entity.
  2. on the Excel cell's comment, the internal Id. of the referenced object.

As those internal ids are can be automatically generated by the datastore, the wouldn't be known when defining an initial set of entities to be imported (for example, imagine a TodoItem that references a "parent " TodoItem; all them are going to be initially imported from Excel).

The proposed solution complements current logic by trying to find the corresponding entity by means of the AutoComplete facet (if defined for the Entity). That's the more generic way on Apache Isis to search for a concrete entity using a simple String.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants