[CONF] Confluence Changes in the last 24 hours

2007-05-06 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Directory Triplesec (DIRxTRIPLESEC) 
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC
|
|-Pages Added or Edited in This Space
 |-- Administration Tool User's Guide was last edited by ck (11:57 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Administration+Tool+User%27s+Guide
 |-- Test Connectivity with a Kerberos Client was last edited by ck (11:56 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Test+Connectivity+with+a+Kerberos+Client
 |-- Authentication Using SafehausLoginModule was last edited by ck (11:56 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Authentication+Using+SafehausLoginModule
 |-- Simple Demo Servlet Application was last edited by ck (11:56 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Simple+Demo+Servlet+Application
 |-- Simple Demo Swing Application was last edited by ck (11:56 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Simple+Demo+Swing+Application

Apache CXF 2.0 Documentation (CXF20DOC) 
http://cwiki.apache.org/confluence/display/CXF20DOC
|
|-Pages Added or Edited in This Space
 |-- WS-Addressing was created by dandiep (03:18 PM).
 |   http://cwiki.apache.org/confluence/display/CXF20DOC/WS-Addressing

Apache Directory Server v1.5 (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- ApacheDS v1.5 Advanced User's Guide was last edited by szoerner (04:04 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/ApacheDS+v1.5+Advanced+User%27s+Guide
 |-- Add your first elements to the schema was created by szoerner (03:51 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx11/Add+your+first+elements+to+the+schema

Apache Directory SandBox (DIRxSBOX) 
http://cwiki.apache.org/confluence/display/DIRxSBOX
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by ck (02:01 PM).
 |   http://cwiki.apache.org/confluence/display/DIRxSBOX/Index
 |-- Protocol Providers was last edited by ck (12:48 PM).
 |   http://cwiki.apache.org/confluence/display/DIRxSBOX/Protocol+Providers
 |-- Add your first elements to the schema was last edited by szoerner (04:35 
AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSBOX/Add+your+first+elements+to+the+schema

Apache Directory Server v1.0 (DIRxSRVx10) 
http://cwiki.apache.org/confluence/display/DIRxSRVx10
|
|-Pages Added or Edited in This Space
 |-- ApacheDS v1.0 User's Guide was last edited by ck (02:25 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+User%27s+Guide
 |-- ApacheDS v1.0 Advanced User's Guide was last edited by ck (02:23 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+Advanced+User%27s+Guide
 |-- NTP Protocol Configuration was last edited by ck (12:48 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/NTP+Protocol+Configuration
 |-- DNS Protocol Configuration was last edited by ck (12:48 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/DNS+Protocol+Configuration

Apache Directory Server - Interoperability (DIRxINTEROP) 
http://cwiki.apache.org/confluence/display/DIRxINTEROP
|
|-Pages Added or Edited in This Space
 |-- Locating Domain Controllers was last edited by ck (04:04 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Locating+Domain+Controllers
 |-- Using Kerberos Credentials with smbclient was last edited by ck (03:55 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Using+Kerberos+Credentials+with+smbclient
 |-- Kerberos in the Enterprise was last edited by ck (03:54 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Kerberos+in+the+Enterprise
 |-- Kerberos Client Configuration . was last edited by ck (03:54 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Kerberos+Client+Configuration+.
 |-- Kerberizing Web Browser Access was last edited by ck (03:31 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Kerberizing+Web+Browser+Access
 |-- Samba SSO - Basic Setup was last edited by ck (03:30 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Samba+SSO+-+Basic+Setup
 |-- Kerberos and Web Services was last edited by ck (03:30 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Kerberos+and+Web+Services
 |-- Kerberos Catalog Configuration was last edited by ck (03:29 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Kerberos+Catalog+Configuration
 |-- Kerberos Configuration was last edited by ck (03:28 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxINTEROP/Kerberos+Configuration
 |-- Index was last edited by ck (03:27 PM).

svn commit: r535633 [1/2] - in /struts/struts2/trunk/plugins/dojo/src: main/java/org/apache/struts2/dojo/components/ main/java/org/apache/struts2/dojo/views/jsp/ui/ main/resources/org/apache/struts2/s

2007-05-06 Thread musachy
Author: musachy
Date: Sun May  6 09:11:23 2007
New Revision: 535633

URL: http://svn.apache.org/viewvc?view=rev&rev=535633
Log:
WW-1910 Tree tag should be able to load its nodes using ajax

Added:

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTree.js

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/StrutsTreeNode.js
Modified:

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java

struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/jsp/ui/TreeTag.java

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/__package__.js

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js

struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js
struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/tree.ftl

struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/treenode-include.ftl

struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/treenode.ftl

struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/tree-1.txt

struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/tree-2.txt

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java?view=diff&rev=535633&r1=535632&r2=535633
==
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java
 Sun May  6 09:11:23 2007
@@ -37,18 +37,15 @@
  *
  * Renders a tree widget with AJAX support.
  *
- * The "id "attribute is normally specified, such that it could be looked up 
using
- * javascript if necessary. The "id" attribute is required if the 
"treeSelectedTopic"
- * attribute is going to be used.
+ * The "id "attribute is normally specified(recommended), such that it could 
be looked up using
+ * javascript if necessary. The "id" attribute is required if the 
"selectedNotifyTopic" or the 
+ * "href" attributes are going to be used.
  *
  * 
  *
- *  Examples
- *
+ * 
  * 
- * 
- *
- * <-- statically -->
+ * Tree loaded statically
  * 
  *
  *
@@ -57,18 +54,62 @@
  *&;lt;/s:treenode>
  *
  * 
- *
- * <-- dynamically -->
+ * 
+ * 
+ * 
+ * 
+ * Tree loaded dynamically
+ * 
  * 
- *
- * 
  * 
- *
+ * 
+ * 
+ * 
+ * Tree loaded dynamically using AJAX
+ * 
+ * 
+ * 
+ * + *
+ * + * + * On this example the url specified on the "href" attibute will be called to load + * the elements on the root. The response is expected to be a JSON array of objects like: + * + * + * [ + * { + * label: "Node 1", + * hasChildren: false, + * id: "Node1" + * }, + * { + * label: "Node 2", + * hasChildren: true, + * id: "Node2" + * }, + * ] + * + * + * "label" is the text that will be displayed for the node. "hasChildren" marks the node has + * having children or not (if true, a plus icon will be assigned to the node so it can be + * expanded). The "id" attribute will be used to load the children of the node, when the node + * is expanded. When a node is expanded a request will be made to the url in the "href" attribute + * and the node's "id" will be passed in the parameter "nodeId". + * + * The children collection for a node will be loaded only once, to reload the children of a + * node, use the "reload()" function of the treenode widget. To reload the children nodes of "Node1" + * from the example above use the following javascript: + * + * + * dojo.widget.byId("Node1").reload(); + * + * */ @StrutsTag(name="tree", tldTagClass="org.apache.struts2.dojo.views.jsp.ui.TreeTag", description="Render a tree widget.") public class Tree extends ClosingUIBean { @@ -76,31 +117,33 @@ private static final String TEMPLATE = "tree-close"; private static final String OPEN_TEMPLATE = "tree"; -private String toggle = "fade"; -private String selectedNoti

svn commit: r535634 - in /struts/struts2/trunk/apps/showcase/src/main: java/org/apache/struts2/showcase/ resources/ webapp/tags/ui/

2007-05-06 Thread musachy
Author: musachy
Date: Sun May  6 09:12:28 2007
New Revision: 535634

URL: http://svn.apache.org/viewvc?view=rev&rev=535634
Log:
WW-1910 Tree tag should be able to load its nodes using ajax

Added:

struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/ShowAjaxDynamicTreeAction.java

struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.ftl

struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.jsp
Modified:
struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml
struts/struts2/trunk/apps/showcase/src/main/resources/struts-tags-ui.xml
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/index.jsp

Added: 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/ShowAjaxDynamicTreeAction.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/ShowAjaxDynamicTreeAction.java?view=auto&rev=535634
==
--- 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/ShowAjaxDynamicTreeAction.java
 (added)
+++ 
struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/ShowAjaxDynamicTreeAction.java
 Sun May  6 09:12:28 2007
@@ -0,0 +1,21 @@
+package org.apache.struts2.showcase;
+
+import org.apache.struts2.showcase.ajax.tree.Category;
+
+import com.opensymphony.xwork2.ActionSupport;
+
+public class ShowAjaxDynamicTreeAction extends ActionSupport {
+private int nodeId = 1;
+
+public Category getCategory() {
+return Category.getById(nodeId);
+}
+
+public int getNodeId() {
+return nodeId;
+}
+
+public void setNodeId(int nodeId) {
+this.nodeId = nodeId;
+}
+}

Modified: struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml?view=diff&rev=535634&r1=535633&r2=535634
==
--- struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml 
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/resources/struts-ajax.xml Sun 
May  6 09:12:28 2007
@@ -78,5 +78,8 @@
 
 /validation/quiz-success.jsp

+   
+/tags/ui/treeExampleAjaxDynamic.ftl
+
 
 

Modified: 
struts/struts2/trunk/apps/showcase/src/main/resources/struts-tags-ui.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/resources/struts-tags-ui.xml?view=diff&rev=535634&r1=535633&r2=535634
==
--- struts/struts2/trunk/apps/showcase/src/main/resources/struts-tags-ui.xml 
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/resources/struts-tags-ui.xml 
Sun May  6 09:12:28 2007
@@ -47,6 +47,9 @@
 
 
 
+
+/tags/ui/treeExampleAjaxDynamic.jsp
+
 
 
/tags/ui/componentTagExample.jsp

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/index.jsp?view=diff&rev=535634&r1=535633&r2=535634
==
--- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/index.jsp 
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/index.jsp Sun 
May  6 09:12:28 2007
@@ -14,6 +14,7 @@
 More Select Box UI Examples
 Tree Example (static)
 Tree Example (dynamic)
+Tree Example (dynamic 
ajax loading)
 Component Tag Example
 DateTime picker tag - Pick a date
 DateTime picker tag - Pick a time

Added: 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.ftl?view=auto&rev=535634
==
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.ftl
 (added)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.ftl
 Sun May  6 09:12:28 2007
@@ -0,0 +1,9 @@
+[
+<#list category.children as node>
+  {
+label: '${node.name}',
+id: '${node.id}',
+hasChildren: ${(node.children.size() > 0)?string}
+  },
+
+] 
\ No newline at end of file

Added: 
struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleAjaxDynamic.jsp?view=auto&rev=535634
==