myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject cvs commit: incubator-myfaces/src/components/org/apache/myfaces/custom/popup HtmlPopupRenderer.java
Date Fri, 11 Feb 2005 13:33:58 GMT
mmarinschek    2005/02/11 05:33:58

  Modified:    src/components/org/apache/myfaces/custom/popup
                        HtmlPopupRenderer.java
  Log:
  fix jira 15
  
  Revision  Changes    Path
  1.12      +8 -2      incubator-myfaces/src/components/org/apache/myfaces/custom/popup/HtmlPopupRenderer.java
  
  Index: HtmlPopupRenderer.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/components/org/apache/myfaces/custom/popup/HtmlPopupRenderer.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- HtmlPopupRenderer.java	27 Dec 2004 04:11:11 -0000	1.11
  +++ HtmlPopupRenderer.java	11 Feb 2005 13:33:58 -0000	1.12
  @@ -30,6 +30,9 @@
    * @author Martin Marinschek (latest modification by $Author$)
    * @version $Revision$ $Date$
    * $Log$
  + * Revision 1.12  2005/02/11 13:33:58  mmarinschek
  + * fix jira 15
  + *
    * Revision 1.11  2004/12/27 04:11:11  mmarinschek
    * Data Table stores the state of facets of children; script tag is rendered with type
attribute instead of language attribute, popup works better as a column in a data table
    *
  @@ -115,7 +118,10 @@
           writer.writeAttribute(HTML.STYLE_ATTR,(popup.getStyle()!=null?(popup.getStyle()+
                   (popup.getStyle().trim().endsWith(";")?"":";")):"")+
                   "position:absolute;display:none;",null);
  -        writer.writeAttribute(HTML.CLASS_ATTR,popup.getStyleClass(),null);
  +        if(popup.getStyleClass()!=null)
  +        {
  +            writer.writeAttribute(HTML.CLASS_ATTR,popup.getStyleClass(),null);
  +        }
           writer.writeAttribute(HTML.ID_ATTR, popup.getClientId(facesContext),null);
           writer.writeAttribute(HTML.ONMOUSEOVER_ATTR, new String(popupId+".redisplay();"),null);
   
  
  
  

Mime
View raw message