本文整理了Java中javax.faces.webapp.UIComponentClassicTagBase.getJspId()
方法的一些代码示例,展示了UIComponentClassicTagBase.getJspId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UIComponentClassicTagBase.getJspId()
方法的具体详情如下:
包路径:javax.faces.webapp.UIComponentClassicTagBase
类名称:UIComponentClassicTagBase
方法名:getJspId
暂无
代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl
@Override
public int doStartTag() throws JspException
{
if (log.isLoggable(Level.FINE))
log.fine("JSF 1.2 Spec : Create a new instance of the ActionListener");
ActionListener actionListener = new SetPropertyActionListener(target, value);
UIComponentClassicTagBase tag = UIComponentClassicTagBase.getParentUIComponentClassicTagBase(pageContext);
if (tag == null)
throw new JspException("Could not find a " + "parent UIComponentClassicTagBase ... is this "
+ "tag in a child of a UIComponentClassicTagBase?");
if (tag.getCreated())
{
UIComponent component = tag.getComponentInstance();
if (component == null)
throw new JspException(" Could not locate a UIComponent " + "for a UIComponentClassicTagBase w/ a "
+ "JSP id of " + tag.getJspId());
if (!(component instanceof ActionSource))
throw new JspException("Component w/ id of " + component.getId()
+ " is associated w/ a tag w/ JSP id of " + tag.getJspId() + ". This component is of type "
+ component.getClass() + ", which is not an " + ActionSource.class);
if (log.isLoggable(Level.FINE))
log.fine(" ... register it with the UIComponent " + "instance associated with our most immediately "
+ "surrounding UIComponentTagBase");
((ActionSource)component).addActionListener(actionListener);
}
return SKIP_BODY;
}
代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl
@Override
public int doStartTag() throws JspException
{
if (log.isLoggable(Level.FINE))
log.fine("JSF 1.2 Spec : Create a new instance of the ActionListener");
ActionListener actionListener = new SetPropertyActionListener(target, value);
UIComponentClassicTagBase tag = UIComponentClassicTagBase.getParentUIComponentClassicTagBase(pageContext);
if (tag == null)
throw new JspException("Could not find a " + "parent UIComponentClassicTagBase ... is this "
+ "tag in a child of a UIComponentClassicTagBase?");
if (tag.getCreated())
{
UIComponent component = tag.getComponentInstance();
if (component == null)
throw new JspException(" Could not locate a UIComponent " + "for a UIComponentClassicTagBase w/ a "
+ "JSP id of " + tag.getJspId());
if (!(component instanceof ActionSource))
throw new JspException("Component w/ id of " + component.getId()
+ " is associated w/ a tag w/ JSP id of " + tag.getJspId() + ". This component is of type "
+ component.getClass() + ", which is not an " + ActionSource.class);
if (log.isLoggable(Level.FINE))
log.fine(" ... register it with the UIComponent " + "instance associated with our most immediately "
+ "surrounding UIComponentTagBase");
((ActionSource)component).addActionListener(actionListener);
}
return SKIP_BODY;
}
代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces
throw new JspException(" Could not locate a UIComponent " +
"for a UIComponentClassicTagBase w/ a " +
"JSP id of " + tag.getJspId());
+ " is associated w/ a tag w/ JSP id of " + tag.getJspId()
+ ". This component is of type " + component.getClass()
+ ", which is not an " + ActionSource.class );
代码示例来源:origin: org.apache.myfaces.core/myfaces-impl
+ "JSP id of " + tag.getJspId());
+ " is associated w/ a tag w/ JSP id of " + tag.getJspId() + ". This component is of type "
+ component.getClass() + ", which is not an " + ActionSource.class);
代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces.javax.faces
public UIComponentTagWrapper(UIComponentClassicTagBase classicTag)
{
setId(classicTag.getId());
setJspId(classicTag.getJspId());
setParent(classicTag.getParent());
}
代码示例来源:origin: javax.faces/com.springsource.javax.faces
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: jboss/jboss-javaee-specs
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: javax/javaee-web-api
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: com.sun.faces/jsf-api
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: javax.faces/javax.faces-api
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: org.glassfish/javax.faces
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: org.glassfish/jakarta.faces
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: eclipse-ee4j/mojarra
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
代码示例来源:origin: eclipse-ee4j/mojarra
&& !this.getJspId().equals(temp.getJspId())) {
tagInstance = this;
} else if (temp != null
&& temp != this
&& this.getJspId().equals(temp.getJspId())) {
内容来源于网络,如有侵权,请联系作者删除!