Default fields in eventDialog and eventEditor

Hi, my question is how to change default fields in both dialog and editor panel. I was looking on Calendar.js. So wtak is the way, I must use to JSNI method? Please give me some hack.

I have the same problem, i have to customize default dailogs and windows and their behaviour like CONFIRM after delete

GWT standard progamming is made all by Java code, in this Calendar object it seems we have to touch library code

help please???

customization is very important, it should be a simpler method to redefine behaviour using handlers or other

accessing fields

I create instance of calendar:

Calendar calendar = new Calendar();
calendar.setID(“myCalendar”);

then onlypossible way to access JS is after draw calendar

and i use JSNI method to access DynamicForm:

METHOD
public native JavaScriptObject getMyCalendar() /-{
eventDialog = $wnd.myCalendar.eventDialog.items;
return eventDialog;
}-
/;

the same way if u want to access eventEditor.

the way is:

calendar.draw();
JavaScriptObject obs = getMyCalendar();
String s2 = JSOHelper.getProperties(obs);

i can get properties, but when i tty to get attribute i have null object.
I try pass all needed js code, but it is stupid way.