On Thu, Sep 6, 2012 at 3:36 PM, Benjamin Ryan <[email protected]> wrote: > I have used the ChoiceAuthority for metadata fields and after > working with the EditProfile code it would seem that it might be possible to > use this for any “field” in a form not just the metadata fields. > > Does this sound possible?
Yes, it definitely is doable. > What I would like to do is to extend the Profile form to > capture the users institution and have the choice list supplied by lookup (I > have done this with metadata fields by writing a class to query Solr to > provide the values). That's one way if you're a Java programmer and this is how it's currently implemented in DSpace. Can be also done more simply - Solr can return you response in XML and you can just parse it in XSL to get the list, then use the same Javascript to render the suggestions (IIRC we use jQuery with Autocomplete plugin). Regards, ~~helix84 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

