hello,
jsni help in a simple, do not understand how do I pass a variable
value from javascript variable to java ......
The method is this:
public static native void setSharePropertyButton(String nameShare,
String linkShare, String pictureShare, String captionShare, String
descriptionShare, String messageShare)/*-{
$wnd.FB.ui(
{
method: 'feed',
name: 'This is the content of the "name" field.',
link: '
http://www.mydomain.com',
caption: 'This is the content of the "caption" field.',
description: 'This is the content of the "description" field, below
the caption.',
message: 'This is text in the message box a user can add to or
replace.'
});
}-*/;
I can not understand how I can, for example, take the value of the
variable name and assign it nameShare. (name: ????)
Thanks.
Diego