Page template tag package

xiaoxiao2021-03-30  226

Package component.tags;

Import javax.servlet.jsp.jspexception; import javax.servlet.jsp.tagext.tagsupport; import java.util.vector; / ** *

page template tag package *

Description: < / P> *

Copyright: Copyright (c) 2003 *

Company: * @Author * @version 1.0 * /

Public class templateselecttag extends tagsupport {

// TagLib property private String mtemplatetype; // alternate "page" - page template "plugin" - plug-in template private String mtemplateid; // currently selected nodeid private String mselectname; // select list box name private String mhasdisable; / / Do not choose private string mupnodeid;

// property is initialized public void settemplatetype (String value) {this.mtemplatetype = value;} public void settemplateid (String value) {this.mtemplateid = value;} public void setselectname (String value) {this.mselectname = value;}

Public void setHasdisable (string value) {this.mhasdisable = value;} public void setupnodeid (string value) {this.MupnodeId = value;}

/ / Treatment Tag PUBLIC INT DOSTARTTAG () THROWS JSPEXCEPTION {

String strreturnselect = ""; "TRY {// is set to disable if (" true ")) {strreturnselect ="

CopyRight © 2020 All Rights Reserved
Processed: 0.029, SQL: 9