x = x.replaceAll(">", ">");
return x;
}
final void addView(final XView xView, final TreeNode parent, final boolean openIt, final ViewBrowser delegate, final boolean isPublic, final boolean isEditable) {
XStaticFolder xParentFolder = (XStaticFolder) getWrappedXObject(parent);
String sessionId = ((Workbench)Registry.get(Workbench.ID)).getUser().getSessionId();
WPaloFolderServiceProvider.getInstance().createFolderElement(sessionId, xView,
xParentFolder, isPublic, isEditable, new Callback<XFolderElement>("Could not create view'"+modify(xView.getName())+"!") {
public void onSuccess(XFolderElement xFolderElement) {
TreeNode newNode = new TreeNode(parent, wrap(xFolderElement));