Commits

Anonymous committed b110ced

Updated to be compatible with the 1.0 release of XMLFace

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@80e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits f4cf150

Comments (0)

Files changed (16)

editor/xwork-editor/action/createaction.xfm.xml

 	<xface:show-adapter element="../../split/left/toolbar/create_action" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/class").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/action/createinterceptorref.xfm.xml

 	<xface:show-adapter element="../../split/top/toolbar/create_interceptor_ref" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../list/model").setData(vInterceptorsElement);
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../list" event="SELECT_ROW" />
 		<xprocess:script>
 			<xface:input id="row" type="variable" value="arg0" />
 				parent.findElement("../inputs/name").setValue(vName);
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/action/createresult.xfm.xml

 	<xface:show-adapter element="../../split/top/toolbar/create_result" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/type").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/includes/createinclude.xfm.xml

 	<xface:show-adapter element="../../toolbar/create_include" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/file").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/interceptor/createinterceptor.xfm.xml

 	<xface:show-adapter element="../../split/left/toolbar/create_interceptor" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/name").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/interceptor/interceptortab.xfm.xml

 						</xface:column>
 					</xface:list>
 
-					<xface:action>
+					<xprocess:action>
 						<xface:action-adapter element="../../../../model" event="MODEL_DATA_UPDATED"/>
 						<xface:action-adapter element="../.." event="SHOW" />
 						<xprocess:script>
 								vModel.setXpath(vXPath);
 							]]></xface:param>
 						</xprocess:script>
-					</xface:action>
+					</xprocess:action>
 
 				</xface:tab>
 			</xface:tab-panel>

editor/xwork-editor/license/license.xfm.xml

 	<xface:button id="cancel" label="cancel" />
 
 	<!-- Exit the application when cancel is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../cancel" event="ACTION" />
 		<xprocess:exit />
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../accept" event="ACTION" />
 		<xface:action-adapter element="../../deny" event="ACTION" />
 		<xprocess:script>
 				}
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/package/createpackage.xfm.xml

 	<xface:show-adapter element="../../split/left/toolbar/create_package" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/extends").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/parameter/createparameter.xfm.xml

 	<xface:show-adapter element="../../toolbar/create_param" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/value").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/parameter/editparameter.xfm.xml

 	<xface:show-adapter element="../../table" event="DOUBLE_CLICK" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/value").setValue(vValue);
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/resulttypes/createresulttype.xfm.xml

 	<xface:show-adapter element="../../toolbar/create_result_type" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/class").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/savechanges.xfm.xml

 	<xwork-editor:save-changes-adapter />
 
 	<!-- exit when no is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="NO"/>
 		<xprocess:exit/>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- show the main window again when cancel is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="CANCEL"/>
 		<xprocess:show>
 			<xface:param id="object">../../..</xface:param>
 		</xprocess:show>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Show the dialog when the main window is closed -->
 	<xface:show-adapter element="../.." event="CLOSE" />

editor/xwork-editor/stack/createinterceptorref.xfm.xml

 	<xface:show-adapter element="../../toolbar/create_interceptor_ref" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../list/model").setData(vRoot.getParentNode());
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../list" event="SELECT_ROW" />
 		<xprocess:script>
 			<xface:input id="row" type="variable" value="arg0" />
 				parent.findElement("../inputs/name").setValue(vName);
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/stack/createstack.xfm.xml

 	<xface:show-adapter element="../../split/left/toolbar/create_interceptor_stack" event="ACTION" />
 
 	<!-- Clear the inputs when the window is shown -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../.." event="SHOW" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 				parent.findElement("../inputs/name").setValue("");
 			]]></xface:param>
 		</xprocess:script>
-	</xface:action>
+	</xprocess:action>
 
 	<!-- Create the package when the OK button is pressed -->
-	<xface:action>
+	<xprocess:action>
 		<xface:action-adapter element="../../ok" event="ACTION" />
 		<xprocess:script>
 			<xface:param id="script"><![CDATA[
 			]]></xface:param>
 		</xprocess:script>
 		<xprocess:hide object="../.." />
-	</xface:action>
+	</xprocess:action>
 
 </xface:window>

editor/xwork-editor/stack/stacktab.xfm.xml

 						</xface:column>
 					</xface:list>
 
-					<xface:action>
+					<xprocess:action>
 						<xface:action-adapter element="../../../../model" event="MODEL_DATA_UPDATED"/>
 						<xface:action-adapter element="../.." event="SHOW" />
 						<xprocess:script>
 								vModel.setXpath(vXPath);
 							]]></xface:param>
 						</xprocess:script>
-					</xface:action>
+					</xprocess:action>
 
 				</xface:tab>
 			</xface:tab-panel>

editor/xwork-editor/xwork-editor.xfm.xml

 		The dialog to choose which file to open
    -->
 	<xface:dialog id="choose_document" type="open_file">
-
 		<xface:show-adapter element="../../license/ok" event="ACTION"/>
-
 		<xwork-editor:on-choose-document-ok-adapter />
-
-		<xface:action id="docancel">
-			<xface:action-adapter element="../.." event="CANCEL"/>
-			<xprocess:exit/>
-		</xface:action>
-
+		<xface:exit-adapter element=".." event="CANCEL" />
 	</xface:dialog>
 
 	<xwork-editor:on-startup-adapter />