Hi Helix84,
I do want to display the email address even if it is the empty string
so that the user can enter a valid email address.
The problem stems from the fact that I don't get an email address from
some IDPs (where I do it is set correctly by the authentication code and
updated if it has changed).
I think I have a solution by editing the EditProfile class to show the
email address as a label if it was set correctly or show the unset address (i.e
with some placeholder text such as "[email protected]") in a text field.
The problem I am having with this is that it does not update the
details in the database because I assume I am not using the correct
label/message for the field.
Regards,
Ben
------------------------------------------------------------------
Dr Ben Ryan
Jorum Technical Coordinator (Services)
5.12 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6039
E-mail: [email protected]
------------------------------------------------------------------
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of helix84
Sent: 05 September 2012 13:28
To: Benjamin Ryan
Cc: [email protected]
Subject: Re: [Dspace-tech] Shibboleth authentication
No, my point was - go up the call stack, find out where addItem() is called and
remove it (the list item containing the email address) from the page (if it's
empty, you likely don't need to display it).
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