private void checkEntryFromTable(ArcliteDataTable element, InputVal wanted)
        {
            string text = wanted.getSelectedVal();

            IArcliteWebElement search = element._searchElement;

            search.accept(this, wanted);

            if (element._confirmDelete == null && element._cancelDelete == null)
            {
                IArcliteWebElement check = new ArcliteButton("", element._tableEntryFirst + text + element._tableEntrySecond);
                check.accept(this, new InputVal());
            }
            else if (element._expand == null)
            {
                IArcliteWebElement delete = new ArcliteButton("", element._tableEntryFirst + text + element._tableEntrySecond);
                delete.accept(this, new InputVal());
            }
            else if (element._expand != null)
            {
                IArcliteWebElement expand = new ArcliteButton("", element._tableEntryFirst + wanted.valTwo + element._tableEntrySecond + element._expand);
                expand.accept(this, new InputVal());
            }
            else
            {
                throw new ArgumentException("something is or is not null");
            }
        }
        /*
         * Delete a entry from a table if no action is specified
         */

        void IActionsVisitor.visitDataTable(ArcliteDataTable element, InputVal wanted, ArcliteTestAction action = ArcliteTestAction.delete)
        {
            switch (action)
            {
            case ArcliteTestAction.delete:
                deleteFromTable(element, wanted);
                break;

            case ArcliteTestAction.check:
                checkEntryFromTable(element, wanted);
                break;

            default:
                break;
            }
        }