1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
<?xml version="1.0"?>
<!--
-
- $Id$
-
- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
- project.
-
- Copyright (C) 1998-2012 OpenLink Software
-
- This project is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; only version 2 of the License, dated June 1991.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-
-->
<v:template name="import_process" type="simple" xmlns:v="http://www.openlinksw.com/vspx/" title="Import process">
<tr>
<td> </td>
<td nowrap="1">
<font color="Red">*</font> All bpel and wsdl files referenced by the file at this URL will be loaded and will be ready to compile.
</td>
</tr>
<tr>
<td> </td>
<td>
<table width="45%" border="1" id="subcontent" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><v:url name="r2Auth" xhtml_class="m_e" value="Authentication" url="--sprintf('help.vspx?id=process_upload&name=pu_fields_authen')" xhtml_target="_blank"/></td>
<td>
<table width="45%" border="1" id="subcontent" cellpadding="0" cellspacing="0">
<tr>
<td nowrap="1" align="right"><label for="login_user2">User</label></td>
<td>
<v:text name="usern2" value="--connection_get('HTTP_CLI_UID')" null-value="''" xhtml_maxlength="30" xhtml_size="20" xhtml_id="login_user2"/>
</td>
</tr>
<tr>
<td align="right"><label for="login_pwd">Password</label></td>
<td>
<v:text name="pass2" value="--connection_get('HTTP_CLI_PWD')" null-value="''" xhtml_size="20" xhtml_maxlength="30" type="password" xhtml_id="login_pwd2"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left"> </td>
<td>
<table width="100%" border="2" id="subcontent" cellpadding="0" cellspacing="0">
<tr>
<td align="left" width="15%" nowrap="1"><b><v:url name="r2DESCR" xhtml_class="m_e" value="Load Deployment Descriptor from:" url="--sprintf('help.vspx?id=process_upload&name=pu_fields_descr')" xhtml_target="_blank"/></b></td>
<td>
<font style="color: red"><v:error-summary match="imp_url2" /></font>
<table width="45%" border="1" id="subcontent" cellpadding="0" cellspacing="0">
<tr>
<td align="right">URL</td>
<td nowrap="1">
<v:text name="imp_url2" value="''" xhtml_size="60%"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td/>
<td>
<v:button action="simple" value="Import Process" xhtml_class="m_e" name="importB2">
<v:on-post>
if (not self.vc_is_valid)
return;
if ( trim(self.bpel_name.ufl_value, ' ') = '')
{
self.bpel_name.vc_error_message := 'Please, enter valid process name.';
self.vc_is_valid := 0;
return 0;
};
if (not length (self.imp_url2.ufl_value))
{
self.imp_url2.vc_error_message := 'Please, enter correct URL for Deployment Descriptor.';
self.vc_is_valid := 0;
return 0;
};
self.impu:=trim(self.imp_url2.ufl_value,' ');
BPEL.BPEL.set_uri_connection(self.usern2.ufl_value, self.pass2.ufl_value);
self.vc_data_bind(e);
BPEL.BPEL.import_script(self.impu,self.bpel_name.ufl_value,self.id);
self.do_redirect (sprintf ('upload_new.vspx?id=%d', self.id));
</v:on-post>
</v:button>
<font style="color: red"><v:error-summary match="importB2" /></font>
</td>
</tr>
</table>
</td>
</tr>
</v:template>
|