fixed code generation
This commit is contained in:
		
							parent
							
								
									6555709ca2
								
							
						
					
					
						commit
						ad3af636d7
					
				@ -30,7 +30,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
 | 
			
		||||
   *--------------------------------------------------------------------------------
 | 
			
		||||
   */
 | 
			
		||||
 | 
			
		||||
  private String extra = null;
 | 
			
		||||
  private String m_extra = null;
 | 
			
		||||
 | 
			
		||||
  /*--------------------------------------------------------------------------------
 | 
			
		||||
   * Overrides from class TagSupport
 | 
			
		||||
@ -45,14 +45,14 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
 | 
			
		||||
    { // write out what we came here to accomplish
 | 
			
		||||
      JspWriter out = pageContext.getOut();
 | 
			
		||||
      out.write("<body bgcolor=\"" + html.getColor(FRAME_BACKGROUND) + "\"");
 | 
			
		||||
      if (extra!=null)
 | 
			
		||||
	out.write(" " + extra);
 | 
			
		||||
      if (m_extra!=null)
 | 
			
		||||
	out.write(" " + m_extra);
 | 
			
		||||
      out.write(">");
 | 
			
		||||
 | 
			
		||||
    } // end try
 | 
			
		||||
    catch (IOException e)
 | 
			
		||||
    { // convert the I/O error into something the servlet engine can deal with
 | 
			
		||||
      throw new JspTagException("error writing <body> tag - " + e.getMessage());
 | 
			
		||||
      throw new JspTagException("error writing <body/> tag - " + e.getMessage());
 | 
			
		||||
 | 
			
		||||
    } // end catch
 | 
			
		||||
 | 
			
		||||
@ -81,7 +81,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
 | 
			
		||||
  public void release()
 | 
			
		||||
  {
 | 
			
		||||
    super.release();
 | 
			
		||||
    extra = null;
 | 
			
		||||
    m_extra = null;
 | 
			
		||||
 | 
			
		||||
  } // end release
 | 
			
		||||
 | 
			
		||||
@ -92,7 +92,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
 | 
			
		||||
 | 
			
		||||
  public void setExtra(String s)
 | 
			
		||||
  {
 | 
			
		||||
    extra = s;
 | 
			
		||||
    m_extra = s;
 | 
			
		||||
 | 
			
		||||
  } // end setExtra
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user