>> >> >> I am developing a browser plugin. >> >> >> I want to call a tryton action from javascript e.g. open the party >> >> >> view (in a new tab) or open the party view for adding data >> >> > >> >> >I still don't understand. What do you mean by "open the party view"? >> >> > >> >> do the same, as click on "party" in the tree menu... >> > >> >I still don't understand. >> >Do you want to send command to the Tryton client? >> >Do you want to open a view in the browser? >> >> I am developing a browser for the tryton client - a so called "widget" based >> on gtk like the new richtext editor. > >Strange idea. > >> Now I want to execute tryton-client code from javascript in the webbrowser >> widget inside the tryton client. > >The client is writen in Python so I don't think it is possible to >execute it from a javascript VM. > >> One thing I want to do is open a view e.g. the party view. >> If you have installed the party module, you have a party menu entry in the >> tree navigation on the left of your tryton client. >> If you open the menu, by clicking the + sign (or whatever you have), you can >> double-click on parties. This operation opens in my tryton client a new tab >> on the right showing a list of parties. >> I want to execute this "action" from within javascript. > >I have no idea. > >> Please do not tell me, that this is a security risk - you do not need to use >> it... > >Of course there is security risk. Normally browser tries to run code >separated from the OS as much as possible.
> >I think if it was the case I will not be here to answer your emails. Cédric, you did not answer my mails in any way. If you do not know the answer or do not want to share your knowledge, just do not answer Sorry, can not find the netiquette rule for this at the moment You only gave input I did not ask for. This thread is 7 Mails long with no help at all. Just things, I explicitly did not ask for e.g. you security considerations. I even did not want to know about your missing knowledge on python - javascript connectivity helpful would have been: look into the window class of window.py for the create method, that might be a good starting point... thanks for your help Henrik -- [email protected] mailing list
