Hi 

----- Messaggio originale -----

Da: "Timo Hatakka" <[email protected]> 
A: [email protected] 
Inviato: Martedì, 3 dicembre 2013 13:38:34 
Oggetto: Add a readonly virtual attribute for an user 



Hi! 

how can you add a virtual read-only attribute to an user by GUI or using your 
own code? Only way to include a virtual attribute is to give some dummy initial 
value in the user interface and this trick cannot be used if the attribute is 
read only. Seems to be a problem even in 1.1.5. 


To see the value of an readonly virtual attribute you must change the wicket 
component in your overlay. In particular, you can use a static textfield for 
each virtual attribute. 

Also, is there some design mistake in PROPAGATION / SYNCRONIZATION selection 
with virtual attributes? I would suppose that SYNCRONIZATION will only read 
values from external resource and PROPAGATION will write values to external 
resource, but is it so? 


It's correct. 
For synchronization, in the sync task you need to add the Virtual Attribute to 
the User template. 


Regards 
M 


Regards, 
Timo 





-- 

Dott. Marco Di Sabatino Di Diodoro 
Tel. +39 3939065570 

Tirasa S.r.l. 
Viale D'Annunzio 267 - 65127 Pescara 
Tel +39 0859116307 / FAX +39 0859111173 
http://www.tirasa.net 

Apache Syncope PMC Member 
http://people.apache.org/~mdisabatino/ 

Reply via email to