Author: vkumar Date: Fri Jan 23 04:46:36 2009 New Revision: 737018 URL: http://svn.apache.org/viewvc?rev=737018&view=rev Log: Portal Site Manager in Wicket as part of issue JS2-880
TODO 1) UI needs to improve 2) Import needs to be fixed Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocument.java (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocumentMetaData.java (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddFolderPanel.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddLinkPanel.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddPagePanel.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$InformationTab.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataPanel.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTab.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTabWindowPanel.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.html (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManagerApplication.java (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManagerUtil.java (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/SiteTreeNode.java (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/images/ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/images/folder.gif (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/images/link.gif (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/images/page.gif (with props) portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/resources/PortalSiteManager.properties (contents, props changed) - copied, changed from r727324, portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/resources/SiteResources.properties portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/resources/PortalSiteManager_en.properties (contents, props changed) - copied, changed from r727324, portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/resources/SiteResources_en.properties portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/JavascriptEventConfirmation.java (with props) Removed: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/resources/SiteResources.properties portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/resources/SiteResources_en.properties Modified: portals/jetspeed-2/applications/j2-admin/trunk/pom.xml portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/users/WicketUserAdmin.java portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/portlet.xml portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/web.xml Modified: portals/jetspeed-2/applications/j2-admin/trunk/pom.xml URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/pom.xml?rev=737018&r1=737017&r2=737018&view=diff ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/pom.xml (original) +++ portals/jetspeed-2/applications/j2-admin/trunk/pom.xml Fri Jan 23 04:46:36 2009 @@ -143,7 +143,7 @@ <jcr.version>1.0</jcr.version> <jackrabbit.version>1.4</jackrabbit.version> <myfaces.version>1.1.5</myfaces.version> - <wicket.version>1.3.5</wicket.version> + <wicket.version>1.4-rc1</wicket.version> <slf4j.version>1.4.3</slf4j.version> </properties> Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java?rev=737018&r1=737017&r2=737018&view=diff ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java (original) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java Fri Jan 23 04:46:36 2009 @@ -136,7 +136,7 @@ { protected void onSubmit() { - info("selected person(s): " + group.getModelObjectAsString()); + info("selected person(s): " + group.getModel()); } }; PageableListView usersList = new PageableListView("entries", new PropertyModel(this, "principalList"), 10) Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/users/WicketUserAdmin.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/users/WicketUserAdmin.java?rev=737018&r1=737017&r2=737018&view=diff ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/users/WicketUserAdmin.java (original) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/users/WicketUserAdmin.java Fri Jan 23 04:46:36 2009 @@ -19,12 +19,15 @@ import java.util.Map; import javax.portlet.PortletRequest; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletRequestWrapper; import org.apache.jetspeed.CommonPortletServices; import org.apache.jetspeed.PortalReservedParameters; import org.apache.jetspeed.administration.PortalConfiguration; import org.apache.jetspeed.audit.AuditActivity; import org.apache.jetspeed.components.portletregistry.PortletRegistry; +import org.apache.jetspeed.decoration.DecorationFactory; import org.apache.jetspeed.page.PageManager; import org.apache.jetspeed.portlets.wicket.AdminWicketPortlet; import org.apache.jetspeed.profiler.Profiler; @@ -150,6 +153,16 @@ return (JetspeedPrincipalManagerProvider) getPortletRequest().getAttribute(CommonPortletServices.CPS_JETSPEED_PRINCIPAL_MANAGER_PROVIDER); } + protected DecorationFactory getDecorationFactory() + { + return (DecorationFactory) getPortletRequest().getAttribute(CommonPortletServices.CPS_DECORATION_FACTORY); + } + protected PageManager getCastorPageManager() + { + return (PageManager) getPortletRequest().getAttribute(CommonPortletServices.CPS_IMPORTER_MANAGER); + } + + protected PasswordCredential getCredential(User user) throws SecurityException { return getUserManager().getPasswordCredential(user); @@ -158,7 +171,19 @@ * (iter.hasNext()) { Object o = iter.next(); if (o instanceof PasswordCredential) { credential = (PasswordCredential)o; break; } } return credential; */ } - + protected HttpServletRequest getServletRequest(PortletRequest request) + { + HttpServletRequest realRequest = (HttpServletRequest)((HttpServletRequestWrapper) request).getRequest(); + return realRequest; + } + + protected HttpServletRequest getServletRequest() + { + HttpServletRequest realRequest = (HttpServletRequest)((HttpServletRequestWrapper) getPortletRequest()).getRequest(); + return realRequest; + } + + protected String getIPAddress() { org.apache.jetspeed.request.RequestContext context = (org.apache.jetspeed.request.RequestContext) getPortletRequest() Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocument.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocument.java?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocument.java (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocument.java Fri Jan 23 04:46:36 2009 @@ -0,0 +1,318 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.jetspeed.portlets.site; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; + +import org.apache.jetspeed.om.common.SecurityConstraints; +import org.apache.jetspeed.om.folder.Folder; +import org.apache.jetspeed.om.page.Fragment; +import org.apache.jetspeed.om.page.Link; +import org.apache.jetspeed.om.page.Page; +import org.apache.jetspeed.om.portlet.GenericMetadata; +import org.apache.jetspeed.om.portlet.LocalizedField; + +/** + * @author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + * @version $Id: + */ +public class JetspeedDocument implements Serializable +{ + private static final long serialVersionUID = -7429444774638220814L; + private String name; + private String title; + private String shortTitle; + private String pageDecorator; + private String portletDecorator; + private String desktopTheme; + private boolean hidden; + private List securityConstraints; + private String page; + private String target; + private String url; + private List<JetspeedDocumentMetaData> metaData; + + public JetspeedDocument() + { + + } + public JetspeedDocument(Folder folder) + { + this.name = folder.getName(); + this.title = folder.getTitle(); + this.shortTitle = folder.getTitle(); + this.hidden = folder.isHidden(); + this.page = folder.getDefaultPage(); + loadMetaData(folder.getMetadata()); + loadSecurityData(folder.getSecurityConstraints()); + } + + public JetspeedDocument(Page page) + { + this.name = page.getName(); + this.title = page.getTitle(); + this.shortTitle = page.getShortTitle(); + this.hidden = page.isHidden(); + this.pageDecorator = page.getDefaultDecorator(Fragment.LAYOUT); + this.portletDecorator = page.getDefaultDecorator(Fragment.PORTLET); + this.desktopTheme = page.getSkin(); + loadMetaData(page.getMetadata()); + loadSecurityData(page.getSecurityConstraints()); + } + + public JetspeedDocument(Link link) + { + this.name = link.getName(); + this.title = link.getTitle(); + this.shortTitle = link.getShortTitle(); + this.hidden = link.isHidden(); + this.target = link.getTarget(); + this.url = link.getUrl(); + loadMetaData(link.getMetadata()); + loadSecurityData(link.getSecurityConstraints()); + } + + /** + * @return the name + */ + public String getName() + { + return name; + } + + /** + * @param name + * the name to set + */ + public void setName(String name) + { + this.name = name; + } + + /** + * @return the title + */ + public String getTitle() + { + return title; + } + + /** + * @param title + * the title to set + */ + public void setTitle(String title) + { + this.title = title; + } + + /** + * @return the shortTitle + */ + public String getShortTitle() + { + return shortTitle; + } + + /** + * @param shortTitle + * the shortTitle to set + */ + public void setShortTitle(String shortTitle) + { + this.shortTitle = shortTitle; + } + + /** + * @return the pageDecorator + */ + public String getPageDecorator() + { + return pageDecorator; + } + + /** + * @param pageDecorator + * the pageDecorator to set + */ + public void setPageDecorator(String pageDecorator) + { + this.pageDecorator = pageDecorator; + } + + /** + * @return the portletDecorator + */ + public String getPortletDecorator() + { + return portletDecorator; + } + + /** + * @param portletDecorator + * the portletDecorator to set + */ + public void setPortletDecorator(String portletDecorator) + { + this.portletDecorator = portletDecorator; + } + + /** + * @return the desktopTheme + */ + public String getDesktopTheme() + { + return desktopTheme; + } + + /** + * @param desktopTheme + * the desktopTheme to set + */ + public void setDesktopTheme(String desktopTheme) + { + this.desktopTheme = desktopTheme; + } + + /** + * @return the hidden + */ + public boolean isHidden() + { + return hidden; + } + + /** + * @param hidden + * the hidden to set + */ + public void setHidden(boolean hidden) + { + this.hidden = hidden; + } + + /** + * @return the securityConstraints + */ + public List getSecurityConstraints() + { + return securityConstraints; + } + + /** + * @param securityConstraints + * the securityConstraints to set + */ + public void setSecurityConstraints(List securityConstraints) + { + this.securityConstraints = securityConstraints; + } + + /** + * @return the metaData + */ + public List<JetspeedDocumentMetaData> getMetaData() + { + return metaData; + } + + /** + * @param metaData + * the metaData to set + */ + public void setMetaData(List<JetspeedDocumentMetaData> metaData) + { + this.metaData = metaData; + } + + + + /** + * @return the page + */ + public String getPage() + { + return page; + } + + /** + * @param page the page to set + */ + public void setPage(String page) + { + this.page = page; + } + + /** + * @return the target + */ + public String getTarget() + { + return target; + } + + /** + * @param target the target to set + */ + public void setTarget(String target) + { + this.target = target; + } + + /** + * @return the url + */ + public String getUrl() + { + return url; + } + + /** + * @param url the url to set + */ + public void setUrl(String url) + { + this.url = url; + } + + private void loadSecurityData(SecurityConstraints constraints) + { + this.securityConstraints = new ArrayList(); + if (constraints != null) + { + securityConstraints.addAll(constraints.getSecurityConstraintsRefs()); + } + } + + private void loadMetaData(GenericMetadata objectMetaData) + { + this.metaData = new ArrayList<JetspeedDocumentMetaData>(); + if (objectMetaData.getFields() != null) + { + Iterator metaData = objectMetaData.getFields().iterator(); + LocalizedField field; + while (metaData.hasNext()) + { + field = (LocalizedField) metaData.next(); + this.metaData.add(new JetspeedDocumentMetaData(field.getName(), field.getLocale().toString(), field.getValue())); + } + } + } +} Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocument.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocumentMetaData.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocumentMetaData.java?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocumentMetaData.java (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocumentMetaData.java Fri Jan 23 04:46:36 2009 @@ -0,0 +1,95 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.jetspeed.portlets.site; + +import java.io.Serializable; + +/** + * @author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + * @version $Id: + */ +public class JetspeedDocumentMetaData implements Serializable +{ + private static final long serialVersionUID = -3664721780379876928L; + private String name; + private String language; + private String value; + + /** + * @param name + * @param language + * @param value + */ + public JetspeedDocumentMetaData(String name, String language, String value) + { + super(); + this.name = name; + this.language = language; + this.value = value; + } + + /** + * @return the name + */ + public String getName() + { + return name; + } + + /** + * @param name + * the name to set + */ + public void setName(String name) + { + this.name = name; + } + + /** + * @return the language + */ + public String getLanguage() + { + return language; + } + + /** + * @param language + * the language to set + */ + public void setLanguage(String language) + { + this.language = language; + } + + /** + * @return the value + */ + public String getValue() + { + return value; + } + + /** + * @param value + * the value to set + */ + public void setValue(String value) + { + this.value = value; + } +} Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/JetspeedDocumentMetaData.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddFolderPanel.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24AddFolderPanel.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddFolderPanel.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddFolderPanel.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,45 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> + <form wicket:id="newForm"> + <table class="formAnswer" style="width: 100%;"> + <tr> + <td class="emphasise"><span wicket:id="name"></span></td> + <td width="100%"><input type="text" + wicket:id="nameField" /></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="title"></span></td> + <td width="100%"><input type="text" wicket:id="titleField" /></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="shortTitle"></span></td> + <td><input type="text" class="medium" + wicket:id="shortTitleField" /></td> + </tr> + <tr> + <td><input type="button" class="medium" wicket:id="close" value="Close" /></td> + <td><input type="button" class="medium" wicket:id="new" value="Add Folder" /></td> + </tr> + </table> + </form> +</wicket:panel> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddFolderPanel.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddLinkPanel.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24AddLinkPanel.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddLinkPanel.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddLinkPanel.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,23 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> +</wicket:panel> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddLinkPanel.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddPagePanel.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24AddPagePanel.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddPagePanel.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddPagePanel.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,24 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> + <div wicket:id="siteTree" class="my-tree"></div> +</wicket:panel> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$AddPagePanel.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24ImportDataTab.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,43 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> + <div wicket:id="feedback"></div> + <form wicket:id="exportForm"> + <table> + <tr> + <td><span wicket:id="expLabel"></span></td> + <td><input type="text" wicket:id="expName" readonly/></td> + </tr> + <tr> + <td><span wicket:id="exportName"></span></td> + <td><input type="checkbox" wicket:id="recursively" readonly/></td> + </tr> + <tr> + <td colspan="2"><input type="button" wicket:id="exprtButton" value="Export"/></td> + </tr> + <tr> + <td colspan="2"><a href="#" wicket:id="downLoad">Download</a></td> + </tr> + </table> + </form> +</wicket:panel> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$InformationTab.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24InformationTab.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$InformationTab.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$InformationTab.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,82 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> +<div wicket:id="feedback"></div> +<form wicket:id="infoForm"> + <table class="formAnswer" style="width: 100%;"> + <tr> + <td class="emphasise"><span wicket:id="name"></span></td> + <td width="100%"><input readonly type="text" wicket:id="nameField" /></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="title"></span></td> + <td width="100%"><input type="text" wicket:id="titleField" /></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="shortTitle"></span></td> + <td><input type="text" class="medium" + wicket:id="shortTitleField" /></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="defaultPage"></span></td> + <td><input type="text" class="medium" + wicket:id="defaultPageField" /></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="urlLabel"></span></td> + <td><input type="text" class="medium" + wicket:id="urlField" /></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="targetLabel"></span></td> + <td><select wicket:id="target"> + </select></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="pageDecorator"></span></td> + <td><select wicket:id="decoratorsList"> + </select></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="portletDecorator"></span></td> + <td><select wicket:id="portletDecoratorsList"> + </select></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="theme"></span></td> + <td><select wicket:id="themeList"> + </select></td> + </tr> + <tr> + <td class="emphasise"><span wicket:id="visible"></span></td> + <td><input type="checkbox" wicket:id="visibleCheck" /></td> + </tr> + </table> + <table> + <tr> + <td><input type="button" wicket:id="view" value="View" /></td> + <td><input type="button" wicket:id="remove" value="Remove" /></td> + <td><input type="button" wicket:id="save" value="Save" /></td> + </tr> + </table> +</form> +</wicket:panel> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$InformationTab.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataPanel.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24MetaDataPanel.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataPanel.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataPanel.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,50 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> + <div wicket:id="feedback"></div> + <form wicket:id="metaDataForm"> + <table> + <tr> + <td><label wicket:id="name-label">[name label]</label>: <input + type="text" wicket:id="name" /></td> + </tr> + <tr> + <td><label wicket:id="language-label">[language label]</label>: + <input type="text" wicket:id="language" /></td> + </tr> + <tr> + <td><label wicket:id="value-label">[value label]</label>: <input + type="text" wicket:id="metaValue" /></td> + </tr> + <tr> + <td> + <table> + <tr> + <td><input type="button" wicket:id="save" value="Save" /></td> + </tr> + </table> + </td> + </tr> + </table> + </form> +</wicket:panel> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataPanel.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24MetaDataTab.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,55 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> + <table> + <tr> + <td> + <div wicket:id="feedback"></div> + </td> + </tr> + <tr> + <td> + <table cellpadding="0" cellspacing="0" border="0"> + <thead> + <tr> + <th width="35%" field="name" dataType="String">Name</th> + <th width="15%" field="language" dataType="String">Language</th> + <th width="45%" field="value" dataType="String">Value</th> + </tr> + </thead> + <tr class="even" wicket:id="metaData"> + <td><span wicket:id="name" /></td> + <td><span wicket:id="language" /></td> + <td><span wicket:id="value" /></td> + <td><a href wicket:id="edit" >Edit</a></td> + <td> <a href wicket:id="delete">Delete</a></td> + </tr> + </table> + </td> + </tr> + <tr> + <td><input type="button" wicket:id="new" value="New" /></td> + </tr> + </table> +<div wicket:id="modalwindow"></div> +</wicket:panel> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTab.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24SecurityTab.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTab.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTab.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,55 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> + <table> + <tr> + <td> + <div wicket:id="feedback"></div> + </td> + </tr> + <tr> + <td> + <table cellpadding="0" cellspacing="0" border="0"> + <thead> + <tr> + <th width="50%">Security Constraint</th> + <th width="30%">Constraint Type</th> + <th width="10%"> </th> + <th width="10%"> </th> + </tr> + </thead> + <tr class="even" wicket:id="metaData"> + <td><span wicket:id="name" /></td> + <td><span wicket:id="type" /></td> + <td><a href="" wicket:id="edit">Edit</a></td> + <td> <a href="" wicket:id="delete">Delete</a></td> + </tr> + </table> + </td> + </tr> + <tr> + <td><input type="button" wicket:id="new" value="New" /></td> + </tr> + </table> +<div wicket:id="modalwindow"></div> +</wicket:panel> +</html> Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTab.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTabWindowPanel.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24SecurityTabWindowPanel.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTabWindowPanel.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTabWindowPanel.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,35 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:panel> + <form wicket:id="securityDataForm"> + <table> + <tr> + <td><label wicket:id="securityConstraintLabel">[name + label]</label>: <select wicket:id="constraints"></select></td> + </tr> + <tr> + <td><input type="button" wicket:id="save" value="Save" /></td> + </tr> + </table> + </form> +</wicket:panel> +</html> Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$SecurityTabWindowPanel.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.html URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.html?rev=737018&view=auto ============================================================================== --- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.html (added) +++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.html Fri Jan 23 04:46:36 2009 @@ -0,0 +1,66 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author <a href="mailto:vku...@apache.org">Vivek Kumar</a> + --> +<?xml version="1.0" encoding="UTF-8"?> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<wicket:head> + <style> +table.wicket-tree-content { + width: 100%; +} + +td { + font-size: 82%; +} +</style> +</wicket:head> +<table style="border: 1px solid #eee"> + <tr> + <td> + <div wicket:id="siteTree" class="my-tree"></div> + + </td> + <td> + <div wicket:id="tabs" class="tabpanel"></div> + </td> + </tr> + <form wicket:id="treeForm"> + <tr> + <td><input type="text" wicket:id="userFolder" /> <input + type="submit" wicket:id="userFolderButton" value="Show User Folder" /> + </td> + <td> + <table> + <tr> + <td><input type="button" wicket:id="addFolder" value="Add Folder" /></td> + <td><input type="button" wicket:id="addPage" value="Add Page" /></td> + <td><input type="button" wicket:id="addLink" value="Add Link" /></td> + </tr> + </table> + </td> + </tr> + <tr> + <td> </td> + <td><input type="submit" wicket:id="portalFolderButton" + value="Show Full Portal Tree" /></td> + </tr> + </form> +</table> +<div wicket:id="modalwindow"></div> +</html> \ No newline at end of file Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.html ------------------------------------------------------------------------------ svn:mime-type = text/plain --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org