Merged 5.2.N (5.2.1) to HEAD (5.2)

125783 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      125605 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
         125498 slanglois: MNT-16155 Update source headers - remove svn:eol-style property on Java and JSP source files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2016-06-03 16:45:04 +00:00
parent 4818f7ccf5
commit 22512d8c9e
265 changed files with 44099 additions and 44099 deletions

View File

@@ -1,55 +1,55 @@
package org.alfresco.web.ui.common.renderer;
import java.io.IOException;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import org.alfresco.web.ui.common.PanelGenerator;
/**
* Renderer for the image picker component that outputs the list of images
* as radio buttons within a rounded corner panel
*
* @author gavinc
*/
public class ImagePickerRadioPanelRenderer extends ImagePickerRadioRenderer
{
/**
* @see javax.faces.render.Renderer#encodeBegin(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
*/
public void encodeBegin(FacesContext context, UIComponent component) throws IOException
{
if (component.isRendered() == false)
{
return;
}
// output the start of the surrounding rounded corner panel
PanelGenerator.generatePanelStart(context.getResponseWriter(),
context.getExternalContext().getRequestContextPath(),
(String)component.getAttributes().get("panelBorder"),
(String)component.getAttributes().get("panelBgcolor"));
super.encodeBegin(context, component);
}
/**
* @see javax.faces.render.Renderer#encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
*/
public void encodeEnd(FacesContext context, UIComponent component) throws IOException
{
if (component.isRendered() == false)
{
return;
}
super.encodeEnd(context, component);
// output the end of the surrounding rounded corner panel
PanelGenerator.generatePanelEnd(context.getResponseWriter(),
context.getExternalContext().getRequestContextPath(),
(String)component.getAttributes().get("panelBorder"));
}
}
package org.alfresco.web.ui.common.renderer;
import java.io.IOException;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import org.alfresco.web.ui.common.PanelGenerator;
/**
* Renderer for the image picker component that outputs the list of images
* as radio buttons within a rounded corner panel
*
* @author gavinc
*/
public class ImagePickerRadioPanelRenderer extends ImagePickerRadioRenderer
{
/**
* @see javax.faces.render.Renderer#encodeBegin(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
*/
public void encodeBegin(FacesContext context, UIComponent component) throws IOException
{
if (component.isRendered() == false)
{
return;
}
// output the start of the surrounding rounded corner panel
PanelGenerator.generatePanelStart(context.getResponseWriter(),
context.getExternalContext().getRequestContextPath(),
(String)component.getAttributes().get("panelBorder"),
(String)component.getAttributes().get("panelBgcolor"));
super.encodeBegin(context, component);
}
/**
* @see javax.faces.render.Renderer#encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
*/
public void encodeEnd(FacesContext context, UIComponent component) throws IOException
{
if (component.isRendered() == false)
{
return;
}
super.encodeEnd(context, component);
// output the end of the surrounding rounded corner panel
PanelGenerator.generatePanelEnd(context.getResponseWriter(),
context.getExternalContext().getRequestContextPath(),
(String)component.getAttributes().get("panelBorder"));
}
}