All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.myfaces.generated.taglib.html.ext.HtmlMessagesTag Maven / Gradle / Ivy
// WARNING: This file was automatically generated. Do not edit it directly,
// or you will lose your changes.
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.myfaces.generated.taglib.html.ext;
import javax.faces.component.UIComponent;
import javax.faces.el.ValueBinding;
import javax.faces.context.FacesContext;
// Generated from class org.apache.myfaces.component.html.ext.AbstractHtmlMessages.
//
// WARNING: This file was automatically generated. Do not edit it directly,
// or you will lose your changes.
public class HtmlMessagesTag
extends org.apache.myfaces.shared_tomahawk.taglib.html.HtmlMessagesTag
{
public HtmlMessagesTag()
{
}
public String getComponentType()
{
return "org.apache.myfaces.HtmlMessages";
}
public String getRendererType()
{
return "org.apache.myfaces.Messages";
}
private String _globalSummaryFormat;
public void setGlobalSummaryFormat(String globalSummaryFormat)
{
_globalSummaryFormat = globalSummaryFormat;
}
private String _onclick;
public void setOnclick(String onclick)
{
_onclick = onclick;
}
private String _ondblclick;
public void setOndblclick(String ondblclick)
{
_ondblclick = ondblclick;
}
private String _onkeydown;
public void setOnkeydown(String onkeydown)
{
_onkeydown = onkeydown;
}
private String _onkeypress;
public void setOnkeypress(String onkeypress)
{
_onkeypress = onkeypress;
}
private String _onkeyup;
public void setOnkeyup(String onkeyup)
{
_onkeyup = onkeyup;
}
private String _onmousedown;
public void setOnmousedown(String onmousedown)
{
_onmousedown = onmousedown;
}
private String _onmousemove;
public void setOnmousemove(String onmousemove)
{
_onmousemove = onmousemove;
}
private String _onmouseout;
public void setOnmouseout(String onmouseout)
{
_onmouseout = onmouseout;
}
private String _onmouseover;
public void setOnmouseover(String onmouseover)
{
_onmouseover = onmouseover;
}
private String _onmouseup;
public void setOnmouseup(String onmouseup)
{
_onmouseup = onmouseup;
}
private String _enabledOnUserRole;
public void setEnabledOnUserRole(String enabledOnUserRole)
{
_enabledOnUserRole = enabledOnUserRole;
}
private String _visibleOnUserRole;
public void setVisibleOnUserRole(String visibleOnUserRole)
{
_visibleOnUserRole = visibleOnUserRole;
}
private String _forceId;
public void setForceId(String forceId)
{
_forceId = forceId;
}
private String _forceIdIndex;
public void setForceIdIndex(String forceIdIndex)
{
_forceIdIndex = forceIdIndex;
}
private String _dir;
public void setDir(String dir)
{
_dir = dir;
}
private String _lang;
public void setLang(String lang)
{
_lang = lang;
}
private String _summaryFormat;
public void setSummaryFormat(String summaryFormat)
{
_summaryFormat = summaryFormat;
}
private String _detailFormat;
public void setDetailFormat(String detailFormat)
{
_detailFormat = detailFormat;
}
private String _replaceIdWithLabel;
public void setReplaceIdWithLabel(String replaceIdWithLabel)
{
_replaceIdWithLabel = replaceIdWithLabel;
}
private String _forceSpan;
public void setForceSpan(String forceSpan)
{
_forceSpan = forceSpan;
}
protected void setProperties(UIComponent component)
{
if (!(component instanceof org.apache.myfaces.component.html.ext.HtmlMessages))
{
throw new IllegalArgumentException("Component "+
component.getClass().getName() +" is no org.apache.myfaces.component.html.ext.HtmlMessages");
}
org.apache.myfaces.component.html.ext.HtmlMessages comp = (org.apache.myfaces.component.html.ext.HtmlMessages) component;
super.setProperties(component);
FacesContext context = getFacesContext();
if (_globalSummaryFormat != null)
{
if (isValueReference(_globalSummaryFormat))
{
ValueBinding vb = context.getApplication().createValueBinding(_globalSummaryFormat);
comp.setValueBinding("globalSummaryFormat", vb);
}
else
{
comp.getAttributes().put("globalSummaryFormat", _globalSummaryFormat);
}
}
if (_onclick != null)
{
if (isValueReference(_onclick))
{
ValueBinding vb = context.getApplication().createValueBinding(_onclick);
comp.setValueBinding("onclick", vb);
}
else
{
comp.getAttributes().put("onclick", _onclick);
}
}
if (_ondblclick != null)
{
if (isValueReference(_ondblclick))
{
ValueBinding vb = context.getApplication().createValueBinding(_ondblclick);
comp.setValueBinding("ondblclick", vb);
}
else
{
comp.getAttributes().put("ondblclick", _ondblclick);
}
}
if (_onkeydown != null)
{
if (isValueReference(_onkeydown))
{
ValueBinding vb = context.getApplication().createValueBinding(_onkeydown);
comp.setValueBinding("onkeydown", vb);
}
else
{
comp.getAttributes().put("onkeydown", _onkeydown);
}
}
if (_onkeypress != null)
{
if (isValueReference(_onkeypress))
{
ValueBinding vb = context.getApplication().createValueBinding(_onkeypress);
comp.setValueBinding("onkeypress", vb);
}
else
{
comp.getAttributes().put("onkeypress", _onkeypress);
}
}
if (_onkeyup != null)
{
if (isValueReference(_onkeyup))
{
ValueBinding vb = context.getApplication().createValueBinding(_onkeyup);
comp.setValueBinding("onkeyup", vb);
}
else
{
comp.getAttributes().put("onkeyup", _onkeyup);
}
}
if (_onmousedown != null)
{
if (isValueReference(_onmousedown))
{
ValueBinding vb = context.getApplication().createValueBinding(_onmousedown);
comp.setValueBinding("onmousedown", vb);
}
else
{
comp.getAttributes().put("onmousedown", _onmousedown);
}
}
if (_onmousemove != null)
{
if (isValueReference(_onmousemove))
{
ValueBinding vb = context.getApplication().createValueBinding(_onmousemove);
comp.setValueBinding("onmousemove", vb);
}
else
{
comp.getAttributes().put("onmousemove", _onmousemove);
}
}
if (_onmouseout != null)
{
if (isValueReference(_onmouseout))
{
ValueBinding vb = context.getApplication().createValueBinding(_onmouseout);
comp.setValueBinding("onmouseout", vb);
}
else
{
comp.getAttributes().put("onmouseout", _onmouseout);
}
}
if (_onmouseover != null)
{
if (isValueReference(_onmouseover))
{
ValueBinding vb = context.getApplication().createValueBinding(_onmouseover);
comp.setValueBinding("onmouseover", vb);
}
else
{
comp.getAttributes().put("onmouseover", _onmouseover);
}
}
if (_onmouseup != null)
{
if (isValueReference(_onmouseup))
{
ValueBinding vb = context.getApplication().createValueBinding(_onmouseup);
comp.setValueBinding("onmouseup", vb);
}
else
{
comp.getAttributes().put("onmouseup", _onmouseup);
}
}
if (_enabledOnUserRole != null)
{
if (isValueReference(_enabledOnUserRole))
{
ValueBinding vb = context.getApplication().createValueBinding(_enabledOnUserRole);
comp.setValueBinding("enabledOnUserRole", vb);
}
else
{
comp.getAttributes().put("enabledOnUserRole", _enabledOnUserRole);
}
}
if (_visibleOnUserRole != null)
{
if (isValueReference(_visibleOnUserRole))
{
ValueBinding vb = context.getApplication().createValueBinding(_visibleOnUserRole);
comp.setValueBinding("visibleOnUserRole", vb);
}
else
{
comp.getAttributes().put("visibleOnUserRole", _visibleOnUserRole);
}
}
if (_forceId != null)
{
comp.getAttributes().put("forceId", Boolean.valueOf(_forceId));
}
if (_forceIdIndex != null)
{
comp.getAttributes().put("forceIdIndex", Boolean.valueOf(_forceIdIndex));
}
if (_dir != null)
{
if (isValueReference(_dir))
{
ValueBinding vb = context.getApplication().createValueBinding(_dir);
comp.setValueBinding("dir", vb);
}
else
{
comp.getAttributes().put("dir", _dir);
}
}
if (_lang != null)
{
if (isValueReference(_lang))
{
ValueBinding vb = context.getApplication().createValueBinding(_lang);
comp.setValueBinding("lang", vb);
}
else
{
comp.getAttributes().put("lang", _lang);
}
}
if (_summaryFormat != null)
{
if (isValueReference(_summaryFormat))
{
ValueBinding vb = context.getApplication().createValueBinding(_summaryFormat);
comp.setValueBinding("summaryFormat", vb);
}
else
{
comp.getAttributes().put("summaryFormat", _summaryFormat);
}
}
if (_detailFormat != null)
{
if (isValueReference(_detailFormat))
{
ValueBinding vb = context.getApplication().createValueBinding(_detailFormat);
comp.setValueBinding("detailFormat", vb);
}
else
{
comp.getAttributes().put("detailFormat", _detailFormat);
}
}
if (_replaceIdWithLabel != null)
{
if (isValueReference(_replaceIdWithLabel))
{
ValueBinding vb = context.getApplication().createValueBinding(_replaceIdWithLabel);
comp.setValueBinding("replaceIdWithLabel", vb);
}
else
{
comp.getAttributes().put("replaceIdWithLabel", Boolean.valueOf(_replaceIdWithLabel));
}
}
if (_forceSpan != null)
{
if (isValueReference(_forceSpan))
{
ValueBinding vb = context.getApplication().createValueBinding(_forceSpan);
comp.setValueBinding("forceSpan", vb);
}
else
{
comp.getAttributes().put("forceSpan", Boolean.valueOf(_forceSpan));
}
}
}
public void release()
{
super.release();
_globalSummaryFormat = null;
_onclick = null;
_ondblclick = null;
_onkeydown = null;
_onkeypress = null;
_onkeyup = null;
_onmousedown = null;
_onmousemove = null;
_onmouseout = null;
_onmouseover = null;
_onmouseup = null;
_enabledOnUserRole = null;
_visibleOnUserRole = null;
_forceId = null;
_forceIdIndex = null;
_dir = null;
_lang = null;
_summaryFormat = null;
_detailFormat = null;
_replaceIdWithLabel = null;
_forceSpan = null;
}
}