javax.faces.context.Flash.keep()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(150)

本文整理了Java中javax.faces.context.Flash.keep()方法的一些代码示例,展示了Flash.keep()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Flash.keep()方法的具体详情如下:
包路径:javax.faces.context.Flash
类名称:Flash
方法名:keep

Flash.keep介绍

[英]Causes a value stored with a previous call to #putNow, its EL equivalent, or to the request Map, to be promoted to the flash so that is available on the next traversal through the lifecycle on this session.
[中]使以前调用#putNow(其EL等价物)或请求Map时存储的值升级到闪存,以便在该会话的生命周期的下一次遍历时可用。

代码示例

代码示例来源:origin: com.sun.faces/jsf-api

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 * 
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: javax/javaee-web-api

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: javax.faces/javax.faces-api

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: org.glassfish/javax.faces

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: eclipse-ee4j/mojarra

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: eclipse-ee4j/mojarra

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-api

@Override
public void keep(String key)
{
  getWrapped().keep(key);
}

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: org.glassfish/jakarta.faces

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#keep(String)} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public void keep(String key) {
  getWrapped().keep(key);
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-impl

flash.keep(strProperty);

代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl

flash.keep(strProperty);

代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

flash.keep(strProperty);

代码示例来源:origin: org.apache.myfaces.extensions.cdi.bundles/myfaces-extcdi-bundle-jsf20

flash.keep(throwable.getClass().getName());

代码示例来源:origin: org.apache.myfaces.extensions.cdi.bundles/myfaces-extcdi-bundle-jsf20

externalContext.getFlash().keep(WINDOW_CONTEXT_ID_PARAMETER_KEY);

代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

externalContext.getFlash().keep(RESTORED_VIEW_KEY_REQUEST_ATTR);

代码示例来源:origin: org.apache.deltaspike.modules/deltaspike-jsf-module-impl

flash.keep(throwable.getClass().getName());

代码示例来源:origin: org.apache.deltaspike.modules/deltaspike-jsf-module-impl-ee6

flash.keep(throwable.getClass().getName());

代码示例来源:origin: org.apache.myfaces.core/myfaces-impl

externalContext.getFlash().keep(RESTORED_VIEW_KEY_REQUEST_ATTR);

相关文章