Params.BOOKMARK_TITLE.getParamName(), index));
bookMarkItem.add(bookMarkTitleEdit);
bookMarkUrlEdit.addBlurHandler(new BlurHandler(){
@Override
public void onBlur(BlurEvent event) {
// ignore empty
if(bookMarkUrlEdit.getText().length()==0){
bookMarkUrlEdit.setVisible(false);
bookMarkTitleEdit.setVisible(false);
link.setVisible(true);
bookMarkUrlEdit.setText(link.getHref());
}
else
{
bookMarkUrlEdit.setVisible(false);
bookMarkTitleEdit.setVisible(false);
link.setHref(bookMarkUrlEdit.getText());
link.setVisible(true);
changeBookMarkQry.clearParamList();
changeBookMarkQry
.setRequestAction(ReqActionTypes.UPDATE);
changeBookMarkQry
.setRequestItemkey(noteId);
changeBookMarkQry.addParam(Params.BOOKMARK_TITLE.getParamName(),
bookMarkTitleEdit.getText());
changeBookMarkQry.addParam(Params.BOOKMARK_URL.getParamName(),
bookMarkUrlEdit.getText());
changeBookMarkRequest.makeRequest();
}
}});
bookMarkTitleEdit.addBlurHandler(new BlurHandler(){
@Override
public void onBlur(BlurEvent event) {
// ignore empty
if(bookMarkTitleEdit.getText().trim().length()==0){
bookMarkUrlEdit.setVisible(false);