<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="Observador.aspx.vb" Inherits="WebFoundations.WFWorkflow.UI.Observador" %>
<%@ Register TagPrefix="wff" Namespace="WebFoundations.WFWorkflow.Services.UI" Assembly="WebFoundations.WFWorkflow.Services" %>
<%@ Register Assembly="WebFoundations.ServerControls" Namespace="WebFoundations.ServerControls" TagPrefix="wff" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

    <h1>
        <asp:Label Text="Observadores" ID="lblModuleName" runat="server" />
    </h1>

    <div class="fields">
        <label>
            <asp:Label ID="lblnome" runat="server" />
            <asp:TextBox ID="txtnome" runat="server" MaxLength="30" />
            <asp:RequiredFieldValidator ID="obrnome" runat="server" Display="Dynamic" ControlToValidate="txtnome" />
        </label>
        <asp:UpdatePanel ID="pnlSelMode" runat="server">
            <ContentTemplate>
                <label>
                    <asp:RadioButton ID="btnUseAccessList" AutoPostBack="true" CausesValidation="false" GroupName="SELLIST" runat="server" />
                    <asp:RadioButton ID="btnUseContext" AutoPostBack="true" CausesValidation="false" GroupName="SELLIST" runat="server" />
                </label>
                <asp:Panel ID="pnlContext" runat="server">
                    <asp:Label ID="lblContextObserver" runat="server" />
                    <wff:ZuriValuePicker id="ddlContextValue" ShowPortalProperties="false" ShowActivities="false" width="100%" PagerSize="10" runat="server" />
                </asp:Panel>
                <asp:Panel ID="pnlAccessList" runat="server">
                    <asp:Label ID="lblrole" runat="server" />
                    <wff:AccessList id="listaacesso" DisableItems="-7;-6;-5;-4;-3" EnableUser="true" EnableRole="true" EnableRoleGroup="true" runat="server" />
                </asp:Panel>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <section class="actions">
        <asp:Button ID="btnok" runat="server" />&nbsp;&nbsp; &nbsp;
                    <input id="btncancel" type="button" value="button" runat="server" />
    </section>
</asp:Content>
