On 29/04/12 00:16 +0200, Henrik Genssen wrote: > >> >On 28/04/12 21:10 +0200, Henrik Genssen wrote: > >> >> 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. PS: Please try to fix your email subject, they become more and more weird. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpGbRqTObRen.pgp
Description: PGP signature
