Get event id when in a custom editor

Hi,
I want to have a link in my lightbox to show where will be my event in a map.

[code] scheduler.form_blocks[“informations_sup”]={
render:function(sns){ //sns - section configuration object
return “

Trouver un itinéraire avec Google map
Poster un compte rendu
”;
//else
“Pas d’itinéraire disponible”;
},
set_value:function(node,value,ev){
	},
	get_value:function(node,ev){
		//node - html object related to html defined above
		//event object
		return "current value from editor";
	},
	focus:function(node){
		//node - html object related to html defined above
	}
}[/code]

But I don’t know how to get the event_id of the current event to make my link functionnal.
How can I do that ?

render method processed only once, it has not access to the event information.
inside set_value you can use ev.id

Ok, but it seems like i can’t update my element with the set_value method :

scheduler.form_blocks["informations_sup"]={ render:function(sns){ //sns - section configuration object return "<div id='infos'></div>"; }, set_value:function(node,value,ev){ var div = document.getElementById('infos'); div.innerHTML("<a href='http://trame.localhost/"+jQuery("#site_name").val()+"/"+jQuery("#agenda_id").val()+"/itineraire/"+scheduler.getEvent(ev).custom_data.id+"'>Trouver un itinéraire avec Google map</a><br><a href=''>Poster un compte rendu</a>") },

I solved my problem, all is fine now.