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.custom.dojo.DojoInitializerTag 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.custom.dojo;
import javax.faces.component.UIComponent;
import javax.faces.el.ValueBinding;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
public class DojoInitializerTag
extends javax.faces.webapp.UIComponentTag
{
public DojoInitializerTag()
{
}
public String getComponentType()
{
return "org.apache.myfaces.DojoInitializer";
}
public String getRendererType()
{
return "org.apache.myfaces.DojoInitializerRenderer";
}
private String _allowQueryConfig;
public void setAllowQueryConfig(String allowQueryConfig)
{
_allowQueryConfig = allowQueryConfig;
}
private String _baseScriptUri;
public void setBaseScriptUri(String baseScriptUri)
{
_baseScriptUri = baseScriptUri;
}
private String _bindEncoding;
public void setBindEncoding(String bindEncoding)
{
_bindEncoding = bindEncoding;
}
private String _debug;
public void setDebug(String debug)
{
_debug = debug;
}
private String _debugAtAllCosts;
public void setDebugAtAllCosts(String debugAtAllCosts)
{
_debugAtAllCosts = debugAtAllCosts;
}
private String _debugConsole;
public void setDebugConsole(String debugConsole)
{
_debugConsole = debugConsole;
}
private String _debugContainerId;
public void setDebugContainerId(String debugContainerId)
{
_debugContainerId = debugContainerId;
}
private String _expanded;
public void setExpanded(String expanded)
{
_expanded = expanded;
}
private String _ignoreClassNames;
public void setIgnoreClassNames(String ignoreClassNames)
{
_ignoreClassNames = ignoreClassNames;
}
private String _ioSendTransport;
public void setIoSendTransport(String ioSendTransport)
{
_ioSendTransport = ioSendTransport;
}
private String _parseWidgets;
public void setParseWidgets(String parseWidgets)
{
_parseWidgets = parseWidgets;
}
private String _preventBackButtonFix;
public void setPreventBackButtonFix(String preventBackButtonFix)
{
_preventBackButtonFix = preventBackButtonFix;
}
private String _provide;
public void setProvide(String provide)
{
_provide = provide;
}
private String _require;
public void setRequire(String require)
{
_require = require;
}
private String _searchIds;
public void setSearchIds(String searchIds)
{
_searchIds = searchIds;
}
private String _development;
public void setDevelopment(String development)
{
_development = development;
}
protected void setProperties(UIComponent component)
{
if (!(component instanceof org.apache.myfaces.custom.dojo.DojoInitializer))
{
throw new IllegalArgumentException("Component "+
component.getClass().getName() +" is no org.apache.myfaces.custom.dojo.DojoInitializer");
}
org.apache.myfaces.custom.dojo.DojoInitializer comp = (org.apache.myfaces.custom.dojo.DojoInitializer) component;
super.setProperties(component);
FacesContext context = getFacesContext();
if (_allowQueryConfig != null)
{
if (isValueReference(_allowQueryConfig))
{
ValueBinding vb = context.getApplication().createValueBinding(_allowQueryConfig);
comp.setValueBinding("allowQueryConfig", vb);
}
else
{
comp.getAttributes().put("allowQueryConfig", Boolean.valueOf(_allowQueryConfig));
}
}
if (_baseScriptUri != null)
{
if (isValueReference(_baseScriptUri))
{
ValueBinding vb = context.getApplication().createValueBinding(_baseScriptUri);
comp.setValueBinding("baseScriptUri", vb);
}
else
{
comp.getAttributes().put("baseScriptUri", _baseScriptUri);
}
}
if (_bindEncoding != null)
{
if (isValueReference(_bindEncoding))
{
ValueBinding vb = context.getApplication().createValueBinding(_bindEncoding);
comp.setValueBinding("bindEncoding", vb);
}
else
{
comp.getAttributes().put("bindEncoding", _bindEncoding);
}
}
if (_debug != null)
{
if (isValueReference(_debug))
{
ValueBinding vb = context.getApplication().createValueBinding(_debug);
comp.setValueBinding("debug", vb);
}
else
{
comp.getAttributes().put("debug", Boolean.valueOf(_debug));
}
}
if (_debugAtAllCosts != null)
{
if (isValueReference(_debugAtAllCosts))
{
ValueBinding vb = context.getApplication().createValueBinding(_debugAtAllCosts);
comp.setValueBinding("debugAtAllCosts", vb);
}
else
{
comp.getAttributes().put("debugAtAllCosts", Boolean.valueOf(_debugAtAllCosts));
}
}
if (_debugConsole != null)
{
if (isValueReference(_debugConsole))
{
ValueBinding vb = context.getApplication().createValueBinding(_debugConsole);
comp.setValueBinding("debugConsole", vb);
}
else
{
comp.getAttributes().put("debugConsole", Boolean.valueOf(_debugConsole));
}
}
if (_debugContainerId != null)
{
if (isValueReference(_debugContainerId))
{
ValueBinding vb = context.getApplication().createValueBinding(_debugContainerId);
comp.setValueBinding("debugContainerId", vb);
}
else
{
comp.getAttributes().put("debugContainerId", _debugContainerId);
}
}
if (_expanded != null)
{
if (isValueReference(_expanded))
{
ValueBinding vb = context.getApplication().createValueBinding(_expanded);
comp.setValueBinding("expanded", vb);
}
else
{
comp.getAttributes().put("expanded", Boolean.valueOf(_expanded));
}
}
if (_ignoreClassNames != null)
{
if (isValueReference(_ignoreClassNames))
{
ValueBinding vb = context.getApplication().createValueBinding(_ignoreClassNames);
comp.setValueBinding("ignoreClassNames", vb);
}
else
{
comp.getAttributes().put("ignoreClassNames", Boolean.valueOf(_ignoreClassNames));
}
}
if (_ioSendTransport != null)
{
if (isValueReference(_ioSendTransport))
{
ValueBinding vb = context.getApplication().createValueBinding(_ioSendTransport);
comp.setValueBinding("ioSendTransport", vb);
}
else
{
comp.getAttributes().put("ioSendTransport", _ioSendTransport);
}
}
if (_parseWidgets != null)
{
if (isValueReference(_parseWidgets))
{
ValueBinding vb = context.getApplication().createValueBinding(_parseWidgets);
comp.setValueBinding("parseWidgets", vb);
}
else
{
comp.getAttributes().put("parseWidgets", Boolean.valueOf(_parseWidgets));
}
}
if (_preventBackButtonFix != null)
{
if (isValueReference(_preventBackButtonFix))
{
ValueBinding vb = context.getApplication().createValueBinding(_preventBackButtonFix);
comp.setValueBinding("preventBackButtonFix", vb);
}
else
{
comp.getAttributes().put("preventBackButtonFix", Boolean.valueOf(_preventBackButtonFix));
}
}
if (_provide != null)
{
if (isValueReference(_provide))
{
ValueBinding vb = context.getApplication().createValueBinding(_provide);
comp.setValueBinding("provide", vb);
}
else
{
comp.getAttributes().put("provide", _provide);
}
}
if (_require != null)
{
if (isValueReference(_require))
{
ValueBinding vb = context.getApplication().createValueBinding(_require);
comp.setValueBinding("require", vb);
}
else
{
comp.getAttributes().put("require", _require);
}
}
if (_searchIds != null)
{
if (isValueReference(_searchIds))
{
ValueBinding vb = context.getApplication().createValueBinding(_searchIds);
comp.setValueBinding("searchIds", vb);
}
else
{
comp.getAttributes().put("searchIds", _searchIds);
}
}
if (_development != null)
{
if (isValueReference(_development))
{
ValueBinding vb = context.getApplication().createValueBinding(_development);
comp.setValueBinding("development", vb);
}
else
{
comp.getAttributes().put("development", Boolean.valueOf(_development));
}
}
}
public void release()
{
super.release();
_allowQueryConfig = null;
_baseScriptUri = null;
_bindEncoding = null;
_debug = null;
_debugAtAllCosts = null;
_debugConsole = null;
_debugContainerId = null;
_expanded = null;
_ignoreClassNames = null;
_ioSendTransport = null;
_parseWidgets = null;
_preventBackButtonFix = null;
_provide = null;
_require = null;
_searchIds = null;
_development = null;
}
}