portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r766785 [2/3] - in /portals/jetspeed-2/portal/trunk: applications/jetspeed/src/main/webapp/WEB-INF/ applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/ components/jetspeed-header-resource/src/main/java/org/apache/jetspeed/hea...
Date Mon, 20 Apr 2009 18:31:00 GMT
Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js?rev=766785&r1=766784&r2=766785&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js (original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/desktop/core.js Mon Apr 20 18:31:00 2009
@@ -272,128 +272,188 @@
 jetspeed.contributeHeadElements=function(_3a){
 var _3b=jetspeed;
 var _3c=[];
-var _3d=_3b.getHead().childNodes;
-if(_3d){
-for(var i=0;i<_3d.length;i++){
-if(_3d[i].nodeType==dojo.dom.ELEMENT_NODE){
-_3c.push(_3d[i]);
+var _3d=[];
+var _3e=_3b.getHead().childNodes;
+if(_3e){
+var _3f=/^header\.dojo\.requires/;
+var _40=/^header\.dojo\./;
+for(var i=0;i<_3e.length;i++){
+if(_3e[i].nodeType==dojo.dom.ELEMENT_NODE){
+_3c.push(_3e[i]);
+if(_3e[i].tagName=="SCRIPT"){
+var _42=_3e[i].getAttribute("org.apache.portals.portal.page.head.element.contribution.merge.hint");
+if(_42=="header.dojo.parameters"){
+_42="header.dojo.config";
+}else{
+if(_3f.test(_42)){
+_42="header.dojo.requires";
+}
+}
+if(_42&&_40.test(_42)){
+if(!_3d[_42]){
+_3d[_42]=[];
+}
+_3d[_42].push(_3e[i]);
 }
 }
 }
-var _3f=_3a.childNodes;
-var _40=0;
-for(var i=0;i<_3f.length;i++){
-var _41=_3f.item(i);
-if(!_41||_41.nodeType!=dojo.dom.ELEMENT_NODE){
+}
+}
+var _43=_3a.childNodes;
+var _44=0;
+for(var i=0;i<_43.length;i++){
+var _45=_43.item(i);
+if(!_45||_45.nodeType!=dojo.dom.ELEMENT_NODE){
 continue;
 }
-var id=_41.getAttribute("id");
+var id=_45.getAttribute("id");
 if(!id){
-id=_41.getAttribute("ID");
+id=_45.getAttribute("ID");
 }
 if(!id){
-id=_41.getAttribute("Id");
+id=_45.getAttribute("Id");
 }
 if(!id){
-id=_41.getAttribute("iD");
+id=_45.getAttribute("iD");
 }
-var _43=_41.tagName;
-var _44=false;
+var _42=_45.getAttribute("org.apache.portals.portal.page.head.element.contribution.merge.hint");
+var _47=_45.tagName;
+var _48=false;
 if(id){
 for(var j=0;j<_3c.length;j++){
 if(id==_3c[j].id){
-_44=true;
-_40=j+1;
+_48=true;
+_44=j+1;
 break;
 }
 }
 }
-if(!_44){
-var _46=jetspeed.createHeadElement(_41);
+if(!_48){
+if(_3d[_42]){
 if(_3b.UAie){
-if(_43=="SCRIPT"&&_41.text){
-_46.text=_41.value;
+var _4a=_3d[_42];
+var _4b=_45.text.split(/\n/);
+for(var i=0;i<_4b.length;i++){
+var _4c=false;
+for(var j=0;j<_4a.length;j++){
+var _4d=_4a[j].text;
+if(_4d&&_4d.indexOf(_4b[i])>=0){
+_4c=true;
+break;
+}
+}
+if(!_4c){
+var _4e=_4a[_4a.length-1].text;
+_4a[_4a.length-1].text=(_4e?_4e+"\r\n":"")+_4b[i];
+}
+}
 }else{
-if(_43=="STYLE"&&_41.text){
-_46.styleSheet.cssText=_41.text;
+if(_45.textContent){
+var _4a=_3d[_42];
+var _4b=_45.textContent.split(/\n/);
+for(var i=0;i<_4b.length;i++){
+var _4c=false;
+for(var j=0;j<_4a.length;j++){
+var _4d=_4a.textContent;
+if(_4d&&_4d.indexOf(_4b[i])>=0){
+_4c=true;
+break;
+}
+}
+if(!_4c){
+var _4e=_4a[_4a.length-1].textContent;
+_4a[_4a.length-1].textContent=(_4e?_4e+"\r\n":"")+_4b[i];
+}
+}
+}
+}
+}else{
+var _4f=jetspeed.createHeadElement(_45);
+if(_3b.UAie){
+if(_47=="SCRIPT"&&_45.text){
+_4f.text=_45.value;
+}else{
+if(_47=="STYLE"&&_45.text){
+_4f.styleSheet.cssText=_45.text;
 }
 }
 }else{
-if(_41.textContent){
-_46.appendChild(document.createTextNode(_41.textContent));
+if(_45.textContent){
+_4f.appendChild(document.createTextNode(_45.textContent));
 }
 }
-if(_3c[_40]){
-_3b.getHead().insertBefore(_46,_3c[_40]);
+if(_3c[_44]){
+_3b.getHead().insertBefore(_4f,_3c[_44]);
 }else{
 _3b.getHead().appendChild(scriptElem);
 }
-++_40;
+++_44;
+}
 }
 }
 };
-jetspeed.doRender=function(_47,_48){
-if(!_47){
-_47={};
+jetspeed.doRender=function(_50,_51){
+if(!_50){
+_50={};
 }else{
-if((typeof _47=="string"||_47 instanceof String)){
-_47={url:_47};
+if((typeof _50=="string"||_50 instanceof String)){
+_50={url:_50};
 }
 }
-var _49=jetspeed.page.getPortlet(_48);
-if(_49){
+var _52=jetspeed.page.getPortlet(_51);
+if(_52){
 if(jetspeed.debug.doRenderDoAction){
-dojo.debug("doRender ["+_48+"] url: "+_47.url);
+dojo.debug("doRender ["+_51+"] url: "+_50.url);
 }
-_49.retrieveContent(null,_47);
+_52.retrieveContent(null,_50);
 }
 };
-jetspeed.doAction=function(_4a,_4b){
-if(!_4a){
-_4a={};
+jetspeed.doAction=function(_53,_54){
+if(!_53){
+_53={};
 }else{
-if((typeof _4a=="string"||_4a instanceof String)){
-_4a={url:_4a};
+if((typeof _53=="string"||_53 instanceof String)){
+_53={url:_53};
 }
 }
-var _4c=jetspeed.page.getPortlet(_4b);
-if(_4c){
+var _55=jetspeed.page.getPortlet(_54);
+if(_55){
 if(jetspeed.debug.doRenderDoAction){
-if(!_4a.formNode){
-dojo.debug("doAction ["+_4b+"] url: "+_4a.url+" form: null");
+if(!_53.formNode){
+dojo.debug("doAction ["+_54+"] url: "+_53.url+" form: null");
 }else{
-dojo.debug("doAction ["+_4b+"] url: "+_4a.url+" form: "+jetspeed.debugDumpForm(_4a.formNode));
+dojo.debug("doAction ["+_54+"] url: "+_53.url+" form: "+jetspeed.debugDumpForm(_53.formNode));
 }
 }
-_4c.retrieveContent(new jetspeed.om.PortletActionCL(_4c,_4a),_4a);
+_55.retrieveContent(new jetspeed.om.PortletActionCL(_55,_53),_53);
 }
 };
-jetspeed.PortletRenderer=function(_4d,_4e,_4f,_50,_51,_52){
-var _53=jetspeed;
-var _54=_53.page;
-var _55=dojo;
-this._jsObj=_53;
-this.mkWins=_4d;
-this.initEdit=_52;
-this.minimizeTemp=(_52!=null&&_52.editModeMove);
-this.noRender=(this.minimizeTemp&&_52.windowTitles!=null);
-this.isPgLd=_4e;
-this.isPgUp=_4f;
-this.renderUrl=_50;
-this.suppressGetActions=_51;
-this._colLen=_54.columns.length;
+jetspeed.PortletRenderer=function(_56,_57,_58,_59,_5a,_5b){
+var _5c=jetspeed;
+var _5d=_5c.page;
+var _5e=dojo;
+this._jsObj=_5c;
+this.mkWins=_56;
+this.initEdit=_5b;
+this.minimizeTemp=(_5b!=null&&_5b.editModeMove);
+this.noRender=(this.minimizeTemp&&_5b.windowTitles!=null);
+this.isPgLd=_57;
+this.isPgUp=_58;
+this.renderUrl=_59;
+this.suppressGetActions=_5a;
+this._colLen=_5d.columns.length;
 this._colIndex=0;
 this._portletIndex=0;
 this._renderCount=0;
-this.psByCol=_54.portletsByPageColumn;
+this.psByCol=_5d.portletsByPageColumn;
 this.pageLoadUrl=null;
-if(_4e){
-this.pageLoadUrl=_53.url.parse(_54.getPageUrl());
-_53.ui.evtConnect("before",_55,"addOnLoad",_54,"_beforeAddOnLoad",_55.event);
+if(_57){
+this.pageLoadUrl=_5c.url.parse(_5d.getPageUrl());
+_5c.ui.evtConnect("before",_5e,"addOnLoad",_5d,"_beforeAddOnLoad",_5e.event);
 }
-this.dbgPgLd=_53.debug.pageLoad&&_4e;
+this.dbgPgLd=_5c.debug.pageLoad&&_57;
 this.dbgMsg=null;
-if(_53.debug.doRenderDoAction||this.dbgPgLd){
+if(_5c.debug.doRenderDoAction||this.dbgPgLd){
 this.dbgMsg="";
 }
 };
@@ -410,114 +470,114 @@
 this._finished();
 }
 },_finished:function(){
-var _56=this._jsObj;
-var _57=this.dbgMsg;
-if(_57!=null){
+var _5f=this._jsObj;
+var _60=this.dbgMsg;
+if(_60!=null){
 if(this.dbgPgLd){
-dojo.debug("portlet-renderer page-url: "+_56.page.getPsmlUrl()+" portlets: ["+renderMsg+"]"+(url?(" url: "+url):""));
+dojo.debug("portlet-renderer page-url: "+_5f.page.getPsmlUrl()+" portlets: ["+renderMsg+"]"+(url?(" url: "+url):""));
 }else{
 dojo.debug("portlet-renderer ["+renderMsg+"] url: "+url);
 }
 }
 if(this.isPgLd){
-_56.page.loadPostRender(this.isPgUp,this.initEdit);
+_5f.page.loadPostRender(this.isPgUp,this.initEdit);
 }
 },_renderCurrent:function(){
-var _58=this._jsObj;
-var _59=this._colLen;
-var _5a=this._colIndex;
-var _5b=this._portletIndex;
-if(_5a<=_59){
-var _5c;
-if(_5a<_59){
-_5c=this.psByCol[_5a.toString()];
-}else{
-_5c=this.psByCol["z"];
-_5a=null;
-}
-var _5d=(_5c!=null?_5c.length:0);
-if(_5d>0){
-var _5e=_5c[_5b];
-if(_5e){
-var _5f=_5e.portlet;
-var _60=null;
+var _61=this._jsObj;
+var _62=this._colLen;
+var _63=this._colIndex;
+var _64=this._portletIndex;
+if(_63<=_62){
+var _65;
+if(_63<_62){
+_65=this.psByCol[_63.toString()];
+}else{
+_65=this.psByCol["z"];
+_63=null;
+}
+var _66=(_65!=null?_65.length:0);
+if(_66>0){
+var _67=_65[_64];
+if(_67){
+var _68=_67.portlet;
+var _69=null;
 if(this.mkWins){
-_60=_58.ui.createPortletWindow(_5f,_5a,_58);
+_69=_61.ui.createPortletWindow(_68,_63,_61);
 if(this.minimizeTemp){
-_60.minimizeWindowTemporarily(this.noRender);
+_69.minimizeWindowTemporarily(this.noRender);
 }
 }
-var _61=this.dbgMsg;
-if(_61!=null){
-if(_61.length>0){
-_61=_61+", ";
+var _6a=this.dbgMsg;
+if(_6a!=null){
+if(_6a.length>0){
+_6a=_6a+", ";
 }
-var _62=null;
-if(_5f.getProperty!=null){
-_62=_5f.getProperty(_58.id.PP_WIDGET_ID);
+var _6b=null;
+if(_68.getProperty!=null){
+_6b=_68.getProperty(_61.id.PP_WIDGET_ID);
 }
-if(!_62){
-_62=_5f.widgetId;
+if(!_6b){
+_6b=_68.widgetId;
 }
-if(!_62){
-_62=_5f.toString();
+if(!_6b){
+_6b=_68.toString();
 }
-if(_5f.entityId){
-_61=_61+_5f.entityId+"("+_62+")";
-if(this._dbPgLd&&_5f.getProperty(_58.id.PP_WINDOW_TITLE)){
-_61=_61+" "+_5f.getProperty(_58.id.PP_WINDOW_TITLE);
+if(_68.entityId){
+_6a=_6a+_68.entityId+"("+_6b+")";
+if(this._dbPgLd&&_68.getProperty(_61.id.PP_WINDOW_TITLE)){
+_6a=_6a+" "+_68.getProperty(_61.id.PP_WINDOW_TITLE);
 }
 }else{
-_61=_61+_62;
+_6a=_6a+_6b;
 }
 }
 if(!this.noRender){
-_5f.retrieveContent(null,{url:this.renderUrl,jsPageUrl:this.pageLoadUrl},this.suppressGetActions);
+_68.retrieveContent(null,{url:this.renderUrl,jsPageUrl:this.pageLoadUrl},this.suppressGetActions);
 }else{
-if(_60&&_60.portlet){
-var _63=this.initEdit.windowTitles[_60.portlet.entityId];
-if(_63!=null){
-_60.setPortletTitle(_63);
+if(_69&&_69.portlet){
+var _6c=this.initEdit.windowTitles[_69.portlet.entityId];
+if(_6c!=null){
+_69.setPortletTitle(_6c);
 }
 }
 }
 if((this._renderCount%3)==0){
-_58.url.loadingIndicatorStep(_58);
+_61.url.loadingIndicatorStep(_61);
 }
 this._renderCount++;
 }
 }
 }
 },_evalNext:function(){
-var _64=false;
-var _65=this._colLen;
-var _66=this._colIndex;
-var _67=this._portletIndex;
-var _68=_66;
-var _69;
-for(++_66;_66<=_65;_66++){
-_69=this.psByCol[_66==_65?"z":_66.toString()];
-if(_67<(_69!=null?_69.length:0)){
-_64=true;
-this._colIndex=_66;
+var _6d=false;
+var _6e=this._colLen;
+var _6f=this._colIndex;
+var _70=this._portletIndex;
+var _71=_6f;
+var _72;
+for(++_6f;_6f<=_6e;_6f++){
+_72=this.psByCol[_6f==_6e?"z":_6f.toString()];
+if(_70<(_72!=null?_72.length:0)){
+_6d=true;
+this._colIndex=_6f;
 break;
 }
 }
-if(!_64){
-++_67;
-for(_66=0;_66<=_68;_66++){
-_69=this.psByCol[_66==_65?"z":_66.toString()];
-if(_67<(_69!=null?_69.length:0)){
-_64=true;
-this._colIndex=_66;
-this._portletIndex=_67;
+if(!_6d){
+++_70;
+for(_6f=0;_6f<=_71;_6f++){
+_72=this.psByCol[_6f==_6e?"z":_6f.toString()];
+if(_70<(_72!=null?_72.length:0)){
+_6d=true;
+this._colIndex=_6f;
+this._portletIndex=_70;
 break;
 }
 }
 }
-return _64;
+return _6d;
 }});
-jetspeed.portleturl={DESKTOP_ACTION_PREFIX_URL:null,DESKTOP_RENDER_PREFIX_URL:null,JAVASCRIPT_ARG_QUOTE:"&"+"quot;",PORTLET_REQUEST_ACTION:"action",PORTLET_REQUEST_RENDER:"render",JETSPEED_DO_NOTHING_ACTION:"javascript:jetspeed.doNothingNav()",parseContentUrl:function(_6a){
+jetspeed.portleturl={DESKTOP_ACTION_PREFIX_URL:null,DESKTOP_RENDER_PREFIX_URL:null,JAVASCRIPT_ARG_QUOTE:"&"+"quot;",PORTLET_REQUEST_ACTION:"action",PORTLET_REQUEST_RENDER:"render",JETSPEED_DO_NOTHING_ACTION:"javascript:jetspeed.doNothingNav()",parseContentUrl:function(_73){
 if(this.DESKTOP_ACTION_PREFIX_URL==null){
 this.DESKTOP_ACTION_PREFIX_URL=jetspeed.url.basePortalUrl()+jetspeed.url.path.ACTION;
 }
@@ -525,358 +585,358 @@
 this.DESKTOP_RENDER_PREFIX_URL=jetspeed.url.basePortalUrl()+jetspeed.url.path.RENDER;
 }
 var op=null;
-var _6c=_6a;
-var _6d=null;
-if(_6a&&_6a.length>this.DESKTOP_ACTION_PREFIX_URL.length&&_6a.indexOf(this.DESKTOP_ACTION_PREFIX_URL)==0){
+var _75=_73;
+var _76=null;
+if(_73&&_73.length>this.DESKTOP_ACTION_PREFIX_URL.length&&_73.indexOf(this.DESKTOP_ACTION_PREFIX_URL)==0){
 op=jetspeed.portleturl.PORTLET_REQUEST_ACTION;
 }else{
-if(_6a&&_6a.length>this.DESKTOP_RENDER_PREFIX_URL.length&&_6a.indexOf(this.DESKTOP_RENDER_PREFIX_URL)==0){
+if(_73&&_73.length>this.DESKTOP_RENDER_PREFIX_URL.length&&_73.indexOf(this.DESKTOP_RENDER_PREFIX_URL)==0){
 op=jetspeed.portleturl.PORTLET_REQUEST_RENDER;
 }
 }
 if(op!=null){
-_6d=jetspeed.url.getQueryParameter(_6a,"entity");
+_76=jetspeed.url.getQueryParameter(_73,"entity");
 }
-if(!jetspeed.url.urlStartsWithHttp(_6c)){
-_6c=null;
+if(!jetspeed.url.urlStartsWithHttp(_75)){
+_75=null;
 }
-return {url:_6c,operation:op,portletEntityId:_6d};
-},genPseudoUrl:function(_6e,_6f){
-if(!_6e||!_6e.url||!_6e.portletEntityId){
+return {url:_75,operation:op,portletEntityId:_76};
+},genPseudoUrl:function(_77,_78){
+if(!_77||!_77.url||!_77.portletEntityId){
 return null;
 }
-var _70=null;
-if(_6f){
-_70=jetspeed.portleturl.JETSPEED_DO_NOTHING_ACTION;
+var _79=null;
+if(_78){
+_79=jetspeed.portleturl.JETSPEED_DO_NOTHING_ACTION;
 }else{
-_70="javascript:";
-var _71=false;
-if(_6e.operation==jetspeed.portleturl.PORTLET_REQUEST_ACTION){
-_70+="doAction(\"";
+_79="javascript:";
+var _7a=false;
+if(_77.operation==jetspeed.portleturl.PORTLET_REQUEST_ACTION){
+_79+="doAction(\"";
 }else{
-if(_6e.operation==jetspeed.portleturl.PORTLET_REQUEST_RENDER){
-_70+="doRender(\"";
+if(_77.operation==jetspeed.portleturl.PORTLET_REQUEST_RENDER){
+_79+="doRender(\"";
 }else{
-_71=true;
+_7a=true;
 }
 }
-if(_71){
+if(_7a){
 return null;
 }
-_70+=_6e.url+"\",\""+_6e.portletEntityId+"\"";
-_70+=")";
+_79+=_77.url+"\",\""+_77.portletEntityId+"\"";
+_79+=")";
 }
-return _70;
+return _79;
 }};
 jetspeed.doNothingNav=function(){
 false;
 };
-jetspeed.loadPortletDecorationStyles=function(_72,_73,_74){
-var _75=null;
-var _76=_73.portletDecorationsConfig;
-if(_72&&_76){
-_75=_76[_72];
-}
-if(_75==null&&!_74){
-var _77=_73.portletDecorationsAllowed;
-for(var i=0;i<_77.length;i++){
-_72=_77[i];
-_75=_76[_72];
-if(_75!=null){
+jetspeed.loadPortletDecorationStyles=function(_7b,_7c,_7d){
+var _7e=null;
+var _7f=_7c.portletDecorationsConfig;
+if(_7b&&_7f){
+_7e=_7f[_7b];
+}
+if(_7e==null&&!_7d){
+var _80=_7c.portletDecorationsAllowed;
+for(var i=0;i<_80.length;i++){
+_7b=_80[i];
+_7e=_7f[_7b];
+if(_7e!=null){
 break;
 }
 }
 }
-if(_75!=null&&!_75._initialized){
-var _79=jetspeed.prefs.getPortletDecorationBaseUrl(_72);
-_75._initialized=true;
-_75.cssPathCommon=new dojo.uri.Uri(_79+"/css/styles.css");
-_75.cssPathDesktop=new dojo.uri.Uri(_79+"/css/desktop.css");
-dojo.html.insertCssFile(_75.cssPathCommon,null,true);
-dojo.html.insertCssFile(_75.cssPathDesktop,null,true);
-}
-return _75;
-};
-jetspeed.loadPortletDecorationConfig=function(_7a,_7b,_7c){
-var _7d={};
-_7b.portletDecorationsConfig[_7a]=_7d;
-_7d.name=_7a;
-_7d.windowActionButtonOrder=_7b.windowActionButtonOrder;
-_7d.windowActionNotPortlet=_7b.windowActionNotPortlet;
-_7d.windowActionButtonMax=_7b.windowActionButtonMax;
-_7d.windowActionButtonTooltip=_7b.windowActionButtonTooltip;
-_7d.windowActionMenuOrder=_7b.windowActionMenuOrder;
-_7d.windowActionNoImage=_7b.windowActionNoImage;
-_7d.windowIconEnabled=_7b.windowIconEnabled;
-_7d.windowIconPath=_7b.windowIconPath;
-_7d.windowTitlebar=_7b.windowTitlebar;
-_7d.windowResizebar=_7b.windowResizebar;
-_7d.dNodeClass=_7c.P_CLASS+" "+_7a+" "+_7c.PWIN_CLASS+" "+_7c.PWIN_CLASS+"-"+_7a;
-_7d.cNodeClass=_7c.P_CLASS+" "+_7a+" "+_7c.PWIN_CLIENT_CLASS;
-if(_7b.portletDecorationsProperties){
-var _7e=_7b.portletDecorationsProperties[_7a];
-if(_7e){
-for(var _7f in _7e){
-_7d[_7f]=_7e[_7f];
-}
-if(_7e.windowActionNoImage!=null){
-var _80={};
-for(var i=0;i<_7e.windowActionNoImage.length;i++){
-_80[_7e.windowActionNoImage[i]]=true;
-}
-_7d.windowActionNoImage=_80;
-}
-if(_7e.windowIconPath!=null){
-_7d.windowIconPath=dojo.string.trim(_7e.windowIconPath);
-if(_7d.windowIconPath==null||_7d.windowIconPath.length==0){
-_7d.windowIconPath=null;
-}else{
-var _82=_7d.windowIconPath;
-var _83=_82.charAt(0);
-if(_83!="/"){
-_82="/"+_82;
-}
-var _84=_82.charAt(_82.length-1);
-if(_84!="/"){
-_82=_82+"/";
-}
-_7d.windowIconPath=_82;
+if(_7e!=null&&!_7e._initialized){
+var _82=jetspeed.prefs.getPortletDecorationBaseUrl(_7b);
+_7e._initialized=true;
+_7e.cssPathCommon=new dojo.uri.Uri(_82+"/css/styles.css");
+_7e.cssPathDesktop=new dojo.uri.Uri(_82+"/css/desktop.css");
+dojo.html.insertCssFile(_7e.cssPathCommon,null,true);
+dojo.html.insertCssFile(_7e.cssPathDesktop,null,true);
+}
+return _7e;
+};
+jetspeed.loadPortletDecorationConfig=function(_83,_84,_85){
+var _86={};
+_84.portletDecorationsConfig[_83]=_86;
+_86.name=_83;
+_86.windowActionButtonOrder=_84.windowActionButtonOrder;
+_86.windowActionNotPortlet=_84.windowActionNotPortlet;
+_86.windowActionButtonMax=_84.windowActionButtonMax;
+_86.windowActionButtonTooltip=_84.windowActionButtonTooltip;
+_86.windowActionMenuOrder=_84.windowActionMenuOrder;
+_86.windowActionNoImage=_84.windowActionNoImage;
+_86.windowIconEnabled=_84.windowIconEnabled;
+_86.windowIconPath=_84.windowIconPath;
+_86.windowTitlebar=_84.windowTitlebar;
+_86.windowResizebar=_84.windowResizebar;
+_86.dNodeClass=_85.P_CLASS+" "+_83+" "+_85.PWIN_CLASS+" "+_85.PWIN_CLASS+"-"+_83;
+_86.cNodeClass=_85.P_CLASS+" "+_83+" "+_85.PWIN_CLIENT_CLASS;
+if(_84.portletDecorationsProperties){
+var _87=_84.portletDecorationsProperties[_83];
+if(_87){
+for(var _88 in _87){
+_86[_88]=_87[_88];
+}
+if(_87.windowActionNoImage!=null){
+var _89={};
+for(var i=0;i<_87.windowActionNoImage.length;i++){
+_89[_87.windowActionNoImage[i]]=true;
+}
+_86.windowActionNoImage=_89;
+}
+if(_87.windowIconPath!=null){
+_86.windowIconPath=dojo.string.trim(_87.windowIconPath);
+if(_86.windowIconPath==null||_86.windowIconPath.length==0){
+_86.windowIconPath=null;
+}else{
+var _8b=_86.windowIconPath;
+var _8c=_8b.charAt(0);
+if(_8c!="/"){
+_8b="/"+_8b;
+}
+var _8d=_8b.charAt(_8b.length-1);
+if(_8d!="/"){
+_8b=_8b+"/";
+}
+_86.windowIconPath=_8b;
 }
 }
 }
 }
 };
-jetspeed.notifyRetrieveAllMenusFinished=function(_85,_86){
-var _87=jetspeed;
-_87.pageNavigateSuppress=true;
+jetspeed.notifyRetrieveAllMenusFinished=function(_8e,_8f){
+var _90=jetspeed;
+_90.pageNavigateSuppress=true;
 if(dojo.lang.isFunction(window.doMenuBuildAll)){
 window.doMenuBuildAll();
 }
-var _88=_87.page.getMenuNames();
-for(var i=0;i<_88.length;i++){
-var _8a=_88[i];
-var _8b=dojo.widget.byId(_87.id.MENU_WIDGET_ID_PREFIX+_8a);
-if(_8b){
-_8b.createJetspeedMenu(_87.page.getMenu(_8a));
+var _91=_90.page.getMenuNames();
+for(var i=0;i<_91.length;i++){
+var _93=_91[i];
+var _94=dojo.widget.byId(_90.id.MENU_WIDGET_ID_PREFIX+_93);
+if(_94){
+_94.createJetspeedMenu(_90.page.getMenu(_93));
 }
 }
-if(!_86){
-_87.url.loadingIndicatorHide();
+if(!_8f){
+_90.url.loadingIndicatorHide();
 }
-_87.pageNavigateSuppress=false;
+_90.pageNavigateSuppress=false;
 };
-jetspeed.notifyRetrieveMenuFinished=function(_8c){
+jetspeed.notifyRetrieveMenuFinished=function(_95){
 if(dojo.lang.isFunction(window.doMenuBuild)){
-window.doMenuBuild(_8c);
+window.doMenuBuild(_95);
 }
 };
-jetspeed.menuNavClickWidget=function(_8d,_8e){
-if(!_8d){
+jetspeed.menuNavClickWidget=function(_96,_97){
+if(!_96){
 return;
 }
-if(dojo.lang.isString(_8d)){
-var _8f=_8d;
-_8d=dojo.widget.byId(_8f);
-if(!_8d){
-dojo.raise("Tab widget not found: "+_8f);
-}
-}
-if(_8d){
-var _90=_8d.jetspeedmenuname;
-if(!_90&&_8d.extraArgs){
-_90=_8d.extraArgs.jetspeedmenuname;
-}
-if(!_90){
-dojo.raise("Tab widget is invalid: "+_8d.widgetId);
+if(dojo.lang.isString(_96)){
+var _98=_96;
+_96=dojo.widget.byId(_98);
+if(!_96){
+dojo.raise("Tab widget not found: "+_98);
+}
+}
+if(_96){
+var _99=_96.jetspeedmenuname;
+if(!_99&&_96.extraArgs){
+_99=_96.extraArgs.jetspeedmenuname;
+}
+if(!_99){
+dojo.raise("Tab widget is invalid: "+_96.widgetId);
+}
+var _9a=jetspeed.page.getMenu(_99);
+if(!_9a){
+dojo.raise("Tab widget "+_96.widgetId+" no menu: "+_99);
 }
-var _91=jetspeed.page.getMenu(_90);
-if(!_91){
-dojo.raise("Tab widget "+_8d.widgetId+" no menu: "+_90);
-}
-var _92=_91.getOptionByIndex(_8e);
-jetspeed.menuNavClick(_92);
+var _9b=_9a.getOptionByIndex(_97);
+jetspeed.menuNavClick(_9b);
 }
 };
 jetspeed.pageNavigateSuppress=false;
-jetspeed.pageNavigate=function(_93,_94,_95){
-var _96=jetspeed;
-if(!_93||_96.pageNavigateSuppress){
+jetspeed.pageNavigate=function(_9c,_9d,_9e){
+var _9f=jetspeed;
+if(!_9c||_9f.pageNavigateSuppress){
 return;
 }
-if(typeof _95=="undefined"){
-_95=false;
+if(typeof _9e=="undefined"){
+_9e=false;
 }
-if(!_95&&_96.page&&_96.page.equalsPageUrl(_93)){
+if(!_9e&&_9f.page&&_9f.page.equalsPageUrl(_9c)){
 return;
 }
-_93=_96.page.makePageUrl(_93);
-if(_94=="top"){
-top.location.href=_93;
+_9c=_9f.page.makePageUrl(_9c);
+if(_9d=="top"){
+top.location.href=_9c;
 }else{
-if(_94=="parent"){
-parent.location.href=_93;
+if(_9d=="parent"){
+parent.location.href=_9c;
 }else{
-window.location.href=_93;
+window.location.href=_9c;
 }
 }
 };
-jetspeed.getActionsForPortlet=function(_97){
-if(_97==null){
+jetspeed.getActionsForPortlet=function(_a0){
+if(_a0==null){
 return;
 }
-jetspeed.getActionsForPortlets([_97]);
-};
-jetspeed.getActionsForPortlets=function(_98){
-var _99=jetspeed;
-if(_98==null){
-_98=_99.page.getPortletIds();
-}
-var _9a=new _99.om.PortletActionsCL(_98);
-var _9b="?action=getactions";
-for(var i=0;i<_98.length;i++){
-_9b+="&id="+_98[i];
-}
-var _9d=_99.url.basePortalUrl()+_99.url.path.AJAX_API+_99.page.getPath()+_9b;
-var _9e="text/xml";
-var _9f=new _99.om.Id("getactions",{});
-_99.url.retrieveContent({url:_9d,mimetype:_9e},_9a,_9f,_99.debugContentDumpIds);
+jetspeed.getActionsForPortlets([_a0]);
 };
-jetspeed.changeActionForPortlet=function(_a0,_a1,_a2,_a3,_a4){
-var _a5=jetspeed;
-if(_a0==null){
+jetspeed.getActionsForPortlets=function(_a1){
+var _a2=jetspeed;
+if(_a1==null){
+_a1=_a2.page.getPortletIds();
+}
+var _a3=new _a2.om.PortletActionsCL(_a1);
+var _a4="?action=getactions";
+for(var i=0;i<_a1.length;i++){
+_a4+="&id="+_a1[i];
+}
+var _a6=_a2.url.basePortalUrl()+_a2.url.path.AJAX_API+_a2.page.getPath()+_a4;
+var _a7="text/xml";
+var _a8=new _a2.om.Id("getactions",{});
+_a2.url.retrieveContent({url:_a6,mimetype:_a7},_a3,_a8,_a2.debugContentDumpIds);
+};
+jetspeed.changeActionForPortlet=function(_a9,_aa,_ab,_ac,_ad){
+var _ae=jetspeed;
+if(_a9==null){
 return;
 }
-if(_a3==null){
-_a3=new _a5.om.PortletChangeActionCL(_a0);
+if(_ac==null){
+_ac=new _ae.om.PortletChangeActionCL(_a9);
 }
-var _a6="?action=window&id="+(_a0!=null?_a0:"");
-if(_a1!=null){
-_a6+="&state="+_a1;
-}
-if(_a2!=null){
-_a6+="&mode="+_a2;
-}
-var _a7=_a4;
-if(!_a7){
-_a7=_a5.page.getPath();
-}
-var _a8=_a5.url.basePortalUrl()+_a5.url.path.AJAX_API+_a7+_a6;
-var _a9="text/xml";
-var _aa=new _a5.om.Id("changeaction",{});
-_a5.url.retrieveContent({url:_a8,mimetype:_a9},_a3,_aa,_a5.debugContentDumpIds);
-};
-jetspeed.getUserInfo=function(_ab){
-var _ac=jetspeed;
-var _ad=new _ac.om.UserInfoCL();
-var _ae="?action=getuserinfo";
-var _af=_ac.url.basePortalUrl()+_ac.url.path.AJAX_API+_ac.page.getPath()+_ae;
-var _b0="text/xml";
-var _b1=new _ac.om.Id("getuserinfo",{});
-_ac.url.retrieveContent({url:_af,mimetype:_b0,sync:_ab},_ad,_b1,_ac.debugContentDumpIds);
-};
-jetspeed.editPageInitiate=function(_b2,_b3){
-var _b4=_b2.page;
-if(!_b4.editMode){
-var _b5=_b2.css;
-var _b6=true;
-var _b7=_b2.url.getQueryParameter(window.location.href,_b2.id.PORTAL_ORIGINATE_PARAMETER);
-if(_b7!=null&&_b7=="true"){
-_b6=false;
-}
-_b4.editMode=true;
-var _b8=dojo.widget.byId(_b2.id.PG_ED_WID);
-if(_b2.UAie6){
-_b4.displayAllPWins(true);
-}
-var _b9=((_b3!=null&&_b3.editModeMove)?true:false);
-var _ba=_b4._perms(_b2.prefs,-1,String.fromCharCode);
-if(_ba&&_ba[2]&&_ba[2].length>0){
-if(!_b2.page._getU()){
-_b2.getUserInfo(true);
+var _af="?action=window&id="+(_a9!=null?_a9:"");
+if(_aa!=null){
+_af+="&state="+_aa;
+}
+if(_ab!=null){
+_af+="&mode="+_ab;
+}
+var _b0=_ad;
+if(!_b0){
+_b0=_ae.page.getPath();
+}
+var _b1=_ae.url.basePortalUrl()+_ae.url.path.AJAX_API+_b0+_af;
+var _b2="text/xml";
+var _b3=new _ae.om.Id("changeaction",{});
+_ae.url.retrieveContent({url:_b1,mimetype:_b2},_ac,_b3,_ae.debugContentDumpIds);
+};
+jetspeed.getUserInfo=function(_b4){
+var _b5=jetspeed;
+var _b6=new _b5.om.UserInfoCL();
+var _b7="?action=getuserinfo";
+var _b8=_b5.url.basePortalUrl()+_b5.url.path.AJAX_API+_b5.page.getPath()+_b7;
+var _b9="text/xml";
+var _ba=new _b5.om.Id("getuserinfo",{});
+_b5.url.retrieveContent({url:_b8,mimetype:_b9,sync:_b4},_b6,_ba,_b5.debugContentDumpIds);
+};
+jetspeed.editPageInitiate=function(_bb,_bc){
+var _bd=_bb.page;
+if(!_bd.editMode){
+var _be=_bb.css;
+var _bf=true;
+var _c0=_bb.url.getQueryParameter(window.location.href,_bb.id.PORTAL_ORIGINATE_PARAMETER);
+if(_c0!=null&&_c0=="true"){
+_bf=false;
+}
+_bd.editMode=true;
+var _c1=dojo.widget.byId(_bb.id.PG_ED_WID);
+if(_bb.UAie6){
+_bd.displayAllPWins(true);
+}
+var _c2=((_bc!=null&&_bc.editModeMove)?true:false);
+var _c3=_bd._perms(_bb.prefs,-1,String.fromCharCode);
+if(_c3&&_c3[2]&&_c3[2].length>0){
+if(!_bb.page._getU()){
+_bb.getUserInfo(true);
 }
 }
-if(_b8==null){
+if(_c1==null){
 try{
-_b2.url.loadingIndicatorShow("loadpageeditor",true);
-_b8=dojo.widget.createWidget("jetspeed:PageEditor",{widgetId:_b2.id.PG_ED_WID,editorInitiatedFromDesktop:_b6,editModeMove:_b9});
-var _bb=document.getElementById(_b2.id.COLUMNS);
-_bb.insertBefore(_b8.domNode,_bb.firstChild);
+_bb.url.loadingIndicatorShow("loadpageeditor",true);
+_c1=dojo.widget.createWidget("jetspeed:PageEditor",{widgetId:_bb.id.PG_ED_WID,editorInitiatedFromDesktop:_bf,editModeMove:_c2});
+var _c4=document.getElementById(_bb.id.COLUMNS);
+_c4.insertBefore(_c1.domNode,_c4.firstChild);
 }
 catch(e){
-_b2.url.loadingIndicatorHide();
-if(_b2.UAie6){
-_b4.displayAllPWins();
+_bb.url.loadingIndicatorHide();
+if(_bb.UAie6){
+_bd.displayAllPWins();
 }
 }
 }else{
-_b8.editPageShow();
+_c1.editPageShow();
 }
-_b4.syncPageControls(_b2);
+_bd.syncPageControls(_bb);
 }
 };
-jetspeed.editPageTerminate=function(_bc,_bd){
-var _be=_bc.page;
-if(_be.editMode){
-var _bf=null;
-var _c0=_bc.css;
-var _c1=dojo.widget.byId(_bc.id.PG_ED_WID);
-if(_c1!=null&&!_c1.editorInitiatedFromDesktop){
-var _c2=_be.getPageUrl(true);
-_c2=_bc.url.removeQueryParameter(_c2,_bc.id.PG_ED_PARAM);
-_c2=_bc.url.removeQueryParameter(_c2,_bc.id.PORTAL_ORIGINATE_PARAMETER);
-_bf=_c2;
+jetspeed.editPageTerminate=function(_c5,_c6){
+var _c7=_c5.page;
+if(_c7.editMode){
+var _c8=null;
+var _c9=_c5.css;
+var _ca=dojo.widget.byId(_c5.id.PG_ED_WID);
+if(_ca!=null&&!_ca.editorInitiatedFromDesktop){
+var _cb=_c7.getPageUrl(true);
+_cb=_c5.url.removeQueryParameter(_cb,_c5.id.PG_ED_PARAM);
+_cb=_c5.url.removeQueryParameter(_cb,_c5.id.PORTAL_ORIGINATE_PARAMETER);
+_c8=_cb;
 }else{
-var _c3=_bc.url.getQueryParameter(window.location.href,_bc.id.PG_ED_PARAM);
-if(_c3!=null&&_c3=="true"){
-var _c4=window.location.href;
-_c4=_bc.url.removeQueryParameter(_c4,_bc.id.PG_ED_PARAM);
-_bf=_c4;
+var _cc=_c5.url.getQueryParameter(window.location.href,_c5.id.PG_ED_PARAM);
+if(_cc!=null&&_cc=="true"){
+var _cd=window.location.href;
+_cd=_c5.url.removeQueryParameter(_cd,_c5.id.PG_ED_PARAM);
+_c8=_cd;
 }
 }
-if(_bf!=null){
-_bf=_bf.toString();
+if(_c8!=null){
+_c8=_c8.toString();
 }
-_be.editMode=false;
-_bc.changeActionForPortlet(_be.rootFragmentId,null,_bc.id.ACT_VIEW,new _bc.om.PageChangeActionCL(_bf));
-if(_bf==null){
-if(_c1!=null){
-_c1.editMoveModeExit(true);
-_c1.editPageHide();
+_c7.editMode=false;
+_c5.changeActionForPortlet(_c7.rootFragmentId,null,_c5.id.ACT_VIEW,new _c5.om.PageChangeActionCL(_c8));
+if(_c8==null){
+if(_ca!=null){
+_ca.editMoveModeExit(true);
+_ca.editPageHide();
 }
-_be.syncPageControls(_bc);
+_c7.syncPageControls(_c5);
 }
 }
 };
 jetspeed.om.PortletContentRetriever=function(){
 };
-jetspeed.om.PortletContentRetriever.prototype={getContent:function(_c5,_c6,_c7,_c8){
-if(!_c5){
-_c5={};
+jetspeed.om.PortletContentRetriever.prototype={getContent:function(_ce,_cf,_d0,_d1){
+if(!_ce){
+_ce={};
 }
-jetspeed.url.retrieveContent(_c5,_c6,_c7,_c8);
+jetspeed.url.retrieveContent(_ce,_cf,_d0,_d1);
 }};
-jetspeed.om.PageCLCreateWidget=function(_c9,_ca){
-if(typeof _c9=="undefined"){
-_c9=false;
-}
-this.isPageUpdate=_c9;
-this.initEditModeConf=_ca;
-};
-jetspeed.om.PageCLCreateWidget.prototype={notifySuccess:function(_cb,_cc,_cd){
-_cd.loadFromPSML(_cb,this.isPageUpdate,this.initEditModeConf);
-},notifyFailure:function(_ce,_cf,_d0,_d1){
-dojo.raise("PageCLCreateWidget error url: "+_d0+" type: "+_ce+jetspeed.formatError(_cf));
+jetspeed.om.PageCLCreateWidget=function(_d2,_d3){
+if(typeof _d2=="undefined"){
+_d2=false;
+}
+this.isPageUpdate=_d2;
+this.initEditModeConf=_d3;
+};
+jetspeed.om.PageCLCreateWidget.prototype={notifySuccess:function(_d4,_d5,_d6){
+_d6.loadFromPSML(_d4,this.isPageUpdate,this.initEditModeConf);
+},notifyFailure:function(_d7,_d8,_d9,_da){
+dojo.raise("PageCLCreateWidget error url: "+_d9+" type: "+_d7+jetspeed.formatError(_d8));
 }};
-jetspeed.om.Page=function(_d2,_d3,_d4,_d5,_d6){
-if(_d2!=null&&_d3!=null){
-this.requiredLayoutDecorator=_d2;
-this.setPsmlPathFromDocumentUrl(_d3);
-this.pageUrlFallback=_d3;
+jetspeed.om.Page=function(_db,_dc,_dd,_de,_df){
+if(_db!=null&&_dc!=null){
+this.requiredLayoutDecorator=_db;
+this.setPsmlPathFromDocumentUrl(_dc);
+this.pageUrlFallback=_dc;
 }else{
 this.setPsmlPathFromDocumentUrl();
 }
-if(typeof _d4!="undefined"){
-this.addToHistory=_d4;
+if(typeof _dd!="undefined"){
+this.addToHistory=_dd;
 }
 this.layouts={};
 this.columns=[];
@@ -885,382 +945,382 @@
 this.portlet_count=0;
 this.portlet_windows={};
 this.portlet_window_count=0;
-if(_d6!=null){
-this.iframeCoverByWinId=_d6;
+if(_df!=null){
+this.iframeCoverByWinId=_df;
 }else{
 this.iframeCoverByWinId={};
 }
 this.portlet_tiled_high_z=10;
 this.portlet_untiled_high_z=-1;
 this.menus=[];
-if(_d5!=null){
-this.tooltipMgr=_d5;
+if(_de!=null){
+this.tooltipMgr=_de;
 }else{
 this.tooltipMgr=dojo.widget.createWidget("jetspeed:PortalTooltipManager",{isContainer:false,fastMixIn:true});
 jetspeed.docBody.appendChild(this.tooltipMgr.domNode);
 }
 };
 dojo.lang.extend(jetspeed.om.Page,{psmlPath:null,name:null,path:null,pageUrl:null,pagePathAndQuery:null,title:null,shortTitle:null,layoutDecorator:null,portletDecorator:null,uIA:true,requiredLayoutDecorator:null,pageUrlFallback:null,addToHistory:false,layouts:null,columns:null,portlets:null,portletsByPageColumn:null,editMode:false,themeDefinitions:null,menus:null,getId:function(){
-var _d7=(this.name!=null&&this.name.length>0?this.name:null);
-if(!_d7){
+var _e0=(this.name!=null&&this.name.length>0?this.name:null);
+if(!_e0){
 this.getPsmlUrl();
-_d7=this.psmlPath;
+_e0=this.psmlPath;
 }
-return "page-"+_d7;
-},setPsmlPathFromDocumentUrl:function(_d8){
-var _d9=jetspeed;
-var _da=_d9.url.path.AJAX_API;
-var _db=null;
-if(_d8==null){
-_db=window.location.pathname;
-if(!djConfig.preventBackButtonFix&&_d9.prefs.ajaxPageNavigation){
-var _dc=window.location.hash;
-if(_dc!=null&&_dc.length>0){
-if(_dc.indexOf("#")==0){
-_dc=(_dc.length>1?_dc.substring(1):"");
+return "page-"+_e0;
+},setPsmlPathFromDocumentUrl:function(_e1){
+var _e2=jetspeed;
+var _e3=_e2.url.path.AJAX_API;
+var _e4=null;
+if(_e1==null){
+_e4=window.location.pathname;
+if(!djConfig.preventBackButtonFix&&_e2.prefs.ajaxPageNavigation){
+var _e5=window.location.hash;
+if(_e5!=null&&_e5.length>0){
+if(_e5.indexOf("#")==0){
+_e5=(_e5.length>1?_e5.substring(1):"");
 }
-if(_dc!=null&&_dc.length>1&&_dc.indexOf("/")==0){
-this.psmlPath=_d9.url.path.AJAX_API+_dc;
+if(_e5!=null&&_e5.length>1&&_e5.indexOf("/")==0){
+this.psmlPath=_e2.url.path.AJAX_API+_e5;
 return;
 }
 }
 }
 }else{
-var _dd=_d9.url.parse(_d8);
-_db=_dd.path;
+var _e6=_e2.url.parse(_e1);
+_e4=_e6.path;
 }
-var _de=_d9.url.path.DESKTOP;
-var _df=_db.indexOf(_de);
-if(_df!=-1&&_db.length>(_df+_de.length)){
-_da=_da+_db.substring(_df+_de.length);
+var _e7=_e2.url.path.DESKTOP;
+var _e8=_e4.indexOf(_e7);
+if(_e8!=-1&&_e4.length>(_e8+_e7.length)){
+_e3=_e3+_e4.substring(_e8+_e7.length);
 }
-this.psmlPath=_da;
+this.psmlPath=_e3;
 },getPsmlUrl:function(){
-var _e0=jetspeed;
+var _e9=jetspeed;
 if(this.psmlPath==null){
 this.setPsmlPathFromDocumentUrl();
 }
-var _e1=_e0.url.basePortalUrl()+this.psmlPath;
-if(_e0.prefs.printModeOnly!=null){
-_e1=_e0.url.addQueryParameter(_e1,"layoutid",_e0.prefs.printModeOnly.layout);
-_e1=_e0.url.addQueryParameter(_e1,"entity",_e0.prefs.printModeOnly.entity).toString();
+var _ea=_e9.url.basePortalUrl()+this.psmlPath;
+if(_e9.prefs.printModeOnly!=null){
+_ea=_e9.url.addQueryParameter(_ea,"layoutid",_e9.prefs.printModeOnly.layout);
+_ea=_e9.url.addQueryParameter(_ea,"entity",_e9.prefs.printModeOnly.entity).toString();
 }
-return _e1;
+return _ea;
 },_setU:function(u){
 this._u=u;
 },_getU:function(){
 return this._u;
-},retrievePsml:function(_e3){
-var _e4=jetspeed;
-if(_e3==null){
-_e3=new _e4.om.PageCLCreateWidget();
-}
-var _e5=this.getPsmlUrl();
-var _e6="text/xml";
-if(_e4.debug.retrievePsml){
-dojo.debug("retrievePsml url: "+_e5);
-}
-_e4.url.retrieveContent({url:_e5,mimetype:_e6},_e3,this,_e4.debugContentDumpIds);
-},loadFromPSML:function(_e7,_e8,_e9){
-var _ea=jetspeed;
-var _eb=_ea.prefs;
-var _ec=dojo;
-var _ed=_eb.printModeOnly;
-if(djConfig.isDebug&&_ea.debug.profile&&_ed==null){
-_ec.profile.start("loadFromPSML");
-}
-var _ee=this._parsePSML(_e7);
-jetspeed.rootfrag=_ee;
-if(_ee==null){
+},retrievePsml:function(_ec){
+var _ed=jetspeed;
+if(_ec==null){
+_ec=new _ed.om.PageCLCreateWidget();
+}
+var _ee=this.getPsmlUrl();
+var _ef="text/xml";
+if(_ed.debug.retrievePsml){
+dojo.debug("retrievePsml url: "+_ee);
+}
+_ed.url.retrieveContent({url:_ee,mimetype:_ef},_ec,this,_ed.debugContentDumpIds);
+},loadFromPSML:function(_f0,_f1,_f2){
+var _f3=jetspeed;
+var _f4=_f3.prefs;
+var _f5=dojo;
+var _f6=_f4.printModeOnly;
+if(djConfig.isDebug&&_f3.debug.profile&&_f6==null){
+_f5.profile.start("loadFromPSML");
+}
+var _f7=this._parsePSML(_f0);
+jetspeed.rootfrag=_f7;
+if(_f7==null){
 return;
 }
 this.portletsByPageColumn={};
-var _ef={};
+var _f8={};
 if(this.portletDecorator){
-_ef[this.portletDecorator]=true;
+_f8[this.portletDecorator]=true;
 }
-this.columnsStructure=this._layoutCreateModel(_ee,0,null,this.portletsByPageColumn,true,_ef,_ec,_ea);
-this.rootFragmentId=_ee.id;
+this.columnsStructure=this._layoutCreateModel(_f7,0,null,this.portletsByPageColumn,true,_f8,_f5,_f3);
+this.rootFragmentId=_f7.id;
 this.editMode=false;
-for(var _f0 in _ef){
-_ea.loadPortletDecorationStyles(_f0,_eb,true);
+for(var _f9 in _f8){
+_f3.loadPortletDecorationStyles(_f9,_f4,true);
 }
-if(_eb.windowTiling){
-this._createColsStart(document.getElementById(_ea.id.DESKTOP),_ea.id.COLUMNS);
+if(_f4.windowTiling){
+this._createColsStart(document.getElementById(_f3.id.DESKTOP),_f3.id.COLUMNS);
 }
-this.createLayoutInfo(_ea);
-var _f1=this.portletsByPageColumn["z"];
-if(_f1){
-_f1.sort(this._loadPortletZIndexCompare);
-}
-if(typeof _e9=="undefined"){
-_e9=null;
-}
-if(_e9!=null||(this.actions!=null&&this.actions[_ea.id.ACT_VIEW]!=null)){
-if(!this.isUA()&&this.actions!=null&&(this.actions[_ea.id.ACT_EDIT]!=null||this.actions[_ea.id.ACT_VIEW]!=null)){
-if(_e9==null){
-_e9={};
-}
-if((typeof _e9.editModeMove=="undefined")&&this._perms(_eb,_ea.id.PM_MZ_P,String.fromCharCode)){
-_e9.editModeMove=true;
-}
-var _f2=_ea.url.parse(window.location.href);
-if(!_e9.editModeMove){
-var _f3=_ea.url.getQueryParameter(_f2,_ea.id.PG_ED_STATE_PARAM);
-if(_f3!=null){
-_f3="0x"+_f3;
-if((_f3&_ea.id.PM_MZ_P)>0){
-_e9.editModeMove=true;
+this.createLayoutInfo(_f3);
+var _fa=this.portletsByPageColumn["z"];
+if(_fa){
+_fa.sort(this._loadPortletZIndexCompare);
+}
+if(typeof _f2=="undefined"){
+_f2=null;
+}
+if(_f2!=null||(this.actions!=null&&this.actions[_f3.id.ACT_VIEW]!=null)){
+if(!this.isUA()&&this.actions!=null&&(this.actions[_f3.id.ACT_EDIT]!=null||this.actions[_f3.id.ACT_VIEW]!=null)){
+if(_f2==null){
+_f2={};
+}
+if((typeof _f2.editModeMove=="undefined")&&this._perms(_f4,_f3.id.PM_MZ_P,String.fromCharCode)){
+_f2.editModeMove=true;
+}
+var _fb=_f3.url.parse(window.location.href);
+if(!_f2.editModeMove){
+var _fc=_f3.url.getQueryParameter(_fb,_f3.id.PG_ED_STATE_PARAM);
+if(_fc!=null){
+_fc="0x"+_fc;
+if((_fc&_f3.id.PM_MZ_P)>0){
+_f2.editModeMove=true;
 }
 }
 }
-if(_e9.editModeMove&&!_e9.windowTitles){
-var _f4=_ea.url.getQueryParameter(_f2,_ea.id.PG_ED_TITLES_PARAM);
-if(_f4!=null){
-var _f5=_f4.length;
-var _f6=new Array(_f5/2);
-var _f7=String.fromCharCode;
-var _f8=0,chI=0;
-while(chI<(_f5-1)){
-_f6[_f8]=_f7(Number("0x"+_f4.substring(chI,(chI+2))));
-_f8++;
+if(_f2.editModeMove&&!_f2.windowTitles){
+var _fd=_f3.url.getQueryParameter(_fb,_f3.id.PG_ED_TITLES_PARAM);
+if(_fd!=null){
+var _fe=_fd.length;
+var _ff=new Array(_fe/2);
+var sfcc=String.fromCharCode;
+var _101=0,chI=0;
+while(chI<(_fe-1)){
+_ff[_101]=sfcc(Number("0x"+_fd.substring(chI,(chI+2))));
+_101++;
 chI+=2;
 }
-var _fa=null;
+var _103=null;
 try{
-_fa=eval("({"+_f6.join("")+"})");
+_103=eval("({"+_ff.join("")+"})");
 }
 catch(e){
 if(djConfig.isDebug){
-dojo.debug("cannot parse json: "+_f6.join(""));
+dojo.debug("cannot parse json: "+_ff.join(""));
 }
 }
-if(_fa!=null){
-var _fb=false;
-for(var _fc in this.portlets){
-var _fd=this.portlets[_fc];
-if(_fd!=null&&!_fa[_fd.entityId]){
-_fb=true;
+if(_103!=null){
+var _104=false;
+for(var _105 in this.portlets){
+var _106=this.portlets[_105];
+if(_106!=null&&!_103[_106.entityId]){
+_104=true;
 break;
 }
 }
-if(!_fb){
-_e9.windowTitles=_fa;
+if(!_104){
+_f2.windowTitles=_103;
 }
 }
 }
 }
 }else{
-_e9=null;
+_f2=null;
 }
 }
-if(_e9!=null){
-_ea.url.loadingIndicatorShow("loadpageeditor",true);
+if(_f2!=null){
+_f3.url.loadingIndicatorShow("loadpageeditor",true);
 }
-var _fe=new _ea.PortletRenderer(true,true,_e8,null,true,_e9);
-_fe.renderAllTimeDistribute();
-},loadPostRender:function(_ff,_100){
-var _101=jetspeed;
-var _102=_101.prefs.printModeOnly;
-if(_102==null){
+var _107=new _f3.PortletRenderer(true,true,_f1,null,true,_f2);
+_107.renderAllTimeDistribute();
+},loadPostRender:function(_108,_109){
+var _10a=jetspeed;
+var _10b=_10a.prefs.printModeOnly;
+if(_10b==null){
 this._portletsInitWinState(this.portletsByPageColumn["z"]);
-this.retrieveMenuDeclarations(true,_ff,_100);
+this.retrieveMenuDeclarations(true,_108,_109);
 }else{
-for(var _103 in this.portlets){
-var _104=this.portlets[_103];
-if(_104!=null){
-_104.renderAction(null,_102.action);
+for(var _10c in this.portlets){
+var _10d=this.portlets[_10c];
+if(_10d!=null){
+_10d.renderAction(null,_10b.action);
 }
 break;
 }
-if(_ff){
-_101.updatePageEnd();
+if(_108){
+_10a.updatePageEnd();
 }
 }
-_101.ui.evtConnect("after",window,"onresize",_101.ui.windowResizeMgr,"onResize",dojo.event);
-_101.ui.windowResizeMgr.onResizeDelayedCompare();
-var _105,_106=this.columns;
-if(_106){
-for(var i=0;i<_106.length;i++){
-_105=_106[i].domNode;
-if(!_105.childNodes||_105.childNodes.length==0){
-_105.style.height="1px";
+_10a.ui.evtConnect("after",window,"onresize",_10a.ui.windowResizeMgr,"onResize",dojo.event);
+_10a.ui.windowResizeMgr.onResizeDelayedCompare();
+var _10e,_10f=this.columns;
+if(_10f){
+for(var i=0;i<_10f.length;i++){
+_10e=_10f[i].domNode;
+if(!_10e.childNodes||_10e.childNodes.length==0){
+_10e.style.height="1px";
 }
 }
 }
-var _108=this.maximizedOnInit;
-if(_108!=null){
-var _109=this.getPWin(_108);
-if(_109==null){
+var _111=this.maximizedOnInit;
+if(_111!=null){
+var _112=this.getPWin(_111);
+if(_112==null){
 dojo.raise("no pWin to max");
 }else{
-dojo.lang.setTimeout(_109,_109._postCreateMaximizeWindow,500);
+dojo.lang.setTimeout(_112,_112._postCreateMaximizeWindow,500);
 }
 this.maximizedOnInit=null;
 }
-dojo.lang.setTimeout(_101.url,_101.url.loadingIndicatorStepPreload,1800);
-},loadPostRetrieveMenus:function(_10a,_10b){
-var _10c=jetspeed;
-this.renderPageControls(_10c);
-if(_10b){
-_10c.editPageInitiate(_10c,_10b);
+dojo.lang.setTimeout(_10a.url,_10a.url.loadingIndicatorStepPreload,1800);
+},loadPostRetrieveMenus:function(_113,_114){
+var _115=jetspeed;
+this.renderPageControls(_115);
+if(_114){
+_115.editPageInitiate(_115,_114);
 }
-if(_10a){
-_10c.updatePageEnd();
+if(_113){
+_115.updatePageEnd();
 }
-this.syncPageControls(_10c);
+this.syncPageControls(_115);
 },_parsePSML:function(psml){
-var _10e=jetspeed;
-var _10f=dojo;
-var _110=psml.getElementsByTagName("page");
-if(!_110||_110.length>1||_110[0]==null){
-_10f.raise("<page>");
-}
-var _111=_110[0];
-var _112=_111.childNodes;
-var _113=new RegExp("(name|path|profiledPath|title|short-title|uIA|npe)");
-var _114=null;
-var _115={};
-for(var i=0;i<_112.length;i++){
-var _117=_112[i];
-if(_117.nodeType!=1){
+var _117=jetspeed;
+var _118=dojo;
+var _119=psml.getElementsByTagName("page");
+if(!_119||_119.length>1||_119[0]==null){
+_118.raise("<page>");
+}
+var _11a=_119[0];
+var _11b=_11a.childNodes;
+var _11c=new RegExp("(name|path|profiledPath|title|short-title|uIA|npe)");
+var _11d=null;
+var _11e={};
+for(var i=0;i<_11b.length;i++){
+var _120=_11b[i];
+if(_120.nodeType!=1){
 continue;
 }
-var _118=_117.nodeName;
-if(_118=="fragment"){
-_114=_117;
+var _121=_120.nodeName;
+if(_121=="fragment"){
+_11d=_120;
 }else{
-if(_118=="defaults"){
-this.layoutDecorator=_117.getAttribute("layout-decorator");
-var _119=_117.getAttribute("portlet-decorator");
-var _11a=_10e.prefs.portletDecorationsAllowed;
-if(!_11a||_10f.lang.indexOf(_11a,_119)==-1){
-_119=_10e.prefs.windowDecoration;
+if(_121=="defaults"){
+this.layoutDecorator=_120.getAttribute("layout-decorator");
+var _122=_120.getAttribute("portlet-decorator");
+var _123=_117.prefs.portletDecorationsAllowed;
+if(!_123||_118.lang.indexOf(_123,_122)==-1){
+_122=_117.prefs.windowDecoration;
 }
-this.portletDecorator=_119;
+this.portletDecorator=_122;
 }else{
-if(_118&&_118.match(_113)){
-if(_118=="short-title"){
-_118="shortTitle";
+if(_121&&_121.match(_11c)){
+if(_121=="short-title"){
+_121="shortTitle";
 }
-this[_118]=((_117&&_117.firstChild)?_117.firstChild.nodeValue:null);
+this[_121]=((_120&&_120.firstChild)?_120.firstChild.nodeValue:null);
 }else{
-if(_118=="action"){
-this._parsePSMLAction(_117,_115);
+if(_121=="action"){
+this._parsePSMLAction(_120,_11e);
 }
 }
 }
 }
 }
-this.actions=_115;
-if(_114==null){
-_10f.raise("root frag");
+this.actions=_11e;
+if(_11d==null){
+_118.raise("root frag");
 return null;
 }
 if(this.requiredLayoutDecorator!=null&&this.pageUrlFallback!=null){
 if(this.layoutDecorator!=this.requiredLayoutDecorator){
-if(_10e.debug.ajaxPageNav){
-_10f.debug("ajaxPageNavigation _parsePSML different layout decorator ("+this.requiredLayoutDecorator+" != "+this.layoutDecorator+") - fallback to normal page navigation - "+this.pageUrlFallback);
+if(_117.debug.ajaxPageNav){
+_118.debug("ajaxPageNavigation _parsePSML different layout decorator ("+this.requiredLayoutDecorator+" != "+this.layoutDecorator+") - fallback to normal page navigation - "+this.pageUrlFallback);
 }
-_10e.pageNavigate(this.pageUrlFallback,null,true);
+_117.pageNavigate(this.pageUrlFallback,null,true);
 return null;
 }else{
 if(this.addToHistory){
-var _11b=this.getPageUrl();
-_10f.undo.browser.addToHistory({back:function(){
-if(_10e.debug.ajaxPageNav){
-dojo.debug("back-nav-button: "+_11b);
+var _124=this.getPageUrl();
+_118.undo.browser.addToHistory({back:function(){
+if(_117.debug.ajaxPageNav){
+dojo.debug("back-nav-button: "+_124);
 }
-_10e.updatePage(_11b,true);
+_117.updatePage(_124,true);
 },forward:function(){
-if(_10e.debug.ajaxPageNav){
-dojo.debug("forward-nav-button: "+_11b);
+if(_117.debug.ajaxPageNav){
+dojo.debug("forward-nav-button: "+_124);
 }
-_10e.updatePage(_11b,true);
+_117.updatePage(_124,true);
 },changeUrl:escape(this.getPath())});
 }
 }
 }else{
-if(!djConfig.preventBackButtonFix&&_10e.prefs.ajaxPageNavigation){
-var _11b=this.getPageUrl();
-_10f.undo.browser.setInitialState({back:function(){
-if(_10e.debug.ajaxPageNav){
-dojo.debug("back-nav-button initial: "+_11b);
+if(!djConfig.preventBackButtonFix&&_117.prefs.ajaxPageNavigation){
+var _124=this.getPageUrl();
+_118.undo.browser.setInitialState({back:function(){
+if(_117.debug.ajaxPageNav){
+dojo.debug("back-nav-button initial: "+_124);
 }
-_10e.updatePage(_11b,true);
+_117.updatePage(_124,true);
 },forward:function(){
-if(_10e.debug.ajaxPageNav){
-dojo.debug("forward-nav-button initial: "+_11b);
+if(_117.debug.ajaxPageNav){
+dojo.debug("forward-nav-button initial: "+_124);
 }
-_10e.updatePage(_11b,true);
+_117.updatePage(_124,true);
 },changeUrl:escape(this.getPath())});
 }
 }
-var _11c=this._parsePSMLFrag(_114,0,false);
-return _11c;
-},_parsePSMLFrag:function(_11d,_11e,_11f){
-var _120=jetspeed;
-var _121=new Array();
-var _122=((_11d!=null)?_11d.getAttribute("type"):null);
-if(_122!="layout"){
-dojo.raise("!layout frag="+_11d);
-return null;
-}
-if(!_11f){
-var _123=_11d.getAttribute("name");
-if(_123!=null){
-_123=_123.toLowerCase();
-if(_123.indexOf("noactions")!=-1){
-_11f=true;
-}
-}
-}
-var _124=null,_125=0;
-var _126={};
-var _127=_11d.childNodes;
-var _128,_129,_12a,_12b,_12c;
-for(var i=0;i<_127.length;i++){
-_128=_127[i];
-if(_128.nodeType!=1){
-continue;
+var _125=this._parsePSMLFrag(_11d,0,false);
+return _125;
+},_parsePSMLFrag:function(_126,_127,_128){
+var _129=jetspeed;
+var _12a=new Array();
+var _12b=((_126!=null)?_126.getAttribute("type"):null);
+if(_12b!="layout"){
+dojo.raise("!layout frag="+_126);
+return null;
 }
-_129=_128.nodeName;
-if(_129=="fragment"){
-_12c=_128.getAttribute("type");
-if(_12c=="layout"){
-var _12e=this._parsePSMLFrag(_128,i,_11f);
-if(_12e!=null){
-_121.push(_12e);
+if(!_128){
+var _12c=_126.getAttribute("name");
+if(_12c!=null){
+_12c=_12c.toLowerCase();
+if(_12c.indexOf("noactions")!=-1){
+_128=true;
 }
-}else{
-var _12f=this._parsePSMLProps(_128,null);
-var _130=_12f[_120.id.PP_WINDOW_ICON];
-if(_130==null||_130.length==0){
-_130=this._parsePSMLChildOrAttr(_128,"icon");
-if(_130!=null&&_130.length>0){
-_12f[_120.id.PP_WINDOW_ICON]=_130;
 }
 }
-_121.push({id:_128.getAttribute("id"),type:_12c,name:_128.getAttribute("name"),properties:_12f,actions:this._parsePSMLActions(_128,null),currentActionState:this._parsePSMLChildOrAttr(_128,"state"),currentActionMode:this._parsePSMLChildOrAttr(_128,"mode"),decorator:_128.getAttribute("decorator"),layoutActionsDisabled:_11f,documentOrderIndex:i});
+var _12d=null,_12e=0;
+var _12f={};
+var _130=_126.childNodes;
+var _131,_132,_133,_134,_135;
+for(var i=0;i<_130.length;i++){
+_131=_130[i];
+if(_131.nodeType!=1){
+continue;
 }
-}else{
-if(_129=="property"){
-if(this._parsePSMLProp(_128,_126)=="sizes"){
-if(_124!=null){
-dojo.raise("<sizes>: "+_11d);
+_132=_131.nodeName;
+if(_132=="fragment"){
+_135=_131.getAttribute("type");
+if(_135=="layout"){
+var _137=this._parsePSMLFrag(_131,i,_128);
+if(_137!=null){
+_12a.push(_137);
+}
+}else{
+var _138=this._parsePSMLProps(_131,null);
+var _139=_138[_129.id.PP_WINDOW_ICON];
+if(_139==null||_139.length==0){
+_139=this._parsePSMLChildOrAttr(_131,"icon");
+if(_139!=null&&_139.length>0){
+_138[_129.id.PP_WINDOW_ICON]=_139;
+}
+}
+_12a.push({id:_131.getAttribute("id"),type:_135,name:_131.getAttribute("name"),properties:_138,actions:this._parsePSMLActions(_131,null),currentActionState:this._parsePSMLChildOrAttr(_131,"state"),currentActionMode:this._parsePSMLChildOrAttr(_131,"mode"),decorator:_131.getAttribute("decorator"),layoutActionsDisabled:_128,documentOrderIndex:i});
+}
+}else{
+if(_132=="property"){
+if(this._parsePSMLProp(_131,_12f)=="sizes"){
+if(_12d!=null){
+dojo.raise("<sizes>: "+_126);
 return null;
 }
-if(_120.prefs.printModeOnly!=null){
-_124=["100"];
-_125=100;
-}else{
-_12b=_128.getAttribute("value");
-if(_12b!=null&&_12b.length>0){
-_124=_12b.split(",");
-for(var j=0;j<_124.length;j++){
+if(_129.prefs.printModeOnly!=null){
+_12d=["100"];
+_12e=100;
+}else{
+_134=_131.getAttribute("value");
+if(_134!=null&&_134.length>0){
+_12d=_134.split(",");
+for(var j=0;j<_12d.length;j++){
 var re=/^[^0-9]*([0-9]+)[^0-9]*$/;
-_124[j]=_124[j].replace(re,"$1");
-_125+=new Number(_124[j]);
+_12d[j]=_12d[j].replace(re,"$1");
+_12e+=new Number(_12d[j]);
 }
 }
 }
@@ -1268,200 +1328,200 @@
 }
 }
 }
-if(_124==null){
-_124=["100"];
-_125=100;
+if(_12d==null){
+_12d=["100"];
+_12e=100;
 }
-var _133=_124.length;
-var _134=_121.length;
-var pCi=_120.id.PP_COLUMN;
-var pRi=_120.id.PP_ROW;
-var _137=new Array(_133);
-var _138=new Array(_133);
-for(var cI=0;cI<_133;cI++){
-_137[cI]=[];
-_138[cI]={head:-1,tail:-1,high:-1};
+var _13c=_12d.length;
+var _13d=_12a.length;
+var pCi=_129.id.PP_COLUMN;
+var pRi=_129.id.PP_ROW;
+var _140=new Array(_13c);
+var _141=new Array(_13c);
+for(var cI=0;cI<_13c;cI++){
+_140[cI]=[];
+_141[cI]={head:-1,tail:-1,high:-1};
 }
-for(var _13a=0;_13a<_134;_13a++){
-var frag=_121[_13a];
-var _13c=frag.properties;
-var col=_13c[pCi];
-var row=_13c[pRi];
-var _13f=null;
-if(col==null||col>=_133){
-_13f=_133-1;
+for(var _143=0;_143<_13d;_143++){
+var frag=_12a[_143];
+var _145=frag.properties;
+var col=_145[pCi];
+var row=_145[pRi];
+var _148=null;
+if(col==null||col>=_13c){
+_148=_13c-1;
 }else{
 if(col<0){
-_13f=0;
+_148=0;
 }
 }
-if(_13f!=null){
-col=_13c[pCi]=String(_13f);
+if(_148!=null){
+col=_145[pCi]=String(_148);
 }
-var ll=_137[col];
-var _141=ll.length;
-var _142=_138[col];
+var ll=_140[col];
+var _14a=ll.length;
+var _14b=_141[col];
 if(row<0){
-row=_13c[pRi]=0;
+row=_145[pRi]=0;
 }else{
 if(row==null){
-row=_142.high+1;
+row=_14b.high+1;
 }
 }
-var _143={i:_13a,row:row,next:-1};
-ll.push(_143);
-if(_141==0){
-_142.head=_142.tail=0;
-_142.high=row;
-}else{
-if(row>_142.high){
-ll[_142.tail].next=_141;
-_142.high=row;
-_142.tail=_141;
-}else{
-var _144=_142.head;
-var _145=-1;
-while(ll[_144].row<row){
-_145=_144;
-_144=ll[_144].next;
-}
-if(ll[_144].row==row){
-var _146=new Number(row)+1;
-ll[_144].row=_146;
-if(_142.tail==_144){
-_142.high=_146;
-}
-}
-_143.next=_144;
-if(_145==-1){
-_142.head=_141;
-}else{
-ll[_145].next=_141;
-}
-}
-}
-}
-var _147=new Array(_134);
-var _148=0;
-for(var cI=0;cI<_133;cI++){
-var ll=_137[cI];
-var _142=_138[cI];
-var _149=0;
-var _14a=_142.head;
-while(_14a!=-1){
-var _143=ll[_14a];
-var frag=_121[_143.i];
-_147[_148]=frag;
-frag.properties[pRi]=_149;
-_148++;
-_149++;
-_14a=_143.next;
-}
-}
-return {id:_11d.getAttribute("id"),type:_122,name:_11d.getAttribute("name"),decorator:_11d.getAttribute("decorator"),columnSizes:_124,columnSizesSum:_125,properties:_126,fragments:_147,layoutActionsDisabled:_11f,documentOrderIndex:_11e};
-},_parsePSMLActions:function(_14b,_14c){
-if(_14c==null){
-_14c={};
-}
-var _14d=_14b.getElementsByTagName("action");
-for(var _14e=0;_14e<_14d.length;_14e++){
-var _14f=_14d[_14e];
-this._parsePSMLAction(_14f,_14c);
-}
-return _14c;
-},_parsePSMLAction:function(_150,_151){
-var _152=_150.getAttribute("id");
-if(_152!=null){
-var _153=_150.getAttribute("type");
-var _154=_150.getAttribute("name");
-var _155=_150.getAttribute("url");
-var _156=_150.getAttribute("alt");
-_151[_152.toLowerCase()]={id:_152,type:_153,label:_154,url:_155,alt:_156};
-}
-},_parsePSMLChildOrAttr:function(_157,_158){
-var _159=null;
-var _15a=_157.getElementsByTagName(_158);
-if(_15a!=null&&_15a.length==1&&_15a[0].firstChild!=null){
-_159=_15a[0].firstChild.nodeValue;
-}
-if(!_159){
-_159=_157.getAttribute(_158);
-}
-if(_159==null||_159.length==0){
-_159=null;
-}
-return _159;
-},_parsePSMLProps:function(_15b,_15c){
-if(_15c==null){
-_15c={};
-}
-var _15d=_15b.getElementsByTagName("property");
-for(var _15e=0;_15e<_15d.length;_15e++){
-this._parsePSMLProp(_15d[_15e],_15c);
-}
-return _15c;
-},_parsePSMLProp:function(_15f,_160){
-var _161=_15f.getAttribute("name");
-var _162=_15f.getAttribute("value");
-_160[_161]=_162;
-return _161;
-},_layoutCreateModel:function(_163,_164,_165,_166,_167,_168,_169,_16a){
-var jsId=_16a.id;
-var _16c=this.columns.length;
-var _16d=this._layoutCreateColsModel(_163,_164,_165,_167);
-var _16e=_16d.columnsInLayout;
-if(_16d.addedLayoutHeaderColumn){
-_16c++;
-}
-var _16f=(_16e==null?0:_16e.length);
-var _170=new Array(_16f);
-var _171=new Array(_16f);
-for(var i=0;i<_163.fragments.length;i++){
-var _173=_163.fragments[i];
-if(_173.type=="layout"){
-var _174=i;
-var _174=(_173.properties?_173.properties[_16a.id.PP_COLUMN]:i);
-if(_174==null||_174<0||_174>=_16f){
-_174=(_16f>0?(_16f-1):0);
-}
-_171[_174]=true;
-this._layoutCreateModel(_173,(_164+1),_16e[_174],_166,false,_168,_169,_16a);
-}else{
-this._layoutCreatePortlet(_173,_163,_16e,_16c,_166,_170,_168,_169,_16a);
-}
-}
-return _16e;
-},_layoutCreatePortlet:function(_175,_176,_177,_178,_179,_17a,_17b,_17c,_17d){
-if(_175&&_17d.debugPortletEntityIdFilter){
-if(!_17c.lang.inArray(_17d.debugPortletEntityIdFilter,_175.id)){
-_175=null;
-}
-}
-if(_175){
-var _17e="z";
-var _17f=_175.properties[_17d.id.PP_DESKTOP_EXTENDED];
-var _180=_17d.prefs.windowTiling;
-var _181=_180;
-var _182=_17d.prefs.windowHeightExpand;
-if(_17f!=null&&_180&&_17d.prefs.printModeOnly==null){
-var _183=_17f.split(_17d.id.PP_PAIR_SEPARATOR);
-var _184=null,_185=0,_186=null,_187=null,_188=false;
-if(_183!=null&&_183.length>0){
-var _189=_17d.id.PP_PROP_SEPARATOR;
-for(var _18a=0;_18a<_183.length;_18a++){
-_184=_183[_18a];
-_185=((_184!=null)?_184.length:0);
-if(_185>0){
-var _18b=_184.indexOf(_189);
-if(_18b>0&&_18b<(_185-1)){
-_186=_184.substring(0,_18b);
-_187=_184.substring(_18b+1);
-_188=((_187=="true")?true:false);
-if(_186==_17d.id.PP_STATICPOS){
-_181=_188;
-}else{
-if(_186==_17d.id.PP_FITHEIGHT){
-_182=_188;
+var _14c={i:_143,row:row,next:-1};
+ll.push(_14c);
+if(_14a==0){
+_14b.head=_14b.tail=0;
+_14b.high=row;
+}else{
+if(row>_14b.high){
+ll[_14b.tail].next=_14a;
+_14b.high=row;
+_14b.tail=_14a;
+}else{
+var _14d=_14b.head;
+var _14e=-1;
+while(ll[_14d].row<row){
+_14e=_14d;
+_14d=ll[_14d].next;
+}
+if(ll[_14d].row==row){
+var _14f=new Number(row)+1;
+ll[_14d].row=_14f;
+if(_14b.tail==_14d){
+_14b.high=_14f;
+}
+}
+_14c.next=_14d;
+if(_14e==-1){
+_14b.head=_14a;
+}else{
+ll[_14e].next=_14a;
+}
+}
+}
+}
+var _150=new Array(_13d);
+var _151=0;
+for(var cI=0;cI<_13c;cI++){
+var ll=_140[cI];
+var _14b=_141[cI];
+var _152=0;
+var _153=_14b.head;
+while(_153!=-1){
+var _14c=ll[_153];
+var frag=_12a[_14c.i];
+_150[_151]=frag;
+frag.properties[pRi]=_152;
+_151++;
+_152++;
+_153=_14c.next;
+}
+}
+return {id:_126.getAttribute("id"),type:_12b,name:_126.getAttribute("name"),decorator:_126.getAttribute("decorator"),columnSizes:_12d,columnSizesSum:_12e,properties:_12f,fragments:_150,layoutActionsDisabled:_128,documentOrderIndex:_127};
+},_parsePSMLActions:function(_154,_155){
+if(_155==null){
+_155={};
+}
+var _156=_154.getElementsByTagName("action");
+for(var _157=0;_157<_156.length;_157++){
+var _158=_156[_157];
+this._parsePSMLAction(_158,_155);
+}
+return _155;
+},_parsePSMLAction:function(_159,_15a){
+var _15b=_159.getAttribute("id");
+if(_15b!=null){
+var _15c=_159.getAttribute("type");
+var _15d=_159.getAttribute("name");
+var _15e=_159.getAttribute("url");
+var _15f=_159.getAttribute("alt");
+_15a[_15b.toLowerCase()]={id:_15b,type:_15c,label:_15d,url:_15e,alt:_15f};
+}
+},_parsePSMLChildOrAttr:function(_160,_161){
+var _162=null;
+var _163=_160.getElementsByTagName(_161);
+if(_163!=null&&_163.length==1&&_163[0].firstChild!=null){
+_162=_163[0].firstChild.nodeValue;
+}
+if(!_162){
+_162=_160.getAttribute(_161);
+}
+if(_162==null||_162.length==0){
+_162=null;
+}
+return _162;
+},_parsePSMLProps:function(_164,_165){
+if(_165==null){
+_165={};
+}
+var _166=_164.getElementsByTagName("property");
+for(var _167=0;_167<_166.length;_167++){
+this._parsePSMLProp(_166[_167],_165);
+}
+return _165;
+},_parsePSMLProp:function(_168,_169){
+var _16a=_168.getAttribute("name");
+var _16b=_168.getAttribute("value");
+_169[_16a]=_16b;
+return _16a;
+},_layoutCreateModel:function(_16c,_16d,_16e,_16f,_170,_171,_172,_173){
+var jsId=_173.id;
+var _175=this.columns.length;
+var _176=this._layoutCreateColsModel(_16c,_16d,_16e,_170);
+var _177=_176.columnsInLayout;
+if(_176.addedLayoutHeaderColumn){
+_175++;
+}
+var _178=(_177==null?0:_177.length);
+var _179=new Array(_178);
+var _17a=new Array(_178);
+for(var i=0;i<_16c.fragments.length;i++){
+var _17c=_16c.fragments[i];
+if(_17c.type=="layout"){
+var _17d=i;
+var _17d=(_17c.properties?_17c.properties[_173.id.PP_COLUMN]:i);
+if(_17d==null||_17d<0||_17d>=_178){
+_17d=(_178>0?(_178-1):0);
+}
+_17a[_17d]=true;
+this._layoutCreateModel(_17c,(_16d+1),_177[_17d],_16f,false,_171,_172,_173);
+}else{
+this._layoutCreatePortlet(_17c,_16c,_177,_175,_16f,_179,_171,_172,_173);
+}
+}
+return _177;
+},_layoutCreatePortlet:function(_17e,_17f,_180,_181,_182,_183,_184,_185,_186){
+if(_17e&&_186.debugPortletEntityIdFilter){
+if(!_185.lang.inArray(_186.debugPortletEntityIdFilter,_17e.id)){
+_17e=null;
+}
+}
+if(_17e){
+var _187="z";
+var _188=_17e.properties[_186.id.PP_DESKTOP_EXTENDED];
+var _189=_186.prefs.windowTiling;
+var _18a=_189;
+var _18b=_186.prefs.windowHeightExpand;
+if(_188!=null&&_189&&_186.prefs.printModeOnly==null){
+var _18c=_188.split(_186.id.PP_PAIR_SEPARATOR);
+var _18d=null,_18e=0,_18f=null,_190=null,_191=false;
+if(_18c!=null&&_18c.length>0){
+var _192=_186.id.PP_PROP_SEPARATOR;
+for(var _193=0;_193<_18c.length;_193++){
+_18d=_18c[_193];
+_18e=((_18d!=null)?_18d.length:0);
+if(_18e>0){
+var _194=_18d.indexOf(_192);
+if(_194>0&&_194<(_18e-1)){
+_18f=_18d.substring(0,_194);
+_190=_18d.substring(_194+1);
+_191=((_190=="true")?true:false);
+if(_18f==_186.id.PP_STATICPOS){
+_18a=_191;
+}else{
+if(_18f==_186.id.PP_FITHEIGHT){
+_18b=_191;
 }
 }
 }
@@ -1469,177 +1529,177 @@
 }
 }
 }else{
-if(!_180){
-_181=false;
-}
-}
-_175.properties[_17d.id.PP_WINDOW_POSITION_STATIC]=_181;
-_175.properties[_17d.id.PP_WINDOW_HEIGHT_TO_FIT]=_182;
-if(_181&&_180){
-var _18c=_177.length;
-var _18d=_175.properties[_17d.id.PP_COLUMN];
-if(_18d==null||_18d>=_18c){
-_18d=_18c-1;
-}else{
-if(_18d<0){
-_18d=0;
-}
-}
-if(_17a[_18d]==null){
-_17a[_18d]=new Array();
-}
-_17a[_18d].push(_175.id);
-var _18e=_178+new Number(_18d);
-_17e=_18e.toString();
-}
-if(_175.currentActionState==_17d.id.ACT_MAXIMIZE){
-this.maximizedOnInit=_175.id;
-}
-var _18f=_175.decorator;
-if(_18f!=null&&_18f.length>0){
-if(_17c.lang.indexOf(_17d.prefs.portletDecorationsAllowed,_18f)==-1){
-_18f=null;
-}
-}
-if(_18f==null||_18f.length==0){
-if(djConfig.isDebug&&_17d.debug.windowDecorationRandom){
-_18f=_17d.prefs.portletDecorationsAllowed[Math.floor(Math.random()*_17d.prefs.portletDecorationsAllowed.length)];
-}else{
-_18f=this.portletDecorator;
-}
-}
-var _190=_175.properties||{};
-_190[_17d.id.PP_WINDOW_DECORATION]=_18f;
-_17b[_18f]=true;
-var _191=_175.actions||{};
-var _192=new _17d.om.Portlet(_175.name,_175.id,null,_190,_191,_175.currentActionState,_175.currentActionMode,_175.layoutActionsDisabled);
-_192.initialize();
-this.putPortlet(_192);
-if(_179[_17e]==null){
-_179[_17e]=new Array();
-}
-_179[_17e].push({portlet:_192,layout:_176.id});
-}
-},_layoutCreateColsModel:function(_193,_194,_195,_196){
-var _197=jetspeed;
-this.layouts[_193.id]=_193;
-var _198=false;
-var _199=new Array();
-if(_197.prefs.windowTiling&&_193.columnSizes.length>0){
-var _19a=false;
-if(_197.UAie){
-_19a=true;
-}
-if(_195!=null&&!_196){
-var _19b=new _197.om.Column(0,_193.id,(_19a?_193.columnSizesSum-0.1:_193.columnSizesSum),this.columns.length,_193.layoutActionsDisabled,_194);
-_19b.layoutHeader=true;
-this.columns.push(_19b);
-if(_195.buildColChildren==null){
-_195.buildColChildren=new Array();
-}
-_195.buildColChildren.push(_19b);
-_195=_19b;
-_198=true;
-}
-for(var i=0;i<_193.columnSizes.length;i++){
-var size=_193.columnSizes[i];
-if(_19a&&i==(_193.columnSizes.length-1)){
+if(!_189){
+_18a=false;
+}
+}
+_17e.properties[_186.id.PP_WINDOW_POSITION_STATIC]=_18a;
+_17e.properties[_186.id.PP_WINDOW_HEIGHT_TO_FIT]=_18b;
+if(_18a&&_189){
+var _195=_180.length;
+var _196=_17e.properties[_186.id.PP_COLUMN];
+if(_196==null||_196>=_195){
+_196=_195-1;
+}else{
+if(_196<0){
+_196=0;
+}
+}
+if(_183[_196]==null){
+_183[_196]=new Array();
+}
+_183[_196].push(_17e.id);
+var _197=_181+new Number(_196);
+_187=_197.toString();
+}
+if(_17e.currentActionState==_186.id.ACT_MAXIMIZE){
+this.maximizedOnInit=_17e.id;
+}
+var _198=_17e.decorator;
+if(_198!=null&&_198.length>0){
+if(_185.lang.indexOf(_186.prefs.portletDecorationsAllowed,_198)==-1){
+_198=null;
+}
+}
+if(_198==null||_198.length==0){
+if(djConfig.isDebug&&_186.debug.windowDecorationRandom){
+_198=_186.prefs.portletDecorationsAllowed[Math.floor(Math.random()*_186.prefs.portletDecorationsAllowed.length)];
+}else{
+_198=this.portletDecorator;
+}
+}
+var _199=_17e.properties||{};
+_199[_186.id.PP_WINDOW_DECORATION]=_198;
+_184[_198]=true;
+var _19a=_17e.actions||{};
+var _19b=new _186.om.Portlet(_17e.name,_17e.id,null,_199,_19a,_17e.currentActionState,_17e.currentActionMode,_17e.layoutActionsDisabled);
+_19b.initialize();
+this.putPortlet(_19b);
+if(_182[_187]==null){
+_182[_187]=new Array();
+}
+_182[_187].push({portlet:_19b,layout:_17f.id});
+}
+},_layoutCreateColsModel:function(_19c,_19d,_19e,_19f){
+var _1a0=jetspeed;
+this.layouts[_19c.id]=_19c;
+var _1a1=false;
+var _1a2=new Array();
+if(_1a0.prefs.windowTiling&&_19c.columnSizes.length>0){
+var _1a3=false;
+if(_1a0.UAie){
+_1a3=true;
+}
+if(_19e!=null&&!_19f){
+var _1a4=new _1a0.om.Column(0,_19c.id,(_1a3?_19c.columnSizesSum-0.1:_19c.columnSizesSum),this.columns.length,_19c.layoutActionsDisabled,_19d);
+_1a4.layoutHeader=true;
+this.columns.push(_1a4);
+if(_19e.buildColChildren==null){
+_19e.buildColChildren=new Array();
+}
+_19e.buildColChildren.push(_1a4);
+_19e=_1a4;
+_1a1=true;
+}
+for(var i=0;i<_19c.columnSizes.length;i++){
+var size=_19c.columnSizes[i];
+if(_1a3&&i==(_19c.columnSizes.length-1)){
 size=size-0.1;
 }
-var _19e=new _197.om.Column(i,_193.id,size,this.columns.length,_193.layoutActionsDisabled);
-this.columns.push(_19e);
-if(_195!=null){
-if(_195.buildColChildren==null){
-_195.buildColChildren=new Array();
-}
-_195.buildColChildren.push(_19e);
-}
-_199.push(_19e);
-}
-}
-return {columnsInLayout:_199,addedLayoutHeaderColumn:_198};
-},_portletsInitWinState:function(_19f){
-var _1a0={};
-this.getPortletCurColRow(null,false,_1a0);
-for(var _1a1 in this.portlets){
-var _1a2=this.portlets[_1a1];
-var _1a3=_1a0[_1a2.getId()];
-if(_1a3==null&&_19f){
-for(var i=0;i<_19f.length;i++){
-if(_19f[i].portlet.getId()==_1a2.getId()){
-_1a3={layout:_19f[i].layout};
+var _1a7=new _1a0.om.Column(i,_19c.id,size,this.columns.length,_19c.layoutActionsDisabled);
+this.columns.push(_1a7);
+if(_19e!=null){
+if(_19e.buildColChildren==null){
+_19e.buildColChildren=new Array();
+}
+_19e.buildColChildren.push(_1a7);
+}
+_1a2.push(_1a7);
+}
+}
+return {columnsInLayout:_1a2,addedLayoutHeaderColumn:_1a1};
+},_portletsInitWinState:function(_1a8){
+var _1a9={};
+this.getPortletCurColRow(null,false,_1a9);
+for(var _1aa in this.portlets){
+var _1ab=this.portlets[_1aa];
+var _1ac=_1a9[_1ab.getId()];
+if(_1ac==null&&_1a8){
+for(var i=0;i<_1a8.length;i++){
+if(_1a8[i].portlet.getId()==_1ab.getId()){
+_1ac={layout:_1a8[i].layout};
 break;
 }
 }
 }
-if(_1a3!=null){
-_1a2._initWinState(_1a3,false);
+if(_1ac!=null){
+_1ab._initWinState(_1ac,false);
 }else{
-dojo.raise("Window state data not found for portlet: "+_1a2.getId());
+dojo.raise("Window state data not found for portlet: "+_1ab.getId());
 }
 }
-},_loadPortletZIndexCompare:function(_1a5,_1a6){
-var _1a7=null;
-var _1a8=null;
-var _1a9=null;
-_1a7=_1a5.portlet._getInitialZIndex();
-_1a8=_1a6.portlet._getInitialZIndex();
-if(_1a7&&!_1a8){
+},_loadPortletZIndexCompare:function(_1ae,_1af){
+var _1b0=null;
+var _1b1=null;
+var _1b2=null;
+_1b0=_1ae.portlet._getInitialZIndex();
+_1b1=_1af.portlet._getInitialZIndex();
+if(_1b0&&!_1b1){
 return -1;
 }else{
-if(_1a8&&!_1a7){
+if(_1b1&&!_1b0){
 return 1;
 }else{
-if(_1a7==_1a8){
+if(_1b0==_1b1){
 return 0;
 }
 }
 }
-return (_1a7-_1a8);
-},_createColsStart:function(_1aa,_1ab){
+return (_1b0-_1b1);
+},_createColsStart:function(_1b3,_1b4){
 if(!this.columnsStructure||this.columnsStructure.length==0){
 return;
 }
-var _1ac=document.createElement("div");
-_1ac.id=_1ab;
-_1ac.setAttribute("id",_1ab);
-for(var _1ad=0;_1ad<this.columnsStructure.length;_1ad++){
-var _1ae=this.columnsStructure[_1ad];
-this._createCols(_1ae,_1ac);
-}
-_1aa.appendChild(_1ac);
-},_createCols:function(_1af,_1b0){
-_1af.createColumn();
-if(this.colFirstNormI==-1&&!_1af.columnContainer&&!_1af.layoutHeader){
-this.colFirstNormI=_1af.getPageColumnIndex();
-}
-var _1b1=_1af.buildColChildren;
-if(_1b1!=null&&_1b1.length>0){
-for(var _1b2=0;_1b2<_1b1.length;_1b2++){
-this._createCols(_1b1[_1b2],_1af.domNode);
-}
-}
-delete _1af.buildColChildren;
-_1b0.appendChild(_1af.domNode);
-},_removeCols:function(_1b3){
+var _1b5=document.createElement("div");
+_1b5.id=_1b4;
+_1b5.setAttribute("id",_1b4);
+for(var _1b6=0;_1b6<this.columnsStructure.length;_1b6++){
+var _1b7=this.columnsStructure[_1b6];
+this._createCols(_1b7,_1b5);
+}
+_1b3.appendChild(_1b5);
+},_createCols:function(_1b8,_1b9){
+_1b8.createColumn();
+if(this.colFirstNormI==-1&&!_1b8.columnContainer&&!_1b8.layoutHeader){
+this.colFirstNormI=_1b8.getPageColumnIndex();
+}
+var _1ba=_1b8.buildColChildren;
+if(_1ba!=null&&_1ba.length>0){
+for(var _1bb=0;_1bb<_1ba.length;_1bb++){
+this._createCols(_1ba[_1bb],_1b8.domNode);
+}
+}
+delete _1b8.buildColChildren;
+_1b9.appendChild(_1b8.domNode);
+},_removeCols:function(_1bc){
 if(!this.columns||this.columns.length==0){
 return;
 }
 for(var i=0;i<this.columns.length;i++){
 if(this.columns[i]){
-if(_1b3){
-var _1b5=jetspeed.ui.getPWinAndColChildren(this.columns[i].domNode,null);
-dojo.lang.forEach(_1b5,function(_1b6){
-_1b3.appendChild(_1b6);
+if(_1bc){
+var _1be=jetspeed.ui.getPWinAndColChildren(this.columns[i].domNode,null);
+dojo.lang.forEach(_1be,function(_1bf){
+_1bc.appendChild(_1bf);
 });
 }
 dojo.dom.removeNode(this.columns[i]);
 this.columns[i]=null;
 }
 }
-var _1b7=dojo.byId(jetspeed.id.COLUMNS);
-if(_1b7){
-dojo.dom.removeNode(_1b7);
+var _1c0=dojo.byId(jetspeed.id.COLUMNS);
+if(_1c0){
+dojo.dom.removeNode(_1c0);
 }
 this.columns=[];
 },getColumnDefault:function(){
@@ -1647,114 +1707,114 @@
 return this.columns[this.colFirstNormI];
 }
 return null;
-},columnsEmptyCheck:function(_1b8){
-var _1b9=null;
-if(_1b8==null){
-return _1b9;
-}
-var _1ba=_1b8.childNodes,_1bb;
-if(_1ba){
-for(var i=0;i<_1ba.length;i++){
-_1bb=_1ba[i];
-var _1bd=this.columnEmptyCheck(_1bb,true);
-if(_1bd!=null){
-_1b9=_1bd;
-if(_1b9==false){
+},columnsEmptyCheck:function(_1c1){
+var _1c2=null;
+if(_1c1==null){
+return _1c2;
+}
+var _1c3=_1c1.childNodes,_1c4;
+if(_1c3){
+for(var i=0;i<_1c3.length;i++){
+_1c4=_1c3[i];
+var _1c6=this.columnEmptyCheck(_1c4,true);
+if(_1c6!=null){
+_1c2=_1c6;
+if(_1c2==false){
 break;
 }
 }
 }
 }
-return _1b9;
-},columnEmptyCheck:function(_1be,_1bf){
-var _1c0=null;
-if(!_1be||!_1be.getAttribute){
-return _1c0;
-}
-var _1c1=_1be.getAttribute("columnindex");
-if(!_1c1||_1c1.length==0){
-return _1c0;
-}
-var _1c2=_1be.getAttribute("layoutid");
-if(_1c2==null||_1c2.length==0){
-var _1c3=_1be.childNodes;
-_1c0=(!_1c3||_1c3.length==0);
-if(!_1bf){
-_1be.style.height=(_1c0?"1px":"");
+return _1c2;
+},columnEmptyCheck:function(_1c7,_1c8){
+var _1c9=null;
+if(!_1c7||!_1c7.getAttribute){
+return _1c9;
+}
+var _1ca=_1c7.getAttribute("columnindex");
+if(!_1ca||_1ca.length==0){
+return _1c9;
+}
+var _1cb=_1c7.getAttribute("layoutid");
+if(_1cb==null||_1cb.length==0){
+var _1cc=_1c7.childNodes;
+_1c9=(!_1cc||_1cc.length==0);
+if(!_1c8){
+_1c7.style.height=(_1c9?"1px":"");
 }
 }
-return _1c0;
-},getPortletCurColRow:function(_1c4,_1c5,_1c6){
+return _1c9;
+},getPortletCurColRow:function(_1cd,_1ce,_1cf){
 if(!this.columns||this.columns.length==0){
 return null;
 }
-var _1c7=null;
-var _1c8=((_1c4!=null)?true:false);
-var _1c9=0;
-var _1ca=null;
-var _1cb=null;
-var _1cc=0;
-var _1cd=false;
-for(var _1ce=0;_1ce<this.columns.length;_1ce++){
-var _1cf=this.columns[_1ce];
-var _1d0=_1cf.domNode.childNodes;
-if(_1cb==null||_1cb!=_1cf.getLayoutId()){
-_1cb=_1cf.getLayoutId();
-_1ca=this.layouts[_1cb];
-if(_1ca==null){
-dojo.raise("Layout not found: "+_1cb);
-return null;
-}
-_1cc=0;
-_1cd=false;
-if(_1ca.clonedFromRootId==null){
-_1cd=true;
-}else{
-var _1d1=this.getColFromColNode(_1cf.domNode.parentNode);
-if(_1d1==null){
-dojo.raise("Parent column not found: "+_1cf);
-return null;
-}
-_1cf=_1d1;
-}
-}
-var _1d2=null;
-var _1d3=jetspeed;
-var _1d4=dojo;
-var _1d5=_1d3.id.PWIN_CLASS;
-if(_1c5){
-_1d5+="|"+_1d3.id.PWIN_GHOST_CLASS;
-}
-if(_1c8){
-_1d5+="|"+_1d3.id.COL_CLASS;
-}
-var _1d6=new RegExp("(^|\\s+)("+_1d5+")(\\s+|$)");
-for(var _1d7=0;_1d7<_1d0.length;_1d7++){
-var _1d8=_1d0[_1d7];
-if(_1d6.test(_1d4.html.getClass(_1d8))){
-_1d2=(_1d2==null?0:_1d2+1);
-if((_1d2+1)>_1cc){
-_1cc=(_1d2+1);
-}
-if(_1c4==null||_1d8==_1c4){
-var _1d9={layout:_1cb,column:_1cf.getLayoutColumnIndex(),row:_1d2,columnObj:_1cf};
-if(!_1cd){
-_1d9.layout=_1ca.clonedFromRootId;
+var _1d0=null;
+var _1d1=((_1cd!=null)?true:false);
+var _1d2=0;
+var _1d3=null;
+var _1d4=null;
+var _1d5=0;
+var _1d6=false;
+for(var _1d7=0;_1d7<this.columns.length;_1d7++){
+var _1d8=this.columns[_1d7];
+var _1d9=_1d8.domNode.childNodes;
+if(_1d4==null||_1d4!=_1d8.getLayoutId()){
+_1d4=_1d8.getLayoutId();
+_1d3=this.layouts[_1d4];
+if(_1d3==null){
+dojo.raise("Layout not found: "+_1d4);
+return null;
 }
-if(_1c4!=null){
-_1c7=_1d9;
-break;
+_1d5=0;
+_1d6=false;
+if(_1d3.clonedFromRootId==null){
+_1d6=true;
 }else{
-if(_1c6!=null){
-var _1da=this.getPWinFromNode(_1d8);
+var _1da=this.getColFromColNode(_1d8.domNode.parentNode);
 if(_1da==null){
-_1d4.raise("PortletWindow not found for node");
+dojo.raise("Parent column not found: "+_1d8);
+return null;
+}
+_1d8=_1da;
+}
+}
+var _1db=null;
+var _1dc=jetspeed;
+var _1dd=dojo;
+var _1de=_1dc.id.PWIN_CLASS;
+if(_1ce){
+_1de+="|"+_1dc.id.PWIN_GHOST_CLASS;
+}
+if(_1d1){
+_1de+="|"+_1dc.id.COL_CLASS;
+}
+var _1df=new RegExp("(^|\\s+)("+_1de+")(\\s+|$)");
+for(var _1e0=0;_1e0<_1d9.length;_1e0++){
+var _1e1=_1d9[_1e0];
+if(_1df.test(_1dd.html.getClass(_1e1))){
+_1db=(_1db==null?0:_1db+1);
+if((_1db+1)>_1d5){
+_1d5=(_1db+1);
+}
+if(_1cd==null||_1e1==_1cd){
+var _1e2={layout:_1d4,column:_1d8.getLayoutColumnIndex(),row:_1db,columnObj:_1d8};
+if(!_1d6){
+_1e2.layout=_1d3.clonedFromRootId;
+}
+if(_1cd!=null){
+_1d0=_1e2;
+break;
 }else{
-var _1db=_1da.portlet;
-if(_1db==null){
-_1d4.raise("PortletWindow for node has null portlet: "+_1da.widgetId);
+if(_1cf!=null){
+var _1e3=this.getPWinFromNode(_1e1);
+if(_1e3==null){
+_1dd.raise("PortletWindow not found for node");
 }else{
-_1c6[_1db.getId()]=_1d9;
+var _1e4=_1e3.portlet;
+if(_1e4==null){
+_1dd.raise("PortletWindow for node has null portlet: "+_1e3.widgetId);
+}else{
+_1cf[_1e4.getId()]=_1e2;
 }
 }
 }
@@ -1762,45 +1822,45 @@
 }
 }
 }
-if(_1c7!=null){
+if(_1d0!=null){
 break;
 }
 }
-return _1c7;
+return _1d0;
 },_getPortletArrayByZIndex:function(){
-var _1dc=jetspeed;
-var _1dd=this.getPortletArray();
-if(!_1dd){
-return _1dd;
-}
-var _1de=[];
-for(var i=0;i<_1dd.length;i++){
-if(!_1dd[i].getProperty(_1dc.id.PP_WINDOW_POSITION_STATIC)){
-_1de.push(_1dd[i]);
-}
-}
-_1de.sort(this._portletZIndexCompare);
-return _1de;
-},_portletZIndexCompare:function(_1e0,_1e1){
-var _1e2=null;
-var _1e3=null;
-var _1e4=null;
-_1e4=_1e0.getSavedWinState();
-_1e2=_1e4.zIndex;
-_1e4=_1e1.getSavedWinState();
-_1e3=_1e4.zIndex;
-if(_1e2&&!_1e3){
+var _1e5=jetspeed;
+var _1e6=this.getPortletArray();
+if(!_1e6){
+return _1e6;
+}
+var _1e7=[];
+for(var i=0;i<_1e6.length;i++){
+if(!_1e6[i].getProperty(_1e5.id.PP_WINDOW_POSITION_STATIC)){
+_1e7.push(_1e6[i]);
+}
+}
+_1e7.sort(this._portletZIndexCompare);
+return _1e7;
+},_portletZIndexCompare:function(_1e9,_1ea){
+var _1eb=null;
+var _1ec=null;
+var _1ed=null;
+_1ed=_1e9.getSavedWinState();
+_1eb=_1ed.zIndex;
+_1ed=_1ea.getSavedWinState();
+_1ec=_1ed.zIndex;
+if(_1eb&&!_1ec){
 return -1;
 }else{
-if(_1e3&&!_1e2){
+if(_1ec&&!_1eb){
 return 1;
 }else{
-if(_1e2==_1e3){
+if(_1eb==_1ec){
 return 0;
 }
 }
 }
-return (_1e2-_1e3);
+return (_1eb-_1ec);
 },_perms:function(p,w,f){
 var rId=f(112);
 var rL=1;
@@ -1842,79 +1902,79 @@
 if(!this.portlets){
 return null;
 }
-var _1f7=[];
-for(var _1f8 in this.portlets){
-var _1f9=this.portlets[_1f8];
-_1f7.push(_1f9);
+var _200=[];
+for(var _201 in this.portlets){
+var _202=this.portlets[_201];
+_200.push(_202);
 }
-return _1f7;
+return _200;
 },getPortletIds:function(){
 if(!this.portlets){
 return null;
 }
-var _1fa=[];
-for(var _1fb in this.portlets){
-var _1fc=this.portlets[_1fb];
-_1fa.push(_1fc.getId());
-}
-return _1fa;
-},getPortletByName:function(_1fd){
-if(this.portlets&&_1fd){
-for(var _1fe in this.portlets){
-var _1ff=this.portlets[_1fe];
-if(_1ff.name==_1fd){
-return _1ff;
+var _203=[];
+for(var _204 in this.portlets){
+var _205=this.portlets[_204];
+_203.push(_205.getId());
+}
+return _203;
+},getPortletByName:function(_206){
+if(this.portlets&&_206){
+for(var _207 in this.portlets){
+var _208=this.portlets[_207];
+if(_208.name==_206){
+return _208;
 }
 }
 }
 return null;
-},getPortlet:function(_200){
-if(this.portlets&&_200){
-return this.portlets[_200];
-}
-return null;
-},getPWinFromNode:function(_201){
-var _202=null;
-if(this.portlets&&_201){
-for(var _203 in this.portlets){
-var _204=this.portlets[_203];
-var _205=_204.getPWin();
-if(_205!=null){
-if(_205.domNode==_201){
-_202=_205;
+},getPortlet:function(_209){
+if(this.portlets&&_209){
+return this.portlets[_209];
+}
+return null;
+},getPWinFromNode:function(_20a){
+var _20b=null;
+if(this.portlets&&_20a){
+for(var _20c in this.portlets){
+var _20d=this.portlets[_20c];
+var _20e=_20d.getPWin();
+if(_20e!=null){
+if(_20e.domNode==_20a){
+_20b=_20e;
 break;
 }
 }
 }
 }
-return _202;
-},putPortlet:function(_206){
-if(!_206){
+return _20b;
+},putPortlet:function(_20f){
+if(!_20f){
 return;
 }
 if(!this.portlets){
 this.portlets={};
 }
-this.portlets[_206.entityId]=_206;
+this.portlets[_20f.entityId]=_20f;
 this.portlet_count++;
-},putPWin:function(_207){
-if(!_207){
+},putPWin:function(_210){
+if(!_210){
 return;
 }
-var _208=_207.widgetId;
-if(!_208){
+var _211=_210.widgetId;
+if(!_211){
 dojo.raise("PortletWindow id is null");
 }
-this.portlet_windows[_208]=_207;
+this.portlet_windows[_211]=_210;
 this.portlet_window_count++;
-},getPWin:function(_209){
-if(this.portlet_windows&&_209){
-var pWin=this.portlet_windows[_209];
+},getPWin:function(_212){
+if(this.portlet_windows&&_212){
+var pWin=this.portlet_windows[_212];
 if(pWin==null){
 var jsId=jetspeed.id;
-pWin=this.portlet_windows[jsId.PW_ID_PREFIX+_209];
+pWin=this.portlet_windows[jsId.PW_ID_PREFIX+_212];
 if(pWin==null){
-var p=this.getPortlet(_209);
+var p=this.getPortlet(_212);
 if(p!=null){
 pWin=this.portlet_windows[p.properties[jsObj.id.PP_WIDGET_ID]];
 }
@@ -1923,330 +1983,330 @@
 return pWin;
 }
 return null;
-},getPWins:function(_20d){
-var _20e=this.portlet_windows;
+},getPWins:function(_216){
+var _217=this.portlet_windows;
 var pWin;
-var _210=[];
-for(var _211 in _20e){
-pWin=_20e[_211];
-if(pWin&&(!_20d||pWin.portlet)){
-_210.push(pWin);
+var _219=[];
+for(var _21a in _217){
+pWin=_217[_21a];
+if(pWin&&(!_216||pWin.portlet)){
+_219.push(pWin);
 }
 }
-return _210;
-},getPWinTopZIndex:function(_212){
-var _213=0;
-if(_212){
-_213=this.portlet_tiled_high_z+1;
-this.portlet_tiled_high_z=_213;
+return _219;
+},getPWinTopZIndex:function(_21b){
+var _21c=0;
+if(_21b){
+_21c=this.portlet_tiled_high_z+1;
+this.portlet_tiled_high_z=_21c;
 }else{
 if(this.portlet_untiled_high_z==-1){
 this.portlet_untiled_high_z=200;
 }
-_213=this.portlet_untiled_high_z+1;
-this.portlet_untiled_high_z=_213;
+_21c=this.portlet_untiled_high_z+1;
+this.portlet_untiled_high_z=_21c;
 }
-return _213;
+return _21c;
 },getPWinHighZIndex:function(){
 return Math.max(this.portlet_tiled_high_z,this.portlet_untiled_high_z);
-},displayAllPWins:function(_214,_215){
+},displayAllPWins:function(_21d,_21e){
 return;
 },onBrowserWindowResize:function(){
-var _216=jetspeed;
-var _217=this.portlet_windows;
+var _21f=jetspeed;
+var _220=this.portlet_windows;
 var pWin;
-for(var _219 in _217){
-pWin=_217[_219];
+for(var _222 in _220){
+pWin=_220[_222];
 pWin.onBrowserWindowResize();
 }
-if(_216.UAie6&&this.editMode){
-var _21a=dojo.widget.byId(_216.id.PG_ED_WID);
-if(_21a!=null){
-_21a.onBrowserWindowResize();
+if(_21f.UAie6&&this.editMode){
+var _223=dojo.widget.byId(_21f.id.PG_ED_WID);
+if(_223!=null){
+_223.onBrowserWindowResize();
 }
 }
-},regPWinIFrameCover:function(_21b){
-if(!_21b){
+},regPWinIFrameCover:function(_224){
+if(!_224){
 return;
 }
-this.iframeCoverByWinId[_21b.widgetId]=true;
-},unregPWinIFrameCover:function(_21c){
-if(!_21c){
+this.iframeCoverByWinId[_224.widgetId]=true;
+},unregPWinIFrameCover:function(_225){
+if(!_225){
 return;
 }
-delete this.iframeCoverByWinId[_21c.widgetId];
-},displayAllPWinIFrameCovers:function(_21d,_21e){
-var _21f=this.portlet_windows;
-var _220=this.iframeCoverByWinId;
-if(!_21f||!_220){
+delete this.iframeCoverByWinId[_225.widgetId];
+},displayAllPWinIFrameCovers:function(_226,_227){
+var _228=this.portlet_windows;
+var _229=this.iframeCoverByWinId;
+if(!_228||!_229){
 return;
 }
-for(var _221 in _220){
-if(_221==_21e){
+for(var _22a in _229){
+if(_22a==_227){
 continue;
 }
-var pWin=_21f[_221];
-var _223=(pWin&&pWin.iframesInfo?pWin.iframesInfo.iframeCover:null);
-if(_223){
-_223.style.display=(_21d?"none":"block");
-}
-}
-},createLayoutInfo:function(_224){
-var _225=dojo;
-var _226=null;
-var _227=null;
-var _228=null;
-var _229=null;
-var _22a=document.getElementById(_224.id.DESKTOP);
-if(_22a!=null){
-_226=_224.ui.getLayoutExtents(_22a,null,_225,_224);
-}
-var _22b=document.getElementById(_224.id.COLUMNS);
-if(_22b!=null){
-_227=_224.ui.getLayoutExtents(_22b,null,_225,_224);
+var pWin=_228[_22a];
+var _22c=(pWin&&pWin.iframesInfo?pWin.iframesInfo.iframeCover:null);
+if(_22c){
+_22c.style.display=(_226?"none":"block");
+}
+}
+},createLayoutInfo:function(_22d){
+var _22e=dojo;
+var _22f=null;
+var _230=null;
+var _231=null;
+var _232=null;
+var _233=document.getElementById(_22d.id.DESKTOP);
+if(_233!=null){
+_22f=_22d.ui.getLayoutExtents(_233,null,_22e,_22d);
+}
+var _234=document.getElementById(_22d.id.COLUMNS);
+if(_234!=null){
+_230=_22d.ui.getLayoutExtents(_234,null,_22e,_22d);
 }
 if(this.columns){
 for(var i=0;i<this.columns.length;i++){
 var col=this.columns[i];
 if(col.layoutHeader){
-_229=_224.ui.getLayoutExtents(col.domNode,null,_225,_224);
+_232=_22d.ui.getLayoutExtents(col.domNode,null,_22e,_22d);
 }else{
 if(!col.columnContainer){
-_228=_224.ui.getLayoutExtents(col.domNode,null,_225,_224);
+_231=_22d.ui.getLayoutExtents(col.domNode,null,_22e,_22d);
 }
 }
-if(_228!=null&&_229!=null){
+if(_231!=null&&_232!=null){
 break;
 }
 }
 }
-this.layoutInfo={desktop:(_226!=null?_226:{}),columns:(_227!=null?_227:{}),column:(_228!=null?_228:{}),columnLayoutHeader:(_229!=null?_229:{})};
-_224.widget.PortletWindow.prototype.colWidth_pbE=((_228&&_228.pbE)?_228.pbE.w:0);
+this.layoutInfo={desktop:(_22f!=null?_22f:{}),columns:(_230!=null?_230:{}),column:(_231!=null?_231:{}),columnLayoutHeader:(_232!=null?_232:{})};
+_22d.widget.PortletWindow.prototype.colWidth_pbE=((_231&&_231.pbE)?_231.pbE.w:0);
 },_beforeAddOnLoad:function(){
 this.win_onload=true;
 },destroy:function(){
-var _22e=jetspeed;
-var _22f=dojo;
-_22e.ui.evtDisconnect("after",window,"onresize",_22e.ui.windowResizeMgr,"onResize",_22f.event);
-_22e.ui.evtDisconnect("before",_22f,"addOnLoad",this,"_beforeAddOnLoad",_22f.event);
-var _230=this.portlet_windows;
-var _231=this.getPWins(true);
-var pWin,_233;
-for(var i=0;i<_231.length;i++){
-pWin=_231[i];
-_233=pWin.widgetId;
+var _237=jetspeed;
+var _238=dojo;
+_237.ui.evtDisconnect("after",window,"onresize",_237.ui.windowResizeMgr,"onResize",_238.event);
+_237.ui.evtDisconnect("before",_238,"addOnLoad",this,"_beforeAddOnLoad",_238.event);
+var _239=this.portlet_windows;
+var _23a=this.getPWins(true);
+var pWin,_23c;
+for(var i=0;i<_23a.length;i++){
+pWin=_23a[i];
+_23c=pWin.widgetId;
 pWin.closeWindow();
-delete _230[_233];
+delete _239[_23c];
 this.portlet_window_count--;
 }
 this.portlets={};
 this.portlet_count=0;
-var _235=_22f.widget.byId(_22e.id.PG_ED_WID);
-if(_235!=null){
-_235.editPageDestroy();
+var _23e=_238.widget.byId(_237.id.PG_ED_WID);
+if(_23e!=null){
+_23e.editPageDestroy();
 }
-this._removeCols(document.getElementById(_22e.id.DESKTOP));
+this._removeCols(document.getElementById(_237.id.DESKTOP));
 this._destroyPageControls();
-},getColFromColNode:function(_236){
-if(_236==null){
+},getColFromColNode:function(_23f){
+if(_23f==null){
 return null;
 }
-var _237=_236.getAttribute("columnindex");
-if(_237==null){
+var _240=_23f.getAttribute("columnindex");
+if(_240==null){
 return null;
 }
-var _238=new Number(_237);
-if(_238>=0&&_238<this.columns.length){
-return this.columns[_238];
+var _241=new Number(_240);
+if(_241>=0&&_241<this.columns.length){
+return this.columns[_241];
 }
 return null;
 },getColIndexForNode:function(node){
-var _23a=null;
+var _243=null;
 if(!this.columns){
-return _23a;
+return _243;
 }
 for(var i=0;i<this.columns.length;i++){
 if(this.columns[i].containsNode(node)){
-_23a=i;
+_243=i;
 break;
 }
 }
-return _23a;
+return _243;
 },getColWithNode:function(node){
-var _23d=this.getColIndexForNode(node);
-return ((_23d!=null&&_23d>=0)?this.columns[_23d]:null);
-},getDescendantCols:function(_23e){
+var _246=this.getColIndexForNode(node);
+return ((_246!=null&&_246>=0)?this.columns[_246]:null);
+},getDescendantCols:function(_247){
 var dMap={};
-if(_23e==null){
+if(_247==null){
 return dMap;
 }
 for(var i=0;i<this.columns.length;i++){
 var col=this.columns[i];
-if(col!=_23e&&_23e.containsDescendantNode(col.domNode)){
+if(col!=_247&&_247.containsDescendantNode(col.domNode)){
 dMap[i]=col;
 }
 }
 return dMap;
-},putMenu:function(_242){
-if(!_242){
+},putMenu:function(_24b){
+if(!_24b){
 return;
 }
-var _243=(_242.getName?_242.getName():null);
-if(_243!=null){
-this.menus[_243]=_242;
+var _24c=(_24b.getName?_24b.getName():null);
+if(_24c!=null){
+this.menus[_24c]=_24b;
 }
-},getMenu:function(_244){
-if(_244==null){
+},getMenu:function(_24d){
+if(_24d==null){
 return null;
 }
-return this.menus[_244];
-},removeMenu:function(_245){
-if(_245==null){
+return this.menus[_24d];
+},removeMenu:function(_24e){
+if(_24e==null){
 return;
 }
-var _246=null;
-if(dojo.lang.isString(_245)){
-_246=_245;
+var _24f=null;
+if(dojo.lang.isString(_24e)){
+_24f=_24e;
 }else{
-_246=(_245.getName?_245.getName():null);
+_24f=(_24e.getName?_24e.getName():null);
 }
-if(_246!=null){
-delete this.menus[_246];
+if(_24f!=null){
+delete this.menus[_24f];
 }
 },clearMenus:function(){
 this.menus=[];
 },getMenuNames:function(){
-var _247=[];
-for(var _248 in this.menus){
-_247.push(_248);
-}
-return _247;
-},retrieveMenuDeclarations:function(_249,_24a,_24b){
-contentListener=new jetspeed.om.MenusApiCL(_249,_24a,_24b);
+var _250=[];
+for(var _251 in this.menus){
+_250.push(_251);
+}
+return _250;
+},retrieveMenuDeclarations:function(_252,_253,_254){
+contentListener=new jetspeed.om.MenusApiCL(_252,_253,_254);
 this.clearMenus();
-var _24c="?action=getmenus";
-if(_249){
-_24c+="&includeMenuDefs=true";
-}
-var _24d=this.getPsmlUrl()+_24c;
-var _24e="text/xml";
-var _24f=new jetspeed.om.Id("getmenus",{page:this});
-jetspeed.url.retrieveContent({url:_24d,mimetype:_24e},contentListener,_24f,jetspeed.debugContentDumpIds);
-},syncPageControls:function(_250){
-var jsId=_250.id;
+var _255="?action=getmenus";
+if(_252){
+_255+="&includeMenuDefs=true";
+}
+var _256=this.getPsmlUrl()+_255;
+var _257="text/xml";
+var _258=new jetspeed.om.Id("getmenus",{page:this});
+jetspeed.url.retrieveContent({url:_256,mimetype:_257},contentListener,_258,jetspeed.debugContentDumpIds);
+},syncPageControls:function(_259){
+var jsId=_259.id;
 if(this.actionButtons==null){
 return;
 }
-for(var _252 in this.actionButtons){
-var _253=false;
-if(_252==jsId.ACT_EDIT){
+for(var _25b in this.actionButtons){
+var _25c=false;
+if(_25b==jsId.ACT_EDIT){
 if(!this.editMode){
-_253=true;
+_25c=true;
 }
 }else{
-if(_252==jsId.ACT_VIEW){
+if(_25b==jsId.ACT_VIEW){
 if(this.editMode){
-_253=true;
+_25c=true;
 }
 }else{
-if(_252==jsId.ACT_ADDPORTLET){
+if(_25b==jsId.ACT_ADDPORTLET){
 if(!this.editMode){
-_253=true;
+_25c=true;
 }
 }else{
-_253=true;
+_25c=true;
 }
 }
 }
-if(_253){
-this.actionButtons[_252].style.display="";
+if(_25c){
+this.actionButtons[_25b].style.display="";
 }else{
-this.actionButtons[_252].style.display="none";
+this.actionButtons[_25b].style.display="none";
 }
 }
-},renderPageControls:function(_254){
-var _254=jetspeed;
-var _255=_254.page;
-var jsId=_254.id;
-var _257=dojo;
-var _258=[];
+},renderPageControls:function(_25d){
+var _25d=jetspeed;
+var _25e=_25d.page;
+var jsId=_25d.id;
+var _260=dojo;
+var _261=[];
 if(this.actions!=null){
 var addP=false;
-for(var _25a in this.actions){
-if(_25a!=jsId.ACT_HELP){
-_258.push(_25a);
+for(var _263 in this.actions){
+if(_263!=jsId.ACT_HELP){
+_261.push(_263);
 }
 }
 if(this.actions[jsId.ACT_EDIT]!=null){
 addP=true;
 if(this.actions[jsId.ACT_VIEW]==null){
-_258.push(jsId.ACT_VIEW);
+_261.push(jsId.ACT_VIEW);
 }
 }
 if(this.actions[jsId.ACT_VIEW]!=null){
 addP=true;
 if(this.actions[jsId.ACT_EDIT]==null){
-_258.push(jsId.ACT_EDIT);
+_261.push(jsId.ACT_EDIT);
 }
 }
-var _25b=(_255.rootFragmentId?_255.layouts[_255.rootFragmentId]:null);
-var _25c=(!(_25b==null||_25b.layoutActionsDisabled));
-if(_25c){
-_25c=_255._perms(_254.prefs,_254.id.PM_P_AD,String.fromCharCode);
-if(_25c&&!this.isUA()&&(addP||_255.canNPE())){
-_258.push(jsId.ACT_ADDPORTLET);
+var _264=(_25e.rootFragmentId?_25e.layouts[_25e.rootFragmentId]:null);
+var _265=(!(_264==null||_264.layoutActionsDisabled));
+if(_265){
+_265=_25e._perms(_25d.prefs,_25d.id.PM_P_AD,String.fromCharCode);
+if(_265&&!this.isUA()&&(addP||_25e.canNPE())){
+_261.push(jsId.ACT_ADDPORTLET);
 }
 }
 }
-var _25d=_257.byId(jsId.PAGE_CONTROLS);
-if(_25d!=null&&_258!=null&&_258.length>0){
-var _25e=_254.prefs;
-var jsUI=_254.ui;
-var _260=_257.event;
-var _261=_255.tooltipMgr;
+var _266=_260.byId(jsId.PAGE_CONTROLS);
+if(_266!=null&&_261!=null&&_261.length>0){
+var _267=_25d.prefs;
+var jsUI=_25d.ui;
+var _269=_260.event;
+var _26a=_25e.tooltipMgr;
 if(this.actionButtons==null){
 this.actionButtons={};
 this.actionButtonTooltips=[];
 }
-var _262=this.actionButtonTooltips;
-for(var i=0;i<_258.length;i++){
-var _25a=_258[i];
-var _264=document.createElement("div");
-_264.className="portalPageActionButton";
-_264.style.backgroundImage="url("+_25e.getLayoutRootUrl()+"/images/desktop/"+_25a+".gif)";
-_264.actionName=_25a;
-this.actionButtons[_25a]=_264;
-_25d.appendChild(_264);
-jsUI.evtConnect("after",_264,"onclick",this,"pageActionButtonClick",_260);
-if(_25e.pageActionButtonTooltip){
-var _265=null;
-if(_25e.desktopActionLabels!=null){
-_265=_25e.desktopActionLabels[_25a];
+var _26b=this.actionButtonTooltips;
+for(var i=0;i<_261.length;i++){
+var _263=_261[i];
+var _26d=document.createElement("div");
+_26d.className="portalPageActionButton";
+_26d.style.backgroundImage="url("+_267.getLayoutRootUrl()+"/images/desktop/"+_263+".gif)";
+_26d.actionName=_263;
+this.actionButtons[_263]=_26d;
+_266.appendChild(_26d);
+jsUI.evtConnect("after",_26d,"onclick",this,"pageActionButtonClick",_269);
+if(_267.pageActionButtonTooltip){
+var _26e=null;
+if(_267.desktopActionLabels!=null){
+_26e=_267.desktopActionLabels[_263];
 }
-if(_265==null||_265.length==0){
-_265=_257.string.capitalize(_25a);
+if(_26e==null||_26e.length==0){
+_26e=_260.string.capitalize(_263);
 }
-_262.push(_261.addNode(_264,_265,true,null,null,null,_254,jsUI,_260));
+_26b.push(_26a.addNode(_26d,_26e,true,null,null,null,_25d,jsUI,_269));
 }
 }
 }
 },_destroyPageControls:function(){
-var _266=jetspeed;
+var _26f=jetspeed;
 if(this.actionButtons){
-for(var _267 in this.actionButtons){
-var _268=this.actionButtons[_267];
-if(_268){
-_266.ui.evtDisconnect("after",_268,"onclick",this,"pageActionButtonClick");
+for(var _270 in this.actionButtons){
+var _271=this.actionButtons[_270];
+if(_271){
+_26f.ui.evtDisconnect("after",_271,"onclick",this,"pageActionButtonClick");
 }
 }
 }
-var _269=dojo.byId(_266.id.PAGE_CONTROLS);
-if(_269!=null&&_269.childNodes&&_269.childNodes.length>0){
-for(var i=(_269.childNodes.length-1);i>=0;i--){
-dojo.dom.removeNode(_269.childNodes[i]);
+var _272=dojo.byId(_26f.id.PAGE_CONTROLS);
+if(_272!=null&&_272.childNodes&&_272.childNodes.length>0){
+for(var i=(_272.childNodes.length-1);i>=0;i--){
+dojo.dom.removeNode(_272.childNodes[i]);
 }
 }
-_266.page.tooltipMgr.removeNodes(this.actionButtonTooltips);
+_26f.page.tooltipMgr.removeNodes(this.actionButtonTooltips);
 this.actionButtonTooltips=null;
 this.actionButtons==null;
 },pageActionButtonClick:function(evt){
@@ -2254,30 +2314,30 @@
 return;
 }
 this.pageActionProcess(evt.target.actionName,evt);
-},pageActionProcess:function(_26c){
-var _26d=jetspeed;
-if(_26c==null){
+},pageActionProcess:function(_275){
+var _276=jetspeed;
+if(_275==null){
 return;
 }
-if(_26c==_26d.id.ACT_ADDPORTLET){
+if(_275==_276.id.ACT_ADDPORTLET){
 this.addPortletInitiate();
 }else{
-if(_26c==_26d.id.ACT_EDIT){
-_26d.changeActionForPortlet(this.rootFragmentId,null,_26d.id.ACT_EDIT,new _26d.om.PageChangeActionCL());
-_26d.editPageInitiate(_26d);
+if(_275==_276.id.ACT_EDIT){
+_276.changeActionForPortlet(this.rootFragmentId,null,_276.id.ACT_EDIT,new _276.om.PageChangeActionCL());
+_276.editPageInitiate(_276);
 }else{
-if(_26c==_26d.id.ACT_VIEW){
-_26d.editPageTerminate(_26d);
+if(_275==_276.id.ACT_VIEW){
+_276.editPageTerminate(_276);
 }else{
-var _26e=this.getPageAction(_26c);
-if(_26e==null){
+var _277=this.getPageAction(_275);
+if(_277==null){
 return;
 }
-if(_26e.url==null){
+if(_277.url==null){
 return;
 }
-var _26f=_26d.url.basePortalUrl()+_26d.url.path.DESKTOP+"/"+_26e.url;
-_26d.pageNavigate(_26f);
+var _278=_276.url.basePortalUrl()+_276.url.path.DESKTOP+"/"+_277.url;
+_276.pageNavigate(_278);
 }
 }
 }
@@ -2286,117 +2346,117 @@
 return null;
 }
 return this.actions[name];
-},addPortletInitiate:function(_271,_272){
-var _273=jetspeed;
-var jsId=_273.id;
-if(!_272){
-_272=escape(this.getPagePathAndQuery());
-}else{
-_272=escape(_272);
-}
-var _275=_273.url.basePortalUrl()+_273.url.path.DESKTOP+"/system/customizer/selector.psml?jspage="+_272;
-if(_271!=null){

[... 3068 lines stripped ...]


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message