You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by vk...@apache.org on 2009/03/30 15:22:19 UTC

svn commit: r759956 [1/2] - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/

Author: vkumar
Date: Mon Mar 30 13:22:19 2009
New Revision: 759956

URL: http://svn.apache.org/viewvc?rev=759956&view=rev
Log:
Allowing Copy and moving, jetspeed page and folders
Adding new menu page and folder meta 
Optimizing code

Added:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$CopyMoveWindow.html   (with props)
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuWindow.html   (with props)
Removed:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataPanel$1.html
Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuTabPanel.html
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java

Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$CopyMoveWindow.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24CopyMoveWindow.html?rev=759956&view=auto
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$CopyMoveWindow.html (added)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$CopyMoveWindow.html Mon Mar 30 13:22:19 2009
@@ -0,0 +1,54 @@
+<!-- 
+  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:vkumar@apache.org">Vivek Kumar</a>
+ -->
+<?xml version="1.0" encoding="UTF-8"?>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<wicket:panel>
+&nbsp;
+	<div wicket:id="feedback"></div>	
+	&nbsp;
+	<table style="width:100%;">
+		<tr>
+			<td align="left" valign="top">
+				<div wicket:id="copyTree" class="my-tree">[Tree goes here]</div>
+			</td>
+			<td align="left" valign="top">
+				<form wicket:id="copyForm">
+				<table>
+					<tr>
+						<td><label wicket:id="docType-label">[document Type]</label>:
+							<input type="text" wicket:id="docType" readonly/></td>
+					</tr>
+					<tr>
+						<td><label wicket:id="docName-label">[Docment Name]</label>: <input
+							type="text" wicket:id="docName"/></td>
+					</tr>
+					<tr>
+						<td>
+							<input type="button" wicket:id="copy" value="Copy" />
+							<input type="button" wicket:id="move" value="Move" />
+						</td>
+					</tr>
+				</table>
+				</form>
+			</td>
+		</tr>
+	</table>
+</wicket:panel>
+</html>

Propchange: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$CopyMoveWindow.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: 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=759956&r1=759955&r2=759956&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$ImportDataTab.html Mon Mar 30 13:22:19 2009
@@ -22,7 +22,7 @@
 <wicket:panel>
 &nbsp;
 	<div wicket:id="feedback"></div>
-	<form wicket:id="exportForm" TARGET="_blank">
+	<form wicket:id="exportForm" target="_blank">
 	<table style="width:100%;">
 		<tr>
 			<td><span wicket:id="expLabel"></span></td>

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuTabPanel.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24MenuTabPanel.html?rev=759956&r1=759955&r2=759956&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuTabPanel.html (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuTabPanel.html Mon Mar 30 13:22:19 2009
@@ -30,6 +30,7 @@
 			<td colspan="2"><input type="submit "wicket:id="newsave" value="Add Menu"/>&nbsp;<input type="submit "wicket:id="remove" value="Remove"/></td>
 		</tr>
 	</table>
+	<div wicket:id="modalwindow">[modal window goes here]</div>	
 </wicket:panel>
 </html>
 

Added: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuWindow.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager%24MenuWindow.html?rev=759956&view=auto
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuWindow.html (added)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MenuWindow.html Mon Mar 30 13:22:19 2009
@@ -0,0 +1,69 @@
+<!-- 
+  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:vkumar@apache.org">Vivek Kumar</a>
+ -->
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<wicket:panel>
+&nbsp;
+	<div wicket:id="feedback"></div>
+	<form wicket:id="menuForm">
+		<table>
+			<tr>
+				<td>Name</td>
+				<td><input type="text "wicket:id="nameField" /></td>
+			</tr>
+			<tr>
+				<td>Title</td>
+				<td><input type="text "wicket:id="titleField" /></td>
+			</tr>
+			<tr>
+				<td>Profile</td>
+				<td><input type="text "wicket:id="profileField" /></td>
+			</tr>
+			<tr>
+				<td>Skin</td>
+				<td><input type="text "wicket:id="skinField" /></td>
+			</tr>
+			<tr>
+				<td>Reg Expression</td>
+				<td><input type="checkbox "wicket:id="regExpField" /></td>
+			</tr>
+			<tr>
+				<td>Path</td>
+				<td><input type="checkbox "wicket:id="pathField" /></td>
+			</tr>
+			<tr>
+				<td>Options</td>
+				<td><input type="text "wicket:id="optionsField" /></td>
+			</tr>
+			<tr>
+				<td>Depth</td>
+				<td><input type="text "wicket:id="depthField" /></td>
+			</tr>
+			<tr>
+				<td>Order</td>
+				<td><input type="text "wicket:id="orderField" /></td>
+			</tr>
+
+			<tr>
+				<td colspan="2"><input type="submit "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$MenuWindow.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: 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=759956&r1=759955&r2=759956&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager$MetaDataTab.html Mon Mar 30 13:22:19 2009
@@ -34,13 +34,14 @@
 			</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>&nbsp;<a href="" wicket:id="delete">Delete</a></td>
+				<td><span wicket:id="language" /></td>
+				<td><span wicket:id="value" /></td>
+				<td><a href wicket:id="edit" >Edit</a></td>
+				<td>&nbsp;<a href wicket:id="delete">Delete</a></td>
 			</tr>
 		</table>
 	</span>
 	<input type="button" wicket:id="new" value="New" />
 	<div wicket:id="modalwindow">[modal window goes here]</div>	
 </wicket:panel>
-</html>
\ No newline at end of file
+</html>



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