Hi all,
I've got a turnaround this with thomas help by changing the item entry
into:
<item icon="mlifeline/images/folder_synch.png" property="url=
$MY_FRIENDS?cmd=synch"/>
and moving the respective webmethod into groups.py instead of
rootfolder.py.
Strange ehh! Can't really explain why but its working (dialog launches
as expected).
Anyway here is a client core problem I face now:
I have implemented the client method which does the stuff I want and I
want to invoke it by pushing the above mentioned YES in the dialog box
I managed to launch.
I have concentrated 3 method of my interest in the event handling core
of the client (thinlet class)
Those are:
1) boolean processKeyPress(Object component, boolean shiftdown,
boolean controldown, int modifiers, int keychar, int keycode)
then this calls:
2) boolean invoke(Object component, Object part, String event)
which apparently calls
3) void invokeImpl(Object method, Object part, String event)
All of these take the generic Object argument
So I've made some debugging to see whats going on:
In the main screen when I press the list option to launch my dialog
here is what happens:
processKeyPress - classname=list
invoke - method:[Ljava.lang.Object;@1bc43462 event:perform
invokeImpl - data:[Ljava.lang.Object;@724068e args:null
invoke - method:[Ljava.lang.Object;@1bc43462 event:focuslost
invoke - method:[Ljava.lang.Object;@3c628a4 event:focusgained
Here the dialog launches so I want to push Yes in order to invoke the
method I've writen. Here is what happens when I push the yes button:
processKeyPress - classname=button
invoke - method:[Ljava.lang.Object;@acddf72 event:action
So my method is not recognized.
I'm working on how to register a method so I can scan and call.
If anybody knows how this is done on the server side please help.