Class ImgBeanTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class ImgBeanTag
    extends org.apache.struts.taglib.html.ImgTag
    Maakt een plaatje uit een bean referentie als uitbreiding op de standaard Struts Img tag.

    Parameters:

    • blink - verwijzing naar de bean met de info []
    • bpage - de bean member met de url naar het plaatje[value]

    Version:
    $Revision: 1.1.1.1 $ $Date: 2003/02/06 20:30:02 $
    Author:
    Chris van Lith
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String blink
      De extra attributen tov de html:link tag
      protected String bpage  
      • Fields inherited from class org.apache.struts.taglib.html.ImgTag

        action, align, border, contextRelative, height, hspace, imageName, ismap, lowsrc, messages, module, name, page, pageKey, paramId, paramName, paramProperty, paramScope, property, scope, src, srcKey, useLocalEncoding, usemap, vspace, width
      • Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag

        accesskey, defaultLocale, doDisabled, doReadonly, indexed, tabindex
      • Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        bodyContent
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.BodyTag

        EVAL_BODY_BUFFERED, EVAL_BODY_TAG
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      ImgBeanTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int doEndTag()
      Render the end of the IMG tag.
      int doStartTag()
      Render the beginning of the IMG tag.
      String getBlink()
      Getter for property blink.
      String getBpage()
      Getter for property bpage.
      void release()
      Release any acquired resources.
      void setBlink​(String blink)
      Setter for property blink.
      void setBpage​(String bpage)
      Setter for property bpage.
      • Methods inherited from class org.apache.struts.taglib.html.ImgTag

        getAction, getAlign, getBorder, getContextRelative, getHeight, getHspace, getImageName, getIsmap, getLowsrc, getModule, getName, getPage, getPageKey, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getSrc, getSrcKey, getUsemap, getVspace, getWidth, isContextRelativeSet, isUseLocalEncoding, setAction, setAlign, setBorder, setContextRelative, setHeight, setHspace, setImageName, setIsmap, setLowsrc, setModule, setName, setPage, setPageKey, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setSrc, setSrcKey, setUseLocalEncoding, setUsemap, setVspace, setWidth, src, url
      • Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag

        doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareName, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey
      • Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from interface javax.servlet.jsp.tagext.Tag

        getParent, setPageContext, setParent
    • Field Detail

      • blink

        protected String blink
        De extra attributen tov de html:link tag
      • bpage

        protected String bpage
    • Constructor Detail

      • ImgBeanTag

        public ImgBeanTag()
    • Method Detail

      • getBlink

        public String getBlink()
        Getter for property blink.
        Returns:
        Value of property blink.
      • setBlink

        public void setBlink​(String blink)
        Setter for property blink.
        Parameters:
        blink - New value of property blink.
      • getBpage

        public String getBpage()
        Getter for property bpage.
        Returns:
        Value of property bpage.
      • setBpage

        public void setBpage​(String bpage)
        Setter for property bpage.
        Parameters:
        bpage - New value of property bpage.
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Render the beginning of the IMG tag.
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class org.apache.struts.taglib.html.ImgTag
        Throws:
        javax.servlet.jsp.JspException - if a JSP exception has occurred
      • doEndTag

        public int doEndTag()
                     throws javax.servlet.jsp.JspException
        Render the end of the IMG tag.
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class org.apache.struts.taglib.html.ImgTag
        Throws:
        javax.servlet.jsp.JspException - if a JSP exception has occurred
      • release

        public void release()
        Release any acquired resources.
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class org.apache.struts.taglib.html.ImgTag