Blackberry 5 - Add HandheldCleanup Path to Provider Settings
This commit is contained in:
parent
6c2a04e8fa
commit
e43bfb2b13
5 changed files with 44 additions and 0 deletions
|
@ -66,6 +66,8 @@ namespace WebsitePanel.Providers.Common
|
||||||
|
|
||||||
public const string UtilityPath = "UtilityPath";
|
public const string UtilityPath = "UtilityPath";
|
||||||
|
|
||||||
|
public const string HandheldcleanupPath = "HandheldcleanupPath";
|
||||||
|
|
||||||
public const string MAPIProfile = "MAPIProfile";
|
public const string MAPIProfile = "MAPIProfile";
|
||||||
|
|
||||||
public const string EnterpriseServer = "EnterpriseServer";
|
public const string EnterpriseServer = "EnterpriseServer";
|
||||||
|
|
|
@ -123,6 +123,12 @@
|
||||||
<data name="lblEnterpriseServerFQDN.Text" xml:space="preserve">
|
<data name="lblEnterpriseServerFQDN.Text" xml:space="preserve">
|
||||||
<value>BlackBerry Enterprise Server FQDN:</value>
|
<value>BlackBerry Enterprise Server FQDN:</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="lblHandheldcleanupPath.Text" xml:space="preserve">
|
||||||
|
<value>handheldcleanup.exe utility Path:</value>
|
||||||
|
</data>
|
||||||
|
<data name="lblMAPIProfile.Text" xml:space="preserve">
|
||||||
|
<value>BlackBerry MAPI Profile:</value>
|
||||||
|
</data>
|
||||||
<data name="lblPassword.Text" xml:space="preserve">
|
<data name="lblPassword.Text" xml:space="preserve">
|
||||||
<value>Authentication password:</value>
|
<value>Authentication password:</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
<asp:TextBox runat="server" ID="txtPath" MaxLength="256" Width="200px" />
|
<asp:TextBox runat="server" ID="txtPath" MaxLength="256" Width="200px" />
|
||||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPath" Display="Dynamic" ErrorMessage="*" />
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPath" Display="Dynamic" ErrorMessage="*" />
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="lblHandheldcleanupPath" meta:resourcekey="lblHandheldcleanupPath" /></td>
|
||||||
|
<td>
|
||||||
|
<asp:TextBox runat="server" ID="txtHandheldcleanupPath" MaxLength="256" Width="200px" />
|
||||||
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtHandheldcleanupPath" Display="Dynamic" ErrorMessage="*" />
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="lblUser" meta:resourcekey="lblUser" /></td>
|
<td class="SubHead" width="200" nowrap><asp:Label runat="server" ID="lblUser" meta:resourcekey="lblUser" /></td>
|
||||||
|
|
|
@ -42,6 +42,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
||||||
public void BindSettings(StringDictionary settings)
|
public void BindSettings(StringDictionary settings)
|
||||||
{
|
{
|
||||||
txtPath.Text = settings[Constants.UtilityPath];
|
txtPath.Text = settings[Constants.UtilityPath];
|
||||||
|
txtHandheldcleanupPath.Text = settings[Constants.HandheldcleanupPath];
|
||||||
txtPassword.Text = settings[Constants.Password];
|
txtPassword.Text = settings[Constants.Password];
|
||||||
txtEnterpriseServer.Text = settings[Constants.EnterpriseServer];
|
txtEnterpriseServer.Text = settings[Constants.EnterpriseServer];
|
||||||
txtEnterpriseServerFQDN.Text = settings[Constants.EnterpriseServerFQDN];
|
txtEnterpriseServerFQDN.Text = settings[Constants.EnterpriseServerFQDN];
|
||||||
|
@ -53,6 +54,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
||||||
public void SaveSettings(StringDictionary settings)
|
public void SaveSettings(StringDictionary settings)
|
||||||
{
|
{
|
||||||
settings[Constants.UtilityPath] = txtPath.Text;
|
settings[Constants.UtilityPath] = txtPath.Text;
|
||||||
|
settings[Constants.HandheldcleanupPath] = txtHandheldcleanupPath.Text;
|
||||||
settings[Constants.EnterpriseServer] = txtEnterpriseServer.Text;
|
settings[Constants.EnterpriseServer] = txtEnterpriseServer.Text;
|
||||||
settings[Constants.EnterpriseServerFQDN] = txtEnterpriseServerFQDN.Text;
|
settings[Constants.EnterpriseServerFQDN] = txtEnterpriseServerFQDN.Text;
|
||||||
settings[Constants.Password] = (txtPassword.Text.Length > 0) ? txtPassword.Text : (string)ViewState["PWD"];
|
settings[Constants.Password] = (txtPassword.Text.Length > 0) ? txtPassword.Text : (string)ViewState["PWD"];
|
||||||
|
|
|
@ -39,6 +39,33 @@ namespace WebsitePanel.Portal.ProviderControls {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
|
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lblHandheldcleanupPath control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label lblHandheldcleanupPath;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtHandheldcleanupPath control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.TextBox txtHandheldcleanupPath;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// RequiredFieldValidator7 control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator7;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lblUser control.
|
/// lblUser control.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue